Commit graph

56 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c2adc4c047 Update to version 3.0.r8.2
PR:		28500
Submitted by:	Cyrille Lefevre <clefevre@redirect.to>
2001-06-29 01:25:07 +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
Peter Pentchev
05a179bf6e Update to 3.0RC2.
PR:		26753
Submitted by:	maintainer
2001-04-22 11:59:08 +00:00
James E. Housley
a9b869c164 Update to version 3.0.b2.23
Submitted by:	Cyrille Lefevre <clefevre@poboxes.com> MAINTAINER
2001-03-24 11:09:53 +00:00
James E. Housley
988ec75933 Additiona patch sent by MAINTAINER and forgot by me.
Submitted by:	Cyrille Lefevre <root@gits.dyndns.org>
2001-03-23 11:18:44 +00:00
James E. Housley
14a6bfe50d update ISC dhcp to the latest version, which is 3.0b2pl22.
PR:		25977
Submitted by:	Cyrille Lefevre <clefevre@poboxes.com> MAINTAINER
2001-03-23 01:33:47 +00:00
FUJISHIMA Satsuki
922183a077 update to 3.0b2pl18.
PR:		25501
Submitted by:	maintainer
2001-03-08 20:06:36 +00:00
Peter Pentchev
8beeb9a351 New patchfiles in the update to 3.0b2pl16.
PR:		24911
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net> - maintainer
2001-02-17 14:19:02 +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
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
a92bd00163 Opps, forgot to fix the file path after I re-generated the patch.
(we use some perl h0h0magic, so the file extention is non-standard)
2000-12-05 17:53:41 +00:00
David E. O'Brien
b597a8c699 Allow the selection of the [sys]log facility to use.
Submitted by:	David W. Chapman Jr. <dwcjr@inethouston.net>
2000-12-02 08:49:49 +00:00
David E. O'Brien
b7a6c2ce97 Fix a typo I added, and remove some cruft.
Submitted by:	Cyrille Lefevre <root@gits.dyndns.org>
2000-10-03 16:01:30 +00:00
David E. O'Brien
2809465025 Remove dependancy on he BIND8 port. Add more manpages. Update DESCR.
Tweak more Makefiles so CFLAGS are apended to, rather than overriding ours.

PR:		21632
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2000-09-30 18:42:33 +00:00
David E. O'Brien
fd9d272962 Update to version 3.0 Beta 2, Patchlevel l5. 2000-09-27 10:36:13 +00:00