propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
Changes since version 3.0.5rc1:
* A bug was repaired in fixes to the dhclient, which saught to run the
dhclient-script with the 'EXPIRE' state should it receive a NAK in
response to a REQUEST. The client now iterates the PREINIT state
after the EXPIRE state, so that interfaces that might be configured
'down' can be brought back 'up' and initialized.
* DHCPINFORM handling for clients that properly set ciaddr and come to
the server via a relay agent has been repaired.
PR: ports/102680
Submitted: maintainer
security risk by writing 8 bytes to a 4 byte declared variable.
The first fix introduced a potential security problem.
PR: ports/97681
Submitted by: maintainer, Dan Lukes <dan_at_obluda.cz> (an initial patch)
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
- this is a maintenance release
- failover related bugs fixed
- BOOTP related bugs fixed
- DDNS related bugs fixed
- manpage updates
- small memory leak closed
* changes to the port itself
- better use of PATCH_SITES and PATCHFILES
- added new OPTION: DHCP_SOCKETS
+ this offers the possibility to prefer sockets over /dev/bpf
( only useful for jail(8)ed environments where the bpf device
is not available and therefore only utilized if DHCP_JAIL
is set ) this addresses the PR ports/76820
PR: ports/84057
Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer)
DHCPLEASEQUERY support.
Thanks to Dmitry V. Sukhodoev <raven@chics.ru> for providing this patch
- introduced new OPTION to enable DHCPLEASEQUERY support
PR: ports/79599
Submitted by: maintainer
with some modifications to the port itself and utilizing a
patch from Brian Masney (http://www.newwave.net/~masneyb/)
it is possible to use an LDAP backend to store the configuration
for dhcpd, the different network and host entries. dynamic
leases are also written to the LDAP backend.
this is very useful in a dhcp failover environment, as it
is no longer necessary to sync the dhcpd.conf file manually
to the backup system if one has changed something on the
dhcp master. two lookup methods are implemented.
- static lookup:
on dhcpd startup one LDAP lookup for all entries is done.
no further lookups will be made.
dhcpd must be restarted for every configuration change.
- dynamic lookup:
for every client request an LDAP lookup will be made.
every configuration change kicks in when the next
client request is recieved and the lookup is made.
PR: ports/71030
Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Approved by: Cyrille Lefevre