summaryrefslogtreecommitdiffstats
path: root/abs/core/ldns
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ldns')
-rw-r--r--abs/core/ldns/PKGBUILD23
-rw-r--r--abs/core/ldns/perl-recent.patch12
2 files changed, 25 insertions, 10 deletions
diff --git a/abs/core/ldns/PKGBUILD b/abs/core/ldns/PKGBUILD
index e936b0b..7ed8319 100644
--- a/abs/core/ldns/PKGBUILD
+++ b/abs/core/ldns/PKGBUILD
@@ -1,41 +1,44 @@
-# $Id: PKGBUILD 159413 2012-05-23 22:28:28Z bisson $
+# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: mathieui <mathieui@mathieui.net>
# Contributor: jiribb <jiribb@gmail.com>
pkgname=ldns
-pkgver=1.6.13
-pkgrel=1
+pkgver=1.6.17
+pkgrel=3
pkgdesc='Fast DNS library supporting recent RFCs'
url='http://www.nlnetlabs.nl/projects/ldns/'
license=('custom:BSD')
arch=('i686' 'x86_64')
-options=('!libtool')
depends=('openssl' 'dnssec-anchors')
optdepends=('libpcap: ldns-dpa tool')
makedepends=('libpcap')
-source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('859f633d10b763f06b602e2113828cbbd964c7eb')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'perl-recent.patch')
+sha1sums=('4218897b3c002aadfc7280b3f40cda829e05c9a4'
+ '026b276a360d29b3bd3690293a27178262a0b3dc')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../perl-recent.patch
+}
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --enable-static=no \
--disable-rpath \
--with-drill \
--with-examples \
+ --with-trust-anchor=/etc/trusted-key.key \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
make DESTDIR="${pkgdir}" install
-
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
diff --git a/abs/core/ldns/perl-recent.patch b/abs/core/ldns/perl-recent.patch
new file mode 100644
index 0000000..ddf711c
--- /dev/null
+++ b/abs/core/ldns/perl-recent.patch
@@ -0,0 +1,12 @@
+diff -Naur old/doc/doxyparse.pl new/doc/doxyparse.pl
+--- old/doc/doxyparse.pl 2014-01-11 06:04:41.000000000 +0900
++++ new/doc/doxyparse.pl 2015-08-08 22:29:34.216889652 +0900
+@@ -273,7 +273,7 @@
+
+ print MAN $MAN_MIDDLE;
+
+- if (defined(@$also)) {
++ if (@$also) {
+ print MAN "\n.SH SEE ALSO\n\\fI";
+ print MAN join "\\fR, \\fI", @$also;
+ print MAN "\\fR.\nAnd ";