1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Tom McLaughlin
0eac338452 Fix dhcpd_devfs_enable on 7.x and later.
PR:		115967
Submitted by:	Eygene Ryabinkin
Approved by:	portmgr (linimon, pav), maintainer
2007-12-04 01:28:43 +00:00
Pav Lucistnik
01bd80af4a - Fix build on recent current after ascii2addr() removal
PR:		ports/110028
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer)
Obtained from:	bms
2007-03-14 17:14:06 +00:00
Martin Wilke
388757565d * Fix for ldap_read_function to avoid returning empty strings
that are causing parsing errors in ldap-dynamic mode
* Added ldap-ssl <off|start_tls|ldaps|on> option and several
        ldap-tls* options
* Added ldap-referrals <on|off> option
* Implemented a LDAP rebind function
* Renamed dhcpd.conf option ldap-server-cn to ldap-dhcp-server-cn
* Dhcp.schema - schema updates
* Bump PORTREVISION

PR:             109563
Submitted by:   roudoudou<roudoud0u@free.fr>
Approved by:    maintainer
2007-02-26 22:20:59 +00:00
Rong-En Fan
ffef6e9372 - Update ldap patch checksum
PR:		ports/109351
Submitted by:	Tomonori INOUE <inouetom at gmail.com>
Approved by:	Joerg Pulz <Joerg.Pulz at frm2.tum.de> (maintainer)
2007-02-21 10:57:21 +00:00
Martin Wilke
f62abe17bc - Update to 3.0.5
PR:		ports/106899
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer)
2006-12-21 19:57:23 +00:00
Dirk Meyer
edec2a0c2f - fix isc-dhcpd.sh jail options stop and status commands
PR:		103168
Submitted by:	Chris Cowart
Approved by:	Joerg Pulz (maintainer)
2006-11-05 11:27:01 +00:00
Sergey Matveychuk
fc3afe641b Update the net/isc-dhcp3-* ports to version 3.0.5rc2.
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
2006-09-02 19:40:17 +00:00
Sergey Matveychuk
40c2774e35 - Fix a bug in pkg-install script
Submitted by:	maintainer
2006-08-27 16:04:02 +00:00
Sergey Matveychuk
20b17ff3de - Update to 3.0.5rc1
- New USE_RC_SUBR order
- Stop daemons on ports deinstall. (Add note in UPDATING about this)

PR:		ports/102489
Submitted by:	maintainer
2006-08-25 12:02:58 +00:00
Sergey Matveychuk
ed14f324dd - Fix the time_t problem on *64 ARCHS without introducing a possible
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)
2006-05-24 06:33:55 +00:00
Sergey Matveychuk
9da53ffae1 - Mark FORDBIDDEN on 64-bit platforms. The last fix may cause security problems.
Submitted by:	Dan Lukes <dan@obluda.cz>
2006-05-21 18:05:39 +00:00
Sergey Matveychuk
411a43ddc6 - Fix IP address lease time bug on 64-bit archs. It caused clients
(at least Windows XP) to reject a leased IP info.
  The reason was time_t that is 8-bytes wide on FreeBSD *64.

PR:		ports/97333
Submitted by:	maintainer
2006-05-16 06:20:52 +00:00
Sergey Matveychuk
a1dec1380f - Update net/isc-dhcp3-* to 3.0.4
* fixes to the failover protocol
  * manpage updates
  * DDNS fixes
  * commandline parsing fixes
- Remove USE_REINPLACE

PR:		ports/96916
Submitted by:	maintainer
2006-05-07 20:34:01 +00:00
Pav Lucistnik
dbf57be6c4 - Update LDAP patch
PR:		ports/96353
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer)
2006-04-27 08:11:08 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
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.
2006-02-20 20:47:50 +00:00
Florent Thoumie
502a8a1d04 - Rename CONF_FILES to LOCAL_CONF_FILES.
PR:		ports/90438
Submitted by:	flz
Approved by:	maintainer timeouts
2006-02-20 13:31:57 +00:00
Edwin Groothuis
ca424c4e97 SHA256ify
APproved by: krion@
2006-02-01 22:46:10 +00:00
Sergey Matveychuk
7d0727ecaf - Fix rcNG script on CURRENT
- PORTREVISION bump

PR:		ports/89974
Reported by:	Martin MATO
Submitted by:	Joerg Pulz (maintainer)
2005-12-14 19:41:25 +00:00
Sergey Matveychuk
9b02ae4cc0 * update the net/isc-dhcp3-* ports to v3.0.3
- 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)
2005-07-25 18:34:18 +00:00
Sergey Matveychuk
8ffaac1f78 - Missed files on last commit 2005-06-15 07:21:56 +00:00
Sergey Matveychuk
7ce3ca0acc - added support for draft-ietf-dhc-leasequery-08.txt
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
2005-06-15 07:19:56 +00:00
Sergey Matveychuk
f01df1abb4 - Welcome new maintainer. Ha made a lot for the ports.
- Remove redundant maintainer lines.

Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Approved by:	maintainer timeout (3 monthes of silence)
2005-06-09 18:56:59 +00:00
Maxim Sobolev
929c339995 Add missed load_rc_config, othervise it's impossible to override any of the
config options.
2005-04-07 13:47:27 +00:00
Sergey Matveychuk
d6fc769a53 - Update to 3.0.2 (maintenance bugs fix release)
- ports/75889, ports/76811, ports/76834 included

PR:		ports/78613
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de>
2005-04-05 08:47:45 +00:00
Volker Stolz
620c35cd5e Add an additional site to PATCH_SITES to make the ldap patchfile fetchable
PR:		ports/75389
Submitted by:	Jörg Pulz
Approved by:	maintainer timeout
2005-02-27 17:15:21 +00:00
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