Merge pull request #6028 from jprjr/ipv6

libmilter/opendkim: enable ipv6
This commit is contained in:
Enno Boland 2017-04-06 08:32:58 +02:00 committed by GitHub
commit 5e0bd824e5
2 changed files with 6 additions and 4 deletions

View File

@ -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 <john@jrjrtech.com>"
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

View File

@ -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