diff options
author | Thomas Penteker <tek@serverop.de> | 2011-08-02 00:28:30 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2011-08-02 00:28:30 +0200 |
commit | cba5c97521c6d27dba8748863a9fc8b6adc9f4ec (patch) | |
tree | 5fad1fafacdd2737b1e84a273f81030e9e3e4adb /dhcp | |
parent | ce1638f442c3988a8303f518e981afce3655545e (diff) | |
download | contrib-cba5c97521c6d27dba8748863a9fc8b6adc9f4ec.tar.gz contrib-cba5c97521c6d27dba8748863a9fc8b6adc9f4ec.tar.xz |
dhcp: fix bug #746
Diffstat (limited to 'dhcp')
-rw-r--r-- | dhcp/.footprint | 4 | ||||
-rw-r--r-- | dhcp/.md5sum | 1 | ||||
-rw-r--r-- | dhcp/Pkgfile | 12 |
3 files changed, 11 insertions, 6 deletions
diff --git a/dhcp/.footprint b/dhcp/.footprint index ee1cf9f59..d88267204 100644 --- a/dhcp/.footprint +++ b/dhcp/.footprint @@ -2,7 +2,10 @@ drwxr-xr-x root/root etc/ -rw-r--r-- root/root etc/dhclient.conf -rw-r--r-- root/root etc/dhcpd.conf drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/dhcpcd -rwxr-xr-x root/root etc/rc.d/dhcpd +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/dhclient-script drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/omshell @@ -48,6 +51,7 @@ drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/dhcpd -rwxr-xr-x root/root usr/sbin/dhcrelay drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/db/ drwxr-xr-x root/root var/state/ drwxr-xr-x root/root var/state/dhcp/ -rw-r--r-- root/root var/state/dhcp/dhcpd.leases (EMPTY) diff --git a/dhcp/.md5sum b/dhcp/.md5sum index 6d6df3b08..7ca3837a1 100644 --- a/dhcp/.md5sum +++ b/dhcp/.md5sum @@ -1,3 +1,4 @@ 456711bbb2c8fc8b6e0df7c9a514c237 default-config.diff bddce8a23551f009fd0ac840afc89780 dhcp-4.2.1.tar.gz +77a8a395a9cbe98e2cf666df69bf2e15 dhcpcd 51665125f8360c6cc1ef59ad6cd8cf84 dhcpd diff --git a/dhcp/Pkgfile b/dhcp/Pkgfile index fbe8542bb..21ffdba5f 100644 --- a/dhcp/Pkgfile +++ b/dhcp/Pkgfile @@ -2,15 +2,12 @@ # URL: http://www.isc.org/dhcp # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Mark Rosenstand, mark at borkware dot net -# -# Depends on: name=dhcp version=4.2.1 release=1 -source=(http://ftp.isc.org/isc/$name/$name-$version.tar.gz - dhcpd - default-config.diff) +source=(http://ftp.isc.org/isc/$name/$name-$version.tar.gz dhcpd \ + dhcpcd default-config.diff) build() { cd dhcp-$version @@ -23,6 +20,9 @@ build() { make make DESTDIR=$PKG install install -D ../dhcpd $PKG/etc/rc.d/dhcpd - mkdir -p $PKG/var/state/dhcp + install -D ../dhcpcd $PKG/etc/rc.d/dhcpcd + install -d -m 0755 $PKG/var/state/dhcp + install -d -m 0755 $PKG/var/db touch $PKG/var/state/dhcp/dhcpd.leases + install -D -m 755 $SRC/dhcp-$version/client/scripts/linux $PKG/sbin/dhclient-script } |