e9e1cb3619
When installing a package created from net/isc-dhcp3 port it creates dhcpd.leases and dhclient.leases in /var/run directory. However, the dhcpd program expects these files to be in /var/db. (it's funny it's the same problem I ran in last weekend on a real machine :-) PR: ports/51918 Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
45 lines
1.8 KiB
Text
45 lines
1.8 KiB
Text
@comment $FreeBSD$
|
|
bin/omshell
|
|
etc/dhclient.conf.sample
|
|
@exec [ -f %D/etc/dhclient.conf ] || touch %D/etc/dhclient.conf
|
|
@unexec [ -L %D/etc/dhclient.conf -o -s %D/etc/dhclient.conf ] || rm -f %D/etc/dhclient.conf
|
|
etc/dhcpd.conf.sample
|
|
@unexec if cmp -s %D/etc/rc.isc-dhcpd.conf %D/etc/rc.isc-dhcpd.conf.sample; then rm -f %D/etc/rc.isc-dhcpd.conf; fi
|
|
etc/rc.isc-dhcpd.conf.sample
|
|
@exec [ -f %D/etc/rc.isc-dhcpd.conf ] || cp %D/etc/rc.isc-dhcpd.conf.sample %D/etc/rc.isc-dhcpd.conf
|
|
@unexec if cmp -s %D/etc/rc.isc-dhcrelay.conf %D/etc/rc.isc-dhcrelay.conf.sample; then rm -f %D/etc/rc.isc-dhcrelay.conf; fi
|
|
etc/rc.isc-dhcrelay.conf.sample
|
|
@exec [ -f %D/etc/rc.isc-dhcrelay.conf ] || cp %D/etc/rc.isc-dhcrelay.conf.sample %D/etc/rc.isc-dhcrelay.conf
|
|
etc/rc.d/isc-dhcpd.sh.sample
|
|
@unexec rm -f etc/rc.d/isc-dhcpd.sh
|
|
etc/rc.d/isc-dhcrelay.sh.sample
|
|
@unexec rm -f etc/rc.d/isc-dhcrelay.sh
|
|
include/dhcpctl.h
|
|
include/isc-dhcp/boolean.h
|
|
include/isc-dhcp/dst.h
|
|
include/isc-dhcp/int.h
|
|
include/isc-dhcp/lang.h
|
|
include/isc-dhcp/list.h
|
|
include/isc-dhcp/result.h
|
|
include/isc-dhcp/types.h
|
|
include/omapip/alloc.h
|
|
include/omapip/buffer.h
|
|
include/omapip/omapip.h
|
|
lib/libdhcpctl.a
|
|
lib/libomapi.a
|
|
sbin/dhclient
|
|
sbin/dhclient-script
|
|
sbin/dhcpd
|
|
sbin/dhcrelay
|
|
%%PORTDOCS%%share/doc/isc-dhcp3/ANONCVS
|
|
%%PORTDOCS%%share/doc/isc-dhcp3/CHANGES
|
|
%%PORTDOCS%%share/doc/isc-dhcp3/COPYRIGHT
|
|
%%PORTDOCS%%share/doc/isc-dhcp3/README
|
|
%%PORTDOCS%%share/doc/isc-dhcp3/RELNOTES
|
|
%%PORTDOCS%%@dirrm share/doc/isc-dhcp3
|
|
@dirrm include/omapip
|
|
@dirrm include/isc-dhcp
|
|
@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
|
|
@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
|
|
@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
|
|
@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
|