[arch-commits] Commit in bind/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Mon Feb 21 19:15:54 UTC 2011


    Date: Monday, February 21, 2011 @ 14:15:54
  Author: bisson
Revision: 110716

upstream update, build with libxml2 for FS#19572

Modified:
  bind/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-21 19:15:42 UTC (rev 110715)
+++ PKGBUILD	2011-02-21 19:15:54 UTC (rev 110716)
@@ -3,9 +3,12 @@
 # Contributor: Mario Vazquez <mario_vazq at hotmail.com>
 
 pkgname=bind
-pkgver=9.7.2.P3
-_pkgver=9.7.2-P3
-pkgrel=3
+
+# Use a period and not a hyphen before the patch level for proper versioning.
+pkgver=9.7.3
+_pkgver=9.7.3
+pkgrel=1
+
 pkgdesc='Berkeley Internet Name Daemon (BIND) is the reference implementation of the Domain Name System (DNS) protocols'
 arch=('i686' 'x86_64')
 url='http://www.isc.org/software/bind/'
@@ -15,8 +18,8 @@
         'etc/conf.d/named'
         'etc/named.conf'
         'etc/rndc.key')
-depends=('openssl')
-options=('!libtool')
+depends=('openssl' 'libxml2')
+options=('!makeflags' '!libtool')
 source=("http://ftp.isc.org/isc/bind9/${_pkgver}/${pkgname}-${_pkgver}.tar.gz"
         'ftp://ftp.rs.internic.net/domain/db.cache'
         'so_bsdcompat.patch'
@@ -27,7 +30,7 @@
         'named.logrotate'
         'localhost.zone'
         '127.0.0.zone')
-sha1sums=('ca621a23e79298b4da14a3884690edbccda410d4'
+sha1sums=('78e14b3d3e653a8c21b098361b645dee5ed66238'
           'ee52947062c1582858187716b776afa3613608fb'
           '2f737f4e81186447ac2ef370fa8dcea0b3abec31'
           '5277cf4d6fbc5728c55b51c77c9347d28393fb7c'
@@ -42,15 +45,14 @@
 
 build() {
 	cd "${srcdir}/${pkgname}-${_pkgver}"
-	export MAKEFLAGS="-j1"
 
 	patch -p1 -i "${srcdir}"/so_bsdcompat.patch
 	patch -p1 -i "${srcdir}"/notools.patch
 
 	./configure \
 		--prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-		--with-libtool --enable-shared --disable-linux-caps \
-		--with-openssl=yes
+		--with-libtool --enable-static=no --disable-linux-caps \
+		--with-openssl=yes --with-libxml2=yes
 	make
 }
 




More information about the arch-commits mailing list