summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gentoo.org>2011-04-11 19:23:24 +0000
committerStanislav Ochotnicky <sochotnicky@gentoo.org>2011-04-11 19:23:24 +0000
commitddeceb5bb3c3dfd075d9dc0e6d931b6ddc0a8426 (patch)
treea92a395802b09b380a6d548ab2bb2c62e180f8fe /net-p2p/gnunet
parentVersion bump. Switch to EAPI 4. Add static-libs USE flag. (diff)
downloadgentoo-2-ddeceb5bb3c3dfd075d9dc0e6d931b6ddc0a8426.tar.gz
gentoo-2-ddeceb5bb3c3dfd075d9dc0e6d931b6ddc0a8426.tar.bz2
gentoo-2-ddeceb5bb3c3dfd075d9dc0e6d931b6ddc0a8426.zip
Removed obsoleted ~arch packages
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/gnunet')
-rw-r--r--net-p2p/gnunet/ChangeLog6
-rw-r--r--net-p2p/gnunet/gnunet-0.8.0.ebuild106
-rw-r--r--net-p2p/gnunet/gnunet-0.8.1.ebuild100
3 files changed, 5 insertions, 207 deletions
diff --git a/net-p2p/gnunet/ChangeLog b/net-p2p/gnunet/ChangeLog
index 78aa42ab5e06..1142f57dd14d 100644
--- a/net-p2p/gnunet/ChangeLog
+++ b/net-p2p/gnunet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/gnunet
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.72 2011/03/28 14:24:51 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.73 2011/04/11 19:23:24 sochotnicky Exp $
+
+ 11 Apr 2011; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ -gnunet-0.8.0.ebuild, -gnunet-0.8.1.ebuild:
+ Removed obsoleted ~arch packages
28 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
gnunet-0.7.3-r1.ebuild, gnunet-0.8.0.ebuild, gnunet-0.8.1.ebuild,
diff --git a/net-p2p/gnunet/gnunet-0.8.0.ebuild b/net-p2p/gnunet/gnunet-0.8.0.ebuild
deleted file mode 100644
index e4f980078cd1..000000000000
--- a/net-p2p/gnunet/gnunet-0.8.0.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2011 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.3 2011/03/28 14:24:51 nirbheek Exp $
-
-EAPI="1"
-
-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:2.0
- sys-libs/zlib
- net-misc/curl
- gtk? ( >=x11-libs/gtk+-2.6.10:2 )
- 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:3 )
- 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
- enewuser gnunetd -1 -1 /dev/null gnunetd
-}
-
-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
-}
diff --git a/net-p2p/gnunet/gnunet-0.8.1.ebuild b/net-p2p/gnunet/gnunet-0.8.1.ebuild
deleted file mode 100644
index 7e15f705037d..000000000000
--- a/net-p2p/gnunet/gnunet-0.8.1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.3 2011/03/28 14:24:51 nirbheek Exp $
-
-EAPI=2
-
-inherit autotools eutils
-
-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.gz"
-#tests don't work
-RESTRICT="test"
-
-IUSE="gtk mysql nls +sqlite"
-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:2.0
- sys-libs/zlib
- net-misc/curl
- gtk? ( >=x11-libs/gtk+-2.6.10:2 )
- sys-apps/sed
- >=dev-scheme/guile-1.8.0
- sys-libs/ncurses
- mysql? ( >=virtual/mysql-4.0 )
- sqlite? ( >=dev-db/sqlite-3.0.8:3 )
- 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
- enewuser gnunetd -1 -1 /dev/null gnunetd
-}
-
-src_prepare() {
- # make mysql default sqstore if we do not compile sqlite 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
-
- epatch "${FILESDIR}"/${PV}-asneeded.patch
- epatch "${FILESDIR}"/${PV}-parallel-build.patch
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- use mysql || myconf="${myconf} --without-mysql"
-
- econf \
- $(use_with sqlite) \
- $(use_enable nls) \
- ${myconf} || die "econf failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README UPDATING || die
- insinto /etc
- newins contrib/gnunet.conf gnunet.conf
- docinto contrib
- dodoc contrib/* || die
- 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
-
- 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
-}