Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2514082d6807ec1c5597994282c5e1dd4dfe2194

commit 2514082d6807ec1c5597994282c5e1dd4dfe2194
Author: Marius Cirsta <[email protected]>
Date:   Mon Oct 29 02:13:33 2012 +0000

dhcp-4.2.4_P2-1-x86_64

* version bump

diff --git a/source/network-extra/dhcp/FrugalBuild 
b/source/network-extra/dhcp/FrugalBuild
index 3c6b0b8..0e1ee1c 100644
--- a/source/network-extra/dhcp/FrugalBuild
+++ b/source/network-extra/dhcp/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: bouleetbil <[email protected]>

pkgname=dhcp
-pkgver=4.2.4
+pkgver=4.2.4_P2
pkgrel=1
pkgdesc="The ISC DHCP server"
url="http://www.isc.org/software/dhcp/";
@@ -13,10 +13,10 @@ archs=('i686' 'x86_64')
backup=('etc/dhcpd.conf')
#Check only the production release. The -Px suffix means Patch and x the number 
of the patch
#See http://www.isc.org/software/version-numbering
-up2date="lynx -dump http://www.isc.org/downloads/current|grep -m1 'DHCP'|sed 
's/.* \([0-9\.] *\)/\1/'"
-source=(ftp://ftp.isc.org/isc/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz \
+up2date="lynx -dump http://www.isc.org/downloads/current|grep -m1 'DHCP'|sed 
's/.* \([0-9\.] *\)/\1/'|sed 's/-/_/'"
+source=(ftp://ftp.isc.org/isc/$pkgname/${pkgver/_/-}/$pkgname-${pkgver/_/-}.tar.gz
 \
rc.dhcpd rc.dhcpd-hu.po README.Frugalware dhclient.conf dhcpd.service)
-sha1sums=('ba877b6af5f21df84831f698187814668432e8fe' \
+sha1sums=('78a819d7af6688942429de2178124ea371f038f2' \
'4b8d8813f497d3a9aa21eeb113ae965b7b7fdf81' \
'fd70ba41e16c15d69529eeb216be103e042f3437' \
'0510d9057df9dcf1c476961930f0ac65f7de87f9' \
@@ -37,7 +37,7 @@ DIRS='client common dhcpctl dst minires server omapip relay'

build()
{
-       Fcd
+       Fcd ${pkgname}-${pkgver/_/-}
Fpatchall
Fmake --prefix=/usr --sysconfdir=/etc \
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases
@@ -46,7 +46,7 @@ build()
Ffile /lib/systemd/system/dhcpd.service
Fgenscriptlet

-       Ffile $pkgname-$pkgver/server/dhcpd.conf /etc/dhcpd.conf
+       Ffile $pkgname-${pkgver/_/-}/server/dhcpd.conf /etc/dhcpd.conf
Ffile dhclient.conf /etc/dhclient.conf
#Ffile $pkgname-$pkgver/client/dhclient.conf /etc/dhclient.conf
#Fsed "/etc/dhclient-script" "/sbin/dhclient-script" $Fdestdir/etc/dhclient.conf
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to