Skip to content

Commit

Permalink
net/isc-dhcp44-server: Fix chroot support on 13.x
Browse files Browse the repository at this point in the history
- Bump PORTREVISION

PR:		245362
  • Loading branch information
zi0r committed Jun 2, 2021
1 parent 0d8605c commit 48ac5fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/isc-dhcp44-server/Makefile
Expand Up @@ -18,7 +18,7 @@ LICENSE= MPL20

USES= gmake

PORTREVISION_SERVER= 0
PORTREVISION_SERVER= 1
PORTREVISION_CLIENT= 0
PORTREVISION_RELAY= 0

Expand Down
5 changes: 4 additions & 1 deletion net/isc-dhcp44-server/files/isc-dhcpd.in
Expand Up @@ -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
Expand Down

0 comments on commit 48ac5fb

Please sign in to comment.