Bug 153781 - Update port: net/isc-dhcp41-server Concurrent IPv4 DHCP and DHCPv6
Summary: Update port: net/isc-dhcp41-server Concurrent IPv4 DHCP and DHCPv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 00:20 UTC by Douglas Thrift
Modified: 2011-02-14 02:30 UTC (History)
0 users

See Also:


Attachments
isc-dhcp41-server.patch (13.39 KB, patch)
2011-01-29 16:07 UTC, Douglas Thrift
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Thrift 2011-01-08 00:20:05 UTC
Since ISC dhcpd 4.1 now supports DHCPv6, but a single instance of the
daemon can't do both IPv4 DHCP and DHCPv6, it would be nice if the rc.d
script from the port could be configured to start the daemon twice.

The mailing list discussion about this starts at:
    http://lists.freebsd.org/pipermail/freebsd-ports/2011-January/065284.html

On the FreeBSD ports mailing list, Doug Barton suggested using name="${0##*/}"
in the rc.d script and symlinking to it. This sounds like a good solution to me.
I think we should name the symlink "dhcpd6" as dhcpd already uses that name for
at least the leases file and pid file when running with -6 by default.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-08 00:20:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Douglas Thrift 2011-01-08 00:28:07 UTC
I guess we might want to do name="${0##*/isc-}" so we can name the
symlink isc-dhcpd6 to keep it consistent with the current naming.
-- 
Douglas William Thrift
<douglas@douglasthrift.net>
<http://douglasthrift.net/>
Comment 3 Douglas Thrift 2011-01-29 16:07:15 UTC
I've attached an initial patch to make the symlink rc.d script work for
DHCPv6. It still probably needs documentation and it also looks like it
might be a good idea to make parallel changes to isc-dhcp41-relay.
-- 
Douglas William Thrift
<douglas@douglasthrift.net>
<http://douglasthrift.net/>
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2011-02-01 16:04:06 UTC
On Sat, Jan 29, 2011 at 08:07:15AM -0800, Douglas Thrift wrote:
> I've attached an initial patch to make the symlink rc.d script work for
> DHCPv6. It still probably needs documentation and it also looks like it
> might be a good idea to make parallel changes to isc-dhcp41-relay.
> -- 
> Douglas William Thrift
> <douglas@douglasthrift.net>
> <http://douglasthrift.net/>

Thanks for working on this. I've been traveling a lot lately so I
haven't had time to work on this, but I do appreciate your effort. A
quick review doesn't reveal any obvious problems. I do want to take a
closer look and get it in the tree as soon as possible.

Just want to let you know that I got your patch and will work to commit
it as soon as I can.

-- WXS
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-02-14 02:21:32 UTC
wxs         2011-02-14 02:21:27 UTC

  FreeBSD ports repository

  Modified files:
    net/isc-dhcp41-server Makefile pkg-plist 
    net/isc-dhcp41-server/files isc-dhcpd.in 
  Log:
  Add support for DHCPv6 server.
  
  PR:             ports/153781
  Submitted by:   Douglas William Thrift <douglas@douglasthrift.net>
  
  Revision  Changes    Path
  1.17      +10 -4     ports/net/isc-dhcp41-server/Makefile
  1.3       +108 -94   ports/net/isc-dhcp41-server/files/isc-dhcpd.in
  1.4       +6 -1      ports/net/isc-dhcp41-server/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Wesley Shields freebsd_committer freebsd_triage 2011-02-14 02:21:40 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!