diff options
author | Thomas Penteker <tek@serverop.de> | 2008-05-19 23:33:25 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2008-05-19 23:33:25 +0200 |
commit | 6f7e15aef82799ba92b9b5bdce273e239611efae (patch) | |
tree | b27955eea352ee472f1228adb94aed5488bc9f09 /dhcp | |
parent | c61cd487731400cfe6671fba3f4db91b55a5e2e7 (diff) | |
download | contrib-6f7e15aef82799ba92b9b5bdce273e239611efae.tar.gz contrib-6f7e15aef82799ba92b9b5bdce273e239611efae.tar.xz |
cleaned up allmy ports
Diffstat (limited to 'dhcp')
-rw-r--r-- | dhcp/Pkgfile | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/dhcp/Pkgfile b/dhcp/Pkgfile index 081352aba..172ab0f1c 100644 --- a/dhcp/Pkgfile +++ b/dhcp/Pkgfile @@ -1,27 +1,26 @@ # Description: DHCP server, client and relay agent. -# URL: http://www.isc.org/sw/dhcp/ +# URL: http://www.isc.org/sw/dhcp/ # Maintainer: Thomas Penteker, tek at serverop dot de -# Packager: Mark Rosenstand, mark at borkware dot net +# Packager: Mark Rosenstand, mark at borkware dot net # -# Depends on: +# Depends on: name=dhcp version=4.0.0 release=1 source=(http://ftp.isc.org/isc/$name/$name-$version.tar.gz - dhcpd - default-config.diff) + dhcpd + default-config.diff) build() { - cd dhcp-$version - patch -p1 -i $SRC/default-config.diff - ./configure --prefix=/usr --mandir=/usr/man - make - make DESTDIR=$PKG install - mkdir $PKG/etc/ - install -m644 client/dhclient.conf server/dhcpd.conf -t $PKG/etc - install -D ../dhcpd $PKG/etc/rc.d/dhcpd - mkdir -p $PKG/var/state/dhcp - touch $PKG/var/state/dhcp/dhcpd.leases - chown -R root:root $PKG + cd dhcp-$version + patch -p1 -i $SRC/default-config.diff + ./configure --prefix=/usr --mandir=/usr/man + make + make DESTDIR=$PKG install + mkdir $PKG/etc/ + install -m644 client/dhclient.conf server/dhcpd.conf -t $PKG/etc + install -D ../dhcpd $PKG/etc/rc.d/dhcpd + mkdir -p $PKG/var/state/dhcp + touch $PKG/var/state/dhcp/dhcpd.leases } |