summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2012-06-22 18:36:27 +0000
committerThomas Sachau <tommy@gentoo.org>2012-06-22 18:36:27 +0000
commit7a7c6e202ef4f860f9ec00673c19ce1d4e9bb7dd (patch)
tree94b64072f46f4f4dac51695cb34ba105ae28f43b /net-p2p/freenet
parentReverting tigervnc-1.1.0-r7 ~ppc64 (diff)
downloadhistorical-7a7c6e202ef4f860f9ec00673c19ce1d4e9bb7dd.tar.gz
historical-7a7c6e202ef4f860f9ec00673c19ce1d4e9bb7dd.tar.bz2
historical-7a7c6e202ef4f860f9ec00673c19ce1d4e9bb7dd.zip
Update ebuild, fix tests, thanks to sera, fixes bug 421953
Package-Manager: portage-2.2.0_alpha110-r1/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/ChangeLog6
-rw-r--r--net-p2p/freenet/Manifest14
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1407.ebuild58
3 files changed, 39 insertions, 39 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 8dbbc3455b84..794d1b01758b 100644
--- a/net-p2p/freenet/ChangeLog
+++ b/net-p2p/freenet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/freenet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.149 2012/04/16 20:50:51 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.150 2012/06/22 18:36:27 tommy Exp $
+
+ 22 Jun 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ freenet-0.7.5_p1407.ebuild:
+ Update ebuild, fix tests, thanks to sera, fixes bug 421953
16 Apr 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
-freenet-0.7.5_p1405.ebuild, freenet-0.7.5_p1406.ebuild,
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index 9748e958b945..29c89980ce53 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -15,15 +15,15 @@ DIST freenet-ant-1.7.1.jar 1327167 RMD160 2ff5fa9c7041aa475bc1374763897fd8f19ca1
DIST seednodes-20120404.fref.bz2 10744 RMD160 d4002fe18a609b5c0b1d3afbed040db776db3943 SHA1 d8b8119c7d05118205f4e9e3b2699c7ccfffe1c1 SHA256 c74d50f9f5c5bcfde58e02f1d98d84bca757b41497554a10cdeb0b51f32518f2
DIST seednodes-20120415.fref.bz2 8988 RMD160 37c3e34652140fe6012a960142cb51c673f5d0be SHA1 24b54010e5a9901c4fab5e7cda355da685efc6b4 SHA256 b7dc53dd27fe8fecf523641136b5b37ec6e63b1c9c7c5f5a71552054319ee3e8
EBUILD freenet-0.7.5_p1406.ebuild 4726 RMD160 1d590c12ef8f0697072c06ddf50deab4fa2f0380 SHA1 ca382e5bac08ccccb57fad96e9c04973154fcfe7 SHA256 a3a49145f024901f22346a761436c26808fe2bb7a2147d970f57f6beb4b517a0
-EBUILD freenet-0.7.5_p1407.ebuild 4744 RMD160 fa3cc11e47ae59afb17653604ee160cd7adea4ee SHA1 e4e1d9cd2010b4d521237ebd05ef005098adfe67 SHA256 83cbb1bd873c53ead6f4369990566c4e92f6821434b2a28add826ce86d8cffe6
-MISC ChangeLog 19748 RMD160 da661ad32bb2b97a25ead9768e690fcea8d451d7 SHA1 38ac06b08e849b02fda8962cd22218c2e4008461 SHA256 d868ff33fc0e6648037a9ba5d5dd35d05e6c5d6fec5892f0624c4bfccdc3ffdf
+EBUILD freenet-0.7.5_p1407.ebuild 4521 RMD160 c6ce9f9968d2af78bbc4699c490441957188cb80 SHA1 bc97964606b2d7dbe8afd217483c310a77efae19 SHA256 9c538fb203f79008d66181d2a861dee6de406858760cb07520a42056af36a7d8
+MISC ChangeLog 19899 RMD160 6e18884506b71aee82d9322125951c2d2163519f SHA1 9eb62ce476228003415ab3e488c13bbb0dca4656 SHA256 991b677d5d73e59cde1db156ca3a1198318fe6d280bacba3e52e63dd8e6df567
MISC metadata.xml 310 RMD160 94e7e4cefcf1deb4bbff792a0cbf30ef63e7b264 SHA1 8f8368b809a3e803ab488945087827a41f1b40f5 SHA256 e614c0ca7fa5d32c3e94ccd6d822fd0aa482ce31439e0206f26b0f7a76113950
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQECAAYFAk+MheoACgkQG7kqcTWJkGc+dQP+JCdWFs+XyDhgBVlNyrn4Z6qp
-ecJXOruVb3mTlMT5wEObbJIJhMOYsHUY4EWW9qLIUpCnYvS9Lb05LXZCY942bNlw
-qLWAvWxgNL9g25J/M3RR1l6QRLcdi6/U1IRhWI2DEuZTpLDuSlzw/8rr8nCkHF44
-3g2t8lxbKK0W1NtvhRk=
-=AQxu
+iJwEAQECAAYFAk/kuzcACgkQG7kqcTWJkGctWQP/TdLWLXDP8FjrENWr0DY4HTLG
+KK/suUbVAlcuUf/ucnevnCUbYnzMn4YrPdQyKoc8n8naBcb43rPhBMbDAwPvPEWc
+Ph6R5x+9Dta5SyC3Hp7ObUUomdLySPUNtSsKPd+E29r3QWn2hE5bTszs4labAbpb
+U4ArNcAU46yezB4J+IA=
+=OSdI
-----END PGP SIGNATURE-----
diff --git a/net-p2p/freenet/freenet-0.7.5_p1407.ebuild b/net-p2p/freenet/freenet-0.7.5_p1407.ebuild
index c051454c5d08..70692528262f 100644
--- a/net-p2p/freenet/freenet-0.7.5_p1407.ebuild
+++ b/net-p2p/freenet/freenet-0.7.5_p1407.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 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_p1407.ebuild,v 1.2 2012/04/16 20:50:51 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7.5_p1407.ebuild,v 1.3 2012/06/22 18:36:27 tommy Exp $
EAPI="2"
DATE=20120415
@@ -19,35 +19,39 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="freemail test"
-CDEPEND="freemail? ( >=dev-java/bcprov-1.45 )
- dev-java/commons-compress
+CDEPEND="freemail? ( >=dev-java/bcprov-1.45:0 )
+ dev-java/commons-compress:0
dev-db/db-je:3.3
- dev-java/fec
- dev-java/java-service-wrapper
- dev-java/db4o-jdk11
- dev-java/db4o-jdk12
- dev-java/db4o-jdk5
- dev-java/jbitcollider-core
- dev-java/lzma
- dev-java/lzmajio
- dev-java/mersennetwister"
+ dev-java/fec:0
+ dev-java/java-service-wrapper:0
+ dev-java/db4o-jdk11:0
+ dev-java/db4o-jdk12:0
+ dev-java/db4o-jdk5:0
+ dev-java/jbitcollider-core:0
+ dev-java/lzma:0
+ dev-java/lzmajio:0
+ dev-java/mersennetwister:0"
DEPEND="app-arch/unzip
>=virtual/jdk-1.6
${CDEPEND}
- test? ( dev-java/junit
- dev-java/ant-junit )
- dev-java/ant-core"
+ test? ( dev-java/junit:0
+ dev-java/ant-junit:0 )
+ dev-java/ant-core:0"
RDEPEND=">=virtual/jre-1.6
- net-libs/nativebiginteger
+ net-libs/nativebiginteger:0
${CDEPEND}"
-PDEPEND="net-libs/NativeThread"
+PDEPEND="net-libs/NativeThread:0"
+
+JAVA_PKG_BSFIX_NAME+=" build-clean.xml"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
+JAVA_ANT_ENCODING="utf8"
EANT_BUILD_TARGET="package"
EANT_TEST_TARGET="unit"
EANT_BUILD_XML="build-clean.xml"
-EANT_GENTOO_CLASSPATH="commons-compress db4o-jdk5 db4o-jdk12 db4o-jdk11 db-je-3.3 fec java-service-wrapper jbitcollider-core lzma lzmajio mersennetwister"
-EANT_EXTRA_ARGS="-Dsuppress.gjs=true -Dlib.contrib.present=true -Dlib.junit.present=true"
-export EANT_EXTRA_ARGS+=" -Dtest.skip=true"
+EANT_GENTOO_CLASSPATH="commons-compress,db4o-jdk5,db4o-jdk12,db4o-jdk11,db-je-3.3,fec,java-service-wrapper,jbitcollider-core,lzma,lzmajio,mersennetwister"
+EANT_EXTRA_ARGS="-Dsuppress.gjs=true -Dlib.contrib.present=true -Dlib.junit.present=true -Dtest.skip=true"
pkg_setup() {
has_version dev-java/icedtea[cacao] && {
@@ -66,7 +70,7 @@ src_unpack() {
mv "${WORKDIR}"/freenet-fred-* "${S}"
}
-src_prepare() {
+java_prepare() {
cp "${FILESDIR}"/freenet-0.7.5_p1389-wrapper.conf freenet-wrapper.conf || die
cp "${FILESDIR}"/run.sh-20090501 run.sh || die
epatch "${FILESDIR}"/0.7.5_p1302-ext.patch \
@@ -96,20 +100,12 @@ src_prepare() {
done
fi
- java-ant_rewrite-classpath "${EANT_BUILD_XML}"
- java-pkg-2_src_prepare
cp "${DISTDIR}"/freenet-ant-1.7.1.jar lib/ant.jar || die
}
+EANT_TEST_EXTRA_ARGS="-Dtest.skip=false"
+
src_test() {
- 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
}