head	1.16;
access;
symbols
	RELENG_2_2_8_RELEASE:1.10.2.3
	RELENG_2_2_7_RELEASE:1.10.2.3
	RELENG_2_2_6_RELEASE:1.10.2.3
	v8_8_8:1.1.1.3
	SENDMAIL:1.1.1
	RELENG_2_2_5_RELEASE:1.10.2.2
	v8_8_7:1.1.1.3
	v8_8_6:1.1.1.3
	RELENG_2_2_2_RELEASE:1.10.2.1
	RELENG_2_2_1_RELEASE:1.10.2.1
	RELENG_2_2_0_RELEASE:1.10.2.1
	RELENG_2_1_7_RELEASE:1.3.4.4
	v8_8_5:1.1.1.2
	v8_8_4:1.1.1.2
	RELENG_2_1_6_1_RELEASE:1.3.4.3
	v8_8_3:1.1.1.2
	RELENG_2_1_6_RELEASE:1.3.4.2
	RELENG_2_2:1.10.0.2
	RELENG_2_2_BP:1.10
	v8_8_2:1.1.1.2
	v8_7_6:1.1.1.2
	RELENG_2_1_5_RELEASE:1.3.4.2
	v8_7_5:1.1.1.2
	v8_7_4:1.1.1.2
	v8_7_3:1.1.1.2
	v8_7_2:1.1.1.2
	ALLMAN:1.1.1
	RELENG_2_1_0_RELEASE:1.3
	v8_6_12:1.1.1.1
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.2
	V8_6_10:1.1.1.1
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.16
date	98.08.04.16.35.48;	author peter;	state dead;
branches;
next	1.15;

1.15
date	97.10.05.12.31.08;	author jkh;	state Exp;
branches;
next	1.14;

1.14
date	97.10.05.09.40.17;	author jkh;	state Exp;
branches;
next	1.13;

1.13
date	97.09.28.09.31.43;	author markm;	state Exp;
branches;
next	1.12;

1.12
date	97.06.27.15.17.05;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	96.12.31.12.38.57;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	96.10.09.20.34.09;	author pst;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	96.02.06.20.36.15;	author wollman;	state Exp;
branches;
next	1.8;

1.8
date	96.01.29.13.19.49;	author mpp;	state Exp;
branches;
next	1.7;

1.7
date	96.01.01.08.54.01;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	95.12.02.18.16.31;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	95.08.06.12.24.37;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	95.07.25.00.37.53;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	95.05.30.03.51.53;	author rgrimes;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	94.08.05.16.30.49;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.26.05.23.12;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.26.05.23.13;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	95.12.02.17.24.14;	author peter;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	97.06.27.14.52.16;	author peter;	state Exp;
branches;
next	;

1.3.4.1
date	96.03.25.06.53.45;	author peter;	state Exp;
branches;
next	1.3.4.2;

1.3.4.2
date	96.03.25.07.23.12;	author peter;	state Exp;
branches;
next	1.3.4.3;

1.3.4.3
date	96.11.22.05.38.31;	author nate;	state Exp;
branches;
next	1.3.4.4;

1.3.4.4
date	97.02.05.07.50.05;	author peter;	state Exp;
branches;
next	1.3.4.5;

1.3.4.5
date	97.08.14.15.04.55;	author peter;	state Exp;
branches;
next	;

1.10.2.1
date	97.02.05.07.29.05;	author peter;	state Exp;
branches;
next	1.10.2.2;

1.10.2.2
date	97.06.28.08.08.23;	author peter;	state Exp;
branches;
next	1.10.2.3;

1.10.2.3
date	97.11.10.03.00.09;	author peter;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Remove old sendmail (to the Attic)
@
text
@#	@@(#)Makefile	8.8 (Berkeley) 3/28/97

#########################################################################
#  This Makefile is for 4.4BSD only!!!  For all other systems, use	#
#  the "makesendmail" script.						#
#########################################################################

PROG=	sendmail

# define the database format to use for aliases et al.  Can be -DNEWDB (for
# the new BSD database package -- this is preferred) or -DNDBM for the NDBM
# database package.  The old putrescent V7 DBM package is no longer
# supported.
# You can define both NEWDB and NDBM during a transition period; old
# databases are read, but the new format will be used on any rebuilds.  On
# really gnarly systems, you can set this to null; it will crawl like a high
# spiral snail, but it will work.
DBMDEF=	-DNEWDB

# if you don't want NIS support, comment out this line
# FreeBSD supports NIS
NIS=	-DNIS

