diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-26 14:01:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-26 14:01:21 +0000 |
commit | 8a458ebd3d4aaace24eea9afedeee514fd3f1ac8 (patch) | |
tree | a724c2905785f14e3e640554a5cc5ba4e111ace4 | |
parent | 6b71f815eb33113dea14eba85f7c4522e7aa2864 (diff) | |
download | aports-8a458ebd3d4aaace24eea9afedeee514fd3f1ac8.tar.bz2 aports-8a458ebd3d4aaace24eea9afedeee514fd3f1ac8.tar.xz |
main/dhcp: ship dhcrelay init script in proper package
-rw-r--r-- | main/dhcp/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index d2e7008589..33f4e85314 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -2,7 +2,7 @@ pkgname=dhcp pkgver=4.1.0_p1 _realver=4.1.0p1 -pkgrel=7 +pkgrel=8 pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" url="https://www.isc.org/" license="GPL" @@ -62,11 +62,14 @@ dhclient() { dhcrelay() { pkgdesc="ISC dhcp relay server" + replaces="dhcp" install -d "$pkgdir"/var/run/dhcp install -d "$subpkgdir"/usr/sbin mv "$pkgdir"/usr/sbin/dhcrelay "$subpkgdir"/usr/sbin/ - install -m755 -D "$srcdir"/dhcrelay.initd "$pkgdir"/etc/init.d/dhcrelay - install -m644 -D "$srcdir"/dhcrelay.confd "$pkgdir"/etc/conf.d/dhcrelay + install -m755 -D "$srcdir"/dhcrelay.initd \ + "$subpkgdir"/etc/init.d/dhcrelay + install -m644 -D "$srcdir"/dhcrelay.confd \ + "$subpkgdir"/etc/conf.d/dhcrelay } md5sums="325ff8338c5a21f89d5304ac13ffebdf dhcp-4.1.0p1.tar.gz |