- dkim-milter 0.6.4 has been released

- Release notes: http://sourceforge.net/project/shownotes.php?release_id=501604&group_id=139420

PR:		ports/111751
Submitted by:	maintainer (Hirohisa Yamaguchi)
This commit is contained in:
Cheng-Lung Sung 2007-04-18 06:27:20 +00:00
parent 59247929fb
commit e1c0f605f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190266
5 changed files with 105 additions and 6 deletions

View file

@ -13,7 +13,7 @@
## base system, building this port may fail.
PORTNAME= dkim-milter
PORTVERSION= 0.6.3
PORTVERSION= 0.6.4
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -22,6 +22,7 @@ MAINTAINER= umq@ueo.co.jp
COMMENT= Domainkeys Identified Mail (DKIM) milter
USE_RC_SUBR= milter-dkim.sh
USE_OPENSSL= yes
.if defined(WITH_POSTFIX_MILTER) || defined(WITH_POSTFIX) || defined(WITH_POSTFIX_CURRENT)
SENDMAIL_MILTER_IN_BASE= yes
@ -74,6 +75,10 @@ pre-fetch:
@${ECHO_MSG} and rebuild sendmail in the ports
@${FALSE}
.endif
@${ECHO_MSG}
@${ECHO_MSG} "If you do not have OpenSSL 0.9.8 or later installed,"
@${ECHO_MSG} "set WITH_OPENSSL_PORT=yes to support rsa-sha256 algorithm"
@${ECHO_MSG} "which is requied in the latest specification."
@${ECHO_MSG}
@${ECHO_MSG} "dkim-milter has the following tunable option(s):"
# @${ECHO_MSG} " WITH_VERIFY_DOMAINKEYS=yes Verify DomainKeys using dk-milter's libdk"
@ -93,6 +98,8 @@ post-patch:
${WRKSRC}/devtools/OS/FreeBSD
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-e "s|%%OPENSSLINC%%|${OPENSSLINC}|g" \
-e "s|%%OPENSSLLIB%%|${OPENSSLLIB}|g" \
${SITE} > ${WCONF}/site.config.m4
.if defined(WITH_VERIFY_DOMAINKEYS) && !defined(WITHOUT_VERIFY_DOMAINKEYS)
@ -103,6 +110,8 @@ post-patch:
${LN} -s ${LIBDK_PATH} ${WRKSRC}/
.endif
.include "${.CURDIR}/Makefile.features"
post-install:
@${STRIP_CMD} ${PREFIX}/libexec/dkim-filter
${INSTALL_SCRIPT} ${WRKSRC}/dkim-filter/gentxt.csh \

View file

