diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/dnsutils | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/dnsutils')
-rw-r--r-- | abs/core-testing/dnsutils/PKGBUILD | 31 | ||||
-rw-r--r-- | abs/core-testing/dnsutils/bind.so_bsdcompat.diff | 11 | ||||
-rw-r--r-- | abs/core-testing/dnsutils/tools-only.patch | 22 |
3 files changed, 64 insertions, 0 deletions
diff --git a/abs/core-testing/dnsutils/PKGBUILD b/abs/core-testing/dnsutils/PKGBUILD new file mode 100644 index 0000000..672613e --- /dev/null +++ b/abs/core-testing/dnsutils/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 5888 2008-07-21 19:29:16Z kevin $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: mario <mario_vazq@hotmail.com> +pkgname=dnsutils +pkgver=9.5.0 +_pkgver=9.5.0-P1 +pkgrel=4 +pkgdesc="Various DNS utilities - dig host nslookup nsupdate" +arch=(i686 x86_64) +url="http://www.isc.org/index.pl?/sw/bind/" +license=('custom:ISC') +depends=('openssl>=0.9.8e') +replaces=('bind-tools') +source=(ftp://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz + bind.so_bsdcompat.diff tools-only.patch) +md5sums=('a4f9dd6d205d24ec89fa4e44d8188197' '447d58721cfee0e1e377b46f7d50b327' + '329f7e15b8c45d3efefdf5b559bb878a') + +build() { + export MAKEFLAGS="-j1" + + cd ${startdir}/src/bind-${_pkgver} + patch -Np0 -i ${startdir}/src/bind.so_bsdcompat.diff || return 1 + patch -Np1 -i ${startdir}/src/tools-only.patch || return 1 + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --with-openssl=yes --disable-linux-caps --without-libxml2 + make || return 1 + cd bin + make DESTDIR=${startdir}/pkg install || return 1 + install -D -m644 ../COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE +} diff --git a/abs/core-testing/dnsutils/bind.so_bsdcompat.diff b/abs/core-testing/dnsutils/bind.so_bsdcompat.diff new file mode 100644 index 0000000..5d78031 --- /dev/null +++ b/abs/core-testing/dnsutils/bind.so_bsdcompat.diff @@ -0,0 +1,11 @@ +--- ./lib/isc/unix/socket.c.orig 2005-11-03 17:08:42.000000000 -0600 ++++ ./lib/isc/unix/socket.c 2006-02-18 13:09:15.000000000 -0600 +@@ -245,6 +245,8 @@ + + #define SOCK_DEAD(s) ((s)->references == 0) + ++#undef SO_BSDCOMPAT ++ + static void + manager_log(isc_socketmgr_t *sockmgr, + isc_logcategory_t *category, isc_logmodule_t *module, int level, diff --git a/abs/core-testing/dnsutils/tools-only.patch b/abs/core-testing/dnsutils/tools-only.patch new file mode 100644 index 0000000..f777282 --- /dev/null +++ b/abs/core-testing/dnsutils/tools-only.patch @@ -0,0 +1,22 @@ +--- bind-9.3.1/bin/Makefile.in.orig 2005-05-06 01:52:36.000000000 -0400 ++++ bind-9.3.1/bin/Makefile.in 2005-05-06 01:53:24.000000000 -0400 +@@ -19,7 +19,7 @@ + VPATH = @srcdir@ + top_srcdir = @top_srcdir@ + +-SUBDIRS = named rndc dig dnssec tests nsupdate check ++SUBDIRS = dig nsupdate + TARGETS = + + @BIND9_MAKE_RULES@ +--- bind-9.3.1/lib/Makefile.in.orig 2005-05-06 02:05:12.000000000 -0400 ++++ bind-9.3.1/lib/Makefile.in 2005-05-06 02:05:35.000000000 -0400 +@@ -23,7 +23,7 @@ + # Attempt to disable parallel processing. + .NOTPARALLEL: + .NO_PARALLEL: +-SUBDIRS = isc isccc dns isccfg bind9 lwres tests ++SUBDIRS = isc dns isccfg bind9 lwres + TARGETS = + + @BIND9_MAKE_RULES@ |