diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-06-16 01:28:11 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-06-16 01:28:11 +0800 |
commit | 66684ba7e74c34830deb8d7f31ec05a48de32994 (patch) | |
tree | 3168b3e784f60730655acada32b36077c918b7ed | |
parent | 228f685357301e1358e225ecf88a373dab9b084a (diff) | |
download | freebsd-ports-gnome-66684ba7e74c34830deb8d7f31ec05a48de32994.tar.gz freebsd-ports-gnome-66684ba7e74c34830deb8d7f31ec05a48de32994.tar.zst freebsd-ports-gnome-66684ba7e74c34830deb8d7f31ec05a48de32994.zip |
Sendmail:
- Save more documentation in %%PREFIX%%/share/doc/sendmail
- Update Sendmail package, only libmilter will be installed.
- Bump PORTREVISION
- Cleanup configuration, reduced overhead in "site.config.m4" files
- New option SENDMAIL_WITHOUT_IPV6=yes
- Use global WITH_TLS as well as SENDMAIL_WITH_TLS
- New slave ports: sendmail-sasl, sendmail-ldap
- vbsfilter now build a package
-rw-r--r-- | mail/Makefile | 2 | ||||
-rw-r--r-- | mail/sendmail-ldap/Makefile | 19 | ||||
-rw-r--r-- | mail/sendmail-old/Makefile | 94 | ||||
-rw-r--r-- | mail/sendmail-old/files/site.config.m4 | 5 | ||||
-rw-r--r-- | mail/sendmail-old/files/site.config.m4.ipv6 | 2 | ||||
-rw-r--r-- | mail/sendmail-old/pkg-plist | 6 | ||||
-rw-r--r-- | mail/sendmail-sasl/Makefile | 18 | ||||
-rw-r--r-- | mail/sendmail/Makefile | 94 | ||||
-rw-r--r-- | mail/sendmail/files/site.config.m4 | 5 | ||||
-rw-r--r-- | mail/sendmail/files/site.config.m4.ipv6 | 2 | ||||
-rw-r--r-- | mail/sendmail/pkg-plist | 6 | ||||
-rw-r--r-- | mail/sendmail811/Makefile | 94 | ||||
-rw-r--r-- | mail/sendmail811/files/site.config.m4 | 5 | ||||
-rw-r--r-- | mail/sendmail811/files/site.config.m4.ipv6 | 2 | ||||
-rw-r--r-- | mail/sendmail811/pkg-plist | 6 | ||||
-rw-r--r-- | mail/sendmail812/Makefile | 94 | ||||
-rw-r--r-- | mail/sendmail812/files/site.config.m4 | 5 | ||||
-rw-r--r-- | mail/sendmail812/files/site.config.m4.ipv6 | 2 | ||||
-rw-r--r-- | mail/sendmail812/pkg-plist | 6 | ||||
-rw-r--r-- | mail/vbsfilter/Makefile | 7 |
20 files changed, 280 insertions, 194 deletions
diff --git a/mail/Makefile b/mail/Makefile index 9027211785c7..cbe61acea668 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -157,6 +157,8 @@ SUBDIR += rmoldmail SUBDIR += ruby-tmail SUBDIR += sendmail + SUBDIR += sendmail-ldap + SUBDIR += sendmail-sasl SUBDIR += serialmail SUBDIR += sigrot SUBDIR += smail diff --git a/mail/sendmail-ldap/Makefile b/mail/sendmail-ldap/Makefile new file mode 100644 index 000000000000..2f8859093bc5 --- /dev/null +++ b/mail/sendmail-ldap/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: sendmail-ldap +# Date created: 15.Jun 2001 +# Whom: dirk.meyer@dinoex.sub.org +# +# $FreeBSD$ + +SENDMAIL_WITH_LDAP= yes +SENDMAIL_WITH_SASL= yes +SENDMAIL_WITH_TLS= yes +SENDMAIL_WITH_SFIO= yes +SENDMAIL_WITH_MILTER= yes +PKGNAMESUFFIX?= -ldap +MASTERDIR?= ${.CURDIR}/../sendmail + +.if exists(${.CURDIR}/Makefile.local) +.include "${.CURDIR}/Makefile.local" +.endif + +.include "${MASTERDIR}/Makefile" diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile index 3e1c23da37af..c469e385ed24 100644 --- a/mail/sendmail-old/Makefile +++ b/mail/sendmail-old/Makefile @@ -7,6 +7,7 @@ PORTNAME= sendmail PORTVERSION= 8.11.4 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} @@ -16,17 +17,25 @@ MAINTAINER= dirk.meyer@dinoex.sub.org WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WCONF= ${WRKSRC}/devtools/Site +SITE= ${FILESDIR}/site.config.m4.pre4 PLIST= ${WRKDIR}/.PLIST.more -DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES +DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \ + sendmail/TRACEFLAGS +MAN1= mailq.1 newaliases.1 vacation.1 +MAN5= aliases.5 +MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ + mail.local.8 rmail.8 # Options to define Features: +# SENDMAIL_WITHOUT_IPV6=yes +# SENDMAIL_WITH_MILTER=yes +# SENDMAIL_WITH_TLS=yes +# SENDMAIL_WITH_SASL=yes +# SENDMAIL_WITH_SFIO=yes +# SENDMAIL_WITH_LDAP=yes .if defined(BATCH) # all on for package build -SENDMAIL_WITH_TLS=YES -SENDMAIL_WITH_SASL=YES -SENDMAIL_WITH_SFIO=YES -SENDMAIL_WITH_MILTER=YES -SENDMAIL_WITH_LDAP=YES +SENDMAIL_WITH_MILTER=yes .endif .if defined(SENDMAIL_WITH_LDAP) @@ -38,7 +47,7 @@ LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl PKGNAMESUFFIX?= -sasl .endif -.if defined(SENDMAIL_WITH_TLS) +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) PKGNAMESUFFIX?= -tls USE_OPENSSL= yes .endif @@ -47,39 +56,36 @@ PKGNAMESUFFIX?= -sfio BUILD_DEPENDS+= ${LOCALBASE}/lib/libsfio.a:${PORTSDIR}/devel/sfio .endif +# Build site.config.m4 .if exists(${DESTDIR}/etc/mail/mailer.conf) -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_SASL) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4 +.if ! defined(SENDMAIL_WITHOUT_IPV6) +SITE+= ${FILESDIR}/site.config.m4.ipv6 +.endif .endif .if defined(SENDMAIL_WITH_SFIO) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sfio >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.sfio .endif -.else -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4.pre4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_TLS) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ssl >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) +.if ! exists(${DESTDIR}/etc/mail/mailer.conf) +SITE+= ${FILESDIR}/site.config.m4.ssl .endif +SITE+= ${FILESDIR}/site.config.m4.tls .endif -.if defined(SENDMAIL_WITH_TLS) - ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_SASL) +SITE+= ${FILESDIR}/site.config.m4.sasl .endif .if defined(SENDMAIL_WITH_LDAP) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ldap >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.ldap +.endif +.if defined(SENDMAIL_WITH_MILTER) +SITE+= ${FILESDIR}/site.config.m4.milter .endif .if exists(${FILESDIR}/site.config.m4.local) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.local >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.local .endif +# install directly if no mailwrapper support .if ! exists(${DESTDIR}/etc/mail/mailer.conf) PREFIX?= ${DESTDIR}/usr MANPREFIX?= ${DESTDIR}/usr/share @@ -87,10 +93,14 @@ MANPREFIX?= ${DESTDIR}/usr/share PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} SENDMAIL= ${PREFIX}/sbin/sendmail -MAN1= mailq.1 newaliases.1 vacation.1 -MAN5= aliases.5 -MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ - mail.local.8 rmail.8 +do-configure: + ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ + ${SITE} > ${WCONF}/site.config.m4 + +.if defined(SENDMAIL_WITH_MILTER) +post-build: + ( cd ${WRKSRC}/libmilter && ${MAKE} ) +.endif pre-install: @${CAT} ${PKGDIR}/pkg-plist >${PLIST} @@ -104,20 +114,12 @@ pre-install: ${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST} @${ECHO} "@dirrm share/sendmail" >>${PLIST} .for i in ${DOCS} - @${ECHO} ${i} | \ + @${ECHO} `${BASENAME} ${i}` | \ ${AWK} '{print "share/doc/sendmail/" $$1}' >>${PLIST} .endfor @${ECHO} "@dirrm share/doc/sendmail" >>${PLIST} .endif -.if defined(SENDMAIL_WITH_MILTER) -post-configure: - ${CAT} ${FILESDIR}/site.config.m4.milter >>${WCONF}/site.config.m4 - -post-build: - ( cd ${WRKSRC}/libmilter && ${MAKE} ) -.endif - # We want mail.local and rmail for our system. # the build install catmans only, we have to fix this. post-install: @@ -150,7 +152,15 @@ post-install: ${MKDIR} ${PREFIX}/share/sendmail ${PREFIX}/share/doc/sendmail @cd ${WRKSRC}; ${TAR} cf - cf |\ (cd ${PREFIX}/share/sendmail; ${TAR} xf -) - @cd ${WRKSRC}; ${CP} ${DOCS} ${PREFIX}/share/doc/sendmail/ + @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/sendmail/ + ${INSTALL_DATA} ${WRKSRC}/devtools/README \ + ${PREFIX}/share/doc/sendmail/DEVTOOLS + ${INSTALL_DATA} ${WRKSRC}/sendmail/README \ + ${PREFIX}/share/doc/sendmail/SENDMAIL + ${INSTALL_DATA} ${WRKSRC}/mail.local/README \ + ${PREFIX}/share/doc/sendmail/MAIL.LOCAL + ${INSTALL_DATA} ${WRKSRC}/smrsh/README \ + ${PREFIX}/share/doc/sendmail/SMRSH .if defined(SENDMAIL_WITH_MILTER) ${INSTALL_DATA} ${WRKSRC}/libmilter/README \ ${PREFIX}/share/doc/sendmail/MILTER diff --git a/mail/sendmail-old/files/site.config.m4 b/mail/sendmail-old/files/site.config.m4 index 596e4e1a0a50..adc2b11bf108 100644 --- a/mail/sendmail-old/files/site.config.m4 +++ b/mail/sendmail-old/files/site.config.m4 @@ -6,8 +6,3 @@ define(`confSBINDIR',`%%PREFIX%%/sbin') define(`confUBINDIR',`%%PREFIX%%/bin') APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS') APPENDDEF(`conf_sendmail_LIBS', `-lwrap')" -APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_mail_local_ENVDEF', `-DQUEUE_ONLY') -APPENDDEF(`conf_smrsh_ENVDEF', `-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\""') -APPENDDEF(`conf_smrsh_ENVDEF', `-DPATH="\"/bin:/usr/bin\""') diff --git a/mail/sendmail-old/files/site.config.m4.ipv6 b/mail/sendmail-old/files/site.config.m4.ipv6 new file mode 100644 index 000000000000..41f0cccf3a1d --- /dev/null +++ b/mail/sendmail-old/files/site.config.m4.ipv6 @@ -0,0 +1,2 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') +APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') diff --git a/mail/sendmail-old/pkg-plist b/mail/sendmail-old/pkg-plist index 2fe8c2e1d901..d2428328d37c 100644 --- a/mail/sendmail-old/pkg-plist +++ b/mail/sendmail-old/pkg-plist @@ -1,4 +1,4 @@ -@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail-old/Attic/pkg-plist,v 1.2 2001-03-10 20:49:31 dinoex Exp $ +@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail-old/Attic/pkg-plist,v 1.3 2001-06-15 17:27:58 dinoex Exp $ bin/hoststat bin/mailq bin/newaliases @@ -11,3 +11,7 @@ sbin/mailstats sbin/makemap sbin/praliases sbin/sendmail +%%PORTDOCS%%share/doc/sendmail/DEVTOOLS +%%PORTDOCS%%share/doc/sendmail/SENDMAIL +%%PORTDOCS%%share/doc/sendmail/MAIL.LOCAL +%%PORTDOCS%%share/doc/sendmail/SMRSH diff --git a/mail/sendmail-sasl/Makefile b/mail/sendmail-sasl/Makefile new file mode 100644 index 000000000000..7acdc1a55d57 --- /dev/null +++ b/mail/sendmail-sasl/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: sendmail-sasl +# Date created: 15.Jun 2001 +# Whom: dirk.meyer@dinoex.sub.org +# +# $FreeBSD$ + +SENDMAIL_WITH_SASL= yes +SENDMAIL_WITH_TLS= yes +SENDMAIL_WITH_SFIO= yes +SENDMAIL_WITH_MILTER= yes +PKGNAMESUFFIX?= -sasl +MASTERDIR?= ${.CURDIR}/../sendmail + +.if exists(${.CURDIR}/Makefile.local) +.include "${.CURDIR}/Makefile.local" +.endif + +.include "${MASTERDIR}/Makefile" diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 3e1c23da37af..c469e385ed24 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -7,6 +7,7 @@ PORTNAME= sendmail PORTVERSION= 8.11.4 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} @@ -16,17 +17,25 @@ MAINTAINER= dirk.meyer@dinoex.sub.org WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WCONF= ${WRKSRC}/devtools/Site +SITE= ${FILESDIR}/site.config.m4.pre4 PLIST= ${WRKDIR}/.PLIST.more -DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES +DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \ + sendmail/TRACEFLAGS +MAN1= mailq.1 newaliases.1 vacation.1 +MAN5= aliases.5 +MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ + mail.local.8 rmail.8 # Options to define Features: +# SENDMAIL_WITHOUT_IPV6=yes +# SENDMAIL_WITH_MILTER=yes +# SENDMAIL_WITH_TLS=yes +# SENDMAIL_WITH_SASL=yes +# SENDMAIL_WITH_SFIO=yes +# SENDMAIL_WITH_LDAP=yes .if defined(BATCH) # all on for package build -SENDMAIL_WITH_TLS=YES -SENDMAIL_WITH_SASL=YES -SENDMAIL_WITH_SFIO=YES -SENDMAIL_WITH_MILTER=YES -SENDMAIL_WITH_LDAP=YES +SENDMAIL_WITH_MILTER=yes .endif .if defined(SENDMAIL_WITH_LDAP) @@ -38,7 +47,7 @@ LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl PKGNAMESUFFIX?= -sasl .endif -.if defined(SENDMAIL_WITH_TLS) +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) PKGNAMESUFFIX?= -tls USE_OPENSSL= yes .endif @@ -47,39 +56,36 @@ PKGNAMESUFFIX?= -sfio BUILD_DEPENDS+= ${LOCALBASE}/lib/libsfio.a:${PORTSDIR}/devel/sfio .endif +# Build site.config.m4 .if exists(${DESTDIR}/etc/mail/mailer.conf) -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_SASL) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4 +.if ! defined(SENDMAIL_WITHOUT_IPV6) +SITE+= ${FILESDIR}/site.config.m4.ipv6 +.endif .endif .if defined(SENDMAIL_WITH_SFIO) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sfio >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.sfio .endif -.else -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4.pre4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_TLS) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ssl >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) +.if ! exists(${DESTDIR}/etc/mail/mailer.conf) +SITE+= ${FILESDIR}/site.config.m4.ssl .endif +SITE+= ${FILESDIR}/site.config.m4.tls .endif -.if defined(SENDMAIL_WITH_TLS) - ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_SASL) +SITE+= ${FILESDIR}/site.config.m4.sasl .endif .if defined(SENDMAIL_WITH_LDAP) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ldap >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.ldap +.endif +.if defined(SENDMAIL_WITH_MILTER) +SITE+= ${FILESDIR}/site.config.m4.milter .endif .if exists(${FILESDIR}/site.config.m4.local) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.local >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.local .endif +# install directly if no mailwrapper support .if ! exists(${DESTDIR}/etc/mail/mailer.conf) PREFIX?= ${DESTDIR}/usr MANPREFIX?= ${DESTDIR}/usr/share @@ -87,10 +93,14 @@ MANPREFIX?= ${DESTDIR}/usr/share PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} SENDMAIL= ${PREFIX}/sbin/sendmail -MAN1= mailq.1 newaliases.1 vacation.1 -MAN5= aliases.5 -MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ - mail.local.8 rmail.8 +do-configure: + ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ + ${SITE} > ${WCONF}/site.config.m4 + +.if defined(SENDMAIL_WITH_MILTER) +post-build: + ( cd ${WRKSRC}/libmilter && ${MAKE} ) +.endif pre-install: @${CAT} ${PKGDIR}/pkg-plist >${PLIST} @@ -104,20 +114,12 @@ pre-install: ${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST} @${ECHO} "@dirrm share/sendmail" >>${PLIST} .for i in ${DOCS} - @${ECHO} ${i} | \ + @${ECHO} `${BASENAME} ${i}` | \ ${AWK} '{print "share/doc/sendmail/" $$1}' >>${PLIST} .endfor @${ECHO} "@dirrm share/doc/sendmail" >>${PLIST} .endif -.if defined(SENDMAIL_WITH_MILTER) -post-configure: - ${CAT} ${FILESDIR}/site.config.m4.milter >>${WCONF}/site.config.m4 - -post-build: - ( cd ${WRKSRC}/libmilter && ${MAKE} ) -.endif - # We want mail.local and rmail for our system. # the build install catmans only, we have to fix this. post-install: @@ -150,7 +152,15 @@ post-install: ${MKDIR} ${PREFIX}/share/sendmail ${PREFIX}/share/doc/sendmail @cd ${WRKSRC}; ${TAR} cf - cf |\ (cd ${PREFIX}/share/sendmail; ${TAR} xf -) - @cd ${WRKSRC}; ${CP} ${DOCS} ${PREFIX}/share/doc/sendmail/ + @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/sendmail/ + ${INSTALL_DATA} ${WRKSRC}/devtools/README \ + ${PREFIX}/share/doc/sendmail/DEVTOOLS + ${INSTALL_DATA} ${WRKSRC}/sendmail/README \ + ${PREFIX}/share/doc/sendmail/SENDMAIL + ${INSTALL_DATA} ${WRKSRC}/mail.local/README \ + ${PREFIX}/share/doc/sendmail/MAIL.LOCAL + ${INSTALL_DATA} ${WRKSRC}/smrsh/README \ + ${PREFIX}/share/doc/sendmail/SMRSH .if defined(SENDMAIL_WITH_MILTER) ${INSTALL_DATA} ${WRKSRC}/libmilter/README \ ${PREFIX}/share/doc/sendmail/MILTER diff --git a/mail/sendmail/files/site.config.m4 b/mail/sendmail/files/site.config.m4 index 596e4e1a0a50..adc2b11bf108 100644 --- a/mail/sendmail/files/site.config.m4 +++ b/mail/sendmail/files/site.config.m4 @@ -6,8 +6,3 @@ define(`confSBINDIR',`%%PREFIX%%/sbin') define(`confUBINDIR',`%%PREFIX%%/bin') APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS') APPENDDEF(`conf_sendmail_LIBS', `-lwrap')" -APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_mail_local_ENVDEF', `-DQUEUE_ONLY') -APPENDDEF(`conf_smrsh_ENVDEF', `-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\""') -APPENDDEF(`conf_smrsh_ENVDEF', `-DPATH="\"/bin:/usr/bin\""') diff --git a/mail/sendmail/files/site.config.m4.ipv6 b/mail/sendmail/files/site.config.m4.ipv6 new file mode 100644 index 000000000000..41f0cccf3a1d --- /dev/null +++ b/mail/sendmail/files/site.config.m4.ipv6 @@ -0,0 +1,2 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') +APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') diff --git a/mail/sendmail/pkg-plist b/mail/sendmail/pkg-plist index e268d5d5e109..7476ef0eeeb9 100644 --- a/mail/sendmail/pkg-plist +++ b/mail/sendmail/pkg-plist @@ -1,4 +1,4 @@ -@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail/pkg-plist,v 1.2 2001-03-10 20:49:31 dinoex Exp $ +@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail/pkg-plist,v 1.3 2001-06-15 17:27:58 dinoex Exp $ bin/hoststat bin/mailq bin/newaliases @@ -11,3 +11,7 @@ sbin/mailstats sbin/makemap sbin/praliases sbin/sendmail +%%PORTDOCS%%share/doc/sendmail/DEVTOOLS +%%PORTDOCS%%share/doc/sendmail/SENDMAIL +%%PORTDOCS%%share/doc/sendmail/MAIL.LOCAL +%%PORTDOCS%%share/doc/sendmail/SMRSH diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile index 3e1c23da37af..c469e385ed24 100644 --- a/mail/sendmail811/Makefile +++ b/mail/sendmail811/Makefile @@ -7,6 +7,7 @@ PORTNAME= sendmail PORTVERSION= 8.11.4 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} @@ -16,17 +17,25 @@ MAINTAINER= dirk.meyer@dinoex.sub.org WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WCONF= ${WRKSRC}/devtools/Site +SITE= ${FILESDIR}/site.config.m4.pre4 PLIST= ${WRKDIR}/.PLIST.more -DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES +DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \ + sendmail/TRACEFLAGS +MAN1= mailq.1 newaliases.1 vacation.1 +MAN5= aliases.5 +MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ + mail.local.8 rmail.8 # Options to define Features: +# SENDMAIL_WITHOUT_IPV6=yes +# SENDMAIL_WITH_MILTER=yes +# SENDMAIL_WITH_TLS=yes +# SENDMAIL_WITH_SASL=yes +# SENDMAIL_WITH_SFIO=yes +# SENDMAIL_WITH_LDAP=yes .if defined(BATCH) # all on for package build -SENDMAIL_WITH_TLS=YES -SENDMAIL_WITH_SASL=YES -SENDMAIL_WITH_SFIO=YES -SENDMAIL_WITH_MILTER=YES -SENDMAIL_WITH_LDAP=YES +SENDMAIL_WITH_MILTER=yes .endif .if defined(SENDMAIL_WITH_LDAP) @@ -38,7 +47,7 @@ LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl PKGNAMESUFFIX?= -sasl .endif -.if defined(SENDMAIL_WITH_TLS) +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) PKGNAMESUFFIX?= -tls USE_OPENSSL= yes .endif @@ -47,39 +56,36 @@ PKGNAMESUFFIX?= -sfio BUILD_DEPENDS+= ${LOCALBASE}/lib/libsfio.a:${PORTSDIR}/devel/sfio .endif +# Build site.config.m4 .if exists(${DESTDIR}/etc/mail/mailer.conf) -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_SASL) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4 +.if ! defined(SENDMAIL_WITHOUT_IPV6) +SITE+= ${FILESDIR}/site.config.m4.ipv6 +.endif .endif .if defined(SENDMAIL_WITH_SFIO) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sfio >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.sfio .endif -.else -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4.pre4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_TLS) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ssl >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) +.if ! exists(${DESTDIR}/etc/mail/mailer.conf) +SITE+= ${FILESDIR}/site.config.m4.ssl .endif +SITE+= ${FILESDIR}/site.config.m4.tls .endif -.if defined(SENDMAIL_WITH_TLS) - ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_SASL) +SITE+= ${FILESDIR}/site.config.m4.sasl .endif .if defined(SENDMAIL_WITH_LDAP) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ldap >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.ldap +.endif +.if defined(SENDMAIL_WITH_MILTER) +SITE+= ${FILESDIR}/site.config.m4.milter .endif .if exists(${FILESDIR}/site.config.m4.local) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.local >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.local .endif +# install directly if no mailwrapper support .if ! exists(${DESTDIR}/etc/mail/mailer.conf) PREFIX?= ${DESTDIR}/usr MANPREFIX?= ${DESTDIR}/usr/share @@ -87,10 +93,14 @@ MANPREFIX?= ${DESTDIR}/usr/share PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} SENDMAIL= ${PREFIX}/sbin/sendmail -MAN1= mailq.1 newaliases.1 vacation.1 -MAN5= aliases.5 -MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ - mail.local.8 rmail.8 +do-configure: + ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ + ${SITE} > ${WCONF}/site.config.m4 + +.if defined(SENDMAIL_WITH_MILTER) +post-build: + ( cd ${WRKSRC}/libmilter && ${MAKE} ) +.endif pre-install: @${CAT} ${PKGDIR}/pkg-plist >${PLIST} @@ -104,20 +114,12 @@ pre-install: ${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST} @${ECHO} "@dirrm share/sendmail" >>${PLIST} .for i in ${DOCS} - @${ECHO} ${i} | \ + @${ECHO} `${BASENAME} ${i}` | \ ${AWK} '{print "share/doc/sendmail/" $$1}' >>${PLIST} .endfor @${ECHO} "@dirrm share/doc/sendmail" >>${PLIST} .endif -.if defined(SENDMAIL_WITH_MILTER) -post-configure: - ${CAT} ${FILESDIR}/site.config.m4.milter >>${WCONF}/site.config.m4 - -post-build: - ( cd ${WRKSRC}/libmilter && ${MAKE} ) -.endif - # We want mail.local and rmail for our system. # the build install catmans only, we have to fix this. post-install: @@ -150,7 +152,15 @@ post-install: ${MKDIR} ${PREFIX}/share/sendmail ${PREFIX}/share/doc/sendmail @cd ${WRKSRC}; ${TAR} cf - cf |\ (cd ${PREFIX}/share/sendmail; ${TAR} xf -) - @cd ${WRKSRC}; ${CP} ${DOCS} ${PREFIX}/share/doc/sendmail/ + @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/sendmail/ + ${INSTALL_DATA} ${WRKSRC}/devtools/README \ + ${PREFIX}/share/doc/sendmail/DEVTOOLS + ${INSTALL_DATA} ${WRKSRC}/sendmail/README \ + ${PREFIX}/share/doc/sendmail/SENDMAIL + ${INSTALL_DATA} ${WRKSRC}/mail.local/README \ + ${PREFIX}/share/doc/sendmail/MAIL.LOCAL + ${INSTALL_DATA} ${WRKSRC}/smrsh/README \ + ${PREFIX}/share/doc/sendmail/SMRSH .if defined(SENDMAIL_WITH_MILTER) ${INSTALL_DATA} ${WRKSRC}/libmilter/README \ ${PREFIX}/share/doc/sendmail/MILTER diff --git a/mail/sendmail811/files/site.config.m4 b/mail/sendmail811/files/site.config.m4 index 596e4e1a0a50..adc2b11bf108 100644 --- a/mail/sendmail811/files/site.config.m4 +++ b/mail/sendmail811/files/site.config.m4 @@ -6,8 +6,3 @@ define(`confSBINDIR',`%%PREFIX%%/sbin') define(`confUBINDIR',`%%PREFIX%%/bin') APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS') APPENDDEF(`conf_sendmail_LIBS', `-lwrap')" -APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_mail_local_ENVDEF', `-DQUEUE_ONLY') -APPENDDEF(`conf_smrsh_ENVDEF', `-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\""') -APPENDDEF(`conf_smrsh_ENVDEF', `-DPATH="\"/bin:/usr/bin\""') diff --git a/mail/sendmail811/files/site.config.m4.ipv6 b/mail/sendmail811/files/site.config.m4.ipv6 new file mode 100644 index 000000000000..41f0cccf3a1d --- /dev/null +++ b/mail/sendmail811/files/site.config.m4.ipv6 @@ -0,0 +1,2 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') +APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') diff --git a/mail/sendmail811/pkg-plist b/mail/sendmail811/pkg-plist index 12ed32effbb8..8fc9755d745a 100644 --- a/mail/sendmail811/pkg-plist +++ b/mail/sendmail811/pkg-plist @@ -1,4 +1,4 @@ -@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail811/Attic/pkg-plist,v 1.2 2001-03-10 20:49:31 dinoex Exp $ +@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail811/Attic/pkg-plist,v 1.3 2001-06-15 17:27:58 dinoex Exp $ bin/hoststat bin/mailq bin/newaliases @@ -11,3 +11,7 @@ sbin/mailstats sbin/makemap sbin/praliases sbin/sendmail +%%PORTDOCS%%share/doc/sendmail/DEVTOOLS +%%PORTDOCS%%share/doc/sendmail/SENDMAIL +%%PORTDOCS%%share/doc/sendmail/MAIL.LOCAL +%%PORTDOCS%%share/doc/sendmail/SMRSH diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile index 3e1c23da37af..c469e385ed24 100644 --- a/mail/sendmail812/Makefile +++ b/mail/sendmail812/Makefile @@ -7,6 +7,7 @@ PORTNAME= sendmail PORTVERSION= 8.11.4 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} @@ -16,17 +17,25 @@ MAINTAINER= dirk.meyer@dinoex.sub.org WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WCONF= ${WRKSRC}/devtools/Site +SITE= ${FILESDIR}/site.config.m4.pre4 PLIST= ${WRKDIR}/.PLIST.more -DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES +DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \ + sendmail/TRACEFLAGS +MAN1= mailq.1 newaliases.1 vacation.1 +MAN5= aliases.5 +MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ + mail.local.8 rmail.8 # Options to define Features: +# SENDMAIL_WITHOUT_IPV6=yes +# SENDMAIL_WITH_MILTER=yes +# SENDMAIL_WITH_TLS=yes +# SENDMAIL_WITH_SASL=yes +# SENDMAIL_WITH_SFIO=yes +# SENDMAIL_WITH_LDAP=yes .if defined(BATCH) # all on for package build -SENDMAIL_WITH_TLS=YES -SENDMAIL_WITH_SASL=YES -SENDMAIL_WITH_SFIO=YES -SENDMAIL_WITH_MILTER=YES -SENDMAIL_WITH_LDAP=YES +SENDMAIL_WITH_MILTER=yes .endif .if defined(SENDMAIL_WITH_LDAP) @@ -38,7 +47,7 @@ LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl PKGNAMESUFFIX?= -sasl .endif -.if defined(SENDMAIL_WITH_TLS) +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) PKGNAMESUFFIX?= -tls USE_OPENSSL= yes .endif @@ -47,39 +56,36 @@ PKGNAMESUFFIX?= -sfio BUILD_DEPENDS+= ${LOCALBASE}/lib/libsfio.a:${PORTSDIR}/devel/sfio .endif +# Build site.config.m4 .if exists(${DESTDIR}/etc/mail/mailer.conf) -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_SASL) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4 +.if ! defined(SENDMAIL_WITHOUT_IPV6) +SITE+= ${FILESDIR}/site.config.m4.ipv6 +.endif .endif .if defined(SENDMAIL_WITH_SFIO) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.sfio >>${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.sfio .endif -.else -pre-configure: - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ - ${FILESDIR}/site.config.m4.pre4 > ${WCONF}/site.config.m4 -.if defined(SENDMAIL_WITH_TLS) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ssl >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) +.if ! exists(${DESTDIR}/etc/mail/mailer.conf) +SITE+= ${FILESDIR}/site.config.m4.ssl .endif +SITE+= ${FILESDIR}/site.config.m4.tls .endif -.if defined(SENDMAIL_WITH_TLS) - ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4 +.if defined(SENDMAIL_WITH_SASL) +SITE+= ${FILESDIR}/site.config.m4.sasl .endif .if defined(SENDMAIL_WITH_LDAP) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.ldap >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.ldap +.endif +.if defined(SENDMAIL_WITH_MILTER) +SITE+= ${FILESDIR}/site.config.m4.milter .endif .if exists(${FILESDIR}/site.config.m4.local) - ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ - ${FILESDIR}/site.config.m4.local >> ${WCONF}/site.config.m4 +SITE+= ${FILESDIR}/site.config.m4.local .endif +# install directly if no mailwrapper support .if ! exists(${DESTDIR}/etc/mail/mailer.conf) PREFIX?= ${DESTDIR}/usr MANPREFIX?= ${DESTDIR}/usr/share @@ -87,10 +93,14 @@ MANPREFIX?= ${DESTDIR}/usr/share PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} SENDMAIL= ${PREFIX}/sbin/sendmail -MAN1= mailq.1 newaliases.1 vacation.1 -MAN5= aliases.5 -MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ - mail.local.8 rmail.8 +do-configure: + ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ + ${SITE} > ${WCONF}/site.config.m4 + +.if defined(SENDMAIL_WITH_MILTER) +post-build: + ( cd ${WRKSRC}/libmilter && ${MAKE} ) +.endif pre-install: @${CAT} ${PKGDIR}/pkg-plist >${PLIST} @@ -104,20 +114,12 @@ pre-install: ${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST} @${ECHO} "@dirrm share/sendmail" >>${PLIST} .for i in ${DOCS} - @${ECHO} ${i} | \ + @${ECHO} `${BASENAME} ${i}` | \ ${AWK} '{print "share/doc/sendmail/" $$1}' >>${PLIST} .endfor @${ECHO} "@dirrm share/doc/sendmail" >>${PLIST} .endif -.if defined(SENDMAIL_WITH_MILTER) -post-configure: - ${CAT} ${FILESDIR}/site.config.m4.milter >>${WCONF}/site.config.m4 - -post-build: - ( cd ${WRKSRC}/libmilter && ${MAKE} ) -.endif - # We want mail.local and rmail for our system. # the build install catmans only, we have to fix this. post-install: @@ -150,7 +152,15 @@ post-install: ${MKDIR} ${PREFIX}/share/sendmail ${PREFIX}/share/doc/sendmail @cd ${WRKSRC}; ${TAR} cf - cf |\ (cd ${PREFIX}/share/sendmail; ${TAR} xf -) - @cd ${WRKSRC}; ${CP} ${DOCS} ${PREFIX}/share/doc/sendmail/ + @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/sendmail/ + ${INSTALL_DATA} ${WRKSRC}/devtools/README \ + ${PREFIX}/share/doc/sendmail/DEVTOOLS + ${INSTALL_DATA} ${WRKSRC}/sendmail/README \ + ${PREFIX}/share/doc/sendmail/SENDMAIL + ${INSTALL_DATA} ${WRKSRC}/mail.local/README \ + ${PREFIX}/share/doc/sendmail/MAIL.LOCAL + ${INSTALL_DATA} ${WRKSRC}/smrsh/README \ + ${PREFIX}/share/doc/sendmail/SMRSH .if defined(SENDMAIL_WITH_MILTER) ${INSTALL_DATA} ${WRKSRC}/libmilter/README \ ${PREFIX}/share/doc/sendmail/MILTER diff --git a/mail/sendmail812/files/site.config.m4 b/mail/sendmail812/files/site.config.m4 index 596e4e1a0a50..adc2b11bf108 100644 --- a/mail/sendmail812/files/site.config.m4 +++ b/mail/sendmail812/files/site.config.m4 @@ -6,8 +6,3 @@ define(`confSBINDIR',`%%PREFIX%%/sbin') define(`confUBINDIR',`%%PREFIX%%/bin') APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS') APPENDDEF(`conf_sendmail_LIBS', `-lwrap')" -APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') -APPENDDEF(`conf_mail_local_ENVDEF', `-DQUEUE_ONLY') -APPENDDEF(`conf_smrsh_ENVDEF', `-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\""') -APPENDDEF(`conf_smrsh_ENVDEF', `-DPATH="\"/bin:/usr/bin\""') diff --git a/mail/sendmail812/files/site.config.m4.ipv6 b/mail/sendmail812/files/site.config.m4.ipv6 new file mode 100644 index 000000000000..41f0cccf3a1d --- /dev/null +++ b/mail/sendmail812/files/site.config.m4.ipv6 @@ -0,0 +1,2 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-DNETINET6') +APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6') diff --git a/mail/sendmail812/pkg-plist b/mail/sendmail812/pkg-plist index f67e4d617a3f..5c581d8876e3 100644 --- a/mail/sendmail812/pkg-plist +++ b/mail/sendmail812/pkg-plist @@ -1,4 +1,4 @@ -@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/Attic/pkg-plist,v 1.2 2001-03-10 20:49:31 dinoex Exp $ +@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/Attic/pkg-plist,v 1.3 2001-06-15 17:27:58 dinoex Exp $ bin/hoststat bin/mailq bin/newaliases @@ -11,3 +11,7 @@ sbin/mailstats sbin/makemap sbin/praliases sbin/sendmail +%%PORTDOCS%%share/doc/sendmail/DEVTOOLS +%%PORTDOCS%%share/doc/sendmail/SENDMAIL +%%PORTDOCS%%share/doc/sendmail/MAIL.LOCAL +%%PORTDOCS%%share/doc/sendmail/SMRSH diff --git a/mail/vbsfilter/Makefile b/mail/vbsfilter/Makefile index 9fa3dd9e96d3..9198ce07f2ca 100644 --- a/mail/vbsfilter/Makefile +++ b/mail/vbsfilter/Makefile @@ -17,13 +17,16 @@ MAINTAINER= dirk.meyer@dinoex.sub.org BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail -NO_PACKAGE= "only with sendmail from the ports" - CTARGETS+= vbsfilter-1.3 CFLAGS+= -Wall -I$(LOCALBASE)/include ${PTHREAD_CFLAGS} FLAGS+= ${PTHREAD_LIBS} LDFLAGS+= -L$(LOCALBASE)/lib LIBS+= -lmilter -lsmutil + +.if defined(BATCH) +SENDMAIL_WITH_MILTER= yes +.endif + .if defined(SENDMAIL_WITH_SFIO) LIBS+= -lsfio .endif |