@ -0,0 +1,86 @@
# Makefile.features
# Author: Hirohisa Yamaguchi <umq@ueo.co.jp>
#
# This file is used to tune build time options.
# Please refer FEATURES file distributed with the source for details.
#
# $FreeBSD$
#
.if defined(WITH_ALLMAN_SSP_02) && !defined(WITHOUT_ALLMAN_SSP_02)
@${REINPLACE_CMD} -e '/-D_FFR_ALLMAN_SSP_02/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4 \
${WRKSRC}/libdkim/Makefile.m4
.endif
.if defined(WITH_ANTICIPATE_SENDMAIL_MUNGE) && !defined(WITHOUT_ANTICIPATE_SENDMAIL_MUNGE)
@${REINPLACE_CMD} -e '/-D_FFR_ANTICIPATE_SENDMAIL_MUNGE/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_FLUSH_HEADERS) && !defined(WITHOUT_FLUSH_HEADERS)
@${REINPLACE_CMD} -e '/-D_FFR_FLUSH_HEADERS/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_LOG_SSL_ERRORS) && !defined(WITHOUT_LOG_SSL_ERRORS)
@${REINPLACE_CMD} -e '/-D_FFR_LOG_SSL_ERRORS/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_MULTIPLE_KEYS) && !defined(WITHOUT_MULTIPLE_KEYS)
@${REINPLACE_CMD} -e '/-D_FFR_MULTIPLE_KEYS/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_OMIT_HEADERS) && !defined(WITHOUT_OMIT_HEADERS)
@${REINPLACE_CMD} -e '/-D_FFR_OMIT_HEADERS/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_QUERY_FILE) && !defined(WITHOUT_QUERY_FILE)
@${REINPLACE_CMD} -e '/-D_FFR_QUERY_FILE/s|^dnl ||' \
${WRKSRC}/libdkim/Makefile.m4
.endif
.if defined(WITH_QUARANTINE) && !defined(WITHOUT_QUARANTINE)
@${REINPLACE_CMD} -e '/-D_FFR_QUARANTINE/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_REPORTINFO) && !defined(WITHOUT_REPORTINFO)
@${REINPLACE_CMD} -e '/-D_FFR_REPORTINFO/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_REQUIRED_HEADERS) && !defined(WITHOUT_REQUIRED_HEADERS)
@${REINPLACE_CMD} -e '/-D_FFR_REQUIRED_HEADERS/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_SELECT_CANONICALIZATION) && !defined(WITHOUT_SELECT_CANONICALIZATION)
@${REINPLACE_CMD} -e '/-D_FFR_SELECT_CANONICALIZATION/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_SELECT_SIGN_HEADERS) && !defined(WITHOUT_SELECT_SIGN_HEADERS)
@${REINPLACE_CMD} -e '/-D_FFR_SELECT_SIGN_HEADERS/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_SET_DNS_CALLBACK) && !defined(WITHOUT_SET_DNS_CALLBACK)
@${REINPLACE_CMD} -e '/-D_FFR_SET_DNS_CALLBACK/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4 \
${WRKSRC}/libdkim/Makefile.m4
.endif
.if defined(WITH_SET_REPLY) && !defined(WITHOUT_SET_REPLY)
@${REINPLACE_CMD} -e '/-D_FFR_SET_REPLY/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4
.endif
.if defined(WITH_VBR) && !defined(WITHOUT_VBR)
@${REINPLACE_CMD} -e '/-D_FFR_VBR/s|^dnl ||' \
${WRKSRC}/dkim-filter/Makefile.m4 \
${WRKSRC}/libdkim/Makefile.m4
.endif

View file

@ -1,3 +1,3 @@
MD5 (dkim-milter-0.6.3.tar.gz) = 1e8beaadb68824825cc7dda2e11d977c
SHA256 (dkim-milter-0.6.3.tar.gz) = 3810b99599c2db2a5076bed3813ac362f23ca78ed630f0ff2075f8e5fd14e5e7
SIZE (dkim-milter-0.6.3.tar.gz) = 479669
MD5 (dkim-milter-0.6.4.tar.gz) = 6324ea1949b36e6a08bdc590c43b2908
SHA256 (dkim-milter-0.6.4.tar.gz) = d074811c9785ff8069049842d8dddd806fb34ddb2b5b3eb28e8318eb15a1bafd
SIZE (dkim-milter-0.6.4.tar.gz) = 482643

View file

@ -35,8 +35,8 @@ milterdkim_uid=${milterdkim_uid:-"mailnull"}
milterdkim_profiles=${milterdkim_profiles:-}
milterdkim_socket=${milterdkim_socket:-"local:/var/run/milterdkim/filter"}
milterdkim_domain=${milterdkim_domain:-"example.com"}
milterdkim_key=${milterdkim_key:-"/var/db/domainkeys/default.key.pem"}
milterdkim_selector=${milterdkim_selector:-"default"}
milterdkim_key=${milterdkim_key:-}
milterdkim_selector=${milterdkim_selector:-}
milterdkim_alg=${milterdkim_alg:-}
# Options other than above can be set with $milterdkim_flags.
# see dkim-milter documentation for detail.

View file

@ -4,3 +4,7 @@ define(`confMANROOTMAN',`%%PREFIX%%/man/man')
define(`confUBINDIR',`%%PREFIX%%/libexec')
define(`confLIBDIR',`%%PREFIX%%/lib')
define(`confDONT_INSTALL_CATMAN',`True')
APPENDDEF(`confINCDIRS', `-I%%OPENSSLINC%%')
APPENDDEF(`confLIBDIRS', `-L%%OPENSSLLIB%%')
APPENDDEF(`confINCDIRS', `-I%%OPENSSLINC%%')
APPENDDEF(`confLIBDIRS', `-L%%OPENSSLLIB%%')