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

Daniel Griffiths dgriffiths at archlinux.org
Fri Feb 26 02:28:59 UTC 2010


    Date: Thursday, February 25, 2010 @ 21:28:58
  Author: dgriffiths
Revision: 70304

FS#17662

Modified:
  bind/trunk/PKGBUILD
  bind/trunk/bind.install

--------------+
 PKGBUILD     |    4 ++--
 bind.install |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-26 01:12:33 UTC (rev 70303)
+++ PKGBUILD	2010-02-26 02:28:58 UTC (rev 70304)
@@ -5,7 +5,7 @@
 # Use a period and not a hyphen before the patch level for proper versioning.
 pkgver=9.6.1.P3
 _pkgver=9.6.1-P3
-pkgrel=1
+pkgrel=2
 pkgdesc="Berkeley Internet Name Domain - named server"
 arch=(i686 x86_64)
 url="https://www.isc.org/software/bind/"
@@ -43,7 +43,7 @@
   install -D -m600 ../named.logrotate ${pkgdir}/etc/logrotate.d/named
   install -D -m644 ../named.conf.d ${pkgdir}/etc/conf.d/named
   install -d -m755 ${pkgdir}/var/run/named
-  install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
   # adjust ownerships (our named user will be uid/gid 40/40)
   chmod 700 ${pkgdir}/var/named

Modified: bind.install
===================================================================
--- bind.install	2010-02-26 01:12:33 UTC (rev 70303)
+++ bind.install	2010-02-26 02:28:58 UTC (rev 70304)
@@ -8,7 +8,7 @@
   chown named.named var/log/named.log
   # create an rndc.key if it doesn't already exist
   if [ ! -s etc/rndc.key ]; then
-    usr/sbin/rndc-confgen -b 256 | head -n 5 >>etc/rndc.key
+    usr/sbin/rndc-confgen -r /dev/urandom -b 256 | head -n 5 >>etc/rndc.key
     chown root.named etc/rndc.key
     chmod 640 etc/rndc.key
   fi




More information about the arch-commits mailing list