diff options
author | Kristopher Kersey <augustus@gentoo.org> | 2005-04-01 16:10:24 +0000 |
---|---|---|
committer | Kristopher Kersey <augustus@gentoo.org> | 2005-04-01 16:10:24 +0000 |
commit | 64f5b118e922698729ebc9b3a8b37464821d6bba (patch) | |
tree | 586d3d705ef53fac28b7d4d5be419f2b3948bd26 /net-p2p/gnunet | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-64f5b118e922698729ebc9b3a8b37464821d6bba.tar.gz gentoo-2-64f5b118e922698729ebc9b3a8b37464821d6bba.tar.bz2 gentoo-2-64f5b118e922698729ebc9b3a8b37464821d6bba.zip |
New version of gnunet by request in Bug #59296. Untested but will submit back to bug for testing.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-p2p/gnunet')
-rw-r--r-- | net-p2p/gnunet/ChangeLog | 11 | ||||
-rw-r--r-- | net-p2p/gnunet/Manifest | 11 | ||||
-rw-r--r-- | net-p2p/gnunet/files/digest-gnunet-0.6.6b | 1 | ||||
-rw-r--r-- | net-p2p/gnunet/files/gnunet-0.6.6b | 31 | ||||
-rw-r--r-- | net-p2p/gnunet/gnunet-0.6.6b.ebuild | 80 |
5 files changed, 128 insertions, 6 deletions
diff --git a/net-p2p/gnunet/ChangeLog b/net-p2p/gnunet/ChangeLog index c50ff0c5814f..6727f3ce24c5 100644 --- a/net-p2p/gnunet/ChangeLog +++ b/net-p2p/gnunet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-p2p/gnunet -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.27 2004/08/09 02:58:22 squinky86 Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.28 2005/04/01 16:10:24 augustus Exp $ + +*gnunet-0.6.6b (01 Apr 2005) + + 01 Apr 2005; <augustus@gentoo.org> + +files/gnunet-0.6.6b, +gnunet-0.6.6b.ebuild: + New version of gnunet by request in Bug #59296. Untested but will submit + back to bug for testing. 08 Aug 2004; Jon Hood <squinky86@gentoo.org> -gnunet-0.6.2a.ebuild, gnunet-0.6.2b.ebuild: diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest index 3163b914a7dc..e1c6e0e66b87 100644 --- a/net-p2p/gnunet/Manifest +++ b/net-p2p/gnunet/Manifest @@ -1,8 +1,11 @@ -MD5 3d78de0ed5d6b9f64a9f638fe2b94e66 gnunet-0.6.2b.ebuild 1611 +MD5 22069c0950deaa4443992627cb5a0cc3 ChangeLog 4614 MD5 4f9226f4408ff37f868a8367513e9c56 gnunet-0.5.4-r1.ebuild 1260 -MD5 f5a828fdbe0f7f06b55933782085557b ChangeLog 4397 +MD5 3d78de0ed5d6b9f64a9f638fe2b94e66 gnunet-0.6.2b.ebuild 1611 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 -MD5 d4a748c8e3536c6691b63794f7c17639 files/digest-gnunet-0.6.2b 66 -MD5 6113da0c1798ff38d8d4c1fd4c9dfbb6 files/gnunet 805 +MD5 35a8830159c6a9174de44f696948d457 gnunet-0.6.6b.ebuild 2158 MD5 12b0bdd38d4a838fcc6d4e8b970870f5 files/digest-gnunet-0.5.4-r1 65 +MD5 d4a748c8e3536c6691b63794f7c17639 files/digest-gnunet-0.6.2b 66 MD5 7e0bb86547b0ad5e7744374d32c124f8 files/gnunet-download-manager.scm 13338 +MD5 6113da0c1798ff38d8d4c1fd4c9dfbb6 files/gnunet 805 +MD5 6ac0938893978d5f2bc22bf808bc0fe3 files/gnunet-0.6.6b 794 +MD5 3f90482aa89d1669318f7ec7de1943a3 files/digest-gnunet-0.6.6b 67 diff --git a/net-p2p/gnunet/files/digest-gnunet-0.6.6b b/net-p2p/gnunet/files/digest-gnunet-0.6.6b new file mode 100644 index 000000000000..467660b4348f --- /dev/null +++ b/net-p2p/gnunet/files/digest-gnunet-0.6.6b @@ -0,0 +1 @@ +MD5 dc04ecf7d1e7d4ccfde62fad101a301f GNUnet-0.6.6b.tar.bz2 1291441 diff --git a/net-p2p/gnunet/files/gnunet-0.6.6b b/net-p2p/gnunet/files/gnunet-0.6.6b new file mode 100644 index 000000000000..4d2da5e7c2f9 --- /dev/null +++ b/net-p2p/gnunet/files/gnunet-0.6.6b @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 +# description: Gnunet is an anonymous distributed secure network +# this server is required to connect to the network, +# it will open a TCP port to communicate with the +# GUI and an UDP port to communicate with the world. + +depend() { + need net +} + +start() { + ebegin "Starting GNUnet" + # -u username, -c path to gnunet.conf file + start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \ + -- -u gnunet -c /etc/gnunet.conf + eend $? "Failed to start GNUnet" +} + +stop() { + ebegin "Stopping GNUnet" + killall gnunetd + eend $? "Failed to stop GNUnet" +} + +restart() { + svc_stop + sleep 3 + svc_start +} diff --git a/net-p2p/gnunet/gnunet-0.6.6b.ebuild b/net-p2p/gnunet/gnunet-0.6.6b.ebuild new file mode 100644 index 000000000000..428d29a20289 --- /dev/null +++ b/net-p2p/gnunet/gnunet-0.6.6b.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.6.6b.ebuild,v 1.1 2005/04/01 16:10:24 augustus Exp $ + +inherit eutils libtool + +S="${WORKDIR}/GNUnet-${PV}" +DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." +HOMEPAGE="http://www.gnu.org/software/GNUnet/" +SRC_URI="mirror://gnu//${PN}/GNUnet-${PV}.tar.bz2" +RESTRICT="nomirror" + +IUSE="ipv6 gtk mysql sqlite" +KEYWORDS="~x86 ~ppc ~amd64" +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=sys-libs/gdbm-1.8.0 + >=dev-libs/libgcrypt-1.2.0 + gtk? ( >=x11-libs/gtk+-2.4.0 ) + mysql? ( >=dev-db/mysql-3.23-56 ) + sqlite? ( >=dev-db/sqlite-3.0.8 ) + sys-devel/gettext + >=media-libs/libextractor-0.3.1 + >=dev-libs/gmp-4.0.0" + +pkg_preinst() { + enewgroup gnunet || die "Problem adding gnunet group" + enewuser gnunet -1 /bin/false /dev/null gnunet || die "Problem adding gnunet user" +} + +src_compile() { + elibtoolize + + local myconf + use gtk || myconf="${myconf} --without-gtk" + use mysql && myconf="${myconf} --with-mysql" + use sqlite && myconf="${myconf} --with-sqlite" + + if use ipv6; then + if use amd64; then + ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" + else + myconf="${myconf} --enable-ipv6" + fi + fi + + econf ${myconf} || die "econf failed" + + emake || MAKEOPTS="${MAKEOPTS} -j1" emake || die "emake failed" +} + +src_install() { + make install DESTDIR=${D} || die "make install failed" + dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING + insinto /etc + newins contrib/gnunet.root gnunet.conf + docinto contrib + dodoc contrib/* + exeinto /etc/init.d + newexe ${FILESDIR}/gnunet-0.6.6b gnunet +} + +pkg_postinst() { + # make sure permissions are ok + chown -R gnunet:gnunet /var/lib/GNUnet + + use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" + einfo + einfo "If you want to run GNUnet as a user" + einfo "copy an appropriate config file from" + einfo "/usr/share/doc/${P}/contrib" + einfo "to ~/.gnunet/gnunet.conf" + einfo + einfo "It is also possible to run GNUnet as" + einfo "a system service. You can start it by" + einfo "running /etc/init.d/gnunet start" + einfo "The config file is in /etc/gnunet.conf" +} + |