diff --git a/common/shlibs b/common/shlibs index 995bce92e5..e3cb3ae580 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2556,3 +2556,4 @@ libply-splash-core.so.2 plymouth-0.8.8_1 libply-splash-graphics.so.2 plymouth-0.8.8_1 libply-boot-client.so.2 plymouth-0.8.8_1 libmilter.so.1.0.2 libmilter-1.0.2_1 +libopendkim.so.10 opendkim-2.10.3_1 diff --git a/srcpkgs/opendkim/files/site.config.m4 b/srcpkgs/opendkim/files/site.config.m4 new file mode 100644 index 0000000000..e3bb16f760 --- /dev/null +++ b/srcpkgs/opendkim/files/site.config.m4 @@ -0,0 +1,4 @@ +APPENDDEF(`conf_libmilter_ENVDEF',`-D_FFR_WORKERS_POOL=1 -DMIN_WORKERS=4') +APPENDDEF(`conf_libmilter_ENVDEF',`-DSM_CONF_POLL=1') +APPENDDEF(`conf_libmilter_ENVDEF',`-DNETINET6=1') +APPENDDEF(`conf_libmilter_ENVDEF',`-fPIC') diff --git a/srcpkgs/opendkim/template b/srcpkgs/opendkim/template new file mode 100644 index 0000000000..51512adf82 --- /dev/null +++ b/srcpkgs/opendkim/template @@ -0,0 +1,30 @@ +# Template file for 'opendkim' +pkgname=opendkim +version=2.10.3 +revision=1 +build_style="gnu-configure" +configure_args="--with-milter=${XBPS_CROSS_BASE}/usr" +makedepends="libbsd-devel libressl-devel libmilter-devel" +hostmakedepends="pkg-config" +short_desc="DKIM library" +maintainer="John Regan " +license="BSD, Sendmail" +homepage="http://www.opendkim.org" +distfiles="$SOURCEFORGE_SITE/project/$pkgname/$pkgname-$version.tar.gz" +checksum=43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b + +post_install() { + vlicense LICENSE + vlicense LICENSE.Sendmail +} + +opendkim-devel_package() { + short_desc=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}