# If you want tcp wrapper support, uncomment the following two lines
#TCPWRAPPERSBASEDIR=	/usr/local
#TCPWRAPPERS=		-DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include

CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} #-DNETISO

SRCS=	alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
	deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c safefile.c \
	savemail.c srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c \
	usersmtp.c util.c version.c
DPADD=	${LIBUTIL}
LDADD=	-lutil
.if defined(TCPWRAPPERS)
LDADD+=	-L${TCPWRAPPERSBASEDIR}/lib -lwrap
.endif
MAN1=	mailq.1 newaliases.1
MAN5=	aliases.5
MAN8=	sendmail.8 
LINKS=	/usr/sbin/sendmail /usr/bin/newaliases \
	/usr/sbin/sendmail /usr/bin/mailq \
	/usr/sbin/sendmail /usr/bin/hoststat \
	/usr/sbin/sendmail /usr/sbin/purgestat
BINDIR=	/usr/sbin
BINOWN=	root
BINMODE=4555

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
	    ${DESTDIR}/var/log/sendmail.st
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
	    ${DESTDIR}/usr/share/misc

.include <bsd.prog.mk>
@


1.15
log
@DOH!  I cannot believe that none of us caught this.  Do *not*
turn TCPWRAPPER support on by default, eh? :-)
@
text
@@


1.14
log
@Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@@nnd.itfs.nsk.su>
@
text
@d25 2
a26 2
TCPWRAPPERSBASEDIR=	/usr/local
TCPWRAPPERS=		-DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
@


1.13
log
@Add (commented out) macros to make compiling with tcpwrappers easier.
@
text
@d25 2
a26 2
#TCPWRAPPERSBASEDIR=	/usr/local
#TCPWRAPPERS=		-DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
@


1.12
log
@Merge in sendmail-8.8.5 -> 8.8.6 changes to those files that have left the
vendor branch.
@
text
@d24 5
a28 1
CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} #-DNETISO
d37 3
@


1.11
log
@Add two missing links (hoststat/purgestat)
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.7 (Berkeley) 10/31/95
d28 3
a30 3
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
	srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
	util.c version.c
d35 1
a35 1
MAN8=	sendmail.8
@


1.10
log
@Enable NIS support
@
text
@d37 3
a39 1
	/usr/sbin/sendmail /usr/bin/mailq
@


1.10.2.1
log
@Update 8.8.4 -> 8.8.5 on 2.2 branch
@
text
@d37 1
a37 3
	/usr/sbin/sendmail /usr/bin/mailq \
	/usr/sbin/sendmail /usr/bin/hoststat \
	/usr/sbin/sendmail /usr/sbin/purgestat
@


1.10.2.2
log
@YAMFC: Update to sendmail-8.8.6
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.8 (Berkeley) 3/28/97
d28 3
a30 3
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c safefile.c \
	savemail.c srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c \
	usersmtp.c util.c version.c
d35 1
a35 1
MAN8=	sendmail.8 
@


1.10.2.3
log
@Merge-o-tron..  Update sendmail from 8.8.8 in -current.
@
text
@d24 1
a24 5
# If you want tcp wrapper support, uncomment the following two lines
#TCPWRAPPERSBASEDIR=	/usr/local
#TCPWRAPPERS=		-DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include

CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} #-DNETISO
a32 3
.if defined(TCPWRAPPERS)
LDADD+=	-L${TCPWRAPPERSBASEDIR}/lib -lwrap
.endif
@


1.9
log
@Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
@
text
@d20 5
a24 1
CFLAGS+=-I${.CURDIR} ${DBMDEF} #-DNETISO
a42 2
#	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
#	    ${DESTDIR}/etc/sendmail.fc
@


1.8
log
@Don't install sendmail setgid kmem since it doesn't really
require kmem access.  It is currently configured to call getloadavg(3),
which uses sysctl(2) to determine the load average, which is the
only reason some sendmails require kmem access.
@
text
@d20 1
a20 1
CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO
@


1.7
log
@Get sendmail to detect when to use the setproctitle() in libutil

This uses osreldate.h and other stuff to determine whether it's on a
-current system.  It should still compile cleanly on a -stable branch
system.
@
text
@d36 1
a36 2
BINGRP=	kmem
BINMODE=6555
@


1.6
log
@Initial round of conflict resolutions..  I need to do another
pass over this and check it more closely, but my initial concern was
to get it to all compile again.  Some of the obsoleted files 'cvs rm'ed.
@
text
@d27 2
a28 2
DPADD=
LDADD=
@


