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

commit db09bfac9a5cb2ff54e801c262c9ea05b58bea70
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Oct 7 22:39:31 2010 +0200

dhcp-4.2.0-1-i686
*version bump
*now Ralink seems works with dhclient

diff --git a/source/network-extra/dhcp/FrugalBuild 
b/source/network-extra/dhcp/FrugalBuild
index 51030a1..695c15d 100644
--- a/source/network-extra/dhcp/FrugalBuild
+++ b/source/network-extra/dhcp/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: bouleetbil <bouleet...@frogdev.info>

pkgname=dhcp
-pkgver=3.0.7
-pkgrel=3
+pkgver=4.2.0
+pkgrel=1
pkgdesc="The ISC DHCP server"
url="http://www.isc.org/software/dhcp/";
depends=('glibc')
@@ -16,7 +16,7 @@ backup=('etc/dhcpd.conf')
up2date="lynx -dump http://www.isc.org/downloads/current|grep -m1 'DHCP'|sed 
's/.* \([0-9\.] *\)/\1/'"
source=(ftp://ftp.isc.org/isc/$pkgname/$pkgname-$pkgver.tar.gz \
rc.dhcpd rc.dhcpd-hu.po README.Frugalware dhclient.conf)
-sha1sums=('d6e8fd6f8e3bd04930ff74b400fca6eb7a5c715a' \
+sha1sums=('3cd76d9225d9d8405b02f13660762438d4ad3160' \
'4b8d8813f497d3a9aa21eeb113ae965b7b7fdf81' \
'fd70ba41e16c15d69529eeb216be103e042f3437' \
'0510d9057df9dcf1c476961930f0ac65f7de87f9' \
@@ -34,23 +34,9 @@ build()
{
Fcd
Fpatchall
-       ./configure || Fdie
-       for d in $DIRS ; do
-           Fsed 'CC_OPTIONS =' "CC_OPTIONS=$CFLAGS" work.linux-2.2/$d/Makefile
-       done
-       make || Fdie
-       Fmakeinstall INCDIR=$Fdestdir/usr/include \
-               LIBDIR=$Fdestdir/usr/lib \
-               USERBINDIR=$Fdestdir/usr/bin \
-               BINDIR=$Fdestdir/sbin \
-               ETC=$Fdestdir/etc \
-               VARRUN=$Fdestdir/var/run/ \
-               VARDB=$Fdestdir/var/db \
-               FFMANDIR=$Fdestdir/usr/share/man/man5 \
-               LIBMANDIR=$Fdestdir/usr/share/man/man3 \
-               USRMANDIR=$Fdestdir/usr/share/man/man1 \
-               ADMMANDIR=$Fdestdir/usr/share/man/man8 \
-               CLIENTBINDIR=$Fdestdir/sbin install
+       Fmake --prefix=/usr --sysconfdir=/etc \
+            --with-srv-lease-file=/var/state/dhcp/dhcpd.leases
+       Fmakeinstall
Frcd2 dhcpd

Ffile $pkgname-$pkgver/server/dhcpd.conf /etc/dhcpd.conf
@@ -63,12 +49,12 @@ build()
Fdoc README.Frugalware
Fmkdir /var/lib/dhclient
Fmv /usr/share/man /usr/man
-
+
# Split out dhclient
Fsplit dhclient usr/man/man5/dhclient*
Fsplit dhclient usr/man/man8/dhclient*
Fsplit dhclient var/lib/dhclient
-       Fsplit dhclient sbin/dhclient*
+       Fsplit dhclient usr/sbin/dhclient*
Fsplit dhclient etc/dhclient.conf
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to