aboutsummaryrefslogtreecommitdiff
path: root/mail/dkim-milter
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-12-14 17:05:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-12-14 17:05:24 +0000
commit1e0b16c0ed490773c597148991c5543a892f2e0d (patch)
treed5f31995e71514f4bfe0c1c8b6e9fc607c09b7b8 /mail/dkim-milter
parentb60a7cc8bccc32e75355c1ffb56a7d20b66a5bc9 (diff)
downloadports-1e0b16c0ed490773c597148991c5543a892f2e0d.tar.gz
ports-1e0b16c0ed490773c597148991c5543a892f2e0d.zip
Notes
Diffstat (limited to 'mail/dkim-milter')
-rw-r--r--mail/dkim-milter/Makefile38
-rw-r--r--mail/dkim-milter/Makefile.features13
-rw-r--r--mail/dkim-milter/distinfo6
3 files changed, 39 insertions, 18 deletions
diff --git a/mail/dkim-milter/Makefile b/mail/dkim-milter/Makefile
index 605224f92d20..ff11da99e33b 100644
--- a/mail/dkim-milter/Makefile
+++ b/mail/dkim-milter/Makefile
@@ -13,7 +13,7 @@
## base system, building this port may fail.
PORTNAME= dkim-milter
-PORTVERSION= 2.3.2
+PORTVERSION= 2.4.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -42,16 +42,18 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix
SUB_FILES= milter-dkim.sh
WCONF= ${WRKSRC}/devtools/Site
MAN5= dkim-filter.conf.5
-MAN8= dkim-filter.8
-PLIST_FILES= libexec/dkim-filter sbin/gentxt-dkim \
- etc/mail/dkim-filter.conf.sample \
- %%STATS%%libexec/dkim-stats
+MAN8= dkim-filter.8 dkim-genkey.8 dkim-testkey.8 dkim-testssp.8
+PLIST_FILES= etc/mail/dkim-filter.conf.sample \
+ libexec/dkim-filter libexec/dkim-genkey \
+ %%STATS%%libexec/dkim-stats \
+ libexec/dkim-testkey libexec/dkim-testssp
PLIST_DIRS= etc/mail
PORTDOCS= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \
autorespond.csh \
- draft-hoffman-dac-vbr-01.txt draft-ietf-dkim-overview-05.txt \
- draft-ietf-dkim-ssp-01.txt draft-ietf-dkim-ssp-requirements-05.txt \
- draft-kucherawy-sender-auth-header-08.txt rfc4686.txt rfc4871.txt
+ draft-hoffman-dac-vbr-02.txt draft-ietf-dkim-deployment-00.txt \
+ draft-ietf-dkim-overview-07.txt draft-ietf-dkim-ssp-01.txt \
+ draft-kucherawy-sender-auth-header-09.txt \
+ rfc4686.txt rfc4871.txt rfc5016.txt
.if !defined(NOPORTDOCS)
LIBDOCS= ${DOCSDIR_REL}/libdkim/index.html \
${DOCSDIR_REL}/libdkim/overview.html \
@@ -63,10 +65,15 @@ LIBDOCS= ${DOCSDIR_REL}/libdkim/index.html \
${DOCSDIR_REL}/libdkim/dkim_close.html \
${DOCSDIR_REL}/libdkim/dkim_eoh.html \
${DOCSDIR_REL}/libdkim/dkim_eom.html \
+ ${DOCSDIR_REL}/libdkim/dkim_flush_cache.html \
${DOCSDIR_REL}/libdkim/dkim_free.html \
${DOCSDIR_REL}/libdkim/dkim_get_user_context.html \
+ ${DOCSDIR_REL}/libdkim/dkim_getcachestats.html \
+ ${DOCSDIR_REL}/libdkim/dkim_getdomain.html \
${DOCSDIR_REL}/libdkim/dkim_geterror.html \
+ ${DOCSDIR_REL}/libdkim/dkim_gethandlingstr.html \
${DOCSDIR_REL}/libdkim/dkim_getmode.html \
+ ${DOCSDIR_REL}/libdkim/dkim_getpolicystr.html \
${DOCSDIR_REL}/libdkim/dkim_getpresult.html \
${DOCSDIR_REL}/libdkim/dkim_getpresultstr.html \
${DOCSDIR_REL}/libdkim/dkim_getresultstr.html \
@@ -77,6 +84,7 @@ LIBDOCS= ${DOCSDIR_REL}/libdkim/index.html \
${DOCSDIR_REL}/libdkim/dkim_header.html \
${DOCSDIR_REL}/libdkim/dkim_init.html \
${DOCSDIR_REL}/libdkim/dkim_lib.html \
+ ${DOCSDIR_REL}/libdkim/dkim_minbody.html \
${DOCSDIR_REL}/libdkim/dkim_ohdrs.html \
${DOCSDIR_REL}/libdkim/dkim_options.html \
${DOCSDIR_REL}/libdkim/dkim_param_t.html \
@@ -140,6 +148,12 @@ SITE_SUB+= -e '\|-static|s|%%STATIC%%|dnl |g'
SUB_LIST= "RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR:S/.sh$//}${RC_SUBR_SUFFIX}"
+.if defined(WITH_LIBDKIM_SHARED)
+.if ${ARCH} == "amd64"
+BROKEN= The devtools do not support the feature
+.endif
+SITE_SUB+= -e '\|bld_LIBDKIM_SHARED|s/^dnl //g'
+.endif
.if defined(WITH_DEBUG)
SITE_SUB+= -e '\|confOPTIMIZE.*-g|s/^dnl //g'
.endif
@@ -149,6 +163,9 @@ SITE_SUB+= -e '\|bld_USE_ARLIB|s/^dnl //g'
.if defined(WITH_POPAUTH) && !defined(WITHOUT_POPAUTH)
SITE_SUB+= -e '/-DPOPAUTH/s/^dnl //g'
.endif
+.if defined(WITH_QUERY_CACHE) && !defined(WITHOUT_QUERY_CACHE)
+SITE_SUB+= -e '/-DQUERY_CACHE/s/^dnl //g'
+.endif
.if defined(WITH_VERIFY_DOMAINKEYS) && !defined(WITHOUT_VERIFY_DOMAINKEYS)
LIBDK_PORT= mail/dk-milter
@@ -204,8 +221,9 @@ pre-fetch:
@${ECHO_MSG}
@${ECHO_MSG} "dkim-milter has the following tunable option(s):"
@${ECHO_MSG} " WITH_POPAUTH=yes Query POP-before-SMTP authentication database"
+ @${ECHO_MSG} " WITH_QUERY_CACHE=yes Cache DNS Query"
@${ECHO_MSG} " WITH_VERIFY_DOMAINKEYS=yes Verify DomainKeys using dk-milter's libdk"
- @${ECHO_MSG} " WITH_SENDMAIL_BASE=yes Build to run with base sendmail"
+ @${ECHO_MSG} " WITH_SENDMAIL_BASE=yes Build to run with base sendmail"
@${ECHO_MSG} " WITH_POSTFIX=yes Build to run with postfix port"
@${ECHO_MSG}
@sleep 5
@@ -233,8 +251,6 @@ post-install:
.if !defined(WITH_DEBUG)
@${STRIP_CMD} ${PREFIX}/libexec/dkim-filter
.endif
- ${INSTALL_SCRIPT} ${WRKSRC}/dkim-filter/gentxt.csh \
- ${PREFIX}/sbin/gentxt-dkim
@${MKDIR} ${PREFIX}/etc/mail
${INSTALL_DATA} ${WRKSRC}/dkim-filter/dkim-filter.conf.sample ${PREFIX}/etc/mail/
.for i in ${MAN5}
diff --git a/mail/dkim-milter/Makefile.features b/mail/dkim-milter/Makefile.features
index 517abb32f408..170d4cf371a7 100644
--- a/mail/dkim-milter/Makefile.features
+++ b/mail/dkim-milter/Makefile.features
@@ -23,8 +23,13 @@ SITE_SUB+= -e '/-D_FFR_DIFFHEADERS/s|^dnl ||'
SITE_SUB+= -e '/-D_FFR_DNS_UPGRADE/s|^dnl ||'
.endif
-.if defined(WITH_QUERY_CACHE) && !defined(WITHOUT_QUERY_CACHE)
-SITE_SUB+= -e '/-D_FFR_QUERY_CACHE/s|^dnl ||'
+.if defined(WITH_PARSE_TIME) && !defined(WITHOUT_PARSE_TIME)
+BROKEN= The feature ``_FFR_PARSE_TIME'' is incomplete, does not work
+SITE_SUB+= -e '/-D_FFR_PARSE_TIME/s|^dnl ||'
+.endif
+
+.if defined(WITH_REPLACE_RULES) && !defined(WITHOUT_REPLACE_RULES)
+SITE_SUB+= -e '/-D_FFR_REPLACE_RULES/s|^dnl ||'
.endif
.if defined(WITH_REQUIRED_HEADERS) && !defined(WITHOUT_REQUIRED_HEADERS)
@@ -35,8 +40,8 @@ SITE_SUB+= -e '/-D_FFR_REQUIRED_HEADERS/s|^dnl ||'
SITE_SUB+= -e '/-D_FFR_SELECT_CANONICALIZATION/s|^dnl ||'
.endif
-.if defined(WITH_SELECT_SIGN_HEADERS) && !defined(WITHOUT_SELECT_SIGN_HEADERS)
-SITE_SUB+= -e '/-D_FFR_SELECT_SIGN_HEADERS/s|^dnl ||'
+.if defined(WITH_SELECTOR_HEADER) && !defined(WITHOUT_SELECTOR_HEADER)
+SITE_SUB+= -e '/-D_FFR_SELECTOR_HEADER/s|^dnl ||'
.endif
.if defined(WITH_STATS) && !defined(WITHOUT_STATS)
diff --git a/mail/dkim-milter/distinfo b/mail/dkim-milter/distinfo
index db5641daf06b..2db361659144 100644
--- a/mail/dkim-milter/distinfo
+++ b/mail/dkim-milter/distinfo
@@ -1,3 +1,3 @@
-MD5 (dkim-milter-2.3.2.tar.gz) = 5bc5177cbfa46e942842a6fb64a51479
-SHA256 (dkim-milter-2.3.2.tar.gz) = ac6fb765cb5d5d95fafa6ab74b8efa4b5571a7acf5ce0c253d7a308a81a201d0
-SIZE (dkim-milter-2.3.2.tar.gz) = 579540
+MD5 (dkim-milter-2.4.0.tar.gz) = d85ac32bd1acdd276d72759269aa723d
+SHA256 (dkim-milter-2.4.0.tar.gz) = 9c35adf8857bc9727bc804d52ce93ef7a4c43fa03f8fcb44bc971260dffef1fe
+SIZE (dkim-milter-2.4.0.tar.gz) = 607399