diff options
author | tron <tron@pkgsrc.org> | 1999-04-08 23:00:33 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-04-08 23:00:33 +0000 |
commit | 393c0f1bc86f889c9efce3efee124045fa561f8a (patch) | |
tree | 3c7ca0654df9aa129ee85377dc236b781dd70716 /mail | |
parent | 46b6d5aa6cec2facf5461807aa35fce080119c08 (diff) | |
download | pkgsrc-393c0f1bc86f889c9efce3efee124045fa561f8a.tar.gz |
New "sendmail-8.9.3" package:
The well known Mail Transport Agent.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail/Makefile | 45 | ||||
-rw-r--r-- | mail/sendmail/files/mailer.conf | 8 | ||||
-rw-r--r-- | mail/sendmail/files/md5 | 3 | ||||
-rw-r--r-- | mail/sendmail/patches/patch-aa | 22 | ||||
-rw-r--r-- | mail/sendmail/pkg/COMMENT | 1 | ||||
-rw-r--r-- | mail/sendmail/pkg/DESCR | 8 | ||||
-rw-r--r-- | mail/sendmail/pkg/MESSAGE | 5 | ||||
-rw-r--r-- | mail/sendmail/pkg/PLIST | 165 |
8 files changed, 257 insertions, 0 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile new file mode 100644 index 00000000000..f65063d04c3 --- /dev/null +++ b/mail/sendmail/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/04/08 23:00:33 tron Exp $ + +DISTNAME= sendmail.8.9.3 +PKGNAME= sendmail-8.9.3 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ + ftp://ftp.cert.dfn.de/pub/tools/net/sendmail/ + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://www.sendmail.org/ + +LICENSE= no-profit + +MESSAGE_FILE= ${WRKDIR}/MESSAGE +NO_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PKGNAME} +OBJDIR!= echo obj.`uname -srm | tr \ .` + +LIBEXECDIR= ${PREFIX}/libexec/sendmail +SBINDIR= ${PREFIX}/sbin + +post-build: + ${SED} -e 's#@@PKGNAME@@#${PKGNAME}#g' \ + -e 's#@@PREFIX@@#${PREFIX}#g' \ + <${PKGDIR}/MESSAGE >${MESSAGE_FILE} + ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ + <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.sendmail + +do-install: + ${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/etc + ${MKDIR} -p ${LIBEXECDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${OBJDIR}/sendmail ${LIBEXECDIR} + ${CHMOD} u+s ${LIBEXECDIR}/sendmail +.for SECTION in 1 5 8 + ${INSTALL_DATA} ${WRKSRC}/src/${OBJDIR}/*.${SECTION} \ + ${PREFIX}/man/man${SECTION} +.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/mailstats/${OBJDIR}/mailstats ${SBINDIR} + ${INSTALL_DATA} ${WRKSRC}/mailstats/${OBJDIR}/*.8 ${PREFIX}/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/praliases/${OBJDIR}/praliases ${SBINDIR} + ${INSTALL_DATA} ${WRKSRC}/praliases/${OBJDIR}/*.8 ${PREFIX}/man/man8 + ${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail + ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail + +.include "../../mk/bsd.pkg.mk" diff --git a/mail/sendmail/files/mailer.conf b/mail/sendmail/files/mailer.conf new file mode 100644 index 00000000000..4c2cfcceecf --- /dev/null +++ b/mail/sendmail/files/mailer.conf @@ -0,0 +1,8 @@ +# $NetBSD: mailer.conf,v 1.1.1.1 1999/04/08 23:00:33 tron Exp $ +# +# Execute the "real" sendmail program, named @@PREFIX@@/libexec/sendmail/sendmail +# +sendmail @@PREFIX@@/libexec/sendmail/sendmail +send-mail @@PREFIX@@/libexec/sendmail/sendmail +mailq @@PREFIX@@/libexec/sendmail/sendmail +newaliases @@PREFIX@@/libexec/sendmail/sendmail diff --git a/mail/sendmail/files/md5 b/mail/sendmail/files/md5 new file mode 100644 index 00000000000..f34fab91d1f --- /dev/null +++ b/mail/sendmail/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/04/08 23:00:33 tron Exp $ + +MD5 (sendmail.8.9.3.tar.gz) = efedacfbce84a71d1cfb0e617b84596e diff --git a/mail/sendmail/patches/patch-aa b/mail/sendmail/patches/patch-aa new file mode 100644 index 00000000000..652e84e3c1f --- /dev/null +++ b/mail/sendmail/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/04/08 23:00:33 tron Exp $ + +--- src/Makefile.m4.orig Sun Jan 24 00:51:41 1999 ++++ src/Makefile.m4 Fri Apr 9 00:28:36 1999 +@@ -27,7 +27,7 @@ + MAPDEF= ifdef(`confMAPDEF', `confMAPDEF') + + # environment definitions (e.g., -D_AIX3) +-ENVDEF= ifdef(`confENVDEF', `confENVDEF') ++ENVDEF= ifdef(`confENVDEF', `confENVDEF') -DTCPWRAPPERS + + # see also conf.h for additional compilation flags + +@@ -42,7 +42,7 @@ + + # libraries required on your system + # delete -l44bsd if you are not running BIND 4.9.x +-LIBS= ifdef(`confLIBS', `confLIBS') ++LIBS= ifdef(`confLIBS', `confLIBS') -lwrap + + # location of sendmail binary (usually /usr/sbin or /usr/lib) + BINDIR= ${DESTDIR}ifdef(`confMBINDIR', `confMBINDIR', `/usr/sbin') diff --git a/mail/sendmail/pkg/COMMENT b/mail/sendmail/pkg/COMMENT new file mode 100644 index 00000000000..634a4784851 --- /dev/null +++ b/mail/sendmail/pkg/COMMENT @@ -0,0 +1 @@ +The well known Mail Transport Agent. diff --git a/mail/sendmail/pkg/DESCR b/mail/sendmail/pkg/DESCR new file mode 100644 index 00000000000..3dd2e5933dd --- /dev/null +++ b/mail/sendmail/pkg/DESCR @@ -0,0 +1,8 @@ +Sendmail acts a unified "post office" to which all mail can be submitted. +Address interpretation is controlled by a production system, which can +parse both domain-based addressing and old-style "ad hoc" addresses. +The production system is powerful enough to rewrite addresses in the message +header to conform to the standards of a number of common target networks, +including old (NCP/RFC733) Arpanet, new (TCP/RFC822) Arpanet, UUCP, and +Phonenet. Sendmail also implements an SMTP server, message queueing, and +aliasing. diff --git a/mail/sendmail/pkg/MESSAGE b/mail/sendmail/pkg/MESSAGE new file mode 100644 index 00000000000..a0d6221c0fd --- /dev/null +++ b/mail/sendmail/pkg/MESSAGE @@ -0,0 +1,5 @@ +To use "@@PKGNAME@@" as the system's mail transport agent you have +to install "@@PREFIX@@/etc/mailer.conf.sendmail" as global mailwrapper +configuration file. The command below will do that for you: + +ln -fs @@PREFIX@@/etc/mailer.conf.sendmail /etc/mailer.conf diff --git a/mail/sendmail/pkg/PLIST b/mail/sendmail/pkg/PLIST new file mode 100644 index 00000000000..050cc272b20 --- /dev/null +++ b/mail/sendmail/pkg/PLIST @@ -0,0 +1,165 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/08 23:00:33 tron Exp $ +sbin/mailstats +sbin/praliases +etc/mailer.conf.sendmail +libexec/sendmail/sendmail +man/man1/newaliases.1 +man/man1/mailq.1 +man/man5/aliases.5 +man/man8/praliases.8 +man/man8/mailstats.8 +man/man8/sendmail.8 +share/sendmail/siteconfig/uucp.cogsci.m4 +share/sendmail/siteconfig/uucp.old.arpa.m4 +share/sendmail/siteconfig/uucp.ucbarpa.m4 +share/sendmail/siteconfig/uucp.ucbvax.m4 +share/sendmail/cf/generic-ultrix4.cf +share/sendmail/cf/Makefile +share/sendmail/cf/chez.cs.mc +share/sendmail/cf/clientproto.mc +share/sendmail/cf/cs-hpux10.mc +share/sendmail/cf/cs-hpux9.mc +share/sendmail/cf/cs-osf1.mc +share/sendmail/cf/cs-solaris2.mc +share/sendmail/cf/cs-sunos4.1.mc +share/sendmail/cf/cs-ultrix4.mc +share/sendmail/cf/cyrusproto.mc +share/sendmail/cf/generic-bsd4.4.mc +share/sendmail/cf/generic-hpux10.mc +share/sendmail/cf/generic-hpux9.mc +share/sendmail/cf/generic-nextstep3.3.mc +share/sendmail/cf/generic-osf1.mc +share/sendmail/cf/generic-solaris2.mc +share/sendmail/cf/generic-sunos4.1.mc +share/sendmail/cf/generic-ultrix4.mc +share/sendmail/cf/huginn.cs.mc +share/sendmail/cf/knecht.mc +share/sendmail/cf/mail.cs.mc +share/sendmail/cf/mail.eecs.mc +share/sendmail/cf/mailspool.cs.mc +share/sendmail/cf/python.cs.mc +share/sendmail/cf/s2k-osf1.mc +share/sendmail/cf/s2k-ultrix4.mc +share/sendmail/cf/tcpproto.mc +share/sendmail/cf/ucbarpa.mc +share/sendmail/cf/ucbvax.mc +share/sendmail/cf/uucpproto.mc +share/sendmail/cf/vangogh.cs.mc +share/sendmail/cf/generic-bsd4.4.cf +share/sendmail/cf/generic-hpux9.cf +share/sendmail/cf/generic-hpux10.cf +share/sendmail/cf/generic-osf1.cf +share/sendmail/cf/generic-solaris2.cf +share/sendmail/cf/generic-sunos4.1.cf +share/sendmail/cf/Build +share/sendmail/domain/Berkeley.EDU.m4 +share/sendmail/domain/CS.Berkeley.EDU.m4 +share/sendmail/domain/EECS.Berkeley.EDU.m4 +share/sendmail/domain/S2K.Berkeley.EDU.m4 +share/sendmail/domain/generic.m4 +share/sendmail/domain/berkeley-only.m4 +share/sendmail/feature/virtusertable.m4 +share/sendmail/feature/accept_unresolvable_domains.m4 +share/sendmail/feature/access_db.m4 +share/sendmail/feature/allmasquerade.m4 +share/sendmail/feature/always_add_domain.m4 +share/sendmail/feature/bestmx_is_local.m4 +share/sendmail/feature/bitdomain.m4 +share/sendmail/feature/blacklist_recipients.m4 +share/sendmail/feature/loose_relay_check.m4 +share/sendmail/feature/domaintable.m4 +share/sendmail/feature/genericstable.m4 +share/sendmail/feature/limited_masquerade.m4 +share/sendmail/feature/local_lmtp.m4 +share/sendmail/feature/local_procmail.m4 +share/sendmail/feature/mailertable.m4 +share/sendmail/feature/masquerade_entire_domain.m4 +share/sendmail/feature/nocanonify.m4 +share/sendmail/feature/masquerade_envelope.m4 +share/sendmail/feature/nodns.m4 +share/sendmail/feature/notsticky.m4 +share/sendmail/feature/nouucp.m4 +share/sendmail/feature/nullclient.m4 +share/sendmail/feature/promiscuous_relay.m4 +share/sendmail/feature/rbl.m4 +share/sendmail/feature/redirect.m4 +share/sendmail/feature/relay_based_on_MX.m4 +share/sendmail/feature/relay_entire_domain.m4 +share/sendmail/feature/relay_hosts_only.m4 +share/sendmail/feature/relay_local_from.m4 +share/sendmail/feature/smrsh.m4 +share/sendmail/feature/stickyhost.m4 +share/sendmail/feature/use_ct_file.m4 +share/sendmail/feature/use_cw_file.m4 +share/sendmail/feature/uucpdomain.m4 +share/sendmail/feature/accept_unqualified_senders.m4 +share/sendmail/hack/cssubdomain.m4 +share/sendmail/m4/cf.m4 +share/sendmail/m4/cfhead.m4 +share/sendmail/m4/nullrelay.m4 +share/sendmail/m4/proto.m4 +share/sendmail/m4/version.m4 +share/sendmail/mailer/uucp.m4 +share/sendmail/mailer/fax.m4 +share/sendmail/mailer/local.m4 +share/sendmail/mailer/mail11.m4 +share/sendmail/mailer/phquery.m4 +share/sendmail/mailer/pop.m4 +share/sendmail/mailer/procmail.m4 +share/sendmail/mailer/smtp.m4 +share/sendmail/mailer/usenet.m4 +share/sendmail/mailer/cyrus.m4 +share/sendmail/ostype/uxpds.m4 +share/sendmail/ostype/aix3.m4 +share/sendmail/ostype/aix4.m4 +share/sendmail/ostype/altos.m4 +share/sendmail/ostype/amdahl-uts.m4 +share/sendmail/ostype/aux.m4 +share/sendmail/ostype/bsd4.3.m4 +share/sendmail/ostype/bsd4.4.m4 +share/sendmail/ostype/bsdi1.0.m4 +share/sendmail/ostype/bsdi2.0.m4 +share/sendmail/ostype/dgux.m4 +share/sendmail/ostype/domainos.m4 +share/sendmail/ostype/dynix3.2.m4 +share/sendmail/ostype/gnuhurd.m4 +share/sendmail/ostype/hpux10.m4 +share/sendmail/ostype/hpux9.m4 +share/sendmail/ostype/irix4.m4 +share/sendmail/ostype/irix5.m4 +share/sendmail/ostype/irix6.m4 +share/sendmail/ostype/isc4.1.m4 +share/sendmail/ostype/linux.m4 +share/sendmail/ostype/maxion.m4 +share/sendmail/ostype/mklinux.m4 +share/sendmail/ostype/nextstep.m4 +share/sendmail/ostype/osf1.m4 +share/sendmail/ostype/powerux.m4 +share/sendmail/ostype/ptx2.m4 +share/sendmail/ostype/qnx.m4 +share/sendmail/ostype/riscos4.5.m4 +share/sendmail/ostype/sco3.2.m4 +share/sendmail/ostype/sco-uw-2.1.m4 +share/sendmail/ostype/sinix.m4 +share/sendmail/ostype/solaris2.m4 +share/sendmail/ostype/solaris2.ml.m4 +share/sendmail/ostype/sunos3.5.m4 +share/sendmail/ostype/sunos4.1.m4 +share/sendmail/ostype/svr4.m4 +share/sendmail/ostype/ultrix4.m4 +share/sendmail/ostype/unixware7.m4 +share/sendmail/ostype/unknown.m4 +share/sendmail/ostype/aix2.m4 +share/sendmail/sh/makeinfo.sh +share/sendmail/README +@dirrm libexec/sendmail +@dirrm share/sendmail/siteconfig +@dirrm share/sendmail/sh +@dirrm share/sendmail/ostype +@dirrm share/sendmail/mailer +@dirrm share/sendmail/m4 +@dirrm share/sendmail/hack +@dirrm share/sendmail/feature +@dirrm share/sendmail/domain +@unexec rm -rf %D/share/sendmail/cf +@dirrm share/sendmail |