main/dhcp: upgrade to 4.2.4_p1

This commit is contained in:
Natanael Copa 2012-08-02 08:39:08 +00:00
parent c97b873c86
commit 900d0a2ada
2 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcp pkgname=dhcp
pkgver=4.2.4 pkgver=4.2.4_p1
_realver=${pkgver/_p/-P} _realver=${pkgver/_p/-P}
pkgrel=0 pkgrel=0
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
@ -8,8 +8,10 @@ url="https://www.isc.org/"
arch="all" arch="all"
license="ISC" license="ISC"
depends= depends=
pkgusers="dhcp"
pkggroups="dhcp"
makedepends="perl" makedepends="perl"
install="dhcp.pre-install dhcp.post-install dhcp.pre-upgrade dhcp.post-upgrade" install="dhcp.pre-install dhcp.pre-upgrade dhcp.post-upgrade"
subpackages="$pkgname-doc $pkgname-dev dhclient dhcrelay" subpackages="$pkgname-doc $pkgname-dev dhclient dhcrelay"
source="http://ftp.isc.org/isc/dhcp/${_realver}/$pkgname-$_realver.tar.gz source="http://ftp.isc.org/isc/dhcp/${_realver}/$pkgname-$_realver.tar.gz
linux_ipv6_discover.patch linux_ipv6_discover.patch
@ -55,8 +57,8 @@ package() {
dhclient() { dhclient() {
pkgdesc="ISC dhcp client" pkgdesc="ISC dhcp client"
install -d "$subpkgdir"/var/lib/dhcp install -d -o dhcp -g dhcp "$subpkgdir"/var/lib/dhcp
install -d "$subpkgdir"/var/run/dhcp install -d -o dhcp -g dhcp "$subpkgdir"/var/run/dhcp
install -d "$subpkgdir"/usr/sbin install -d "$subpkgdir"/usr/sbin
install -d "$subpkgdir"/etc/dhcp install -d "$subpkgdir"/etc/dhcp
mv "$pkgdir"/usr/sbin/dhclient "$subpkgdir"/usr/sbin/ mv "$pkgdir"/usr/sbin/dhclient "$subpkgdir"/usr/sbin/
@ -75,7 +77,7 @@ dhcrelay() {
"$subpkgdir"/etc/conf.d/dhcrelay "$subpkgdir"/etc/conf.d/dhcrelay
} }
md5sums="c244cefe663d43100af757d8ff625a1f dhcp-4.2.4.tar.gz md5sums="0ca7181024651f6323951d5498c8020b dhcp-4.2.4-P1.tar.gz
37abf1fb047a353e91b022fafdabf39a linux_ipv6_discover.patch 37abf1fb047a353e91b022fafdabf39a linux_ipv6_discover.patch
a9eaf182dae3984670da52f20ae10fba dhcp-3.0-fix-perms.patch a9eaf182dae3984670da52f20ae10fba dhcp-3.0-fix-perms.patch
1597c012bb1a2c0828254c87f0a904ad dhcrelay.initd 1597c012bb1a2c0828254c87f0a904ad dhcrelay.initd

View File

@ -1,5 +0,0 @@
#!/bin/sh
chown dhcp:dhcp var/run/dhcp var/lib/dhcp
exit 0