Commit graph

30 commits

Author SHA1 Message Date
Edwin Groothuis
01a18f213a add LDAP backend support to net/isc-dhcp3-server
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
2004-10-13 00:15:01 +00:00
Oliver Eikemeier
bf45d386a1 new paranoia and jail options handled by rc variables to easy they use.
PR:		68357
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2004-06-26 14:32:41 +00:00
Oliver Eikemeier
99f8fa9cad Update to 3.0.1rc14
Security fix:
  <http://www.freebsd.org/ports/portaudit/7a9d5dfe-c507-11d8-8898-000d6111a684.html>

PR:		68268
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer),
		Xin LI <delphij@frontfree.net>
2004-06-25 18:50:13 +00:00
Dag-Erling Smørgrav
b77059fee2 Mega-update from maintainer:
isc-dhcp3-client/pkg-message
 	updated

 isc-dhcp3-devel/pkg-plist
 	updated from PR#61620

 isc-dhcp3-relay/pkg-message
 	rewritten to reflect rcNG change
 isc-dhcp3-relay/pkg-plist
 	etc/rc.isc-dhcrelay.conf deleted
 	etc/rc.d/isc-dhcrelay.sh.sample renamed to etc/rc.d/isc-dhcrelay.sh

 isc-dhcp3-server/Makefile
 	PORTREVISION bumped
 	USE_RC_SUBR added
 	*_SUB added
 	pre-everything added (WITHOUT_INTERFACE_POLLING cond added)
 	patch-scripts and patch-pkgmessage (! -devel cond) updated
 	patch-site-conf and patch-rc-scripts added
 	install-startup-files now install etc/rc.d/isc-dhcpd.sh
 	 instead of etc/rc.d/isc-dhcpd.sh.sample
 	display-message updated (! -devel cond)
 isc-dhcp3-server/pkg-message
 	rewritten to reflect rcNG change
 isc-dhcp3-server/pkg-plist
 	etc/rc.isc-dhcpd.conf deleted
 	etc/rc.d/isc-dhcpd.sh.sample renamed to etc/rc.d/isc-dhcpd.sh
 isc-dhcp3-server/files/isc-dhcpd.sh.sample
 isc-dhcp3-server/files/isc-dhcrelay.sh.sample
 	both converted to rcNG
 isc-dhcp3-server/files/patch-freebsd
 	synced w/ -current
 isc-dhcp3-server/files/patch-site.conf
 	CLIENT_PATH added
 	CFLAGS synced w/ -current
 isc-dhcp3-server/patch-client::clparse.c
 isc-dhcp3-server/patch-client::dhclient.8
 	new files synced w/ -current
 isc-dhcp3-server/patch-client::dhclient.c
 	new file synced w/ -current (-DENABLE_POLLING_MODE)
 isc-dhcp3-server/patch-client::dhclient.conf
 	new file
 isc-dhcp3-server/patch-common::dhcp-options.5
 	new file synced w/ -current
 isc-dhcp3-server/patch-common::discover.c
 	new file from PR#61011
 isc-dhcp3-server/patch-common::dispatch.c
 	new file synced w/ -current (-DENABLE_POLLING_MODE)
 isc-dhcp3-server/files/patch-common::parse.c
	fix time_t issues on little-endian 64-bit platforms
 isc-dhcp3-server/patch-dst::Makefile.dist
 	new file from PR#61620
 isc-dhcp3-server/patch-includes::cf::freebsd.h
 	new file synced w/ -current (-DRESCUE unused right now)
 isc-dhcp3-server/patch-includes::dhcpd.h
 	new file synced w/ -current (-DENABLE_POLLING_MODE)
 isc-dhcp3-server/files/rc.isc-dhcpd.conf.sample
 isc-dhcp3-server/files/rc.isc-dhcrelay.conf.sample
 	deleted files

PR:		57943, 61011, 61620
Submitted by:	sec@42.org, andy@fud.org.nz, kaa@in-line.ru, des, ru
2004-03-16 20:31:15 +00:00
Sergei Kolobov
4e89536c14 Post-repocopy fixes:
- add omitted content to pkg-message (-client, -relay)
- remove empty pkg-message file (-devel)
- use DOCSDIR macro
- fix pkg-plist (-server)

PR:		ports/62025
Submitted by:	maintainer
2004-03-05 22:03:03 +00:00
Edwin Groothuis
6db5748c1e Maintainer update: isc-dhcp3 splitted to -server, -client, -relay and -devel sub-ports
Step one: convert net/isc-dhcp3 into net/isc-dhcp3-server

