aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-02 08:39:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-02 09:44:50 +0000
commit900d0a2adaeb5e2d290ec7eba0f1a097ed9af12f (patch)
treea9c75ef117bb6f82d00c8ed56ca11b34e9fd3752 /main/dhcp
parentc97b873c864697b97e44f5643e44f6848b00e9aa (diff)
downloadaports-900d0a2adaeb5e2d290ec7eba0f1a097ed9af12f.tar.bz2
aports-900d0a2adaeb5e2d290ec7eba0f1a097ed9af12f.tar.xz
main/dhcp: upgrade to 4.2.4_p1
Diffstat (limited to 'main/dhcp')
-rw-r--r--main/dhcp/APKBUILD12
-rw-r--r--main/dhcp/dhcp.post-install5
2 files changed, 7 insertions, 10 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index 93f14a1d15..ccd7393937 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcp
-pkgver=4.2.4
+pkgver=4.2.4_p1
_realver=${pkgver/_p/-P}
pkgrel=0
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
@@ -8,8 +8,10 @@ url="https://www.isc.org/"
arch="all"
license="ISC"
depends=
+pkgusers="dhcp"
+pkggroups="dhcp"
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"
source="http://ftp.isc.org/isc/dhcp/${_realver}/$pkgname-$_realver.tar.gz
linux_ipv6_discover.patch
@@ -55,8 +57,8 @@ package() {
dhclient() {
pkgdesc="ISC dhcp client"
- install -d "$subpkgdir"/var/lib/dhcp
- install -d "$subpkgdir"/var/run/dhcp
+ install -d -o dhcp -g dhcp "$subpkgdir"/var/lib/dhcp
+ install -d -o dhcp -g dhcp "$subpkgdir"/var/run/dhcp
install -d "$subpkgdir"/usr/sbin
install -d "$subpkgdir"/etc/dhcp
mv "$pkgdir"/usr/sbin/dhclient "$subpkgdir"/usr/sbin/
@@ -75,7 +77,7 @@ 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
a9eaf182dae3984670da52f20ae10fba dhcp-3.0-fix-perms.patch
1597c012bb1a2c0828254c87f0a904ad dhcrelay.initd
diff --git a/main/dhcp/dhcp.post-install b/main/dhcp/dhcp.post-install
deleted file mode 100644
index 01195dbd34..0000000000
--- a/main/dhcp/dhcp.post-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-chown dhcp:dhcp var/run/dhcp var/lib/dhcp
-exit 0
-