# ChangeLog for net-p2p/gnunet
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.51 2007/01/10 18:46:10 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.52 2007/01/12 21:10:03 armin76 Exp $
+
+*gnunet-0.7.0e (12 Jan 2007)
+
+ 12 Jan 2007; Raúl Porcel <armin76@gentoo.org> +gnunet-0.7.0e.ebuild:
+ Version bump, bug 134198
10 Jan 2007; Piotr Jaroszyński <peper@gentoo.org> Manifest:
Fix Manifest.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gnunet 805 RMD160 7b464895de53b299b2ba0779e14fb7f85fe47697 SHA1 fc72f946add2a03eb1577181f43671d416e94ef8 SHA256 657e8add8f4118f6e6cb5dd32a3e43b7965ef9f465d834a971ce1d7a32282a5f
MD5 6113da0c1798ff38d8d4c1fd4c9dfbb6 files/gnunet 805
RMD160 7b464895de53b299b2ba0779e14fb7f85fe47697 files/gnunet 805
SHA256 9271f7bd4c40d26b10984b4f3b077eb1c8401a9ea7e78f12dcd374b4ec2f7482 files/gnunet-ipv6-gentoo.patch 1891
DIST GNUnet-0.6.2b.tar.bz2 980714 RMD160 6bcf1f1a12b1a15c745bea1fbe0c77f450613907 SHA1 258c8cd3574f6b61fea45c323b0ae5b1e0d0639d SHA256 015dc02aef8ea748723829d27b76c03fe48dc685082e858a9f48bcdf493d02e4
DIST GNUnet-0.7.0d.tar.bz2 1371958 RMD160 b00d19a326ca0ae92641b89d3039f02782b286d6 SHA1 9b9d004c45b59b2176651713927da1d6b504e28a SHA256 990c00d41cb31b52ca30e54ad833327e73f22eca602fdb374bbf1e3eebe0ee33
+DIST GNUnet-0.7.0e.tar.bz2 1405884 RMD160 210a6a4eee385f76f4bc34816fe7e15812f8a227 SHA1 bb13eeeb057f18fe9f226630e5cf30f2d6296e2d SHA256 eea28505a825ce7404300c9dae25a7ebefbc681fc32082db0f92191ab7e14f18
EBUILD gnunet-0.6.2b.ebuild 1607 RMD160 5f5c3a622e2db75b03a03641d63e633680c4ca24 SHA1 21b9f3a9e73b0303e1375e501182d7e04d0e61bf SHA256 94fd30976ec7911bd8637a7031a5b8ef4f4604912d060ff99fdcd9edf9aa4375
MD5 735e6b14010d8ebd8b2f61cc8d53a03b gnunet-0.6.2b.ebuild 1607
RMD160 5f5c3a622e2db75b03a03641d63e633680c4ca24 gnunet-0.6.2b.ebuild 1607
MD5 48f0e02649513829396076ef82e36fd2 gnunet-0.7.0d-r1.ebuild 3165
RMD160 c6f25daf5ca883a3a3cf29954dcdccd23ad44e59 gnunet-0.7.0d-r1.ebuild 3165
SHA256 7142fdb509c5294b88692cd296cce9bd9caef44a2092b6ad9f08d64bfc7e0870 gnunet-0.7.0d-r1.ebuild 3165
-MISC ChangeLog 8113 RMD160 d0d47bf81d5f6d80cfb1da92537e5d2d2276605f SHA1 deb050f8975ba26d4e9dfefc094005d7fd42d1f5 SHA256 8f7ea91aa93b1a666851704707a553cc0f8786e25ed3dbf2d1f8200ced4a5fc4
-MD5 0aca6c4c65fc692cff783d51318784b2 ChangeLog 8113
-RMD160 d0d47bf81d5f6d80cfb1da92537e5d2d2276605f ChangeLog 8113
-SHA256 8f7ea91aa93b1a666851704707a553cc0f8786e25ed3dbf2d1f8200ced4a5fc4 ChangeLog 8113
+EBUILD gnunet-0.7.0e.ebuild 3126 RMD160 662c3b81bd5e7ce0defbd5e13e7aa9d4b31b388b SHA1 9c1a2036c1625943d1341fcf62a325dfeaf3dc71 SHA256 f628f497b5634b73b60e18b454d0fd8b26e187fb16d5f0435af9065775d678a2
+MD5 720d36a87c8c60488e87632f2fb28c14 gnunet-0.7.0e.ebuild 3126
+RMD160 662c3b81bd5e7ce0defbd5e13e7aa9d4b31b388b gnunet-0.7.0e.ebuild 3126
+SHA256 f628f497b5634b73b60e18b454d0fd8b26e187fb16d5f0435af9065775d678a2 gnunet-0.7.0e.ebuild 3126
+MISC ChangeLog 8245 RMD160 ac4f017e1fb4e5bce589c6fee729df82e90c0c8e SHA1 28aec7b2f4ef21669d2c0c7b8add7567a252f7e6 SHA256 4f210538177fc0e8005334ef2dd25bd2dc1d7e11ea44aab3e6f0f488031786a5
+MD5 067f6e7730f33992b0fb0f1817b7b58e ChangeLog 8245
+RMD160 ac4f017e1fb4e5bce589c6fee729df82e90c0c8e ChangeLog 8245
+SHA256 4f210538177fc0e8005334ef2dd25bd2dc1d7e11ea44aab3e6f0f488031786a5 ChangeLog 8245
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
MD5 537107f4b66dea38ea029113603e8de7 files/digest-gnunet-0.7.0d-r1 247
RMD160 45d0ebeb08c6fa5584b247089f1d2dc6cac8737d files/digest-gnunet-0.7.0d-r1 247
SHA256 5a0df1570db2a84cf81a2232e7445616f6c132f41e6eb0c16849592f4c3c903e files/digest-gnunet-0.7.0d-r1 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFpTR5ppoStNGKGywRAlS4AKDQz/wCo3l/F9PHVhLQbvw8Pi7zMwCgzmyr
-xL1qMyluqeBQwLFfGnV1Z3U=
-=nqHX
------END PGP SIGNATURE-----
+MD5 b9b9cff3cf80dde53786b0ed5cfcd72f files/digest-gnunet-0.7.0e 247
+RMD160 6cf5276e62cdb9c843676f3e5b949ce48bffe120 files/digest-gnunet-0.7.0e 247
+SHA256 04016c3b8db61048cb96a4047af07f98402beab567148ebe0d80e037248cb372 files/digest-gnunet-0.7.0e 247
--- /dev/null
+MD5 774c00477a14341935b5706da8134179 GNUnet-0.7.0e.tar.bz2 1405884
+RMD160 210a6a4eee385f76f4bc34816fe7e15812f8a227 GNUnet-0.7.0e.tar.bz2 1405884
+SHA256 eea28505a825ce7404300c9dae25a7ebefbc681fc32082db0f92191ab7e14f18 GNUnet-0.7.0e.tar.bz2 1405884
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.7.0e.ebuild,v 1.1 2007/01/12 21:10:03 armin76 Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils autotools
+
+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"
+#tests don't work
+RESTRICT="test"
+
+IUSE="ipv6 mysql sqlite guile ncurses nls gtk"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=dev-libs/libgcrypt-1.2.0
+ >=media-libs/libextractor-0.5.13
+ >=dev-libs/gmp-4.0.0
+ sys-libs/zlib
+ gtk? ( >=x11-libs/gtk+-2.6.10 )
+ sys-apps/sed
+ ncurses? ( sys-libs/ncurses )
+ mysql? ( >=virtual/mysql-4.0 )
+ sqlite? ( >=dev-db/sqlite-3.0.8 )
+ guile? ( >=dev-scheme/guile-1.6.0 )
+ 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 gnunet || die "Problem adding gnunet group"
+ enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet 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
+
+ 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
+
+ use mysql || myconf="${myconf} --without-mysql"
+
+ econf \
+ $(use_with sqlite) \
+ $(use_enable nls) \
+ $(use_enable ncurses) \
+ $(use_enable guile) \
+ ${myconf} || die "econf failed"
+
+ emake -j1 || 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}/${PN}-2 gnunet
+ dodir /var/lib/GNUnet
+ chown gnunet:gnunet ${D}/var/lib/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 "To configure"
+ einfo " 1) Add user(s) to the gnunet group"
+ einfo " 2) Run 'gnunet-setup' to generate your client config file"
+ einfo " 3) Run gnunet-setup -d to generate a server config file"
+ einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and"
+ einfo "\tuse as a global server config file:"
+ einfo "$ gnunet-setup -d"
+ einfo "# cp ~/.gnunet/gnunetd.conf /etc/"
+ einfo
+}
+