diff options
author | 2011-09-06 22:39:07 +0300 | |
---|---|---|
committer | 2011-09-06 22:39:07 +0300 | |
commit | 2ad429fbb35b56b13c4011733d7430cbd8c91ee9 (patch) | |
tree | 286394e63e650d97678c7a55e0f1c25e4817ef15 | |
parent | apply patch from bug #379439. Bug #377805 (diff) | |
download | hwoarang-2ad429fbb35b56b13c4011733d7430cbd8c91ee9.tar.gz hwoarang-2ad429fbb35b56b13c4011733d7430cbd8c91ee9.tar.bz2 hwoarang-2ad429fbb35b56b13c4011733d7430cbd8c91ee9.zip |
dibbler: Version bump to 0.8.0
-rw-r--r-- | net-misc/dibbler/Manifest | 6 | ||||
-rw-r--r-- | net-misc/dibbler/dibbler-0.8.0.ebuild | 64 | ||||
-rw-r--r-- | net-misc/dibbler/files/CVS/Entries | 5 | ||||
-rw-r--r-- | net-misc/dibbler/files/CVS/Repository | 1 | ||||
-rw-r--r-- | net-misc/dibbler/files/CVS/Root | 1 | ||||
-rw-r--r-- | net-misc/dibbler/files/dibbler-client | 20 | ||||
-rw-r--r-- | net-misc/dibbler/files/dibbler-gcc-4.1.patch | 80 | ||||
-rw-r--r-- | net-misc/dibbler/files/dibbler-relay | 20 | ||||
-rw-r--r-- | net-misc/dibbler/files/dibbler-server | 20 |
9 files changed, 217 insertions, 0 deletions
diff --git a/net-misc/dibbler/Manifest b/net-misc/dibbler/Manifest new file mode 100644 index 0000000..39468e5 --- /dev/null +++ b/net-misc/dibbler/Manifest @@ -0,0 +1,6 @@ +AUX dibbler-client 465 RMD160 9759e5829ffb125d94e7cfcdeb74941614fbc5b1 SHA1 bd0024eca4b4235ecb284ffdf02e6ff9b5fe674e SHA256 c0df2b8ea3968f1cd9edeeb20db3e65007b99cf52fb63a881308e9bea7849f34 +AUX dibbler-gcc-4.1.patch 3060 RMD160 19f2e33883a25de72a51b8b4ef4ddb39df3550a2 SHA1 8764f2172a8b1345851614709a32e1150b84d672 SHA256 1aa53cfabc920d53595ce33da6d6442bad19497927fa92cd20df758feae31b8e +AUX dibbler-relay 458 RMD160 58a786468cf2dd2a74a3c3ba45d4263fee375e5d SHA1 2e1d26b5c794cebeb7464713a742726e0ce86b9e SHA256 8776df7bd9a016e6f41f67e89a4ecc44720717f7a3ca0a528550bf3739339a2a +AUX dibbler-server 465 RMD160 2ee301223a9509958b7f8d0fe940b6fd89735f84 SHA1 01b025b7b8efaedf755f218a978ee500180283b8 SHA256 dfa7249acf9240737e3150fe7243dbc5871507ad48973b5fe641172a6a3537ea +DIST dibbler-0.8.0-src.tar.gz 3663766 RMD160 cc600fca18f490522903957969e7b47f6b12d7c4 SHA1 5638e46d95a06a2bdcb05880bf45e8856f472d71 SHA256 fc3ce676b19353cbf30c206c32a6f2085e16dcd31a2dd8464883587779651eed +EBUILD dibbler-0.8.0.ebuild 1640 RMD160 2760406834ba14a51048be9ee70eae929e461865 SHA1 09835360a54e460d665f04c605356127b4fb6819 SHA256 7bca73d8e47356cc5cfb172f7491a94d24a34e244187057a6f97458967c62b1f diff --git a/net-misc/dibbler/dibbler-0.8.0.ebuild b/net-misc/dibbler/dibbler-0.8.0.ebuild new file mode 100644 index 0000000..55495ca --- /dev/null +++ b/net-misc/dibbler/dibbler-0.8.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-0.7.3.ebuild,v 1.1 2009/04/25 11:22:50 patrick Exp $ + +EAPI="4" + +inherit autotools eutils flag-o-matic toolchain-funcs + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~x86" +IUSE="doc" +DEPEND="" +RDEPEND="" + +DIBBLER_DOCDIR=${S}/doc + +src_prepare() { + # TODO: FIX ME! + append-ldflags $(no-as-needed) + sed -i \ + -e "s#CC ?= gcc#CC ?= $(tc-getCC)#g" \ + -e "s#CXX ?= g++#CXX ?= $(tc-getCXX)#g" \ + Makefile.inc || die "Patching Makefile.inc failed" + cd "${S}"/poslib + eautoreconf +} + +src_compile() { + emake -j1 +} + +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/CVS/Entries b/net-misc/dibbler/files/CVS/Entries new file mode 100644 index 0000000..83a097e --- /dev/null +++ b/net-misc/dibbler/files/CVS/Entries @@ -0,0 +1,5 @@ +/dibbler-client/1.1/Wed May 18 11:51:31 2011// +/dibbler-gcc-4.1.patch/1.1/Wed May 18 11:51:31 2011// +/dibbler-relay/1.1/Wed May 18 11:51:31 2011// +/dibbler-server/1.1/Wed May 18 11:51:31 2011// +D diff --git a/net-misc/dibbler/files/CVS/Repository b/net-misc/dibbler/files/CVS/Repository new file mode 100644 index 0000000..121d212 --- /dev/null +++ b/net-misc/dibbler/files/CVS/Repository @@ -0,0 +1 @@ +gentoo-x86/net-misc/dibbler/files diff --git a/net-misc/dibbler/files/CVS/Root b/net-misc/dibbler/files/CVS/Root new file mode 100644 index 0000000..94453ca --- /dev/null +++ b/net-misc/dibbler/files/CVS/Root @@ -0,0 +1 @@ +:ext:hwoarang@cvs.gentoo.org:/var/cvsroot diff --git a/net-misc/dibbler/files/dibbler-client b/net-misc/dibbler/files/dibbler-client new file mode 100644 index 0000000..a1cf5b5 --- /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-gcc-4.1.patch b/net-misc/dibbler/files/dibbler-gcc-4.1.patch new file mode 100644 index 0000000..e5b19d2 --- /dev/null +++ b/net-misc/dibbler/files/dibbler-gcc-4.1.patch @@ -0,0 +1,80 @@ +diff -ruN dibbler-0.4.1.orig/CfgMgr/CfgMgr.h dibbler-0.4.1/CfgMgr/CfgMgr.h +--- dibbler-0.4.1.orig/CfgMgr/CfgMgr.h 2006-05-14 02:45:22.000000000 -0500 ++++ dibbler-0.4.1/CfgMgr/CfgMgr.h 2006-05-14 02:49:20.000000000 -0500 +@@ -40,7 +40,7 @@ + { + public: + TCfgMgr(SmartPtr<TIfaceMgr> IfaceMgr); +- virtual TCfgMgr::~TCfgMgr(); ++ virtual ~TCfgMgr(); + + bool compareConfigs(const string cfgFile, const string oldCfgFile); + void copyFile(const string cfgFile, const string oldCfgFile); +diff -ruN dibbler-0.4.1.orig/ClntCfgMgr/ClntCfgMgr.h dibbler-0.4.1/ClntCfgMgr/ClntCfgMgr.h +--- dibbler-0.4.1.orig/ClntCfgMgr/ClntCfgMgr.h 2006-05-14 02:45:22.000000000 -0500 ++++ dibbler-0.4.1/ClntCfgMgr/ClntCfgMgr.h 2006-05-14 02:51:15.000000000 -0500 +@@ -66,7 +66,7 @@ + int countAddrForIA(long IAID); + + SmartPtr<TClntCfgGroup> getGroupForIA(long IAID); +- SmartPtr<TClntCfgIface> TClntCfgMgr::getIfaceByIAID(int iaid); ++ SmartPtr<TClntCfgIface> getIfaceByIAID(int iaid); + bool isDone(); + + private: +diff -ruN dibbler-0.4.1.orig/Makefile dibbler-0.4.1/Makefile +--- dibbler-0.4.1.orig/Makefile 2006-05-14 02:45:22.000000000 -0500 ++++ dibbler-0.4.1/Makefile 2006-05-14 02:53:38.000000000 -0500 +@@ -54,10 +54,10 @@ + -L$(SRVOPTIONS) -lSrvOptions \ + -L$(SRVTRANSMGR) -lSrvTransMgr \ + -L$(SRVCFGMGR) -lSrvCfgMgr \ +- -L$(CFGMGR) -lCfgMgr\ ++ -L$(CFGMGR) -lCfgMgr \ + -L$(SRVIFACEMGR) -lSrvIfaceMgr \ + -L$(IFACEMGR) -lIfaceMgr \ +- -L$(MISC) -lMisc\ ++ -L$(MISC) -lMisc \ + -lSrvIfaceMgr -lSrvMsg -lSrvCfgMgr \ + -L$(SRVADDRMGR) -lSrvAddrMgr \ + -lAddrMgr \ +@@ -81,10 +81,10 @@ + -L$(RELIFACEMGR) -lRelIfaceMgr \ + -L$(RELOPTIONS) -lRelOptions \ + -L$(RELMESSAGES) -lRelMsg \ +- -L$(LOWLEVEL) -lLowLevel\ +- -L$(CFGMGR) -lCfgMgr\ ++ -L$(LOWLEVEL) -lLowLevel \ ++ -L$(CFGMGR) -lCfgMgr \ + -L$(IFACEMGR) -lIfaceMgr \ +- -L$(MISC) -lMisc\ ++ -L$(MISC) -lMisc \ + -L$(MESSAGES) -lMsg \ + -L$(MISC) -lMisc \ + -L$(OPTIONS) -lOptions \ +diff -ruN dibbler-0.4.1.orig/Misc/DUID.h dibbler-0.4.1/Misc/DUID.h +--- dibbler-0.4.1.orig/Misc/DUID.h 2006-05-14 02:45:22.000000000 -0500 ++++ dibbler-0.4.1/Misc/DUID.h 2006-05-14 02:52:47.000000000 -0500 +@@ -38,8 +38,8 @@ + TDUID(char* Plain); // plain + TDUID(const TDUID &duid); + TDUID& operator=(const TDUID& duid); +- bool TDUID::operator==(const TDUID &duid); +- bool TDUID::operator<=(const TDUID &duid); ++ bool operator==(const TDUID &duid); ++ bool operator<=(const TDUID &duid); + int getLen(); + char * storeSelf(char* buf); + const string getPlain(); +diff -ruN dibbler-0.4.1.orig/Options/Opt.h dibbler-0.4.1/Options/Opt.h +--- dibbler-0.4.1.orig/Options/Opt.h 2006-05-14 02:45:22.000000000 -0500 ++++ dibbler-0.4.1/Options/Opt.h 2006-05-14 02:49:49.000000000 -0500 +@@ -41,7 +41,7 @@ + int getOptType(); + int getSubOptSize(); + +- char* TOpt::storeSubOpt(char* buf); ++ char* storeSubOpt(char* buf); + SmartPtr<TOpt> getOption(int optType); + + // suboptions management diff --git a/net-misc/dibbler/files/dibbler-relay b/net-misc/dibbler/files/dibbler-relay new file mode 100644 index 0000000..13c4e16 --- /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 0000000..e5a042d --- /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 $? +} |