Commit graph

129 commits

Author SHA1 Message Date
Pav Lucistnik
a3252db60d - Fix chrooted startup [1]
- Reflect new nologin location on recent 5.x

PR:		ports/72713
Reported by:	Hilko Meyer <hilko.meyer@gmx.de> [1]
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2004-10-17 12:54:35 +00:00
Edwin Groothuis
21111c6999 net/isc-dhcp3-servre (4.x devfs fix)
files/isc-dhcpd.sh.sample: devfs check added
	pkg-message: dhcpd_devfs_enable added.

PR:		ports/71732
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-10-13 00:17:49 +00:00
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
Pav Lucistnik
828195389b - Fix rc script for combination WITHOUT_DHCP_PARANOIA=yes WITHOUT_DHCP_JAIL=yes
Submitted by:	Cyrille Lefevre <cyrille.lefevre@9online.fr> (maintainer)
2004-08-20 11:52:33 +00:00
David E. O'Brien
a5ca2686d6 Sync with reality.
(ports/net/isc-dhcp3-server/files/isc-dhcpd.sh.sample,v rev 1.7)
2004-08-18 09:31:58 +00:00
Pav Lucistnik
6ae6b39bdb - Update RC scripts to play nicely with latest changes in -CURRENT
PR:		ports/69590
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2004-07-26 20:57:03 +00:00
Pav Lucistnik
b1f58d2247 - Only perform configure-package target in -server port
Fixes:		net/isc-dhcp3-devel
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Reported by:	kris / pointyhat
2004-07-07 06:47:36 +00:00
Pav Lucistnik
4ac742785c - minor changes:
Makefile
        configure-package added to post-install
        .ORDER added
