summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2005-09-20 07:53:59 +0000
committerGuy Martin <gmsoft@gentoo.org>2005-09-20 07:53:59 +0000
commit2939cbb3540d28d8ddadfa3f2ec351d737dccf79 (patch)
tree2395aa47637d4a9b9bcdbd636554ebe8a1294792
parentold (diff)
downloadgentoo-2-2939cbb3540d28d8ddadfa3f2ec351d737dccf79.tar.gz
gentoo-2-2939cbb3540d28d8ddadfa3f2ec351d737dccf79.tar.bz2
gentoo-2-2939cbb3540d28d8ddadfa3f2ec351d737dccf79.zip
Initial import. Ebuild made by Tomasz Mrugalski <thomson@klub.com.pl>.
(Portage version: 2.0.51.22-r2)
-rw-r--r--net-misc/dibbler/ChangeLog11
-rw-r--r--net-misc/dibbler/Manifest7
-rw-r--r--net-misc/dibbler/dibbler-0.4.1.ebuild52
-rw-r--r--net-misc/dibbler/files/dibbler-client20
-rw-r--r--net-misc/dibbler/files/dibbler-relay20
-rw-r--r--net-misc/dibbler/files/dibbler-server20
-rw-r--r--net-misc/dibbler/files/digest-dibbler-0.4.12
-rw-r--r--net-misc/dibbler/metadata.xml6
8 files changed, 138 insertions, 0 deletions
diff --git a/net-misc/dibbler/ChangeLog b/net-misc/dibbler/ChangeLog
new file mode 100644
index 000000000000..f8c1bac3c406
--- /dev/null
+++ b/net-misc/dibbler/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/dibbler
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/ChangeLog,v 1.1 2005/09/20 07:53:59 gmsoft Exp $
+
+*dibbler-0.4.1 (20 Sep 2005)
+
+ 20 Sep 2005; Guy Martin <gmsoft@gentoo.org> +files/dibbler-client,
+ +files/dibbler-relay, +files/dibbler-server, +metadata.xml,
+ +dibbler-0.4.1.ebuild:
+ Initial import. Ebuild made by Tomasz Mrugalski <thomson@klub.com.pl>.
+
diff --git a/net-misc/dibbler/Manifest b/net-misc/dibbler/Manifest
new file mode 100644
index 000000000000..7f2930f11deb
--- /dev/null
+++ b/net-misc/dibbler/Manifest
@@ -0,0 +1,7 @@
+MD5 e037ec32dc506290aab47693f70aa0cd ChangeLog 477
+MD5 80231f83adfbdfc0bd4e628dcc27d533 dibbler-0.4.1.ebuild 1469
+MD5 bbb94d56dd1c61e150293ce213bb61e1 metadata.xml 218
+MD5 f4f93d6cec932f44908ea817b2306213 files/digest-dibbler-0.4.1 140
+MD5 981b49e7c0f0189b77ac6a0dff6eda69 files/dibbler-client 477
+MD5 2ec8af101d52b7fdbc1aa209f870d0e0 files/dibbler-relay 470
+MD5 d0b0d0023bb1c0a6da51c926a10e2a6e files/dibbler-server 477
diff --git a/net-misc/dibbler/dibbler-0.4.1.ebuild b/net-misc/dibbler/dibbler-0.4.1.ebuild
new file mode 100644
index 000000000000..13c76c4912ab
--- /dev/null
+++ b/net-misc/dibbler/dibbler-0.4.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-0.4.1.ebuild,v 1.1 2005/09/20 07:53:59 gmsoft Exp $
+
+inherit eutils
+
+DESCRIPTION="Portable DHCPv6 implementation (server, client and relay)"
+HOMEPAGE="http://klub.com.pl/dhcpv6/"
+SRC_URI="http://klub.com.pl/dhcpv6/dibbler/${P}-src.tar.gz
+ doc? ( http://klub.com.pl/dhcpv6/dibbler/${P}-doc.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~hppa"
+IUSE="doc"
+DEPEND=""
+
+DIBBLER_DOCDIR=${WORKDIR}/doc
+
+src_unpack() {
+ unpack ${A}
+# cd ${S}
+# epatch ${FILESDIR}/${P}-security.patch
+}
+
+src_compile() {
+ emake server client relay || die "Compilation failed"
+}
+
+src_install() {
+ dosbin dibbler-server
+ dosbin dibbler-client
+ dosbin dibbler-relay
+ doman doc/man/dibbler-server.8 doc/man/dibbler-client.8 doc/man/dibbler-relay.8
+ dodoc CHANGELOG RELNOTES
+
+ insinto /etc/dibbler
+ doins *.conf
+ dodir /var/lib/dibbler
+ use doc && dodoc ${DIBBLER_DOCDIR}/dibbler-user.pdf \
+ ${DIBBLER_DOCDIR}/dibbler-devel.pdf
+ insinto /etc/init.d
+ doins ${FILESDIR}/dibbler-server ${FILESDIR}/dibbler-client ${FILESDIR}/dibbler-relay
+ fperms 755 /etc/init.d/dibbler-server
+ fperms 755 /etc/init.d/dibbler-client
+ fperms 755 /etc/init.d/dibbler-relay
+}
+
+pkg_postinst() {
+ einfo "Make sure that you modify client.conf, server.conf and/or relay.conf "
+ einfo "to suit your needs. They are stored in /etc/dibbler."
+}
diff --git a/net-misc/dibbler/files/dibbler-client b/net-misc/dibbler/files/dibbler-client
new file mode 100644
index 000000000000..a1cf5b5970f8
--- /dev/null
+++ b/net-misc/dibbler/files/dibbler-client
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/files/dibbler-client,v 1.1 2005/09/20 07:53:59 gmsoft Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting DHCPv6 client: dibbler-client"
+ /usr/sbin/dibbler-client start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DHCPv6 client: dibbler-client"
+ /usr/sbin/dibbler-client stop
+ eend $?
+}
diff --git a/net-misc/dibbler/files/dibbler-relay b/net-misc/dibbler/files/dibbler-relay
new file mode 100644
index 000000000000..13c4e169640d
--- /dev/null
+++ b/net-misc/dibbler/files/dibbler-relay
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/files/dibbler-relay,v 1.1 2005/09/20 07:53:59 gmsoft Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting DHCPv6 relay: dibbler-relay"
+ /usr/sbin/dibbler-relay start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DHCPv6 relay: dibbler-relay"
+ /usr/sbin/dibbler-relay stop
+ eend $?
+}
diff --git a/net-misc/dibbler/files/dibbler-server b/net-misc/dibbler/files/dibbler-server
new file mode 100644
index 000000000000..e5a042d812ff
--- /dev/null
+++ b/net-misc/dibbler/files/dibbler-server
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/files/dibbler-server,v 1.1 2005/09/20 07:53:59 gmsoft Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting DHCPv6 server: dibbler-server"
+ /usr/sbin/dibbler-server start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DHCPv6 server: dibbler-server"
+ /usr/sbin/dibbler-server stop
+ eend $?
+}
diff --git a/net-misc/dibbler/files/digest-dibbler-0.4.1 b/net-misc/dibbler/files/digest-dibbler-0.4.1
new file mode 100644
index 000000000000..74379b42ea8b
--- /dev/null
+++ b/net-misc/dibbler/files/digest-dibbler-0.4.1
@@ -0,0 +1,2 @@
+MD5 e9c25cc84b881309bbb650d2d36c5fb0 dibbler-0.4.1-src.tar.gz 1158094
+MD5 d7ee175bb1994b597e07583f4cc0113f dibbler-0.4.1-doc.tar.gz 1251723
diff --git a/net-misc/dibbler/metadata.xml b/net-misc/dibbler/metadata.xml
new file mode 100644
index 000000000000..1691ae8336f9
--- /dev/null
+++ b/net-misc/dibbler/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>gmsoft@gentoo.org</email></maintainer>
+</pkgmetadata>