diff --git a/srcpkgs/dhcp/files/dhcpd4/run b/srcpkgs/dhcp/files/dhcpd4/run index 0a50933b987..181a47e70b8 100755 --- a/srcpkgs/dhcp/files/dhcpd4/run +++ b/srcpkgs/dhcp/files/dhcpd4/run @@ -1,3 +1,5 @@ #!/bin/sh [ -r conf ] && . ./conf +mkdir -p /var/lib/dhcp/ +touch /var/lib/dhcp/dhcpd.leases exec dhcpd -f ${OPTS:=-4 -q -pf /run/dhcpd4.pid} diff --git a/srcpkgs/dhcp/files/dhcpd6/run b/srcpkgs/dhcp/files/dhcpd6/run index dc359ba5c76..faba89b6bc5 100755 --- a/srcpkgs/dhcp/files/dhcpd6/run +++ b/srcpkgs/dhcp/files/dhcpd6/run @@ -1,3 +1,5 @@ #!/bin/sh [ -r conf ] && . ./conf +mkdir -p /var/lib/dhcp/ +touch /var/lib/dhcp/dhcpd.leases exec dhcpd -f ${OPTS:=-6 -q -pf /run/dhcpd6.pid} diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template index 7058ff9b7f3..08812b0dff6 100644 --- a/srcpkgs/dhcp/template +++ b/srcpkgs/dhcp/template @@ -3,7 +3,7 @@ pkgname=dhcp _distver=4.3.3 _patchver=P1 version=${_distver}.${_patchver} -revision=2 +revision=3 wrksrc="dhcp-${_distver}-${_patchver}" build_style=gnu-configure disable_parallel_build=yes @@ -38,6 +38,7 @@ post_install() { vsv dhcpd6 # Remove development stuff, useless... rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3 + vlicense LICENSE } dhclient_package() {