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

Ionut Biru ibiru at archlinux.org
Sat Jul 3 12:47:54 EDT 2010


    Date: Saturday, July 3, 2010 @ 12:47:54
  Author: ibiru
Revision: 84702

upgpkg: bind 9.7.1-1
update to 9.7.1 and added arm documentation. implementing FS#18839

Modified:
  bind/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-03 16:23:38 UTC (rev 84701)
+++ PKGBUILD	2010-07-03 16:47:54 UTC (rev 84702)
@@ -3,9 +3,9 @@
 # Contributor: Mario Vazquez <mario_vazq at hotmail.com>
 pkgname=bind
 # Use a period and not a hyphen before the patch level for proper versioning.
-pkgver=9.7.0.P1
-_pkgver=9.7.0-P1
-pkgrel=2
+pkgver=9.7.1
+_pkgver=9.7.1
+pkgrel=1
 pkgdesc="Berkeley Internet Name Domain - named server"
 arch=(i686 x86_64)
 url="https://www.isc.org/software/bind/"
@@ -22,12 +22,12 @@
 build() {
   export MAKEFLAGS="-j1"
   cd ${srcdir}/${pkgname}-${_pkgver}
-  patch -Np0 -i ${srcdir}/bind.so_bsdcompat.diff || return 1
-  patch -Np1 -i ${srcdir}/notools.patch || return 1
+  patch -Np0 -i ${srcdir}/bind.so_bsdcompat.diff
+  patch -Np1 -i ${srcdir}/notools.patch
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               --with-libtool --enable-shared --disable-threads \
               --with-openssl=yes --disable-linux-caps --without-libxml2
-  make || return 1
+  make
   make DESTDIR=${pkgdir} install
   install -D -m755 ../named ${pkgdir}/etc/rc.d/named
   install -D -m640 ../named.conf ${pkgdir}/etc/named.conf
@@ -45,8 +45,12 @@
   chown root:40 ${pkgdir}/etc/named.conf
   chown -R 40:40 ${pkgdir}/var/named
   chown 40:40 ${pkgdir}/var/run/named
+
+  # documentation
+  mkdir -p ${pkgdir}/usr/share/doc/bind
+  cp  ./doc/arm/*.html ${pkgdir}/usr/share/doc/bind/
 }
-md5sums=('78e3e38c6252e41ded1afa1aeb183622'
+md5sums=('712c425e59cb4aa9309bc4716283742f'
          '447d58721cfee0e1e377b46f7d50b327'
          'e7f3c5c54f18c86f6716700e82f7e9fd'
          'f58fa49a92df16534d31fcb6b0d1be1e'



More information about the arch-commits mailing list