aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2024-06-18 18:19:49 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-19 20:48:07 +0700
commitf8b45b3675b4b5d028f47e9b508d83d2f6352100 (patch)
tree30dabd7f77154c089c3828d54debac4bc054ff37 /libraries
parentee8f0549cf508d9ef066ead2e3b5546b965e2bc8 (diff)
libraries/adns: Update for version 1.6.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/adns/adns-1.6.1.DESTDIR.patch27
-rw-r--r--libraries/adns/adns.SlackBuild9
-rw-r--r--libraries/adns/adns.info6
3 files changed, 34 insertions, 8 deletions
diff --git a/libraries/adns/adns-1.6.1.DESTDIR.patch b/libraries/adns/adns-1.6.1.DESTDIR.patch
new file mode 100644
index 0000000000000..9d9c46d9cca73
--- /dev/null
+++ b/libraries/adns/adns-1.6.1.DESTDIR.patch
@@ -0,0 +1,27 @@
+diff -pur adns-1.6.1.orig/common.make.in adns-1.6.1/common.make.in
+--- adns-1.6.1.orig/common.make.in 2024-05-05 23:28:40.000000000 +0200
++++ adns-1.6.1/common.make.in 2024-06-19 12:27:28.903419587 +0200
+@@ -47,17 +47,6 @@ bindir := @bindir@
+ libdir := @libdir@
+ includedir := @includedir@
+
+-ifneq ($(DESTDIR),)
+-# autoconf likes to define some of these in terms of each other
+-# so if we want to add a prefix to each one we have to do it this way:
+-destdir_prefix=$(DESTDIR)/
+-prefix := ${destdir_prefix}${prefix}
+-exec_prefix := ${destdir_prefix}${exec_prefix}
+-bindir := ${destdir_prefix}${bindir}
+-libdir := ${destdir_prefix}${libdir}
+-includedir := ${destdir_prefix}${includedir}
+-endif
+-
+ AC_INSTALL= @INSTALL@
+ ifeq ($(AC_INSTALL),./install-sh -c)
+ INSTALL= $(srcdir)/../$(AC_INSTALL)
+@@ -67,4 +56,4 @@ endif
+
+ INSTALL_PROGRAM= $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
+ INSTALL_DATA= $(INSTALL) -m 644
+-INSTALL_DIR= $(INSTALL) -d 755
++INSTALL_DIR= $(INSTALL) -m 755 -d
diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild
index 0170604b05b25..a264cf629c6cd 100644
--- a/libraries/adns/adns.SlackBuild
+++ b/libraries/adns/adns.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ADNS
-# Copyright 2018-2020 Sergey Poznyakoff, <gray@gnu.org>
+# Copyright 2018-2024 Sergey Poznyakoff, <gray@gnu.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=adns
-VERSION=${VERSION:-1.6.0}
-BUILD=${BUILD:-5}
+VERSION=${VERSION:-1.6.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,6 +71,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p1 < $CWD/adns-1.6.1.DESTDIR.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -88,8 +89,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --enable-shared \
--build=$ARCH-slackware-linux
make
diff --git a/libraries/adns/adns.info b/libraries/adns/adns.info
index b9db6c6b5ec75..da642b124d8e2 100644
--- a/libraries/adns/adns.info
+++ b/libraries/adns/adns.info
@@ -1,8 +1,8 @@
PRGNAM="adns"
-VERSION="1.6.0"
+VERSION="1.6.1"
HOMEPAGE="http://www.gnu.org/software/adns"
-DOWNLOAD="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.0.tar.gz"
-MD5SUM="b01ba30e4b486d523059bb02ad1441f3"
+DOWNLOAD="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.1.tar.gz"
+MD5SUM="dfd46495001615819cc3a1852ce0d2e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""