summaryrefslogtreecommitdiff
path: root/net/wide-dhcpv6
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-03-19 17:32:07 +0000
committertaca <taca@pkgsrc.org>2007-03-19 17:32:07 +0000
commitaaf67d727b465b970f7b9ca92a40fd251b9ce837 (patch)
tree80ae0fc914778685e5a908560ca390822cdd59cc /net/wide-dhcpv6
parentc551a4da3cf621604062f834920ee57bcb79d3a9 (diff)
downloadpkgsrc-aaf67d727b465b970f7b9ca92a40fd251b9ce837.tar.gz
Importing wide-dhcpv6 20061016 release.
Tested by KAWAMOTO Yoshihisa (kawamoto@). WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol for IPv6 (DHCPv6) developed by the KAME project. The implementation mainly conforms to the following standards: - RFC3315: Dynamic Host Configuration Protocol for IPv6 (DHCPv6) - RFC3319: Dynamic Host Configuration Protocol (DHCPv6) Options for Session Initiation Protocol (SIP) Servers - RFC3633: IPv6 Prefix Options for Dynamic Host Configuration Protocol (DHCP) - RFC3646: DNS Configuration options for Dynamic Host Configuration Protocol for IPv6 (DHCPv6) - RFC4075: Simple Network Time Protocol (SNTP) Configuration Option for DHCPv6 - RFC4242: Information Refresh Time Option for Dynamic Host Configuration Protocol for IPv6 (DHCPv6) All the components of the main protocol are provided, i.e., DHCPv6 clients, servers, and relay agents. Supported message types are as follows: Solicit, Advertise, Request, Renew, Rebind, Release, Reply, Information-request, Relay-forward and Relay-reply. Note that the current implementation does not support IPv6 temporary address allocation by DHCPv6, and there is no plan to implement that feature at the moment.
Diffstat (limited to 'net/wide-dhcpv6')
-rw-r--r--net/wide-dhcpv6/DESCR28
-rw-r--r--net/wide-dhcpv6/Makefile40
-rw-r--r--net/wide-dhcpv6/PLIST14
-rw-r--r--net/wide-dhcpv6/distinfo5
-rwxr-xr-xnet/wide-dhcpv6/files/dhcp6c.sh17
-rwxr-xr-xnet/wide-dhcpv6/files/dhcp6relay.sh16
-rwxr-xr-xnet/wide-dhcpv6/files/dhcp6s.sh17
7 files changed, 137 insertions, 0 deletions
diff --git a/net/wide-dhcpv6/DESCR b/net/wide-dhcpv6/DESCR
new file mode 100644
index 00000000000..314ce9fb2e8
--- /dev/null
+++ b/net/wide-dhcpv6/DESCR
@@ -0,0 +1,28 @@
+WIDE-DHCPv6 is an open-source implementation of Dynamic Host
+Configuration Protocol for IPv6 (DHCPv6) developed by the KAME
+project.
+
+The implementation mainly conforms to the following standards:
+
+- RFC3315: Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
+- RFC3319: Dynamic Host Configuration Protocol (DHCPv6) Options
+ for Session Initiation Protocol (SIP) Servers
+- RFC3633: IPv6 Prefix Options for Dynamic Host Configuration
+ Protocol (DHCP)
+- RFC3646: DNS Configuration options for Dynamic Host
+ Configuration Protocol for IPv6 (DHCPv6)
+- RFC4075: Simple Network Time Protocol (SNTP) Configuration
+ Option for DHCPv6
+- RFC4242: Information Refresh Time Option for Dynamic Host
+ Configuration Protocol for IPv6 (DHCPv6)
+
+All the components of the main protocol are provided, i.e.,
+DHCPv6 clients, servers, and relay agents.
+
+Supported message types are as follows:
+ Solicit, Advertise, Request, Renew, Rebind, Release, Reply,
+ Information-request, Relay-forward and Relay-reply.
+
+Note that the current implementation does not support IPv6
+temporary address allocation by DHCPv6, and there is no plan to
+implement that feature at the moment.
diff --git a/net/wide-dhcpv6/Makefile b/net/wide-dhcpv6/Makefile
new file mode 100644
index 00000000000..51b385000b4
--- /dev/null
+++ b/net/wide-dhcpv6/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/19 17:32:07 taca Exp $
+
+DISTNAME= wide-dhcpv6-20061016
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wide-dhcpv6/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://wide-dhcpv6.sourceforge.net/
+COMMENT= DHCP6 client, server and relay agent by WIDE project
+
+USE_TOOLS+= lex yacc
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --with-localdbdir=${VARBASE:Q}/db
+
+RCD_SCRIPTS= dhcp6c dhcp6relay dhcp6s
+
+BUILD_DEFS+= VARBASE
+EGDIR= ${PREFIX}/share/examples/wide-dhcpv6
+COMMANDS= dhcp6c dhcp6s dhcp6relay dhcp6ctl
+EXAMPLES= dhcp6c.conf dhcp6s.conf
+MAN5= dhcp6c.conf.5 dhcp6s.conf.5
+MAN8= dhcp6c.8 dhcp6ctl.8 dhcp6relay.8 dhcp6s.8
+
+do-install:
+.for f in ${COMMANDS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/sbin
+.endfor
+.for f in ${MAN5}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/${PKGMANDIR}/man5
+.endfor
+.for f in ${MAN8}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/${PKGMANDIR}/man8
+.endfor
+ ${INSTALL_DATA_DIR} ${EGDIR}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f}.sample ${EGDIR}/${f}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/wide-dhcpv6/PLIST b/net/wide-dhcpv6/PLIST
new file mode 100644
index 00000000000..55273d62072
--- /dev/null
+++ b/net/wide-dhcpv6/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/19 17:32:07 taca Exp $
+sbin/dhcp6c
+sbin/dhcp6s
+sbin/dhcp6relay
+sbin/dhcp6ctl
+man/man5/dhcp6c.conf.5
+man/man5/dhcp6s.conf.5
+man/man8/dhcp6c.8
+man/man8/dhcp6s.8
+man/man8/dhcp6relay.8
+man/man8/dhcp6ctl.8
+share/examples/wide-dhcpv6/dhcp6c.conf
+share/examples/wide-dhcpv6/dhcp6s.conf
+@dirrm share/examples/wide-dhcpv6
diff --git a/net/wide-dhcpv6/distinfo b/net/wide-dhcpv6/distinfo
new file mode 100644
index 00000000000..8396d7f5e47
--- /dev/null
+++ b/net/wide-dhcpv6/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/19 17:32:07 taca Exp $
+
+SHA1 (wide-dhcpv6-20061016.tar.gz) = 07100760d217afa6e0ec82b3575fb7d8d52e2155
+RMD160 (wide-dhcpv6-20061016.tar.gz) = 95fc6875efbf26dc4e24c80dfc93cf9ebfe450c9
+Size (wide-dhcpv6-20061016.tar.gz) = 165378 bytes
diff --git a/net/wide-dhcpv6/files/dhcp6c.sh b/net/wide-dhcpv6/files/dhcp6c.sh
new file mode 100755
index 00000000000..b3d4f4eb333
--- /dev/null
+++ b/net/wide-dhcpv6/files/dhcp6c.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: dhcp6c.sh,v 1.1.1.1 2007/03/19 17:32:07 taca Exp $
+#
+
+# PROVIDE: dhcp6c
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+name="dhcp6c"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+required_files="@PKG_SYSCONFDIR@/$name.conf"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/net/wide-dhcpv6/files/dhcp6relay.sh b/net/wide-dhcpv6/files/dhcp6relay.sh
new file mode 100755
index 00000000000..7e18f877840
--- /dev/null
+++ b/net/wide-dhcpv6/files/dhcp6relay.sh
@@ -0,0 +1,16 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: dhcp6relay.sh,v 1.1.1.1 2007/03/19 17:32:07 taca Exp $
+#
+
+# PROVIDE: dhcp6relay
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+name="dhcp6relay"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/net/wide-dhcpv6/files/dhcp6s.sh b/net/wide-dhcpv6/files/dhcp6s.sh
new file mode 100755
index 00000000000..53c5acbcacc
--- /dev/null
+++ b/net/wide-dhcpv6/files/dhcp6s.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: dhcp6s.sh,v 1.1.1.1 2007/03/19 17:32:07 taca Exp $
+#
+
+# PROVIDE: dhcp6s
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+name="dhcp6s"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+required_files="@PKG_SYSCONFDIR@/$name.conf"
+
+load_rc_config $name
+run_rc_command "$1"