dhcp: 3.0.5 -> 3.0.6rc2 (fixed download url)
This commit is contained in:
parent
ea87939826
commit
6528dd51d2
@ -1,3 +1,3 @@
|
||||
9d3f34b05e622bdb3466ca725af454d1 default-config.diff
|
||||
ce5d30d4645e4eab1f54561b487d1ec7 dhcp-3.0.5.tar.gz
|
||||
51c758f950a2ab6b8ac59a2875417ecd dhcp-3.0.6rc2.tar.gz
|
||||
82393e9302e5d8da24ece3ec8717cd7e dhcpd
|
||||
|
37
dhcp/Pkgfile
37
dhcp/Pkgfile
@ -1,25 +1,26 @@
|
||||
# Description: ISC's DHCP server, client and relay agent.
|
||||
# URL: http://www.isc.org/sw/dhcp/
|
||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||||
# Packager: Mark Rosenstand, mark at borkware dot net
|
||||
# Description: DHCP server, client and relay agent.
|
||||
# URL: http://www.isc.org/sw/dhcp/
|
||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||||
# Packager: Mark Rosenstand, mark at borkware dot net
|
||||
#
|
||||
# Depends on:
|
||||
# Depends on:
|
||||
|
||||
name=dhcp
|
||||
version=3.0.5
|
||||
version=3.0.6rc2
|
||||
release=1
|
||||
source=(http://ftp.isc.org/isc/dhcp/dhcp-$version.tar.gz \
|
||||
dhcpd default-config.diff)
|
||||
source=(http://ftp.isc.org/isc/$name/$name-3.0-history/$name-$version.tar.gz
|
||||
dhcpd
|
||||
default-config.diff)
|
||||
|
||||
build() {
|
||||
cd dhcp-$version
|
||||
patch -p1 -i $SRC/default-config.diff
|
||||
./configure
|
||||
make && make DESTDIR=$PKG INCDIR=/usr/include LIBDIR=/usr/lib install
|
||||
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
|
||||
find $PKG/usr/man -type f -exec chmod 644 {} \;
|
||||
chown -R root:root $PKG
|
||||
cd dhcp-$version
|
||||
patch -p1 -i $SRC/default-config.diff
|
||||
./configure
|
||||
make && make DESTDIR=$PKG INCDIR=/usr/include LIBDIR=/usr/lib install
|
||||
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
|
||||
find $PKG/usr/man -type f -exec chmod 644 {} \;
|
||||
chown -R root:root $PKG
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user