Initial import. Ebuild made by Tomasz Mrugalski <thomson@klub.com.pl>.
authorGuy Martin <gmsoft@gentoo.org>
Tue, 20 Sep 2005 07:53:59 +0000 (07:53 +0000)
committerGuy Martin <gmsoft@gentoo.org>
Tue, 20 Sep 2005 07:53:59 +0000 (07:53 +0000)
Package-Manager: portage-2.0.51.22-r2

net-misc/dibbler/ChangeLog [new file with mode: 0644]
net-misc/dibbler/Manifest [new file with mode: 0644]
net-misc/dibbler/dibbler-0.4.1.ebuild [new file with mode: 0644]
net-misc/dibbler/files/dibbler-client [new file with mode: 0644]
net-misc/dibbler/files/dibbler-relay [new file with mode: 0644]
net-misc/dibbler/files/dibbler-server [new file with mode: 0644]
net-misc/dibbler/files/digest-dibbler-0.4.1 [new file with mode: 0644]
net-misc/dibbler/metadata.xml [new file with mode: 0644]

diff --git a/net-misc/dibbler/ChangeLog b/net-misc/dibbler/ChangeLog
new file mode 100644 (file)
index 0000000..f8c1bac
--- /dev/null
@@ -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 (file)
index 0000000..cc87a99
--- /dev/null
@@ -0,0 +1,7 @@
+MD5 3eb192e81f6a38f8c1bddfa85f69ec45 ChangeLog 465
+MD5 31508375d60731e83c03bd5cf19cd8b8 dibbler-0.4.1.ebuild 1457
+MD5 bbb94d56dd1c61e150293ce213bb61e1 metadata.xml 218
+MD5 f4f93d6cec932f44908ea817b2306213 files/digest-dibbler-0.4.1 140
+MD5 ef5ae7d52342350eab3c684d8aa3dbe0 files/dibbler-client 465
+MD5 c584858dc5d5056fdae143114c65a211 files/dibbler-relay 458
+MD5 2102046a4e21f60ef9bee94a0dc5330c files/dibbler-server 465
diff --git a/net-misc/dibbler/dibbler-0.4.1.ebuild b/net-misc/dibbler/dibbler-0.4.1.ebuild
new file mode 100644 (file)
index 0000000..13c76c4
--- /dev/null
@@ -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 (file)
index 0000000..a1cf5b5
--- /dev/null
@@ -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 (file)
index 0000000..13c4e16
--- /dev/null
@@ -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 (file)
index 0000000..e5a042d
--- /dev/null
@@ -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 (file)
index 0000000..74379b4
--- /dev/null
@@ -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 (file)
index 0000000..1691ae8
--- /dev/null
@@ -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>