aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dkim-milter
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-01-21 05:57:10 +0800
committermiwi <miwi@FreeBSD.org>2008-01-21 05:57:10 +0800
commitaec80f269b0e0624c1ccfa34de521b0656cd8cf2 (patch)
tree07b22dc9c9e13306c57c71084367d2e1ce04c9f3 /mail/dkim-milter
parentf00cf79f17d39b13029076cc789389668f5b1ff5 (diff)
downloadfreebsd-ports-graphics-aec80f269b0e0624c1ccfa34de521b0656cd8cf2.tar.gz
freebsd-ports-graphics-aec80f269b0e0624c1ccfa34de521b0656cd8cf2.tar.zst
freebsd-ports-graphics-aec80f269b0e0624c1ccfa34de521b0656cd8cf2.zip
- Update to 2.4.3
PR: 119792 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
Diffstat (limited to 'mail/dkim-milter')
-rw-r--r--mail/dkim-milter/Makefile23
-rw-r--r--mail/dkim-milter/distinfo6
-rw-r--r--mail/dkim-milter/files/patch-devtools__M4__UNIX__sharedlib.m411
-rw-r--r--mail/dkim-milter/files/site.config.m42
4 files changed, 36 insertions, 6 deletions
diff --git a/mail/dkim-milter/Makefile b/mail/dkim-milter/Makefile
index 9c67f3b3a0e..3420d58a481 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.4.2
+PORTVERSION= 2.4.3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -43,9 +43,11 @@ SUB_FILES= milter-dkim.sh
WCONF= ${WRKSRC}/devtools/Site
MAN5= dkim-filter.conf.5
MAN8= dkim-filter.8 dkim-genkey.8 dkim-testkey.8 dkim-testssp.8
-PLIST_FILES= etc/mail/dkim-filter.conf.sample \
+PLIST_FILES= etc/mail/dkim-filter.conf.sample include/dkim.h \
bin/dkim-genkey %%STATS%%bin/dkim-stats bin/dkim-testkey \
- bin/dkim-testssp libexec/dkim-filter
+ bin/dkim-testssp %%LIBDKIM%%lib/libdkim.a \
+ %%LIBDKIMSHARED%%lib/libdkim.so %%LIBDKIMSHARED%%lib/libdkim.so.0 \
+ libexec/dkim-filter
PLIST_DIRS= etc/mail
PORTDOCS= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \
autorespond.csh \
@@ -153,6 +155,20 @@ SUB_LIST= "RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR:S/.sh$//}${RC_SUBR_SUFFIX}
BROKEN= The devtools do not support the feature
.endif
SITE_SUB+= -e '\|bld_LIBDKIM_SHARED|s/^dnl //g'
+.else
+.endif
+.if defined(WITH_LIBDKIM_INSTALL)
+SITE_SUB+= -e '\|bld_LIBDKIM_INSTALL|s/^dnl //g'
+.if defined(WITH_LIBDKIM_SHARED)
+PLIST_SUB+= LIBDKIM="@comment "
+PLIST_SUB+= LIBDKIMSHARED=""
+.else
+PLIST_SUB+= LIBDKIM=""
+PLIST_SUB+= LIBDKIMSHARED="@comment "
+.endif
+.else
+PLIST_SUB+= LIBDKIM="@comment "
+PLIST_SUB+= LIBDKIMSHARED="@comment "
.endif
.if defined(WITH_DEBUG)
SITE_SUB+= -e '\|confOPTIMIZE.*-g|s/^dnl //g'
@@ -225,6 +241,7 @@ pre-fetch:
@${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_POSTFIX=yes Build to run with postfix port"
+ @${ECHO_MSG} " WITH_LIBDKIM_INSTALL=yes Install libdkim library"
@${ECHO_MSG}
@sleep 5
diff --git a/mail/dkim-milter/distinfo b/mail/dkim-milter/distinfo
index 5fcd9e4ea4b..dc0c689025c 100644
--- a/mail/dkim-milter/distinfo
+++ b/mail/dkim-milter/distinfo
@@ -1,3 +1,3 @@
-MD5 (dkim-milter-2.4.2.tar.gz) = 738f4e94823e4d778161d6f9935581f9
-SHA256 (dkim-milter-2.4.2.tar.gz) = 37eb77ebb2a3083a4b7d5792d50a80681d41deb5ee843ca23528bdeb49fab504
-SIZE (dkim-milter-2.4.2.tar.gz) = 613940
+MD5 (dkim-milter-2.4.3.tar.gz) = b2206bc0dfb2f584c47fe99a4479e428
+SHA256 (dkim-milter-2.4.3.tar.gz) = 3168856fc7760c08abfe37e1291c102293cd8b53b26974f2646693e369eca87b
+SIZE (dkim-milter-2.4.3.tar.gz) = 616459
diff --git a/mail/dkim-milter/files/patch-devtools__M4__UNIX__sharedlib.m4 b/mail/dkim-milter/files/patch-devtools__M4__UNIX__sharedlib.m4
new file mode 100644
index 00000000000..e8415a72fd2
--- /dev/null
+++ b/mail/dkim-milter/files/patch-devtools__M4__UNIX__sharedlib.m4
@@ -0,0 +1,11 @@
+--- ./devtools/M4/UNIX/sharedlib.m4.orig 2006-09-06 07:56:53.000000000 +0900
++++ ./devtools/M4/UNIX/sharedlib.m4 2008-01-20 07:37:08.000000000 +0900
+@@ -52,7 +52,7 @@
+ ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${SHAREDLIBDIR} ]; then confMKDIR -p ${DESTDIR}${SHAREDLIBDIR}; else :; fi ')
+ ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${SHAREDLIB} ${DESTDIR}${SHAREDLIBDIR}
+ ifelse(bldOS, `AIX', `${AR} ${AROPTS} ${DESTDIR}${SHAREDLIBDIR}bldCURRENT_PRODUCT.a ${SHAREDLIB}', `rm -f ${DESTDIR}${SHAREDLIBDIR}${SHAREDLIB_LINK}
+- ${LN} ${LNOPTS} ${DESTDIR}${SHAREDLIBDIR}${SHAREDLIB} ${DESTDIR}${SHAREDLIBDIR}${SHAREDLIB_LINK}')
++ ${LN} ${LNOPTS} ${DESTDIR}${SHAREDLIBDIR}${SHAREDLIB} ${DESTDIR}${SHAREDLIBDIR}/${SHAREDLIB_LINK}')
+
+ bldCURRENT_PRODUCT-clean:
+ rm -f ${OBJS} ${SHAREDLIB} bldCURRENT_PRODUCT.a ${MANPAGES} ifelse(bldOS, `AIX', `shr.o', `bldCURRENT_PRODUCT${SHAREDLIB_EXT}')
diff --git a/mail/dkim-milter/files/site.config.m4 b/mail/dkim-milter/files/site.config.m4
index 8581f993389..d760a3aa031 100644
--- a/mail/dkim-milter/files/site.config.m4
+++ b/mail/dkim-milter/files/site.config.m4
@@ -2,7 +2,9 @@ define(`confEBINDIR',`%%PREFIX%%/libexec')
define(`confMANROOT',`%%PREFIX%%/man/man')
define(`confMANROOTMAN',`%%PREFIX%%/man/man')
define(`confUBINDIR',`%%PREFIX%%/bin')
+define(`confINCLUDEDIR',`%%PREFIX%%/include')
define(`confLIBDIR',`%%PREFIX%%/lib')
+define(`confSHAREDLIBDIR',`%%PREFIX%%/lib')
define(`confDONT_INSTALL_CATMAN',`True')
%%STATIC%%APPENDDEF(`confLIBS', `-static ')
%%BDB%%APPENDDEF(`confLIBDIRS', `-L%%BDB_LIB_DIR%% ')