diff options
author | Marcin Kryczek <mkay@gentoo.org> | 2006-01-13 13:22:45 +0000 |
---|---|---|
committer | Marcin Kryczek <mkay@gentoo.org> | 2006-01-13 13:22:45 +0000 |
commit | dcca1f5dfdd90d2678c3bf5971701a040a259c55 (patch) | |
tree | 554f7ee7e3bcdaac350b75648e5aa7b3a196a485 /net-p2p | |
parent | added self to metadata.xml (diff) | |
download | historical-dcca1f5dfdd90d2678c3bf5971701a040a259c55.tar.gz historical-dcca1f5dfdd90d2678c3bf5971701a040a259c55.tar.bz2 historical-dcca1f5dfdd90d2678c3bf5971701a040a259c55.zip |
Version bump
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/gnunet/ChangeLog | 9 | ||||
-rw-r--r-- | net-p2p/gnunet/Manifest | 26 | ||||
-rw-r--r-- | net-p2p/gnunet/files/digest-gnunet-0.7.0a | 1 | ||||
-rw-r--r-- | net-p2p/gnunet/gnunet-0.7.0a.ebuild | 114 |
4 files changed, 136 insertions, 14 deletions
diff --git a/net-p2p/gnunet/ChangeLog b/net-p2p/gnunet/ChangeLog index 8c4b2242058d..1d082b5f2991 100644 --- a/net-p2p/gnunet/ChangeLog +++ b/net-p2p/gnunet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/gnunet -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.42 2005/10/02 04:20:39 weeve Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.43 2006/01/13 13:22:45 mkay Exp $ + +*gnunet-0.7.0a (13 Jan 2006) + + 13 Jan 2006; Marcin Kryczek <mkay@gentoo.org> +gnunet-0.7.0a.ebuild: + Version bump 02 Oct 2005; Jason Wever <weeve@gentoo.org> gnunet-0.7.0-r2.ebuild: Added ~sparc keyword. diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest index dcb5fe3c4f9a..02b624cdb75f 100644 --- a/net-p2p/gnunet/Manifest +++ b/net-p2p/gnunet/Manifest @@ -1,19 +1,21 @@ -MD5 16f4cde038dc0cd6ee7b875a71f623f6 ChangeLog 6744 -MD5 3d78de0ed5d6b9f64a9f638fe2b94e66 gnunet-0.6.2b.ebuild 1611 -MD5 54bf4182ef80c96144126d4872202b60 gnunet-0.6.6b.ebuild 2391 -MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 -MD5 3f1cee68cfeffdb201bb272c3cce4d58 gnunet-0.6.6b-r1.ebuild 2498 -MD5 e5786c00cf6fbfa84ea9e4e00b36db2f gnunet-0.7.0.ebuild 2328 -MD5 bfa2fa1c39467cbb467197f62ce707ce gnunet-0.7.0-r1.ebuild 2730 -MD5 6f0a68bbed8062c3398591a191e76f82 gnunet-0.7.0-r2.ebuild 3010 -MD5 603beec85d7bde0052ceaeb0e5aae7e8 files/digest-gnunet-0.7.0-r1 66 +MD5 ad18c3739ef802a537ca926bd2b6d631 ChangeLog 6860 MD5 d4a748c8e3536c6691b63794f7c17639 files/digest-gnunet-0.6.2b 66 MD5 3f90482aa89d1669318f7ec7de1943a3 files/digest-gnunet-0.6.6b 67 +MD5 3f90482aa89d1669318f7ec7de1943a3 files/digest-gnunet-0.6.6b-r1 67 +MD5 603beec85d7bde0052ceaeb0e5aae7e8 files/digest-gnunet-0.7.0 66 +MD5 603beec85d7bde0052ceaeb0e5aae7e8 files/digest-gnunet-0.7.0-r1 66 +MD5 603beec85d7bde0052ceaeb0e5aae7e8 files/digest-gnunet-0.7.0-r2 66 +MD5 48c64a0850a88f65b0e1a80f55891db6 files/digest-gnunet-0.7.0a 67 MD5 6113da0c1798ff38d8d4c1fd4c9dfbb6 files/gnunet 805 MD5 6ac0938893978d5f2bc22bf808bc0fe3 files/gnunet-0.6.6b 794 MD5 a38f2ed0178c5ebc09e4f5fc2c3baddd files/gnunet-0.6.6b-autotools.patch 2065 MD5 7e0bb86547b0ad5e7744374d32c124f8 files/gnunet-download-manager.scm 13338 -MD5 3f90482aa89d1669318f7ec7de1943a3 files/digest-gnunet-0.6.6b-r1 67 MD5 53aa63a0ddf902a57c6ac427560b9664 files/gnunet-ipv6-gentoo.patch 1891 -MD5 603beec85d7bde0052ceaeb0e5aae7e8 files/digest-gnunet-0.7.0 66 -MD5 603beec85d7bde0052ceaeb0e5aae7e8 files/digest-gnunet-0.7.0-r2 66 +MD5 3d78de0ed5d6b9f64a9f638fe2b94e66 gnunet-0.6.2b.ebuild 1611 +MD5 3f1cee68cfeffdb201bb272c3cce4d58 gnunet-0.6.6b-r1.ebuild 2498 +MD5 54bf4182ef80c96144126d4872202b60 gnunet-0.6.6b.ebuild 2391 +MD5 bfa2fa1c39467cbb467197f62ce707ce gnunet-0.7.0-r1.ebuild 2730 +MD5 6f0a68bbed8062c3398591a191e76f82 gnunet-0.7.0-r2.ebuild 3010 +MD5 e5786c00cf6fbfa84ea9e4e00b36db2f gnunet-0.7.0.ebuild 2328 +MD5 eaeccc03b422f62e8e6c984606c75766 gnunet-0.7.0a.ebuild 2999 +MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 diff --git a/net-p2p/gnunet/files/digest-gnunet-0.7.0a b/net-p2p/gnunet/files/digest-gnunet-0.7.0a new file mode 100644 index 000000000000..2147e15b2106 --- /dev/null +++ b/net-p2p/gnunet/files/digest-gnunet-0.7.0a @@ -0,0 +1 @@ +MD5 1793fa431f8e2c8d9b1880d48f72f987 GNUnet-0.7.0a.tar.bz2 1305007 diff --git a/net-p2p/gnunet/gnunet-0.7.0a.ebuild b/net-p2p/gnunet/gnunet-0.7.0a.ebuild new file mode 100644 index 000000000000..dfb7f75412eb --- /dev/null +++ b/net-p2p/gnunet/gnunet-0.7.0a.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.7.0a.ebuild,v 1.1 2006/01/13 13:22:45 mkay 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 mysql sqlite guile nls gtk" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=dev-libs/libgcrypt-1.2.0 + >=media-libs/libextractor-0.5.4 + >=dev-libs/gmp-4.0.0 + sys-libs/zlib + gtk? ( >=x11-libs/gtk+-2.6.10 ) + sys-apps/sed + ncurses? ( sys-libs/ncurses ) + mysql? ( >=dev-db/mysql-4.0.24 ) + sqlite? ( >=dev-db/sqlite-3.0.8 ) + guile? ( >=dev-util/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 + autoconf || die "autoconf failed" + libtoolize --copy --force + fi +} + +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}/${P} 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 use as a global server config file" + einfo +} + |