libraries/adns: Update for version 1.6.1

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Sergey Poznyakoff 2024-06-18 18:19:49 +02:00 committed by Willy Sudiarto Raharjo
parent ee8f0549cf
commit f8b45b3675
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 34 additions and 8 deletions

View File

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

View File

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

View File

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