1.5
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
@
text
@d1 6
a6 1
#	@@(#)Makefile	8.4 (Berkeley) 2/3/94
d18 1
a18 1
DBMDEF=	-DNEWDB -DNDBM
d24 2
a25 2
	mci.c parseaddr.c queue.c readcf.c recipient.c savemail.c srvrsmtp.c \
	stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
@


1.4
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
@
text
@d35 1
a35 1
#	install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
@


1.3
log
@Remove trailing whitespace.
@
text
@d37 1
a37 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
d39 1
a39 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
@


1.3.4.1
log
@Update sendmail to -current version (8.7.5) to fix various known security
holes and a lot of bugs.

8.7.* has pretty much finished development, 8.8 is in alpha testing.

A seperate commit will follow to do a couple of 2.1.x specific things and
to turn off the infamous 8bitmime->quoted-printable conversion when talking
to older sendmails.

OK'ed by: davidg

(Note: a lot of tags were added behind the scenes for the new files)
@
text
@d1 1
a1 6
#	@@(#)Makefile	8.7 (Berkeley) 10/31/95

#########################################################################
#  This Makefile is for 4.4BSD only!!!  For all other systems, use	#
#  the "makesendmail" script.						#
#########################################################################
d13 1
a13 1
DBMDEF=	-DNEWDB
d15 1
a15 1
CFLAGS+=-I${.CURDIR} ${DBMDEF} #-DNETISO
d19 2
a20 2
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
	srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
d22 2
a23 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
d31 2
a32 1
BINMODE=4555
d35 1
a35 1
#	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
d37 1
a37 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
d39 1
a39 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
@


1.3.4.2
log
@Use the libutil setproctitle(), and add a tiny bit of lint to to give a hint
about how to compile this sendmail on older releases. (see Makefile)
@
text
@d20 1
a20 2
# To building this on a system without setproctitle, uncomment:
CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO #-DDONT_HAVE_SETPROCTITLE
@


1.3.4.3
log
@Merge-O-Matic.

Bring in the more secure 8.8.3 sources onto the soon to be dead stable
branch in order to have them be part of the 2.1.6a 'security update'.

Reviewed by:	Tom Samplonius <tom@@uniserve.com>
@
text
@d20 2
a21 5
# if you don't want NIS support, comment out this line
# FreeBSD supports NIS
NIS=	-DNIS

CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} #-DNETISO
d40 2
@


1.3.4.4
log
@Update to 8.8.5 from -current onto 2.1.x branch.  Note, this is a blind
commit, I do not have any sane 2.1.x systems within reach.
@
text
@d37 1
a37 3
	/usr/sbin/sendmail /usr/bin/mailq \
	/usr/sbin/sendmail /usr/bin/hoststat \
	/usr/sbin/sendmail /usr/sbin/purgestat
@


1.3.4.5
log
@Update 2.1.x from sendmail-8.8.5 to 8.8.7
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.8 (Berkeley) 3/28/97
d28 3
a30 3
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c safefile.c \
	savemail.c srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c \
	usersmtp.c util.c version.c
d35 1
a35 1
MAN8=	sendmail.8 
@


1.2
log
@Get rid of update.  Make man page installation work with our scheme
(and rename a few in the process).
@
text
@d22 2
a23 2
DPADD=	
LDADD=	
@


1.1
log
@Initial revision
@
text
@d24 3
a26 3
MAN1=	mailq.0 newaliases.0
MAN5=	aliases.0
MAN8=	sendmail.0 
@


1.1.1.1
log
@BSD 4.4 Lite usr.sbin Sources
@
text
@@


1.1.1.2
log
@Import Sendmail-8.7.2 as discussed on -current.

The conflict merge will happen shortly after.
@
text
@d1 1
a1 6
#	@@(#)Makefile	8.7 (Berkeley) 10/31/95

#########################################################################
#  This Makefile is for 4.4BSD only!!!  For all other systems, use	#
#  the "makesendmail" script.						#
#########################################################################
d13 1
a13 1
DBMDEF=	-DNEWDB
d19 2
a20 2
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
	srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
@


1.1.1.3
log
@Import sendmail-8.8.6

Obtained from: ftp.sendmail.org
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.8 (Berkeley) 3/28/97
d24 3
a26 3
	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c safefile.c \
	savemail.c srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c \
	usersmtp.c util.c version.c
@
