pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/sendmail812 Rename of current sendmail package to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/21d55ec22d2c
branches: trunk
changeset: 480116:21d55ec22d2c
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Mon Aug 30 19:56:44 2004 +0000
description:
Rename of current sendmail package to sendmail812 to make way for
new sendmail 8.13.x tree in pkgsrc.
Changes to the original package include:
- Added missing NetBSD CVS tags to some files under files
- Path changes in Makefile and Makefile.common to reflect new location under
mail/ of this package
diffstat:
mail/sendmail812/DESCR | 8 +
mail/sendmail812/MESSAGE | 9 +
mail/sendmail812/Makefile | 113 +++++++++
mail/sendmail812/Makefile.common | 56 ++++
mail/sendmail812/PLIST | 215 +++++++++++++++++++
mail/sendmail812/distinfo | 11 +
mail/sendmail812/files/mailer.conf | 10 +
mail/sendmail812/files/site.config.m4 | 12 +
mail/sendmail812/files/site.config.m4-db2 | 5 +
mail/sendmail812/files/site.config.m4-db4 | 5 +
mail/sendmail812/files/site.config.m4-ldap | 5 +
mail/sendmail812/files/site.config.m4-milter | 4 +
mail/sendmail812/files/site.config.m4-sasl | 5 +
mail/sendmail812/files/site.config.m4-sasl2 | 5 +
mail/sendmail812/files/site.config.m4-solaris | 9 +
mail/sendmail812/files/site.config.m4-starttls | 5 +
mail/sendmail812/files/site.config.m4-tcpwrappers | 5 +
mail/sendmail812/files/site.config.m4-v6 | 4 +
mail/sendmail812/files/site.config.m4-v6-not-solaris | 3 +
mail/sendmail812/patches/patch-aa | 25 ++
mail/sendmail812/patches/patch-ab | 12 +
mail/sendmail812/patches/patch-ac | 12 +
mail/sendmail812/patches/patch-ad | 12 +
mail/sendmail812/patches/patch-ae | 12 +
mail/sendmail812/patches/patch-af | 14 +
mail/sendmail812/patches/patch-ag | 38 +++
26 files changed, 614 insertions(+), 0 deletions(-)
diffs (truncated from 718 to 300 lines):
diff -r afa544ad535a -r 21d55ec22d2c mail/sendmail812/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail812/DESCR Mon Aug 30 19:56:44 2004 +0000
@@ -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 -r afa544ad535a -r 21d55ec22d2c mail/sendmail812/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail812/MESSAGE Mon Aug 30 19:56:44 2004 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+To use "${PKGNAME}" as the system's mail transport agent you have
+to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global
+mailwrapper configuration file. The command below will do that for you:
+
+ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf
+===========================================================================
diff -r afa544ad535a -r 21d55ec22d2c mail/sendmail812/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail812/Makefile Mon Aug 30 19:56:44 2004 +0000
@@ -0,0 +1,113 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+.include "../../mail/sendmail812/Makefile.common"
+
+PKGNAME= sendmail-${DIST_VERS}
+COMMENT= The well known Mail Transport Agent
+
+CONFLICTS+= postfix-[0-9]* fastforward>=0.51nb2
+
+MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+.if ${OPSYS} == "SunOS"
+USE_DB2?= YES
+.else
+USE_DB2?= NO
+.endif
+.if defined(USE_DB4) && ${USE_DB4} == YES
+.include "../../databases/db4/buildlink3.mk"
+.elif ${USE_DB2} == YES
+.include "../../databases/db/buildlink3.mk"
+.endif
+
+.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
+.include "../../databases/openldap/buildlink3.mk"
+.endif
+
+.if defined(USE_SASL2) && ${USE_SASL2} == YES
+.include "../../security/cyrus-sasl2/buildlink3.mk"
+.elif defined(USE_SASL) && ${USE_SASL} == YES
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.endif
+
+.if defined(USE_STARTTLS) && ${USE_STARTTLS} == YES
+.include "../../security/openssl/buildlink3.mk"
+.endif
+
+USE_TCPWRAPPERS?= YES
+.if ${USE_TCPWRAPPERS} == YES
+.include "../../security/tcp_wrappers/buildlink3.mk"
+.endif
+
+post-patch: make-sendmail-siteconfig
+.if ${USE_TCPWRAPPERS} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-tcpwrappers >>${SITECONFIG}
+ ${ECHO} -n ' TCPWRAPPERS' >>${DESCR_SRC}
+.endif
+.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-ldap >>${SITECONFIG}
+ ${ECHO} -n ' LDAP' >>${DESCR_SRC}
+.endif
+.if defined(USE_DB4) && ${USE_DB4} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-db4 >>${SITECONFIG}
+ ${ECHO} -n ' DB4' >>${DESCR_SRC}
+.elif ${USE_DB2} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-db2 >>${SITECONFIG}
+ ${ECHO} -n ' DB2' >>${DESCR_SRC}
+.endif
+.if defined(USE_STARTTLS) && ${USE_STARTTLS} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-starttls >>${SITECONFIG}
+ ${ECHO} -n ' STARTTLS' >>${DESCR_SRC}
+.endif
+.if defined(USE_SASL2) && ${USE_SASL2} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-sasl2 >>${SITECONFIG}
+ ${ECHO} -n ' SASL2' >>${DESCR_SRC}
+.elif defined(USE_SASL) && ${USE_SASL} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-sasl >>${SITECONFIG}
+ ${ECHO} -n ' SASL' >>${DESCR_SRC}
+.endif
+ ${ECHO} >>${DESCR_SRC}
+
+do-build:
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./Build)
+
+post-build:
+ ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
+ <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.sendmail
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${CP} ${PKGDIR}/MESSAGE ${MESSAGE_SRC}
+.if ${USE_DB2} == YES
+ ${ECHO} "" >>${MESSAGE_SRC}
+ ${ECHO} "If you are upgrading from \"sendmail\" 8.8.x don't forget to rebuild all" >>${MESSAGE_SRC}
+ ${ECHO} "databases with \"${PREFIX}/bin/newaliases\" and \"${PREFIX}/sbin/makemap\"." >>${MESSAGE_SRC}
+ ${ECHO} >>${PLIST_SRC} "@exec mv -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || true"
+ ${ECHO} >>${PLIST_SRC} "@unexec mv -f /usr/sbin/makemap.8.8 /usr/sbin/makemap || true"
+.endif
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/libexec/sendmail
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendmail
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/sendmail
+ ${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/share/examples/sendmail/mailer.conf
+ cd ${WRKSRC}/cf && ${PAX} -rw -pp -pm . ${PREFIX}/share/sendmail
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
+.if ${USE_DB2} == YES
+ ${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${TR} \/ - | ${SED} s/sun4./sun4/`/libsm/libsm.a \
+ ${PREFIX}/lib
+ ${INSTALL_DATA} \
+ ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${TR} \/ - | ${SED} s/sun4./sun4/`/libsmutil/libsmutil.a \
+ ${PREFIX}/lib
+
+USE_PKGINSTALL= yes
+PKG_GROUPS= smmsp
+PKG_USERS= smmsp:smmsp::Sendmail\\ Message\\ Submission\\ Program
+
+.include "../../mk/bsd.pkg.mk"
+
+# has to be below include for bsd.pkg.mk, else substition fails
+OBJDIR!= ${ECHO} obj.`uname -srm | ${TR} \ . | ${TR} \/ -`
diff -r afa544ad535a -r 21d55ec22d2c mail/sendmail812/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail812/Makefile.common Mon Aug 30 19:56:44 2004 +0000
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+#
+# Makefile fragment shared with libmilter
+#
+
+DISTNAME= sendmail.${DIST_VERS}
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
+ ftp://ftp.fu-berlin.de/pub/unix/mail/sendmail/ \
+ ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://www.sendmail.org/
+
+LICENSE= no-profit
+
+DISTINFO_FILE?= ${.CURDIR}/../../mail/sendmail812/distinfo
+FILESDIR?= ${.CURDIR}/../../mail/sendmail812/files
+PATCHDIR?= ${.CURDIR}/../../mail/sendmail812/patches
+
+DIST_VERS= 8.12.11
+
+MAKE_ENV+= BSD_BINOWN="${BINOWN}" BSD_BINGRP="${BINGRP}" \
+ BSD_MANOWN="${MANOWN}" BSD_MANGRP="${MANGRP}" \
+ BUILDLINK_DIR="${BUILDLINK_DIR}"
+SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4
+
+BUILD_DEFS+= USE_INET6 USE_TCPWRAPPERS USE_OPENLDAP USE_DB2 \
+ USE_SASL USE_SASL2 USE_STARTTLS USE_DB4
+DESCR_SRC= ${WRKDIR}/.DESCR_SRC
+
+WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS}
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= m4
+MAKE_ENV+= M4="${M4}"
+
+.include "../../mk/bsd.prefs.mk"
+
+make-sendmail-siteconfig:
+ ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG}
+ ${CHMOD} +w ${SITECONFIG}
+ ${CP} ${PKGDIR}/DESCR ${DESCR_SRC}
+ ${ECHO} '---' >>${DESCR_SRC}
+ ${ECHO} -n 'compiled features:' >>${DESCR_SRC}
+.if defined(USE_INET6) && ${USE_INET6} == YES
+ ${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
+.if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS"
+ ${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
+.endif
+ ${ECHO} -n ' INET6' >>${DESCR_SRC}
+.endif
+.if ${OPSYS} == "SunOS"
+ ${CAT} ${FILESDIR}/site.config.m4-solaris >>${SITECONFIG}
+.endif
+ ${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}
+ ${ECHO} -n ' MILTER' >>${DESCR_SRC}
diff -r afa544ad535a -r 21d55ec22d2c mail/sendmail812/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail812/PLIST Mon Aug 30 19:56:44 2004 +0000
@@ -0,0 +1,215 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/30 19:56:44 adrianp Exp $
+bin/hoststat
+bin/mailq
+bin/newaliases
+bin/purgestat
+bin/vacation
+lib/libsm.a
+lib/libsmutil.a
+libexec/sendmail/sendmail
+libexec/sendmail/smrsh
+man/cat1/mailq.0
+man/cat1/newaliases.0
+man/cat1/vacation.0
+man/cat5/aliases.0
+man/cat8/editmap.0
+man/cat8/mailstats.0
+man/cat8/makemap.0
+man/cat8/praliases.0
+man/cat8/sendmail.0
+man/cat8/smrsh.0
+sbin/editmap
+sbin/mailstats
+sbin/makemap
+sbin/praliases
+share/examples/sendmail/mailer.conf
+share/misc/helpfile
+share/sendmail/README
+share/sendmail/cf/Build
+share/sendmail/cf/Makefile
+share/sendmail/cf/README
+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.cf
+share/sendmail/cf/generic-bsd4.4.mc
+share/sendmail/cf/generic-hpux10.cf
+share/sendmail/cf/generic-hpux10.mc
+share/sendmail/cf/generic-hpux9.cf
+share/sendmail/cf/generic-hpux9.mc
+share/sendmail/cf/generic-linux.cf
+share/sendmail/cf/generic-linux.mc
+share/sendmail/cf/generic-mpeix.cf
+share/sendmail/cf/generic-mpeix.mc
+share/sendmail/cf/generic-nextstep3.3.cf
+share/sendmail/cf/generic-nextstep3.3.mc
+share/sendmail/cf/generic-osf1.cf
+share/sendmail/cf/generic-osf1.mc
+share/sendmail/cf/generic-solaris.cf
+share/sendmail/cf/generic-solaris.mc
+share/sendmail/cf/generic-sunos4.1.cf
+share/sendmail/cf/generic-sunos4.1.mc
+share/sendmail/cf/generic-ultrix4.cf
+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/submit.cf
+share/sendmail/cf/submit.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/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/berkeley-only.m4
+share/sendmail/domain/generic.m4
+share/sendmail/feature/accept_unqualified_senders.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/authinfo.m4
+share/sendmail/feature/bestmx_is_local.m4
+share/sendmail/feature/bitdomain.m4
+share/sendmail/feature/blacklist_recipients.m4
+share/sendmail/feature/compat_check.m4
+share/sendmail/feature/delay_checks.m4
+share/sendmail/feature/dnsbl.m4
+share/sendmail/feature/domaintable.m4
+share/sendmail/feature/enhdnsbl.m4
Home |
Main Index |
Thread Index |
Old Index