Initial import of NetBSD build environment for "sendmail" 8.9.3.

This commit is contained in:
tron 2000-02-08 13:45:33 +00:00
parent 667dbda449
commit ee18b55df8
30 changed files with 785 additions and 0 deletions

5
gnu/usr.sbin/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:33 tron Exp $
SUBDIR= sendmail
.include <bsd.subdir.mk>

View File

@ -0,0 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $
BINDIR?= /usr/sbin
WARNS?= 1

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $
.include <bsd.own.mk>
SUBDIR= sendmail mailstats makemap praliases smrsh
.if ${MKSHARE} != "no"
SUBDIR+= cf/cf
.if make(install)
SUBDIR+= doc/intro doc/op cf
.endif
.endif
.include <bsd.subdir.mk>

View File

@ -0,0 +1,10 @@
# $NetBSD: Makefile.inc,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $
WARNS?= 0
CPPFLAGS+= -DNETINET6 -DNETISO
DBMDEF= -DNEWDB -DNIS
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif

View File

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $
# install these sources in /usr/share/sendmail
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist
.PATH: ${DIST}/sendmail
.if ${MKSHARE} != "no"
FILESDIR= /usr/share/sendmail
FILES= README
SUBDIR= domain feature hack m4 mailer ostype sh siteconfig
.endif
all:
.include <bsd.files.mk>
.include <bsd.subdir.mk>

View File

