net/isc-dhcp44-server: Fix chroot support on 13.x
- Bump PORTREVISION PR: 245362
This commit is contained in:
parent
0d8605c3e0
commit
48ac5fb485
2 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,7 @@ LICENSE= MPL20
|
|||
|
||||
USES= gmake
|
||||
|
||||
PORTREVISION_SERVER= 0
|
||||
PORTREVISION_SERVER= 1
|
||||
PORTREVISION_CLIENT= 0
|
||||
PORTREVISION_RELAY= 0
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue