From 7060e4a7e7801770f989916404b7a20a68d14e9c Mon Sep 17 00:00:00 2001 From: John Regan Date: Fri, 24 Mar 2017 08:11:47 -0500 Subject: [PATCH 1/2] libmilter: enable ipv6 --- srcpkgs/libmilter/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libmilter/template b/srcpkgs/libmilter/template index 0ff62304184..e451271d13e 100644 --- a/srcpkgs/libmilter/template +++ b/srcpkgs/libmilter/template @@ -1,7 +1,7 @@ # Template file for 'libmilter' pkgname=libmilter version=1.0.2 -revision=2 +revision=3 _pkgname=sendmail _version=8.15.2 hostmakedepends="m4" @@ -9,7 +9,7 @@ short_desc="Implementation of the sendmail Mail Filter API" maintainer="John Regan " license="Sendmail" homepage="https://www.milter.org/developers/api/" -distfiles="ftp://ftp.sendmail.org/pub/${_pkgname}/${_pkgname}.${_version}.tar.gz" +distfiles="ftp://ftp.mirrorservice.org/sites/ftp.sendmail.org/pub/${_pkgname}/${_pkgname}.${_version}.tar.gz" checksum=24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439 wrksrc="${_pkgname}-${_version}" @@ -21,10 +21,12 @@ define(\`confLD',\`${LD}') define(\`confCCOPTS',\`${CFLAGS} ${CPPFLAGS}') define(\`confLDOPTS',\`${LDFLAGS}') define(\`confRANLIB',\`${RANLIB}') +APPENDDEF(\`conf_libmilter_ENVDEF',\`-DNETINET6=1') EOF case "$XBPS_TARGET_MACHINE" in *-musl) echo "APPENDDEF(\`confLIBSEARCH', \`crypt')" >> devtools/Site/site.config.m4 + echo "APPENDDEF(\`conf_libmilter_ENVDEF',\`-DNEEDSGETIPNODE=1')" >> devtools/Site/site.config.m4 ;; *) echo "APPENDDEF(\`confLIBSEARCH', \`crypt nsl')" >> devtools/Site/site.config.m4 From 7fa50f0a89191dc764b8ce60d1e2986ac3538d21 Mon Sep 17 00:00:00 2001 From: John Regan Date: Fri, 24 Mar 2017 08:13:16 -0500 Subject: [PATCH 2/2] opendkim: bump revision (rebuild against ipv6 libmilter) --- srcpkgs/opendkim/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/opendkim/template b/srcpkgs/opendkim/template index 10e84f75c29..a382bb163e3 100644 --- a/srcpkgs/opendkim/template +++ b/srcpkgs/opendkim/template @@ -1,7 +1,7 @@ # Template file for 'opendkim' pkgname=opendkim version=2.10.3 -revision=3 +revision=4 build_style="gnu-configure" configure_args="--with-milter=${XBPS_CROSS_BASE}/usr" makedepends="libbsd-devel libressl-devel libmilter-devel" @@ -19,7 +19,7 @@ post_install() { } opendkim-devel_package() { - short_desc=" - development files" + short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include