PR:		ports/51757
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-01-17 23:09:02 +00:00
Greg Lewis
b382324173 . Update to 3.0.1.r12.
. Use %%DOCSDIR%% in the packing list.

PR:		56615
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2003-09-10 14:22:30 +00:00
Edwin Groothuis
9875aa93b6 backout last commit, I should have read and understood the || before
I started on this.
My apologies.
2003-08-25 11:22:54 +00:00
Edwin Groothuis
1ed5abc61d only remove the files if they are zero-length. 2003-08-25 11:20:30 +00:00
Edwin Groothuis
e9e1cb3619 isc-dhcp3 port package creates dhcp.leases in wrong directory
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>
2003-08-25 11:18:29 +00:00
David W. Chapman Jr.
86a07e8b54 Update to 3.0.1
PR:		31357
Submitted by:	maintainer
2001-10-19 03:12:25 +00:00
Peter Pentchev
146a0de9e6 Update to 3.0 release.
A bit of general cleanup.

PR:		31058
Submitted by:	maintainer
2001-10-15 13:33:15 +00:00
James E. Housley
afb4476535 Update to version 3.0.r8
PR:		27899
Submitted by:	Cyrille Lefevre <clefevre@redirect.to>
2001-06-07 11:17:09 +00:00
Alexander Langer
6f8b692465 Update to 3.0.r7.
PR:		27478
Submitted by:	Cyrille Lefevre <clefevre@poboxes.com> (maintainer)
2001-05-21 19:30:29 +00:00
Peter Pentchev
5306c9a613 Update to 3.0 RC 2 patch-level 1.
Install docs into a version-dependent dir.
Add a backup MASTER_SITE_SUBDIR.

PR:		26835
Submitted by:	maintainer
2001-04-25 12:13:34 +00:00
Peter Pentchev
dbf330cfa8 Update to 3.0b2pl16, assign maintainership to Cyrille Lefevre.
PR:		24911
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net> - new maintainer
2001-02-17 14:17:30 +00:00
David E. O'Brien
f950418b81 Tweak.
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-12-23 18:53:58 +00:00
David E. O'Brien
bb9cadac0d Complete the PLIST.
Submitted by:	David W. Chapman Jr. <dwcjr@inethouston.net>
2000-12-19 20:07:52 +00:00
David E. O'Brien
41e3d18ba0 Add sample RC startup script.
Submitted by:	Jun Kuriyama <kuriyama@imgsrc.co.jp>	(w/changes by me)
2000-12-13 08:26:16 +00:00
David E. O'Brien
2c98c659d1 Add $FreeBSD$, which help me in problem reports. 2000-11-22 00:26:04 +00:00
Jordan K. Hubbard
bc4db783c8 Unbreak this port - it's easy enough to get the config files in the
right places.
1999-06-20 15:10:14 +00:00
Justin M. Seger
6c2372d759 Upgrade to isc-dhcp2.b1.16 and unbreak. 1999-02-27 04:32:21 +00:00
Tim Vanderhoek
26e78bb69f This netted the largest set of mis-installed manpages, yet! 1998-08-18 19:48:45 +00:00
Justin M. Seger
41de43aecf touch /etc/dhclient.conf after install
This lets dhclient run without someone creating a customized file.

Requested by:   obrien
1998-07-25 22:16:40 +00:00
Justin M. Seger
37971bf2c5 Upgrade to beta 1 patch level 0. 1997-12-09 03:40:38 +00:00
Justin M. Seger
52a00e1640 Upgrade repository copy of isc-dhcp to a pre-2.0 snapshot. 1997-12-01 23:49:12 +00:00
David E. O'Brien
c4882abee0 Must create empty /var/db/dhcpd.leases file at install.
Read config file from PREFIX/etc rather than /etc.
1997-11-14 14:19:06 +00:00
Paul Traina
a6621d4552 Serves me right for committing work I hadn't looked at in over a month.
This cleans up everything, installs man pages properly, et al.

The dhcp client is not installed, since it is not yet functional.
1997-01-14 20:16:10 +00:00
Satoshi Asami
c98cfd116d Compress a bunch of manpages. Remove unnecessary @ directives from
PLISTs.

Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.
1996-11-18 14:17:24 +00:00
Stefan Eßer
05566e7187 A port of the Internet Software Consortium DHCP Server (ISC dhcpd). 1996-03-08 11:45:10 +00:00