pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail813 Rename of current sendmail package to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/935ca24198b8
branches:  trunk
changeset: 527955:935ca24198b8
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Tue Apr 17 10:16:53 2007 +0000

description:
Rename of current sendmail package to sendmail813 to make way for
new sendmail 8.14.x tree in pkgsrc.

Changes to the original package include:
- Path changes in Makefile and Makefile.common to reflect new location under
  mail/ of this package
- Fix a bunch of issues found by pkg_lint

diffstat:

 mail/sendmail813/DESCR                               |    8 +
 mail/sendmail813/MESSAGE                             |   21 +
 mail/sendmail813/Makefile                            |   99 ++++++++
 mail/sendmail813/Makefile.common                     |   50 ++++
 mail/sendmail813/PLIST                               |  235 +++++++++++++++++++
 mail/sendmail813/distinfo                            |   18 +
 mail/sendmail813/files/mailer.conf                   |   10 +
 mail/sendmail813/files/sendmail.sh                   |   58 ++++
 mail/sendmail813/files/site.config.m4                |   25 ++
 mail/sendmail813/files/site.config.m4-db2            |    5 +
 mail/sendmail813/files/site.config.m4-db4            |    5 +
 mail/sendmail813/files/site.config.m4-ldap           |    5 +
 mail/sendmail813/files/site.config.m4-milter         |    4 +
 mail/sendmail813/files/site.config.m4-sasl2          |    5 +
 mail/sendmail813/files/site.config.m4-starttls       |    5 +
 mail/sendmail813/files/site.config.m4-tcpwrappers    |    5 +
 mail/sendmail813/files/site.config.m4-v6             |    4 +
 mail/sendmail813/files/site.config.m4-v6-not-solaris |    4 +
 mail/sendmail813/files/smmsp.sh                      |   28 ++
 mail/sendmail813/options.mk                          |   52 ++++
 mail/sendmail813/patches/patch-aa                    |   24 +
 mail/sendmail813/patches/patch-ab                    |   12 +
 mail/sendmail813/patches/patch-ac                    |   12 +
 mail/sendmail813/patches/patch-ad                    |   12 +
 mail/sendmail813/patches/patch-ae                    |   12 +
 mail/sendmail813/patches/patch-af                    |   14 +
 mail/sendmail813/patches/patch-ag                    |   16 +
 mail/sendmail813/patches/patch-ah                    |   38 +++
 mail/sendmail813/patches/patch-ai                    |   53 ++++
 mail/sendmail813/patches/patch-aj                    |   18 +
 mail/sendmail813/patches/patch-ak                    |   23 +
 mail/sendmail813/patches/patch-al                    |   12 +
 mail/sendmail813/patches/patch-am                    |   12 +
 33 files changed, 904 insertions(+), 0 deletions(-)

diffs (truncated from 1036 to 300 lines):

