mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/dhcp: ship dhcrelay init script in proper package
This commit is contained in:
parent
6b71f815eb
commit
8a458ebd3d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user