files/isc-dhcpd.sh.sample
        some debug() added
        precious() test inverted
        lsmod() added
        safe_chmod() fixed (don't chown .../dev if mounted)
        safe_mkdir() fixed (don't create .../dev if mounted)
        check_chuser() fixed (-z "${var}" instead of -z ${var})
        setup_umask() fixed (dhcpd_umask -> dhcpd_withumask)
        dhcpd_stop() fixed (sh $0 force... instead of $0 ...)
        _dhcpd__uninstall() added
        dhcpd_uninstall() recursively called to handle all the
        combinations of dhcpd_chuser_enable and dhcpd_chroot_enable
        $__dhcpd_uninstall added
        $_dhcpd_piddir and $_dhcpd_leaddir -> $__dhcpd_*

Closes PR:	ports/68647
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2004-07-06 00:57:13 +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
0013096e4f Grml. files forgotten in last commit. 2004-06-25 18:51:12 +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
Volker Stolz
f705e7297e Fix OPTION-handling w.r.t. sub-ports.
PR:		ports/67834
Submitted by:	maintainer
2004-06-18 07:40:43 +00:00
Pav Lucistnik
bfef58c142 - Integrate paranoia and jail patches to allow running in chroot and jail
- Employ OPTIONS

PR:		ports/67407
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2004-06-01 13:34:27 +00:00
Dag-Erling Smørgrav
dfb52e90db Back out last night's attempt to fix the client build on 4.x, and commit
a better solution submitted by the maintainer.
2004-03-22 23:33:09 +00:00
Dag-Erling Smørgrav
3647ca8653 Don't try to use interface polling on 5.1 or older. 2004-03-22 00:49:21 +00:00
Dag-Erling Smørgrav
b159494644 Don't try to apply 802.11 patches on systems which lack the required
interfaces and headers.
2004-03-22 00:42:00 +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
Trevor Johnson
6a7650a4d6 Remove entry for dhcp3_3.0+3.0.1rc9-2.2.diff.gz, which has been
unused since PR 56615 was committed.  List size.

Approved by:	Cyrille Lefevre (maintainer)
2004-03-11 13:03:53 +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
371625d2cb Fix build of net/isc-dhcp3-server (and others) for read only file systems.
Apologies to Cyrille Lefevre, it is sometimes hard to fix failed
patch-files. Thanks to Rolandas Naujikas for reporting it.
2004-01-18 11:05:39 +00:00
Edwin Groothuis
9271905511 make portlint a little bit happier. 2004-01-17 23:44:30 +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
Akinori MUSHA
4c2e4f1862 De-pkg-comment. 2003-02-21 13:28:59 +00:00
Jacques Vidrine
8b4c0f0d56 Security fix for dhcrelay. See
<URL: http://www.kb.cert.org/vuls/id/149953 >
and <URL: http://www.debian.org/security/2003/dsa-245 >.

PR:		ports/48224
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2003-02-13 02:46:25 +00:00
Kris Kennaway
7df6811c33 Update to isc-dhcpd-3.0.1rc11, which fixes a security vulnerability in the
bundled resolver library.
2003-01-16 04:15:15 +00:00
Christian Weisgerber
094f4a52ca Rename patch-message target to patch-pkgmessage since patch-message
is already used by bsd.port.mk.

Approved by:	maintainer
2002-11-06 02:06:03 +00:00
Ying-Chieh Liao
e1bfe4684c add MASTER_SITE_ISC (1) and apply them
PR:		41218
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org> (1)
2002-08-01 07:35:52 +00:00
Patrick Li
98864ee0cf USE_REINPLACE has to be defined before including bsd.port.pre.mk
PR:		ports/39881
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
2002-06-26 16:08:51 +00:00
Ying-Chieh Liao
7ef18f1429 ${PERL} -> ${REINPLACE_CMD}
PR:		39746
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
2002-06-24 04:44:17 +00:00
Ying-Chieh Liao
827ddfb6b7 add missing patch file
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-05-10 08:48:43 +00:00
Ying-Chieh Liao
99d1cab728 remove unnecessary patch (already in rc9)
Submitted by:	synker (on irc)
2002-05-10 05:42:45 +00:00
Ying-Chieh Liao
b3b2c2f25f upgrade to 3.0.1.r9
PR:		37915
Submitted by:	maintainer
2002-05-10 04:11:55 +00:00
Chris D. Faulhaber
4bd2c0204e Fix format string vulnerability as noted at:
http://www.cert.org/advisories/CA-2002-12.html
  http://www.ngsec.com/docs/advisories/NGSEC-2002-2.txt
2002-05-09 01:59:27 +00:00
Anders Nordby
c45d93b5c3 Write all leases to the lease file.
Submitted by:	maintainer
2002-04-21 13:50:40 +00:00
Anders Nordby
0f241b0e8d Update to 3.0.1 rc8.
PR:		37131
Submitted by:	maintainer
2002-04-19 20:59:21 +00:00
Patrick Li
a9233eeb27 Add a patch that was left out from the last update
Submitted by:	maintainer
2002-01-31 03:12:00 +00:00
Patrick Li
821e201663 Update to 3.0.1.r6
PR:		34468
Submitted by:	maintainer
2002-01-31 00:42:10 +00:00
David W. Chapman Jr.
7cdb9dd859 Update maintainer's email address
Update a few MASTER_SITES

PR:		34012
Submitted by:	maintainer
2002-01-17 23:13:38 +00:00
David W. Chapman Jr.
ee9c7e2271 Update to 3.0.1.r4
PR:		31818
Submitted by:	maintainer
2001-11-07 16:56:51 +00:00
Peter Pentchev
9674a8035c Update to 3.0.1rc2.
PR:		31654
Submitted by:	maintainer
2001-10-31 14:19:57 +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
42e5345a50 Add a message that Cyrille did provide in PR 31058, but I somehow
missed in committing..

Submitted by:	John Merryweather Cooper <john_m_cooper@yahoo.com>
2001-10-15 16:36:30 +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
Brian Somers
e1fe89d39d Remove FETCH_BEFORE_ARGS.
Approved by:	James E. Housley <jeh@FreeBSD.org>
2001-08-20 11:46:34 +00:00
David W. Chapman Jr.
bbd8950b5f Update to 3.0.r11
Update MAINTAINER's email

PR:		29863
Submitted by:	maintainer
2001-08-19 18:19:15 +00:00
Michael Haro
3b38f3af9f add missing % 2001-08-17 09:12:51 +00:00