@ -0,0 +1,116 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $
# install these sources in /usr/share/sendmail/cf
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/cf
FILESDIR= /usr/share/sendmail/cf
FILES= boat-anchor.mc chimera.mc sun-lamp.mc ihack.net.mc \
clientproto.mc netbsd-proto.mc tcpproto.mc uucpproto.mc \
zhadum.mc Makefile
.if (${.CURDIR} == ${FILESDIR})
CFDIR= ${.CURDIR}/..
.else
CFDIR= ${DIST}/sendmail/cf
.endif
CHMOD= chmod
M4= m4
ROMODE= 444
RM= rm -f
ALL= netbsd-proto.cf
OTHERS= boat-anchor.cf chimera.cf sun-lamp.cf ihack.net.cf \
clientproto.cf tcpproto.cf uucpproto.cf zhadum.cf
.SUFFIXES: .mc .cf
.mc.cf:
${RM} $@
(cd ${CFDIR}/cf && ${M4} ${.CURDIR}/${@:R}.mc > ${.OBJDIR}/$@)
${CHMOD} ${ROMODE} $@
realall: ${ALL}
others: ${OTHERS}
clean cleandir distclean:
${RM} ${ALL} core
realdepend:
distribution:
${INSTALL} -c -o root -g wheel -m 444 netbsd-proto.cf \
${DESTDIR}/etc/sendmail.cf
# this is overkill, but....
M4FILES= ${CFDIR}/domain/Berkeley.EDU.m4 \
${CFDIR}/domain/CS.Berkeley.EDU.m4 \
${CFDIR}/domain/EECS.Berkeley.EDU.m4 \
${CFDIR}/domain/S2K.Berkeley.EDU.m4 \
${CFDIR}/domain/berkeley-only.m4 \
${CFDIR}/domain/generic.m4 \
${.CURDIR}/../domain/NetBSD.ORG.m4 \
${.CURDIR}/../domain/ihack.net.m4 \
${CFDIR}/feature/accept_unqualified_senders.m4 \
${CFDIR}/feature/accept_unresolvable_domains.m4 \
${CFDIR}/feature/access_db.m4 \
${CFDIR}/feature/allmasquerade.m4 \
${CFDIR}/feature/always_add_domain.m4 \
${CFDIR}/feature/bestmx_is_local.m4 \
${CFDIR}/feature/bitdomain.m4 \
${CFDIR}/feature/blacklist_recipients.m4 \
${CFDIR}/feature/domaintable.m4 \
${CFDIR}/feature/genericstable.m4 \
${CFDIR}/feature/limited_masquerade.m4 \
${CFDIR}/feature/local_lmtp.m4 \
${CFDIR}/feature/local_procmail.m4 \
${CFDIR}/feature/loose_relay_check.m4 \
${CFDIR}/feature/mailertable.m4 \
${CFDIR}/feature/masquerade_entire_domain.m4 \
${CFDIR}/feature/masquerade_envelope.m4 \
${CFDIR}/feature/nocanonify.m4 \
${CFDIR}/feature/nodns.m4 \
${CFDIR}/feature/notsticky.m4 \
${CFDIR}/feature/nouucp.m4 \
${CFDIR}/feature/nullclient.m4 \
${CFDIR}/feature/promiscuous_relay.m4 \
${CFDIR}/feature/rbl.m4 \
${CFDIR}/feature/redirect.m4 \
${CFDIR}/feature/relay_based_on_MX.m4 \
${CFDIR}/feature/relay_entire_domain.m4 \
${CFDIR}/feature/relay_hosts_only.m4 \
${CFDIR}/feature/relay_local_from.m4 \
${CFDIR}/feature/smrsh.m4 \
${CFDIR}/feature/stickyhost.m4 \
${CFDIR}/feature/use_ct_file.m4 \
${CFDIR}/feature/use_cw_file.m4 \
${CFDIR}/feature/uucpdomain.m4 \
${CFDIR}/feature/virtusertable.m4 \
${CFDIR}/hack/cssubdomain.m4 \
${CFDIR}/m4/cf.m4 \
${CFDIR}/m4/cfhead.m4 \
${CFDIR}/m4/nullrelay.m4 \
${CFDIR}/m4/proto.m4 \
${CFDIR}/m4/version.m4 \
${CFDIR}/mailer/cyrus.m4 \
${CFDIR}/mailer/fax.m4 \
${CFDIR}/mailer/local.m4 \
${CFDIR}/mailer/mail11.m4 \
${CFDIR}/mailer/phquery.m4\
${CFDIR}/mailer/pop.m4 \
${CFDIR}/mailer/procmail.m4 \
${CFDIR}/mailer/smtp.m4 \
${CFDIR}/mailer/usenet.m4 \
${CFDIR}/mailer/uucp.m4 \
${CFDIR}/ostype/bsd4.4.m4 \
${CFDIR}/siteconfig/uucp.cogsci.m4 \
${CFDIR}/siteconfig/uucp.old.arpa.m4 \
${CFDIR}/siteconfig/uucp.ucbarpa.m4 \
${CFDIR}/siteconfig/uucp.ucbvax.m4
${ALL}: ${M4FILES}
.include <bsd.prog.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,47 @@
divert(-1)
#
# Copyright (c) 1993 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988 The Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
include(`../m4/cf.m4')
VERSIONID(`@(#)boat-anchor.mc $Revision: 1.1.1.1 $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`UUCP_RELAY', ucbvax.Berkeley.EDU)dnl
define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`LOCAL_RELAY', sun-lamp.CS.Berkeley.EDU)
define(`MAIL_HUB', sun-lamp.CS.Berkeley.EDU)
define(`confCHECKPOINT_INTERVAL', 4)dnl

View File

@ -0,0 +1,48 @@
divert(-1)
#
# Copyright (c) 1993, 1994, 1995 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988 The Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
include(`../m4/cf.m4')
VERSIONID(`@(#)pain.mc $Revision: 1.1.1.1 $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`MAIL_HUB', mail.netbsd.org)dnl
define(`SMART_HOST', nobozo.cs.berkeley.edu)dnl
define(`confCHECKPOINT_INTERVAL', 10)dnl
define(`confAUTO_REBUILD', True)dnl
define(`confMESSAGE_TIMEOUT', 3d/4h)dnl
MASQUERADE_AS(netbsd.org)dnl
LOCAL_USER(root)

View File

@ -0,0 +1,45 @@
divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# Mailer configuration for *.ihack.net.
include(`../m4/cf.m4')
VERSIONID(`$NetBSD: ihack.net.mc,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $')
OSTYPE(bsd4.4)dnl
DOMAIN(ihack.net)dnl
MAILER(local)dnl
MAILER(smtp)dnl

View File

@ -0,0 +1,46 @@
divert(-1)
#
# Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
# Copyright (c) 1994 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# Mailer configuration for minbar.netbsd.org (a.k.a. cvs.fi.netbsd.org).
include(`../m4/cf.m4')
VERSIONID(`$NetBSD: minbar.mc,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
DOMAIN(NetBSD.ORG)dnl

View File

@ -0,0 +1,50 @@
divert(-1)
#
# Copyright (c) 1994 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
# This is the prototype file for a configuration that supports nothing
# but basic SMTP connections via TCP.
#
# You may want to add an OSTYPE macro to get the location of various
# support files for your operating system environment.
#
include(`../m4/cf.m4')
VERSIONID(`@(#)netbsd-proto.mc $Revision: 1.1.1.1 $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`confAUTO_REBUILD', True)dnl

View File

@ -0,0 +1,52 @@
divert(-1)
#
# Copyright (c) 1993, 1994 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988 The Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
include(`../m4/cf.m4')
VERSIONID(`@(#)sun-lamp.mc $Revision: 1.1.1.1 $')
OSTYPE(bsd4.4)dnl
MASQUERADE_AS(netbsd.org)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`UUCP_RELAY', mailhost.Berkeley.EDU)dnl
define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`confCHECKPOINT_INTERVAL', 10)dnl
define(`confAUTO_REBUILD', True)dnl
define(`confMESSAGE_TIMEOUT', 3d/4h)dnl
Cw lamp.CS.Berkeley.EDU
Cw mail.netbsd.org
Cw ftp.netbsd.org
Cw netbsd.org

View File

@ -0,0 +1,46 @@
divert(-1)
#
# Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
# Copyright (c) 1994 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# Mailer configuration for zhadum.netbsd.org (a.k.a. cvs.netbsd.org).
include(`../m4/cf.m4')
VERSIONID(`$NetBSD: zhadum.mc,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
DOMAIN(NetBSD.ORG)dnl

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:37 tron Exp $
# install these sources in /usr/share/sendmail/domain
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/domain
FILESDIR= /usr/share/sendmail/domain
FILES= Berkeley.EDU.m4 CS.Berkeley.EDU.m4 EECS.Berkeley.EDU.m4 \
NetBSD.ORG.m4 S2K.Berkeley.EDU.m4 berkeley-only.m4 generic.m4 \
ihack.net.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,15 @@
define(`confAUTO_REBUILD', True)dnl
define(`confMIME_FORMAT_ERRORS', False)dnl
FEATURE(redirect)dnl
# All mail for netbsd.org machines is sent to mail.netbsd.org for processing.
# Outgoing mail is from netbsd.org.
MASQUERADE_AS(`netbsd.org')dnl
FEATURE(allmasquerade)dnl
EXPOSED_USER(root)dnl
define(`MAIL_HUB', `mail.netbsd.org')dnl
define(`LOCAL_RELAY', `mail.netbsd.org')dnl
define(`SMART_HOST', `mail.netbsd.org')dnl

View File

@ -0,0 +1,21 @@
define(`confAUTO_REBUILD', True)dnl
define(`confMIME_FORMAT_ERRORS', False)dnl
define(`confTRUSTED_USERS', mycroft)dnl
FEATURE(redirect)dnl
define(`MAIL_HUB', `mail.ihack.net.')dnl
define(`UUCP_RELAY', `life.ai.mit.edu.')dnl
define(`BITNET_RELAY', `mitvma.mit.edu.')dnl
# All mail for ihack.net machines is sent to mail.ihack.net for processing.
# Outgoing mail is from ihack.net.
MASQUERADE_AS(`ihack.net')dnl
MASQUERADE_DOMAIN(`ihack.net')dnl
MASQUERADE_DOMAIN(`ihack.org')dnl
MASQUERADE_DOMAIN(`ihack.com')dnl
FEATURE(allmasquerade)dnl
FEATURE(always_add_domain)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl

View File

@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:37 tron Exp $
# install these sources in /usr/share/sendmail/feature
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/feature
FILESDIR= /usr/share/sendmail/feature
FILES= accept_unqualified_senders.m4 accept_unresolvable_domains.m4 \
access_db.m4 allmasquerade.m4 always_add_domain.m4 \
bestmx_is_local.m4 bitdomain.m4 blacklist_recipients.m4 \
domaintable.m4 genericstable.m4 limited_masquerade.m4 \
local_lmtp.m4 local_procmail.m4 loose_relay_check.m4 \
mailertable.m4 masquerade_entire_domain.m4 \
masquerade_envelope.m4 nocanonify.m4 nodns.m4 notsticky.m4 \
nouucp.m4 nullclient.m4 promiscuous_relay.m4 rbl.m4 \
redirect.m4 relay_based_on_MX.m4 relay_entire_domain.m4 \
relay_hosts_only.m4 relay_local_from.m4 smrsh.m4 \
stickyhost.m4 use_ct_file.m4 use_cw_file.m4 uucpdomain.m4 \
virtusertable.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:38 tron Exp $
# install these sources in /usr/share/sendmail/hack
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/hack
FILESDIR= /usr/share/sendmail/hack
FILES= cssubdomain.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:39 tron Exp $
# install these sources in /usr/share/sendmail/m4
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/m4
FILESDIR= /usr/share/sendmail/m4
FILES= cf.m4 cfhead.m4 nullrelay.m4 proto.m4 version.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:40 tron Exp $
# install these sources in /usr/share/sendmail/mailer
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/mailer
FILESDIR= /usr/share/sendmail/mailer
FILES= cyrus.m4 fax.m4 local.m4 mail11.m4 phquery.m4 pop.m4 \
procmail.m4 smtp.m4 usenet.m4 uucp.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:40 tron Exp $
# install these sources in /usr/share/sendmail/ostype
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/ostype
FILESDIR= /usr/share/sendmail/ostype
FILES= aix2.m4 aix3.m4 aix4.m4 altos.m4 amdahl-uts.m4 aux.m4 \
bsd4.3.m4 bsd4.4.m4 bsdi1.0.m4 bsdi2.0.m4 dgux.m4 domainos.m4 \
dynix3.2.m4 gnuhurd.m4 hpux10.m4 hpux9.m4 irix4.m4 irix5.m4 \
irix6.m4 isc4.1.m4 linux.m4 maxion.m4 mklinux.m4 nextstep.m4 \
osf1.m4 powerux.m4 ptx2.m4 qnx.m4 riscos4.5.m4 sco-uw-2.1.m4 \
sco3.2.m4 sinix.m4 solaris2.m4 solaris2.ml.m4 sunos3.5.m4 \
sunos4.1.m4 svr4.m4 ultrix4.m4 unixware7.m4 unknown.m4 uxpds.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $
# install these sources in /usr/share/sendmail/sh
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/sh
FILESDIR= /usr/share/sendmail/sh
FILES= makeinfo.sh
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:40 tron Exp $
# install these sources in /usr/share/sendmail/siteconfig
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/cf/siteconfig
FILESDIR= /usr/share/sendmail/siteconfig
FILES= uucp.cogsci.m4 uucp.old.arpa.m4 uucp.ucbarpa.m4 uucp.ucbvax.m4
all:
.include <bsd.own.mk>
.include <bsd.files.mk>

View File

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/doc/intro
DIR= smm/09.sendmail
SRCS= intro.me
MACROS= -me
RM= rm -f
all: intro.ps
intro.ps: ${SRCS}
${RM} ${.TARGET}
${PIC} ${SRCS} | ${ROFF} >${.TARGET}
.include <bsd.doc.mk>

View File

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $
DIST= ${.CURDIR}/../../../../dist
.PATH: ${DIST}/sendmail/doc/op
DIR= smm/08.sendmailop
SRCS= op.me
MACROS= -me
RM= rm -f
all: op.ps
op.ps: ${SRCS}
${RM} ${.TARGET}
${PIC} ${SRCS} | ${ROFF} >${.TARGET}
.include <bsd.doc.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:35 tron Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist
.PATH: ${DIST}/sendmail/mailstats
PROG= mailstats
MAN= mailstats.8
CPPFLAGS+= -I${DIST}/sendmail/src -DNOT_SENDMAIL
.include <bsd.prog.mk>

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:35 tron Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist
.PATH: ${DIST}/sendmail/makemap ${DIST}/sendmail/src
PROG= makemap
SRCS= makemap.c safefile.c
MAN= makemap.8
CPPFLAGS+= -I${DIST}/sendmail/src ${DBMDEF} -DNOT_SENDMAIL
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:35 tron Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist
.PATH: ${DIST}/sendmail/praliases
PROG= praliases
MAN= praliases.8
CPPFLAGS+= -I${DIST}/sendmail/src ${DBMDEF}
.include <bsd.prog.mk>

View File

@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist
.PATH: ${DIST}/sendmail/src
PROG= sendmail
CPPFLAGS+= ${DBMDEF} -DMAP_REGEX -DTCPWRAPPERS
LDADD+= -lwrap
DPADD+= ${LIBWRAP}
SRCS= alias.c arpadate.c clock.c collect.c conf.c control.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 snprintf.c \
srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
util.c version.c
MAN= aliases.5 mailq.1 newaliases.1 sendmail.8
BINDIR= /usr/libexec/sendmail
BINOWN= root
BINGRP= kmem
BINMODE=6555
.if ${MKSHARE} != "no"
FILES=sendmail.hf
FILESDIR=/usr/share/misc
.endif
afterinstall:
${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist
.PATH: ${DIST}/sendmail/smrsh
PROG= smrsh
MAN= smrsh.8
CPPFLAGS+= -I${DIST}/sendmail/src
.include <bsd.prog.mk>