2008-03-12 22:55:05 +01:00
|
|
|
# Description: DHCP server, client and relay agent.
|
2008-06-03 22:35:18 +02:00
|
|
|
# URL: http://www.isc.org/dhcp
|
2008-03-06 00:28:47 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2008-05-19 23:33:25 +02:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2006-11-20 07:26:53 +10:00
|
|
|
#
|
2008-05-19 23:33:25 +02:00
|
|
|
# Depends on:
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=dhcp
|
2008-06-03 22:35:18 +02:00
|
|
|
version=4.0.0
|
2006-11-14 09:01:22 +10:00
|
|
|
release=1
|
2007-11-26 17:26:49 +10:00
|
|
|
source=(http://ftp.isc.org/isc/$name/$name-$version.tar.gz
|
2008-05-19 23:33:25 +02:00
|
|
|
dhcpd
|
|
|
|
default-config.diff)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2008-05-19 23:33:25 +02:00
|
|
|
cd dhcp-$version
|
|
|
|
patch -p1 -i $SRC/default-config.diff
|
2008-05-22 23:15:44 +02:00
|
|
|
|
2008-06-03 22:35:18 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-dhcpv6 \
|
|
|
|
--sysconfdir=/etc
|
2008-05-19 23:33:25 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
install -D ../dhcpd $PKG/etc/rc.d/dhcpd
|
|
|
|
mkdir -p $PKG/var/state/dhcp
|
|
|
|
touch $PKG/var/state/dhcp/dhcpd.leases
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|