mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
- split libmilter from sendmail into a seperate port
- bump PORTREVISION Submitted by: matthew (Matthew Seaman)
This commit is contained in:
parent
d97a8fd8f7
commit
15ff0ca966
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408774
@ -200,6 +200,7 @@
|
||||
SUBDIR += libesmtp
|
||||
SUBDIR += libetpan
|
||||
SUBDIR += libmapi
|
||||
SUBDIR += libmilter
|
||||
SUBDIR += libpst
|
||||
SUBDIR += librfc822
|
||||
SUBDIR += libsieve
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= antivirus
|
||||
PORTVERSION= 3.30
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= LOCAL/dinoex
|
||||
|
||||
@ -28,6 +28,7 @@ ANTIVIRUS_DIR?= /var/spool/antivirus
|
||||
.if defined(WITH_SENDMAIL_PORT)
|
||||
LIBS+= ${LDFLAGS}
|
||||
.endif
|
||||
|
||||
MAKE_ENV+= SENDMAILBASE="${MILTERBASE}" \
|
||||
SENDMAILOBJ="${MILTERBASE}" \
|
||||
LIBS="${LIBS}"
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= archivesmtp
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.dancingfortune.com/projects/archivesmtp/files/
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= batv-milter
|
||||
PORTVERSION= 0.5.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= dk-milter
|
||||
PORTVERSION= 1.0.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/${PORTNAME}/DomainKeys%20Milter/${PORTVERSION}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= enma
|
||||
PORTVERSION= 1.2.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/${PORTNAME}/ENMA/${PORTVERSION}
|
||||
|
||||
|
93
mail/libmilter/Makefile
Normal file
93
mail/libmilter/Makefile
Normal file
@ -0,0 +1,93 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libmilter
|
||||
PORTVERSION= 8.15.2
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
|
||||
DISTNAME= sendmail.${PORTVERSION}
|
||||
|
||||
MAINTAINER= dinoex@FreeBSD.org
|
||||
COMMENT= Library providing Sendmail Mail Filter API
|
||||
|
||||
LICENSE= Sendmail
|
||||
LICENSE_NAME= Sendmail License
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
|
||||
|
||||
MILTER_SOVER?= 6
|
||||
|
||||
OPTIONS_DEFINE?= IPV6 MILTER_SHARED MILTER_POOL DOCS
|
||||
OPTIONS_DEFAULT?= IPV6 MILTER_SHARED MILTER_POOL
|
||||
NO_OPTIONS_SORT=yes
|
||||
MILTER_SHARED_DESC= Build shared libmilter
|
||||
MILTER_POOL_DESC= Enable milter thread pools
|
||||
|
||||
WRKSRC= ${WRKDIR}/sendmail-${PORTVERSION}
|
||||
WCONF= ${WRKSRC}/devtools/Site
|
||||
SITE= ${FILESDIR}/site.config.m4
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIPV6}
|
||||
SITE+= ${FILESDIR}/site.config.m4.ipv6
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MMILTER_POOL}
|
||||
SITE+= ${FILESDIR}/site.config.m4.pool
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMILTER_SHARED}
|
||||
PLIST_SUB+= MILTER_SHARED=""
|
||||
PLIST_SUB+= MILTER_SOVER=${MILTER_SOVER}
|
||||
MAKE_ENV+= MILTER_SOVER=${MILTER_SOVER}
|
||||
USE_LDCONFIG= yes
|
||||
.else
|
||||
PLIST_SUB+= MILTER_SHARED="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMILTER_SHARED}
|
||||
post-patch:
|
||||
@${CP} -pR ${WRKSRC}/libmilter ${WRKSRC}/libsharedmilter
|
||||
${CP} ${FILESDIR}/sharedlibrary.m4 \
|
||||
${WRKSRC}/devtools/M4/UNIX/sharedlibrary.m4
|
||||
${REINPLACE_CMD} -e 's=`library=`sharedlibrary=' \
|
||||
${WRKSRC}/libsharedmilter/Makefile.m4
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
${REINPLACE_CMD} -e "s|\`-O\'|\`${CFLAGS}\'|" \
|
||||
-e 's|%%CC%%|${CC}|' -e 's|%%LD%%|${LD}|' \
|
||||
${WRKSRC}/devtools/OS/FreeBSD
|
||||
${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
|
||||
-e "s=%%LOCALBASE%%=${LOCALBASE}=g" \
|
||||
${SITE} > ${WCONF}/site.config.m4
|
||||
|
||||
do-build:
|
||||
(cd ${BUILD_WRKSRC}/libmilter; ${SETENV} ${MAKE_ENV} ${MAKE} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
|
||||
do-build-MILTER_SHARED-on:
|
||||
(cd ${BUILD_WRKSRC}/libsharedmilter; ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/libmilter
|
||||
${INSTALL_DATA} ${WRKSRC}/include/libmilter/mfapi.h \
|
||||
${WRKSRC}/include/libmilter/mfdef.h \
|
||||
${STAGEDIR}${PREFIX}/include/libmilter/
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libmilter/libmilter.a \
|
||||
${STAGEDIR}${PREFIX}/lib/
|
||||
|
||||
post-install-MILTER_SHARED-on:
|
||||
${INSTALL_LIB} \
|
||||
${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libsharedmilter/libmilter.so \
|
||||
${STAGEDIR}${PREFIX}/lib/libmilter.so.${MILTER_SOVER}
|
||||
${LN} -sf libmilter.so.${MILTER_SOVER} \
|
||||
${STAGEDIR}${PREFIX}/lib/libmilter.so
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/libmilter/README ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/libmilter/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
2
mail/libmilter/distinfo
Normal file
2
mail/libmilter/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (sendmail.8.15.2.tar.gz) = 24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439
|
||||
SIZE (sendmail.8.15.2.tar.gz) = 2207417
|
11
mail/libmilter/files/patch-FreeBSD
Normal file
11
mail/libmilter/files/patch-FreeBSD
Normal file
@ -0,0 +1,11 @@
|
||||
--- devtools/OS/FreeBSD.orig 2003-07-03 03:07:45.000000000 +0200
|
||||
+++ devtools/OS/FreeBSD 2013-11-16 07:06:27.000000000 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX')
|
||||
define(`confLIBS', `-lutil')
|
||||
|
||||
-define(`confLD', `cc')
|
||||
+define(`confCC', `%%CC%%')
|
||||
define(`confMTLDOPTS', `-pthread')
|
||||
define(`confMTCCOPTS', `-D_THREAD_SAFE')
|
||||
define(`confLDOPTS_SO', `-shared')
|
1
mail/libmilter/files/site.config.m4
Normal file
1
mail/libmilter/files/site.config.m4
Normal file
@ -0,0 +1 @@
|
||||
APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
|
1
mail/libmilter/files/site.config.m4.ipv6
Normal file
1
mail/libmilter/files/site.config.m4.ipv6
Normal file
@ -0,0 +1 @@
|
||||
APPENDDEF(`conf_libmilter_ENVDEF', `-DNETINET6')
|
2
mail/libmilter/files/site.config.m4.pool
Normal file
2
mail/libmilter/files/site.config.m4.pool
Normal file
@ -0,0 +1,2 @@
|
||||
APPENDDEF(`conf_libmilter_ENVDEF', `-DSM_CONF_POLL=1')
|
||||
APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_WORKERS_POOL=1')
|
5
mail/libmilter/pkg-descr
Normal file
5
mail/libmilter/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The sendmail Mail Filter API (Milter) is designed to allow third-party
|
||||
programs access to mail messages as they are being processed in order to
|
||||
filter meta-information and content.
|
||||
|
||||
WWW: http://www.sendmail.com/sm/open_source/milter/
|
57
mail/libmilter/pkg-plist
Normal file
57
mail/libmilter/pkg-plist
Normal file
@ -0,0 +1,57 @@
|
||||
include/libmilter/mfapi.h
|
||||
include/libmilter/mfdef.h
|
||||
lib/libmilter.a
|
||||
%%MILTER_SHARED%%lib/libmilter.so.%%MILTER_SOVER%%
|
||||
%%MILTER_SHARED%%lib/libmilter.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/design.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/figure1.fig
|
||||
%%PORTDOCS%%%%DOCSDIR%%/figure1.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/figure1.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/figure2.fig
|
||||
%%PORTDOCS%%%%DOCSDIR%%/figure2.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/figure2.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/installation.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/other.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/overview.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_addheader.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_addrcpt.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_addrcpt_par.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_chgfrom.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_chgheader.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_delrcpt.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_getpriv.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_getsymval.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_insheader.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_main.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_opensocket.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_progress.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_quarantine.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_register.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_replacebody.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setbacklog.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setconn.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setdbg.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setmlreply.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setpriv.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setreply.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_setsymlist.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_settimeout.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_stop.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/smfi_version.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_abort.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_body.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_close.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_connect.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_data.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_envfrom.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_envrcpt.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_eoh.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_eom.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_header.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_helo.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_negotiate.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xxfi_unknown.html
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= milter-greylist
|
||||
PORTVERSION= 4.6.a1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ \
|
||||
http://fossies.org/unix/privat/ \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= milter-greylist
|
||||
PORTVERSION= 4.4.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ \
|
||||
http://fossies.org/unix/privat/
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= milter-regex
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= noattach
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.rhnet.is/pub/noattach/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= opendkim
|
||||
PORTVERSION= 2.10.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail security
|
||||
MASTER_SITES= SF/${PORTNAME} \
|
||||
SF/${PORTNAME}/Previous%20Releases \
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= raysfilter
|
||||
PORTVERSION= 1.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= LOCAL/dinoex
|
||||
DISTNAME= rays-filter-${PORTVERSION}
|
||||
@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/GNU-public-licence.txt
|
||||
USES= shebangfix
|
||||
CTARGETS+= rays-filter
|
||||
CFLAGS+= -Wall
|
||||
LIBS+= -lpthread
|
||||
LIBS+= -lpthread -lmilter
|
||||
SHEBANG_FILES= mf-analyze
|
||||
ETCFILES= header-list.conf mail-filter.conf string-list.conf
|
||||
BINFILES= mf-reset mf-start mf-stop mf-archive mf-analyze mf-memory
|
||||
@ -28,17 +29,6 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
|
||||
|
||||
.if exists(${LOCALBASE}/include/libmilter/mfdef.h) \
|
||||
|| defined(WITH_SENDMAIL_BASE)
|
||||
LIBS+= -lmilter
|
||||
.else
|
||||
LIBS+= -lmilter -lsmutil
|
||||
.endif
|
||||
|
||||
.if defined(SENDMAIL_WITH_SFIO)
|
||||
LIBS+= -lsfio
|
||||
.endif
|
||||
|
||||
.for i in ${CTARGETS}
|
||||
${i}:
|
||||
cd ${WRKSRC} && \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= rbl-milter
|
||||
PORTVERSION= 0.30
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://opensource.confusticate.com/rbl-milter/
|
||||
|
||||
@ -20,4 +20,5 @@ CONFIGURE_ARGS+= --with-sendmail=${MILTERBASE} \
|
||||
--with-sendmail-obj=${MILTERBASE}/lib
|
||||
|
||||
.include "${.CURDIR}/../sendmail/bsd.milter.mk"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= rmilter
|
||||
PORTVERSION= 1.7.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
|
||||
MAINTAINER= vsevolod@FreeBSD.org
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= scam-backscatter
|
||||
PORTVERSION= 1.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.elandsys.com/scam/scam-backscatter/ \
|
||||
http://dist.epipe.com/mirrors/scam-backscatter/
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= sendmail
|
||||
PORTVERSION= 8.15.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
|
||||
PKGNAMESUFFIX?= ${TLS_SUFFIX}${SASL_SUFFIX}${LDAP_SUFFIX}${BDB_SUFFIX}${PKGNAMESUFFIX2}
|
||||
@ -10,6 +11,11 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
|
||||
MAINTAINER= dinoex@FreeBSD.org
|
||||
COMMENT= Reliable, highly configurable mail transfer agent with utilities
|
||||
|
||||
LICENSE= Sendmail
|
||||
LICENSE_NAME= Sendmail License
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
|
||||
|
||||
CONFLICTS?= courier-0.* postfix-1.* postfix-2.* smail-3.* zmailer-2.* opensmtpd-*
|
||||
|
||||
USERS= smmsp
|
||||
@ -38,8 +44,8 @@ SENDMAIL= ${PREFIX}/sbin/sendmail
|
||||
BASEMAIL= /usr/libexec/sendmail/sendmail
|
||||
MILTER_SOVER?= 6
|
||||
|
||||
OPTIONS_DEFINE?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD LDAP BDB SOCKETMAP CYRUSLOOKUP PICKY_HELO_CHECK MILTER MILTER_SHARED MILTER_POOL DOCS
|
||||
OPTIONS_DEFAULT?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD PICKY_HELO_CHECK MILTER MILTER_SHARED MILTER_POOL
|
||||
OPTIONS_DEFINE?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD LDAP BDB SOCKETMAP CYRUSLOOKUP PICKY_HELO_CHECK MILTER DOCS
|
||||
OPTIONS_DEFAULT?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD PICKY_HELO_CHECK MILTER
|
||||
NO_OPTIONS_SORT=yes
|
||||
SHMEM_DESC= System V shared memory support
|
||||
LA_DESC= load averages support
|
||||
@ -49,9 +55,7 @@ BDB_DESC= Berkeley DB version 4 support
|
||||
SOCKETMAP_DESC= Enable socketmap feature
|
||||
CYRUSLOOKUP_DESC= Enable cyruslookup feature
|
||||
PICKY_HELO_CHECK_DESC= Enable picky HELO check
|
||||
MILTER_DESC= Build libmilter
|
||||
MILTER_SHARED_DESC= Build shared libmilter
|
||||
MILTER_POOL_DESC= Enable milter thread pools
|
||||
MILTER_DESC= Enable milter support
|
||||
|
||||
BDB_USE= BDB=yes
|
||||
LDAP_USE= OPENLDAP=yes
|
||||
@ -119,16 +123,6 @@ SITE+= ${FILESDIR}/site.config.m4.milter
|
||||
USE_OPENSSL= yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMILTER}
|
||||
.if ${PORT_OPTIONS:MMILTER_SHARED}
|
||||
PLIST_SUB+= MILTER_SHARED=""
|
||||
PLIST_SUB+= MILTER_SOVER=${MILTER_SOVER}
|
||||
MAKE_ENV+= MILTER_SOVER=${MILTER_SOVER}
|
||||
.else
|
||||
PLIST_SUB+= MILTER_SHARED="@comment "
|
||||
.endif
|
||||
.endif
|
||||
|
||||
SED_SCRIPT= -e "s|\`-O\'|\`${CFLAGS}\'|" \
|
||||
-e 's|%%CC%%|${CC}|' -e 's|%%LD%%|${LD}|'
|
||||
|
||||
@ -141,13 +135,6 @@ post-patch:
|
||||
-e "s=%%LOCALBASE%%=${LOCALBASE}=g" \
|
||||
-e "s=%%PORTSDIR%%=${PORTSDIR}=g" \
|
||||
${PKGDIR}/pkg-message > ${WRKSRC}/pkg-message
|
||||
.if ${PORT_OPTIONS:MMILTER} && ${PORT_OPTIONS:MMILTER_SHARED}
|
||||
@${CP} -pR ${WRKSRC}/libmilter ${WRKSRC}/libsharedmilter
|
||||
${CP} ${FILESDIR}/sharedlibrary.m4 \
|
||||
${WRKSRC}/devtools/M4/UNIX/sharedlibrary.m4
|
||||
${REINPLACE_CMD} -e 's=`library=`sharedlibrary=' \
|
||||
${WRKSRC}/libsharedmilter/Makefile.m4
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
${REINPLACE_CMD} ${SED_SCRIPT} ${WRKSRC}/devtools/OS/FreeBSD
|
||||
@ -192,30 +179,13 @@ do-configure:
|
||||
'APPENDDEF(`confENVDEF'\'', `-DLA_TYPE=LA_ZERO'\'')' \
|
||||
>> ${WCONF}/site.config.m4
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MMILTER} && ${PORT_OPTIONS:MMILTER_POOL}
|
||||
${ECHO_CMD} \
|
||||
'APPENDDEF(`conf_libmilter_ENVDEF'\'', `-DSM_CONF_POLL=1'\'')' \
|
||||
>> ${WCONF}/site.config.m4
|
||||
${ECHO_CMD} \
|
||||
'APPENDDEF(`conf_libmilter_ENVDEF'\'', `-D_FFR_WORKERS_POOL=1'\'')' \
|
||||
>> ${WCONF}/site.config.m4
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
(cd ${WRKSRC}/doc/op && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} op.txt)
|
||||
.if ${PORT_OPTIONS:MMILTER}
|
||||
(cd ${BUILD_WRKSRC}/libmilter; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
.if ${PORT_OPTIONS:MMILTER_SHARED}
|
||||
(cd ${BUILD_WRKSRC}/libsharedmilter; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
.endif
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}/etc/mail
|
||||
@${CAT} ${PKGDIR}/pkg-plist >${PLIST}
|
||||
.if ${PORT_OPTIONS:MMILTER}
|
||||
@${CAT} ${FILESDIR}/pkg-milter >>${PLIST}
|
||||
.endif
|
||||
@cd ${WRKSRC} && ${FIND} cf -type f | \
|
||||
${AWK} '{print "share/sendmail/" $$1}' >>${PLIST}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@ -235,22 +205,6 @@ post-install:
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} force-install)
|
||||
(cd ${WRKSRC}/rmail && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} force-install)
|
||||
.if ${PORT_OPTIONS:MMILTER}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/libmilter
|
||||
${INSTALL_DATA} ${WRKSRC}/include/libmilter/mfapi.h \
|
||||
${WRKSRC}/include/libmilter/mfdef.h \
|
||||
${STAGEDIR}${PREFIX}/include/libmilter/
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libmilter/libmilter.a \
|
||||
${STAGEDIR}${PREFIX}/lib/
|
||||
.if ${PORT_OPTIONS:MMILTER_SHARED}
|
||||
${INSTALL_LIB} \
|
||||
${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libsharedmilter/libmilter.so \
|
||||
${STAGEDIR}${PREFIX}/lib/libmilter.so.${MILTER_SOVER}
|
||||
${LN} -sf libmilter.so.${MILTER_SOVER} \
|
||||
${STAGEDIR}${PREFIX}/lib/libmilter.so
|
||||
.endif
|
||||
.endif
|
||||
.for i in ${LMAN8}
|
||||
${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${MANPREFIX}/man/man8/
|
||||
.endfor
|
||||
@ -263,7 +217,13 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/sendmail
|
||||
${TAR} -C ${WRKSRC} -cf - cf | \
|
||||
${TAR} -C ${STAGEDIR}${PREFIX}/share/sendmail -xf -
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${RM} ${STAGEDIR}${PREFIX}/man/cat*/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vacation
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rmail
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/*
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/op/op.ps ${STAGEDIR}${DOCSDIR}/op.ps
|
||||
@ -272,21 +232,9 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/sendmail/README ${STAGEDIR}${DOCSDIR}/SENDMAIL
|
||||
${INSTALL_DATA} ${WRKSRC}/mail.local/README ${STAGEDIR}${DOCSDIR}/MAIL.LOCAL
|
||||
${INSTALL_DATA} ${WRKSRC}/smrsh/README ${STAGEDIR}${DOCSDIR}/SMRSH
|
||||
.if ${PORT_OPTIONS:MMILTER}
|
||||
${INSTALL_DATA} ${WRKSRC}/libmilter/README ${STAGEDIR}${DOCSDIR}/MILTER
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/libmilter
|
||||
${TAR} -C ${WRKSRC}/libmilter/docs -cf - . | \
|
||||
${TAR} -C ${STAGEDIR}${DOCSDIR}/libmilter -xf -
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MCYRUSLOOKUP}
|
||||
${INSTALL_DATA} ${FILESDIR}/CYRUS_LOOKUP ${STAGEDIR}${DOCSDIR}/CYRUS_LOOKUP
|
||||
.endif
|
||||
.endif
|
||||
${RM} ${STAGEDIR}${PREFIX}/man/cat*/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vacation
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rmail
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/*
|
||||
|
||||
mailer.base:
|
||||
@${SED} \
|
||||
|
@ -1,57 +0,0 @@
|
||||
include/libmilter/mfapi.h
|
||||
include/libmilter/mfdef.h
|
||||
lib/libmilter.a
|
||||
%%MILTER_SHARED%%lib/libmilter.so.%%MILTER_SOVER%%
|
||||
%%MILTER_SHARED%%lib/libmilter.so
|
||||
%%PORTDOCS%%share/doc/sendmail/MILTER
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/api.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/design.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.fig
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.jpg
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/figure1.ps
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.fig
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.jpg
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/figure2.ps
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/index.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/installation.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/other.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/overview.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/sample.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addheader.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addrcpt.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_addrcpt_par.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_chgfrom.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_chgheader.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_delrcpt.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_getpriv.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_getsymval.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_insheader.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_main.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_opensocket.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_progress.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_quarantine.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_register.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_replacebody.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setbacklog.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setconn.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setdbg.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setmlreply.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setpriv.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setreply.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_setsymlist.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_settimeout.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_stop.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/smfi_version.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_abort.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_body.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_close.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_connect.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_data.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_envfrom.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_envrcpt.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_eoh.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_eom.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_header.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_helo.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_negotiate.html
|
||||
%%PORTDOCS%%share/doc/sendmail/libmilter/xxfi_unknown.html
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= sentinel
|
||||
PORTVERSION= 1.7b
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/smfilter/${PORTNAME}/Sentinel%20${PORTVERSION}
|
||||
|
||||
@ -15,16 +15,15 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= NOSUBJECT DOCS
|
||||
|
||||
NOSUBJECT_DESC= do not decode subject
|
||||
NOSUBJECT_CFLAGS= -DDO_NOT_DECODE_SUBJECT
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
|
||||
|
||||
.if defined(WITHOUT_SENTINEL_DECODE_SUBJECT)
|
||||
CFLAGS+= -DDO_NOT_DECODE_SUBJECT
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${CC} ${CFLAGS} -o ${PORTNAME} sentinel.c ${LDFLAGS} \
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= sid-milter
|
||||
PORTVERSION= 1.0.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/${PORTNAME}/SenderID%20Milter/${PORTVERSION}
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= spamass-milter
|
||||
PORTVERSION= 0.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SAVANNAH/spamass-milt
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= spamilter
|
||||
PORTVERSION= 0.60
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.wanlink.com/spamilter/download/
|
||||
|
||||
@ -69,9 +69,9 @@ post-install:
|
||||
.for i in ${BINFILES}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin/
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCSFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= vbsfilter
|
||||
PORTVERSION= 1.15
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.dinoex.de/pub/approved/
|
||||
EXTRACT_SUFX= .c
|
||||
@ -24,10 +24,6 @@ CFLAGS+= -Wall
|
||||
|
||||
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
|
||||
|
||||
.if defined(SENDMAIL_WITH_SFIO)
|
||||
LIBS+= -lsfio
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
${CP} ${_DISTDIR}vbsfilter-${PORTVERSION}.c ${WRKSRC}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= amavisd-milter
|
||||
PORTVERSION= 1.6.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= security mail
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user