summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-07-11 10:18:52 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-07-11 10:18:52 +0000
commit02eb5d9f9af540ebabaee6145637724f0b5878e2 (patch)
tree4d7b961bcbea3cdf061f72aa4d48833e2e08f092 /net-p2p
parentadd multilib check (diff)
downloadhistorical-02eb5d9f9af540ebabaee6145637724f0b5878e2.tar.gz
historical-02eb5d9f9af540ebabaee6145637724f0b5878e2.tar.bz2
historical-02eb5d9f9af540ebabaee6145637724f0b5878e2.zip
Version bump wrt #230347
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gnunet-gtk/Manifest4
-rw-r--r--net-p2p/gnunet/ChangeLog7
-rw-r--r--net-p2p/gnunet/Manifest4
-rw-r--r--net-p2p/gnunet/gnunet-0.8.0.ebuild104
4 files changed, 116 insertions, 3 deletions
diff --git a/net-p2p/gnunet-gtk/Manifest b/net-p2p/gnunet-gtk/Manifest
index 68f2ce447f3b..d9177be6ff34 100644
--- a/net-p2p/gnunet-gtk/Manifest
+++ b/net-p2p/gnunet-gtk/Manifest
@@ -1,4 +1,6 @@
DIST gnunet-gtk-0.7.3.tar.bz2 709939 RMD160 8695a00f89e1edc927a51c96ee69e65ca8f3af6e SHA1 db91e483ea326100c85a188bdce8a76e8155d843 SHA256 034e21a130d1dcfb1a27d57a7e0f879b8a58a3d739c1c5ee6d2c0b3865896e1d
+DIST gnunet-gtk-0.8.0.tar.bz2 804666 RMD160 5976b99be4185dc796443f7028ce564bec005070 SHA1 1ae0b8d56ee31fe522ce739dd934d6621bf5672e SHA256 8c367f3ec77dcb44571eb840a5209deb7d160ef31639b338b655b8944fb83786
EBUILD gnunet-gtk-0.7.3.ebuild 674 RMD160 80e2128978218474912ab08c56b66777a2d379ae SHA1 a9dc5a77f43070b9e70ff172459f0b507e2ea699 SHA256 b9d290316206cbde62f7a31688cfa4cec105464a23a447baf537de77fbd26439
-MISC ChangeLog 1779 RMD160 9b1e4f64227b40459537b64d3f75469244537589 SHA1 f119b7452a88eb2b89dc1332c00683ffc7529bbc SHA256 909666efda51f2f3d8e917da58e46fc9150b760040b540de0c8589cb3b416f93
+EBUILD gnunet-gtk-0.8.0.ebuild 674 RMD160 2cb36533f5e3f60524ee35e0200b6f021b752450 SHA1 3ee06b4b2cbaf052d00354bf9f62c73ebb19f452 SHA256 bd73222864c967b053c4c285b6b27c438d2c64308433ec265e49622f6dd57ec8
+MISC ChangeLog 1903 RMD160 255fceba3c7fab615cad96de33ee783bf5697590 SHA1 7202a431dd00cee0f6f0014e3370cb6196594dfc SHA256 8426acfcb50b432188ee006aaa411165d18b1d51e75c89d6a0a99d3114619d1b
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
diff --git a/net-p2p/gnunet/ChangeLog b/net-p2p/gnunet/ChangeLog
index d4dbdbc75b0a..348297a30961 100644
--- a/net-p2p/gnunet/ChangeLog
+++ b/net-p2p/gnunet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/gnunet
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.64 2008/06/30 16:09:45 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.65 2008/07/11 10:18:52 armin76 Exp $
+
+*gnunet-0.8.0 (11 Jul 2008)
+
+ 11 Jul 2008; Raúl Porcel <armin76@gentoo.org> +gnunet-0.8.0.ebuild:
+ Version bump wrt #230347
30 Jun 2008; Raúl Porcel <armin76@gentoo.org>
+files/0.7.3-configure.patch, +files/0.7.3-libtool.patch,
diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest
index 03e9dbf9c4ed..5658e606ed49 100644
--- a/net-p2p/gnunet/Manifest
+++ b/net-p2p/gnunet/Manifest
@@ -2,6 +2,8 @@ AUX 0.7.3-configure.patch 520 RMD160 2153ddc2a34ff30350706b1c9ce29d3f382ec438 SH
AUX 0.7.3-libtool.patch 422 RMD160 a2d989a6b89d33cf023179be5725be22e80c9885 SHA1 b34499932830bdcf711d95c7312dce3ddc818699 SHA256 14909ee0d964c62d3ea102db37100dd22f8dcdba9d70c8610380ef879a26fc52
AUX gnunet.initd 643 RMD160 434eb6752143fbb600f96a58ed7c5ba1a47e654d SHA1 de7f208ce286a05310551a35345b2f02f5712831 SHA256 c6748f137d7c808685a741617e1449024bcb37dcfc11e883d859f5e0134744a6
DIST GNUnet-0.7.3.tar.bz2 1687898 RMD160 df986c0f4dccf5ae64a65e54fc0837d77f7f9387 SHA1 4ceffe6126caeeb478f18a1e29110fa852e3826f SHA256 378ea16fdd8b43d0c002a9c2bd4bcb878b60b61608838cd329821d5ffded25b7
+DIST GNUnet-0.8.0.tar.bz2 1689291 RMD160 7e83e0ab94b341b28435bc740eb7d962d99d266c SHA1 870658b4032e513ff5abe236b5c4a825535a87af SHA256 14a05df11ee8dafb7623592cf703cc4b89d8df362b57a7a5c039a542cd9d504d
EBUILD gnunet-0.7.3-r1.ebuild 2825 RMD160 4626f728c1ac5d35bd67622cb8a1e58d5383e922 SHA1 82500554919a17fbe37e053e1876af7718c1aced SHA256 40e820ae4ba9488d6c638b8ca3601192a06c3ec14fe2cbed1aeec7fedc751eb7
-MISC ChangeLog 10363 RMD160 359e95c9d4b2ffbb4708eb827a21bfde872f554f SHA1 4f5456f364ef289f1f373f22d46c37222c653e45 SHA256 dff73f36e18bf9485540ce572f4b99d7a03b1a0180259e5a8576d79499c0295f
+EBUILD gnunet-0.8.0.ebuild 2736 RMD160 e8199718e4ae453f9645eada312c798764104d6a SHA1 ff0883a0b6e53a6ff8c58abc3792ca6ba67ef02a SHA256 b6739856f7a147f953dd8ec6d5d76cbd0890c9ee189d3ffacd1ae695c8aadc8c
+MISC ChangeLog 10491 RMD160 866bcb1b68b6de837a4129eb77f893d68834c01b SHA1 f95b78d854bb85a1e1474c14b949d46e801d1bdd SHA256 3f66e70726d6403d28215f88edf9edf30c02a956c7e329738b77b2119c98045a
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
diff --git a/net-p2p/gnunet/gnunet-0.8.0.ebuild b/net-p2p/gnunet/gnunet-0.8.0.ebuild
new file mode 100644
index 000000000000..5bffaba3e25b
--- /dev/null
+++ b/net-p2p/gnunet/gnunet-0.8.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.0.ebuild,v 1.1 2008/07/11 10:18:52 armin76 Exp $
+
+inherit eutils autotools
+
+S="${WORKDIR}/GNUnet-${PV}"
+DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network."
+HOMEPAGE="http://gnunet.org/"
+SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2"
+#tests don't work
+RESTRICT="test"
+
+IUSE="ipv6 mysql sqlite ncurses nls gtk"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=dev-libs/libgcrypt-1.2.0
+ >=media-libs/libextractor-0.5.18a
+ >=dev-libs/gmp-4.0.0
+ gnome-base/libglade
+ sys-libs/zlib
+ net-misc/curl
+ gtk? ( >=x11-libs/gtk+-2.6.10 )
+ sys-apps/sed
+ >=dev-scheme/guile-1.8.0
+ ncurses? ( sys-libs/ncurses )
+ mysql? ( >=virtual/mysql-4.0 )
+ sqlite? ( >=dev-db/sqlite-3.0.8 )
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ if ! use mysql && ! use sqlite; then
+ einfo
+ einfo "You need to specify at least one of 'mysql' or 'sqlite'"
+ einfo "USE flag in order to have properly installed gnunet"
+ einfo
+ die "Invalid USE flag set"
+ fi
+}
+
+pkg_preinst() {
+ enewgroup gnunetd || die "Problem adding gnunetd group"
+ enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # make mysql default sqstore if we do not compile sql support
+ # (bug #107330)
+ ! use sqlite && \
+ sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \
+ contrib/config-daemon.in
+
+ # we do not want to built gtk support with USE=-gtk
+ if ! use gtk ; then
+ sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac
+ fi
+
+ AT_M4DIR="${S}/m4" eautoreconf
+}
+
+src_compile() {
+ local myconf
+
+ use mysql || myconf="${myconf} --without-mysql"
+
+ econf \
+ $(use_with sqlite) \
+ $(use_enable ipv6) \
+ $(use_enable nls) \
+ $(use_enable ncurses) \
+ ${myconf} || die "econf failed"
+
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" -j1 install || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING
+ insinto /etc
+ newins contrib/gnunet.root gnunet.conf
+ docinto contrib
+ dodoc contrib/*
+ newinitd "${FILESDIR}"/${PN}.initd gnunet
+ dodir /var/lib/gnunet
+ chown gnunetd:gnunetd "${D}"/var/lib/gnunet
+}
+
+pkg_postinst() {
+ # make sure permissions are ok
+ chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet
+
+ use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs"
+ einfo
+ einfo "To configure"
+ einfo " 1) Add user(s) to the gnunetd group"
+ einfo " 2) Run 'gnunet-setup' to generate your client config file"
+ einfo " 3) Run gnunet-setup -d as root to generate a server config file"
+ einfo
+}