diff -r ae59aea2adba -r 935ca24198b8 mail/sendmail813/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail813/DESCR    Tue Apr 17 10:16:53 2007 +0000
@@ -0,0 +1,8 @@
+Sendmail acts as 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 ae59aea2adba -r 935ca24198b8 mail/sendmail813/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail813/MESSAGE  Tue Apr 17 10:16:53 2007 +0000
@@ -0,0 +1,21 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/04/17 10:16:53 jnemeth 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
+
+If you are changing the database format used by sendmail you must run
+"newaliases" and "makemap" in order to re-create the databases.
+
+You may also need to install (and/or customize) the configuration files
+for Sendmail before it will be operational.  "cd" to the directory
+
+    ${PREFIX}/share/sendmail/cf
+
+and read the file README for instructions on creating and installing
+configuration files.
+
+===========================================================================
diff -r ae59aea2adba -r 935ca24198b8 mail/sendmail813/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail813/Makefile Tue Apr 17 10:16:53 2007 +0000
@@ -0,0 +1,99 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
+
+.include "../../mail/sendmail813/Makefile.common"
+
+PKGNAME=       sendmail-${DIST_VERS}
+COMMENT=       The well known Mail Transport Agent
+
+CONFLICTS+=    courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
+
+MESSAGE_SRC=   ${WRKDIR}/.MESSAGE_SRC
+PLIST_SRC=     ${WRKDIR}/.PLIST_SRC
+
+SMRSH_CMDDIR?= ${PREFIX}/libexec/sm.bin
+PLIST_SUBST+=  SMRSH_CMDDIR=${SMRSH_CMDDIR:Q}
+RCD_SCRIPTS=   sendmail smmsp
+
+# Not OWN_DIRS, so that the admin doesn't get a suggestion to delete the
+# queue dirs if they are nonempty at deinstall (probably undesirable).
+#
+MAKE_DIRS_PERMS+=      /var/spool/clientmqueue smmsp smmsp 0770
+MAKE_DIRS_PERMS+=      /var/spool/mqueue ${ROOT_USER} ${ROOT_GROUP} 0755
+
+PKG_GROUPS=            smmsp
+PKG_USERS=             smmsp:smmsp
+PKG_GECOS.smmsp=       Sendmail Message Submission Program
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     ../mailer.conf include/sm/conf.h smrsh/smrsh.8 cf/cf/Makefile
+SUBST_SED.paths+=      -e "s|@@BINGRP@@|${BINGRP}|g"
+SUBST_SED.paths+=      -e "s|@@BINOWN@@|${BINOWN}|g"
+SUBST_SED.paths+=      -e "s|@@INSTALL@@|${INSTALL}|g"
+SUBST_SED.paths+=      -e "s|@@PREFIX@@|${PREFIX}|g"
+SUBST_SED.paths+=      -e "s|@@SMRSH_CMDDIR@@|${SMRSH_CMDDIR}|g"
+SUBST_MESSAGE.paths=   Fixing paths.
+
+REPLACE_PERL=          contrib/socketmapClient.pl contrib/socketmapServer.pl
+
+post-patch: make-sendmail-siteconfig
+.if !empty(PKG_OPTIONS:Mtcpwrappers)
+       cat ${FILESDIR}/site.config.m4-tcpwrappers >>${SITECONFIG}
+.endif
+.if !empty(PKG_OPTIONS:Mldap)
+       cat ${FILESDIR}/site.config.m4-ldap >>${SITECONFIG}
+.endif
+.if !empty(PKG_OPTIONS:Mdb2)
+       cat ${FILESDIR}/site.config.m4-db2 >>${SITECONFIG}
+.endif
+.if !empty(PKG_OPTIONS:Mdb4)
+       cat ${FILESDIR}/site.config.m4-db4 >>${SITECONFIG}
+.endif
+.if !empty(PKG_OPTIONS:Mtls)
+       cat ${FILESDIR}/site.config.m4-starttls >>${SITECONFIG}
+.endif
+.if !empty(PKG_OPTIONS:Msasl)
+       cat ${FILESDIR}/site.config.m4-sasl2 >>${SITECONFIG}
+.endif
+
+post-extract:
+       cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
+
+do-build:
+       cd ${WRKSRC} && env ${MAKE_ENV} ./Build
+
+post-build:
+       cp ${PKGDIR}/MESSAGE ${MESSAGE_SRC}
+       cp ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
+
+pre-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/libexec/sendmail
+
+post-install:
+       ${INSTALL_DATA_DIR} ${SMRSH_CMDDIR}
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendmail
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/sendmail
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sendmail
+       ${INSTALL_DATA} ${WRKDIR}/mailer.conf \
+               ${PREFIX}/share/examples/sendmail/
+       cd ${WRKSRC}/cf && pax -rw -pp -pm -s',^.*\.orig$$,,' . ${PREFIX}/share/sendmail
+       chown -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
+
+       ${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
+       ${INSTALL_SCRIPT} ${WRKSRC}/contrib/socketmap*.pl \
+               ${PREFIX}/share/examples/sendmail/
+       ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${PREFIX}/share/doc/sendmail
+       ${INSTALL_DATA} ${WRKSRC}/cf/README ${PREFIX}/share/doc/sendmail
+       ${INSTALL_DATA} ${WRKSRC}/sendmail/SECURITY ${PREFIX}/share/doc/sendmail
+       ${INSTALL_DATA} ${WRKSRC}/doc/op/op.me ${PREFIX}/share/doc/sendmail
+       ${INSTALL_DATA} ${WRKSRC}/doc/op/op.ps ${PREFIX}/share/doc/sendmail
+
+.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 ae59aea2adba -r 935ca24198b8 mail/sendmail813/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail813/Makefile.common  Tue Apr 17 10:16:53 2007 +0000
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
+#
+# Makefile fragment shared with libmilter
+#
+
+DISTNAME=      sendmail.${DIST_VERS}
+CATEGORIES=    mail
+MASTER_SITES=  ftp://ftp.sendmail.org/pub/sendmail/ \
+               ftp://ftp.sendmail.org/pub/sendmail/past-releases/ \
+               ftp://ftp.fu-berlin.de/pub/unix/mail/sendmail/ \
+               ftp://ftp.ayamura.org/pub/sendmail/
+
+MAINTAINER=    jnemeth%NetBSD.org@localhost
+HOMEPAGE=      http://www.sendmail.org/
+
+LICENSE=       sendmail-license
+
+DISTINFO_FILE?=        ${.CURDIR}/../../mail/sendmail813/distinfo
+FILESDIR?=     ${.CURDIR}/../../mail/sendmail813/files
+PATCHDIR?=     ${.CURDIR}/../../mail/sendmail813/patches
+
+DIST_VERS=     8.13.8
+
+MAKE_ENV+=     BSD_BINOWN=${BINOWN:Q} BSD_BINGRP=${BINGRP:Q} \
+               BSD_MANOWN=${MANOWN:Q} BSD_MANGRP=${MANGRP:Q} \
+               BUILDLINK_DIR=${BUILDLINK_DIR:Q} \
+               SMRSH_CMDDIR=${SMRSH_CMDDIR:Q}
+SITECONFIG=    ${WRKSRC}/devtools/Site/site.config.m4
+
+BUILD_DEFS+=   SMRSH_CMDDIR
+
+WRKSRC=                ${WRKDIR}/sendmail-${DIST_VERS}
+USE_TOOLS+=    gm4
+MAKE_ENV+=     M4=${TOOLS_M4:Q}
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+.PHONY: make-sendmail-siteconfig
+make-sendmail-siteconfig:
+       ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG}
+       ${CHMOD} +w ${SITECONFIG}
+
+.if !empty(PKG_OPTIONS:Minet6)
+       ${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
+.  if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS" && ${OPSYS} != "DragonFly"
+       ${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
+.  endif
+.endif
+       ${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}
diff -r ae59aea2adba -r 935ca24198b8 mail/sendmail813/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail813/PLIST    Tue Apr 17 10:16:53 2007 +0000
@@ -0,0 +1,235 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
+bin/hoststat
+bin/mailq
+bin/newaliases
+bin/purgestat
+bin/vacation
+lib/libsm.a
+lib/libsmutil.a
+libexec/sendmail/sendmail
+libexec/sendmail/smrsh
+man/man1/mailq.1
+man/man1/newaliases.1
+man/man1/vacation.1
+man/man5/aliases.5
+man/man8/editmap.8
+man/man8/mailstats.8
+man/man8/makemap.8
+man/man8/praliases.8
+man/man8/sendmail.8
+man/man8/smrsh.8
+sbin/editmap
+sbin/mailstats
+sbin/makemap
+sbin/praliases
+share/doc/sendmail/README
+share/doc/sendmail/RELEASE_NOTES
+share/doc/sendmail/SECURITY
+share/doc/sendmail/op.me
+share/doc/sendmail/op.ps
+share/examples/rc.d/sendmail
+share/examples/rc.d/smmsp
+share/examples/sendmail/mailer.conf
+share/examples/sendmail/socketmapClient.pl
+share/examples/sendmail/socketmapServer.pl
+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/conncontrol.m4
+share/sendmail/feature/delay_checks.m4
+share/sendmail/feature/dnsbl.m4



Home | Main Index | Thread Index | Old Index