public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-p2p/gnunet: ChangeLog gnunet-0.8.1.ebuild
@ 2010-01-28 11:48 Patrick Lauer (patrick)
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer (patrick) @ 2010-01-28 11:48 UTC (permalink / raw
  To: gentoo-commits

patrick     10/01/28 11:48:08

  Modified:             ChangeLog
  Added:                gnunet-0.8.1.ebuild
  Log:
  Bump for #300533
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.67                 net-p2p/gnunet/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/ChangeLog?rev=1.67&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/ChangeLog?rev=1.67&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/ChangeLog?r1=1.66&r2=1.67

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- ChangeLog	10 Sep 2008 13:52:58 -0000	1.66
+++ ChangeLog	28 Jan 2010 11:48:07 -0000	1.67
@@ -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.66 2008/09/10 13:52:58 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.67 2010/01/28 11:48:07 patrick Exp $
+
+*gnunet-0.8.1 (28 Jan 2010)
+
+  28 Jan 2010; Patrick Lauer <patrick@gentoo.org> +gnunet-0.8.1.ebuild:
+  Bump for #300533
 
   10 Sep 2008; Raúl Porcel <armin76@gentoo.org> gnunet-0.7.3-r1.ebuild,
   gnunet-0.8.0.ebuild:



1.1                  net-p2p/gnunet/gnunet-0.8.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild?rev=1.1&content-type=text/plain

Index: gnunet-0.8.1.ebuild
===================================================================
# Copyright 1999-2010 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.1 2010/01/28 11:48:07 patrick Exp $

EAPI=2

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.gz"
#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
	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

	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
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/gnunet: ChangeLog gnunet-0.8.1.ebuild
@ 2010-06-20 13:56 Kacper Kowalik (xarthisius)
  0 siblings, 0 replies; 2+ messages in thread
From: Kacper Kowalik (xarthisius) @ 2010-06-20 13:56 UTC (permalink / raw
  To: gentoo-commits

xarthisius    10/06/20 13:56:47

  Modified:             ChangeLog gnunet-0.8.1.ebuild
  Log:
  Fixing parallel build and --as-needed issues wrt bug 313165. Thanks Diego for reporting.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.68                 net-p2p/gnunet/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/ChangeLog?rev=1.68&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/ChangeLog?rev=1.68&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/ChangeLog?r1=1.67&r2=1.68

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- ChangeLog	28 Jan 2010 11:48:07 -0000	1.67
+++ ChangeLog	20 Jun 2010 13:56:46 -0000	1.68
@@ -1,6 +1,12 @@
 # ChangeLog for net-p2p/gnunet
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.67 2010/01/28 11:48:07 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.68 2010/06/20 13:56:46 xarthisius Exp $
+
+  20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  +files/0.8.1-asneeded.patch, gnunet-0.8.1.ebuild,
+  +files/0.8.1-parallel-build.patch:
+  Fixing parallel build and --as-needed issues wrt bug 313165. Thanks Diego
+  for reporting.
 
 *gnunet-0.8.1 (28 Jan 2010)
 



1.2                  net-p2p/gnunet/gnunet-0.8.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild?r1=1.1&r2=1.2

Index: gnunet-0.8.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gnunet-0.8.1.ebuild	28 Jan 2010 11:48:07 -0000	1.1
+++ gnunet-0.8.1.ebuild	20 Jun 2010 13:56:46 -0000	1.2
@@ -1,10 +1,10 @@
 # Copyright 1999-2010 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.1 2010/01/28 11:48:07 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.2 2010/06/20 13:56:46 xarthisius Exp $
 
 EAPI=2
 
-inherit eutils autotools
+inherit autotools eutils
 
 S="${WORKDIR}/GNUnet-${PV}"
 DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network."
@@ -13,7 +13,7 @@
 #tests don't work
 RESTRICT="test"
 
-IUSE="ipv6 mysql +sqlite ncurses nls gtk"
+IUSE="gtk mysql nls +sqlite"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 LICENSE="GPL-2"
 SLOT="0"
@@ -27,7 +27,7 @@
 	gtk? ( >=x11-libs/gtk+-2.6.10 )
 	sys-apps/sed
 	>=dev-scheme/guile-1.8.0
-	ncurses? ( sys-libs/ncurses )
+	sys-libs/ncurses
 	mysql? ( >=virtual/mysql-4.0 )
 	sqlite? ( >=dev-db/sqlite-3.0.8 )
 	nls? ( sys-devel/gettext )"
@@ -59,31 +59,29 @@
 		sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac
 	fi
 
-	AT_M4DIR="${S}/m4" eautoreconf
+	epatch "${FILESDIR}"/${PV}-asneeded.patch
+	epatch "${FILESDIR}"/${PV}-parallel-build.patch
+	eautoreconf
 }
 
-src_compile() {
+src_configure() {
 	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
+	emake DESTDIR="${D}" install || die "make install failed"
+	dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README UPDATING || die
 	insinto /etc
-	newins contrib/gnunet.root gnunet.conf
+	newins contrib/gnunet.conf gnunet.conf
 	docinto contrib
-	dodoc contrib/*
+	dodoc contrib/* || die
 	newinitd "${FILESDIR}"/${PN}.initd gnunet
 	dodir /var/lib/gnunet
 	chown gnunetd:gnunetd "${D}"/var/lib/gnunet
@@ -93,7 +91,6 @@
 	# 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"






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-20 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 13:56 [gentoo-commits] gentoo-x86 commit in net-p2p/gnunet: ChangeLog gnunet-0.8.1.ebuild Kacper Kowalik (xarthisius)
  -- strict thread matches above, loose matches on Subject: below --
2010-01-28 11:48 Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox