summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2011-04-02 14:57:37 +0000
committerThomas Sachau <tommy@gentoo.org>2011-04-02 14:57:37 +0000
commit316a4053fbf2335c1691543e5fdbe7bdb031a9f3 (patch)
treef15babe163366f2297d8ae9cd7fb4347705fb294 /net-p2p/freenet
parentarm/ia64/sparc/x86 stable wrt #358679 (diff)
downloadgentoo-2-316a4053fbf2335c1691543e5fdbe7bdb031a9f3.tar.gz
gentoo-2-316a4053fbf2335c1691543e5fdbe7bdb031a9f3.tar.bz2
gentoo-2-316a4053fbf2335c1691543e5fdbe7bdb031a9f3.zip
Version bump, drop old
(Portage version: 2.2.0_alpha29-r1/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/ChangeLog8
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1363.ebuild (renamed from net-p2p/freenet/freenet-0.7.5_p1356.ebuild)28
2 files changed, 28 insertions, 8 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 83b297b1bec5..6e9241a27a77 100644
--- a/net-p2p/freenet/ChangeLog
+++ b/net-p2p/freenet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/freenet
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.123 2011/03/18 17:20:03 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.124 2011/04/02 14:57:37 tommy Exp $
+
+*freenet-0.7.5_p1363 (02 Apr 2011)
+
+ 02 Apr 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ -freenet-0.7.5_p1356.ebuild, +freenet-0.7.5_p1363.ebuild:
+ Version bump, drop old
*freenet-0.7.5_p1358 (18 Mar 2011)
diff --git a/net-p2p/freenet/freenet-0.7.5_p1356.ebuild b/net-p2p/freenet/freenet-0.7.5_p1363.ebuild
index 75639429865b..fd143ca414c1 100644
--- a/net-p2p/freenet/freenet-0.7.5_p1356.ebuild
+++ b/net-p2p/freenet/freenet-0.7.5_p1363.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7.5_p1356.ebuild,v 1.1 2011/03/11 15:26:49 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7.5_p1363.ebuild,v 1.1 2011/04/02 14:57:37 tommy Exp $
EAPI="2"
-DATE=20110227
+DATE=20110402
JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2 multilib
@@ -31,7 +31,8 @@ CDEPEND="dev-db/db-je:3.3
DEPEND="app-arch/unzip
>=virtual/jdk-1.5
${CDEPEND}
- test? ( dev-java/junit )
+ test? ( dev-java/junit
+ dev-java/ant-junit )
dev-java/ant-core"
RDEPEND=">=virtual/jre-1.5
net-libs/nativebiginteger
@@ -40,11 +41,11 @@ PDEPEND="net-libs/NativeThread
freemail? ( dev-java/bcprov )"
EANT_BUILD_TARGET="package"
+EANT_TEST_TARGET="unit"
EANT_BUILD_XML="build-clean.xml"
EANT_GENTOO_CLASSPATH="db4o-jdk5 db4o-jdk12 db4o-jdk11 db-je-3.3 fec java-service-wrapper lzma lzmajio mersennetwister"
EANT_EXTRA_ARGS="-Dsuppress.gjs=true -Dlib.contrib.present=true -Dlib.junit.present=true"
-use test || export EANT_EXTRA_ARGS+=" -Dtest.skip=true"
-use test && EANT_GENTOO_CLASSPATH+=" junit"
+export EANT_EXTRA_ARGS+=" -Dtest.skip=true"
pkg_setup() {
has_version dev-java/icedtea[cacao] && {
@@ -60,11 +61,10 @@ pkg_setup() {
src_unpack() {
unpack ${P}.zip seednodes-${DATE}.fref.bz2
+ mv "${WORKDIR}"/freenet-fred-* "${S}"
}
src_prepare() {
- mv "${WORKDIR}"/freenet-fred-* "${S}"
- cd "${S}"
cp "${FILESDIR}"/wrapper1.conf freenet-wrapper.conf || die
cp "${FILESDIR}"/run.sh-20090501 run.sh || die
epatch "${FILESDIR}"/0.7.5_p1302-ext.patch
@@ -78,6 +78,20 @@ src_prepare() {
java-pkg-2_src_prepare
}
+src_test() {
+# java-pkg_jar-from --into lib junit
+# java-pkg_jar-from --into lib ant-junit
+ java-pkg_jar-from --into lib fec
+ java-pkg_jar-from --into lib java-service-wrapper
+ java-pkg_jar-from --into lib mersennetwister
+ java-pkg_jar-from --into lib lzma
+ java-pkg_jar-from --into lib db4o-jdk5
+ java-pkg_jar-from --into lib db4o-jdk12
+ java-pkg_jar-from --into lib db4o-jdk11
+ export EANT_EXTRA_ARGS+=" -Dtest.skip=false"
+ java-pkg-2_src_test
+}
+
src_install() {
java-pkg_dojar dist/freenet.jar
java-pkg_newjar "${DISTDIR}"/freenet-ant-1.7.1.jar ant.jar