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

Daniel Isenmann daniel at archlinux.org
Sat Jan 30 05:18:12 EST 2010


    Date: Saturday, January 30, 2010 @ 05:18:12
  Author: daniel
Revision: 65479

upgpkg: dhcp 4.1.0.p1-3
    fix FS#17885 and FS#17904

Modified:
  dhcp/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-30 02:36:49 UTC (rev 65478)
+++ PKGBUILD	2010-01-30 10:18:12 UTC (rev 65479)
@@ -6,7 +6,7 @@
 # separate patch levels with a period to maintain proper versioning.
 pkgver=4.1.0.p1
 _pkgver=4.1.0p1
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('custom:isc-dhcp')
 url="https://www.isc.org/software/dhcp"
@@ -64,9 +64,13 @@
   #not needed after fresh install
   rm -f ${pkgdir}/var/lib/dhclient/dhcpd.leases
 
+  #move dhclient.conf to dhclient.conf.example
+  mv ${pkgdir}/etc/dhclient.conf ${pkgdir}/etc/dhclient.conf.example
+
   # install dhclient linux script
+  mkdir ${pkgdir}/sbin
   install -m755 -D ${srcdir}/${pkgname}-${_pkgver}/client/scripts/linux \
-                   ${pkgdir}/etc/dhclient-script
+                   ${pkgdir}/sbin/dhclient-script
   # install licenses
   install -m644 -D ${srcdir}/${pkgname}-${_pkgver}/LICENSE \
                    ${pkgdir}/usr/share/licenses/dhclient/LICENSE



More information about the arch-commits mailing list