summaryrefslogtreecommitdiffstats
path: root/abs/core/dnsutils/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:13:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:13:50 (GMT)
commita421d6e754bb8b00ced093002a35f9dbe85cbb61 (patch)
tree0dbacafbe6b309433402323d2d736e38416b04e1 /abs/core/dnsutils/PKGBUILD
parentec1773c0ec77eca2786df1d50b71d64e48084b09 (diff)
downloadlinhes_pkgbuild-a421d6e754bb8b00ced093002a35f9dbe85cbb61.zip
linhes_pkgbuild-a421d6e754bb8b00ced093002a35f9dbe85cbb61.tar.gz
linhes_pkgbuild-a421d6e754bb8b00ced093002a35f9dbe85cbb61.tar.bz2
docutils 9.9.1
Diffstat (limited to 'abs/core/dnsutils/PKGBUILD')
-rw-r--r--abs/core/dnsutils/PKGBUILD64
1 files changed, 40 insertions, 24 deletions
diff --git a/abs/core/dnsutils/PKGBUILD b/abs/core/dnsutils/PKGBUILD
index 336f534..9fc5101 100644
--- a/abs/core/dnsutils/PKGBUILD
+++ b/abs/core/dnsutils/PKGBUILD
@@ -1,36 +1,52 @@
-# $Id: PKGBUILD 85957 2010-07-22 20:05:06Z kevin $
-# Maintainer: kevin <kevin@archlinux.org>
+# $Id: PKGBUILD 161356 2012-06-10 08:42:42Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: kevin <kevin@archlinux.org>
# Contributor: mario <mario_vazq@hotmail.com>
+
pkgname=dnsutils
+
# Use a period and not a hyphen before the patch level for proper versioning.
-pkgver=9.7.1.P2
-_pkgver=9.7.1-P2
+pkgver=9.9.1.P1
+_pkgver=9.9.1-P1
pkgrel=1
-pkgdesc="Various DNS utilities - dig host nslookup nsupdate"
-arch=(i686 x86_64)
-url="https://www.isc.org/software/bind"
+
+pkgdesc='DNS utilities: dig host nslookup'
+url='http://www.isc.org/software/bind/'
license=('custom:ISC')
-depends=('openssl')
+arch=('i686' 'x86_64')
+options=('!makeflags')
+depends=('openssl' 'krb5' 'idnkit' 'dnssec-anchors')
+source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
+ 'remove-bind.patch')
+sha1sums=('a2263b96ccd8a143ea54b39958142c542bf605a8'
+ 'b465ef6160b004838f04de9978fe1be8422af777')
+
replaces=('bind-tools' 'host')
-options=('makeflags')
-source=(http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz
- bind.so_bsdcompat.diff tools-only.patch)
-md5sums=('bd6be63cc910d04da39103d441871596'
- '447d58721cfee0e1e377b46f7d50b327'
- 'be0558f70ed81d90e68e6b6003ba12ed')
build() {
- cd "${srcdir}/bind-${_pkgver}"
- patch -Np0 -i "${srcdir}/bind.so_bsdcompat.diff" || return 1
- patch -Np1 -i "${srcdir}/tools-only.patch" || return 1
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --with-openssl=yes --disable-linux-caps --without-libxml2 || return 1
- make || return 1
+ cd "${srcdir}/bind-${_pkgver}"
+
+ patch -p1 -i ../remove-bind.patch
+ export STD_CDEFINES='-DDIG_SIGCHASE'
+
+ # hack to remove unused bloat from the binaries
+ CFLAGS+=' -fdata-sections -ffunction-sections'
+ LDFLAGS+=' -Wl,--gc-sections'
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-linux-caps \
+ --with-openssl \
+ --with-idn \
+
+ make
}
package() {
- cd "${srcdir}/bind-${_pkgver}/bin"
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+ cd "${srcdir}/bind-${_pkgver}"
+ install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd bin; make DESTDIR="${pkgdir}" install
}