net/isc-dhcp44-server: Fix chroot support on 13.x

- Bump PORTREVISION

PR:		245362
This commit is contained in:
Ryan Steinmetz 2021-06-02 12:01:50 -04:00
parent 0d8605c3e0
commit 48ac5fb485
No known key found for this signature in database
GPG key ID: D2C3D2B2FEF36DD7
2 changed files with 5 additions and 2 deletions

View file

@ -18,7 +18,7 @@ LICENSE= MPL20
USES= gmake
PORTREVISION_SERVER= 0
PORTREVISION_SERVER= 1
PORTREVISION_CLIENT= 0
PORTREVISION_RELAY= 0

View file

@ -390,7 +390,10 @@ setup_chroot ()
eval "safe_copy \${${name}_devdir} \${_dhcpd_devdir}"
fi
eval "safe_copy \${${name}_conffile} \${_dhcpd_conffile}"
eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf"
# copy host.conf only if it exists
if eval "[ -f \"\${${name}_etcdir}/\$_hconf\" ]"; then
eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf"
fi
eval "safe_copy \${${name}_etcdir}/\$_hosts \${_dhcpd_etcdir}/\$_hosts"
# copy localtime only if it exists
if eval "[ -f \"\${${name}_etcdir}/\$_ltime\" ]"; then