[arch-commits] Commit in dnsutils/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Mon Feb 21 19:14:24 UTC 2011
Date: Monday, February 21, 2011 @ 14:14:23
Author: bisson
Revision: 110712
upstream upgrade, PKGBUILD cleanup, enable IDN and DNSSEC support
Modified:
dnsutils/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-21 19:12:21 UTC (rev 110711)
+++ PKGBUILD 2011-02-21 19:14:23 UTC (rev 110712)
@@ -1,33 +1,38 @@
# $Id$
# Maintainer: kevin <kevin at archlinux.org>
# Contributor: mario <mario_vazq at hotmail.com>
+
pkgname=dnsutils
+
# Use a period and not a hyphen before the patch level for proper versioning.
-pkgver=9.7.2.P3
-_pkgver=9.7.2-P3
+pkgver=9.7.3
+_pkgver=9.7.3
pkgrel=1
-pkgdesc="Various DNS utilities - dig host nslookup nsupdate"
-arch=(i686 x86_64)
-url="https://www.isc.org/software/bind"
+
+pkgdesc='Various DNS utilities - dig host nslookup nsupdate'
+arch=('i686' 'x86_64')
+url='https://www.isc.org/software/bind'
license=('custom:ISC')
-depends=('openssl')
+depends=('openssl' 'idnkit')
replaces=('bind-tools' 'host')
-options=('makeflags')
+options=('!makeflags')
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
'tools-only.patch')
-sha1sums=('ca621a23e79298b4da14a3884690edbccda410d4'
+sha1sums=('78e14b3d3e653a8c21b098361b645dee5ed66238'
'ac88c89e25c26d73095a3dd85e1ca1070d184ded')
build() {
- cd "${srcdir}/bind-${_pkgver}"
- patch -p1 < ../tools-only.patch
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --with-openssl=yes --disable-linux-caps --without-libxml2
- make
+ cd "${srcdir}/bind-${_pkgver}"
+ patch -p1 < ../tools-only.patch
+ export STD_CDEFINES='-DDIG_SIGCHASE'
+ ./configure \
+ --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --with-openssl=yes --with-idn=yes --disable-linux-caps
+ make
}
package() {
- cd "${srcdir}/bind-${_pkgver}/bin"
- make DESTDIR="${pkgdir}" install
- install -Dm644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd "${srcdir}/bind-${_pkgver}/bin"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list