diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-07-13 18:31:31 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-14 08:59:52 +0200 |
commit | 3eaac2f43ab407a116575e1268f918d8b32888b8 (patch) | |
tree | bc4e779e5569429fa5409042eef21c85a2baeb30 /source/n/libmilter | |
parent | 054448fcd15cc2919dd15f4bdd984d21b97ee3a3 (diff) | |
download | current-3eaac2f43ab407a116575e1268f918d8b32888b8.tar.gz |
Mon Jul 13 18:31:31 UTC 202020200713183131
a/kernel-firmware-20200713_3d3a06f-noarch-1.txz: Upgraded.
d/meson-0.55.0-x86_64-1.txz: Upgraded.
d/python-setuptools-49.2.0-x86_64-1.txz: Upgraded.
l/libcap-2.39-x86_64-1.txz: Upgraded.
l/libzip-1.7.2-x86_64-1.txz: Upgraded.
n/alpine-2.23.2-x86_64-1.txz: Upgraded.
n/libmilter-8.16.1-x86_64-1.txz: Upgraded.
n/mutt-1.14.6-x86_64-1.txz: Upgraded.
x/xterm-358-x86_64-1.txz: Upgraded.
extra/xfractint/xfractint-20.04p15-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/libmilter')
-rwxr-xr-x | source/n/libmilter/libmilter.SlackBuild | 8 | ||||
-rw-r--r-- | source/n/libmilter/sendmail-8.15.2-gethostbyname2.patch | 39 |
2 files changed, 3 insertions, 44 deletions
diff --git a/source/n/libmilter/libmilter.SlackBuild b/source/n/libmilter/libmilter.SlackBuild index 7d59641d..de1113f2 100755 --- a/source/n/libmilter/libmilter.SlackBuild +++ b/source/n/libmilter/libmilter.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libmilter -VERSION=${VERSION:-8.15.2} -BUILD=${BUILD:-3} +VERSION=${VERSION:-8.16.1} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -67,7 +67,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf sendmail-$VERSION -tar xvf $CWD/sendmail.$VERSION.tar.gz || exit 1 +tar xvf $CWD/sendmail.$VERSION.tar.?z || exit 1 cd sendmail-$VERSION || exit 1 chown -R root:root . @@ -81,8 +81,6 @@ find -L . \ cat $CWD/site.config.m4 | sed "s,@LIBDIRSUFFIX@,$LIBDIRSUFFIX," \ > devtools/Site/site.config.m4 -zcat $CWD/sendmail-8.15.2-gethostbyname2.patch.gz | patch -p1 --verbose || exit 1 - mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/$PKGNAM make -C $PKGNAM O="$SLKCFLAGS" install DESTDIR=$PKG || exit 1 diff --git a/source/n/libmilter/sendmail-8.15.2-gethostbyname2.patch b/source/n/libmilter/sendmail-8.15.2-gethostbyname2.patch deleted file mode 100644 index 03ff909d..00000000 --- a/source/n/libmilter/sendmail-8.15.2-gethostbyname2.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/libmilter/sm_gethost.c b/libmilter/sm_gethost.c -index a025c8f..cd0ef31 100644 ---- a/libmilter/sm_gethost.c -+++ b/libmilter/sm_gethost.c -@@ -49,8 +49,16 @@ sm_getipnodebyname(name, family, flags, err) - int flags; - int *err; - { -- bool resv6 = true; - struct hostent *h; -+# if HAS_GETHOSTBYNAME2 -+ -+ h = gethostbyname2(name, family); -+ if (h == NULL) -+ *err = h_errno; -+ return h; -+ -+# else /* HAS_GETHOSTBYNAME2 */ -+ bool resv6 = true; - - if (family == AF_INET6) - { -@@ -60,7 +68,7 @@ sm_getipnodebyname(name, family, flags, err) - } - SM_SET_H_ERRNO(0); - h = gethostbyname(name); -- if (family == AF_INET6 && !resv6) -+ if (!resv6) - _res.options &= ~RES_USE_INET6; - - /* the function is supposed to return only the requested family */ -@@ -75,6 +83,7 @@ sm_getipnodebyname(name, family, flags, err) - else - *err = h_errno; - return h; -+# endif /* HAS_GETHOSTBYNAME2 */ - } - - void |