summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2015-09-13 20:41:59 +0200
committerThomas Sachau <tommy@gentoo.org>2015-09-13 20:41:59 +0200
commit75e0fd4b32f1841f6197ebde6e8e42b9f6024217 (patch)
tree998eb7c1c0e97aa8794cfe8c778c6f63196e076d /net-p2p
parentx11-misc/gbdfed: Update HOMEPAGE and SRC_URI. Add missing die. Update EAPI (diff)
downloadgentoo-75e0fd4b32f1841f6197ebde6e8e42b9f6024217.tar.gz
gentoo-75e0fd4b32f1841f6197ebde6e8e42b9f6024217.tar.bz2
gentoo-75e0fd4b32f1841f6197ebde6e8e42b9f6024217.zip
Version bump, bug 559138, drop older versions
Package-Manager: portage-2.2.18
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet/Manifest6
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1466.ebuild144
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1470.ebuild (renamed from net-p2p/freenet/freenet-0.7.5_p1467.ebuild)8
3 files changed, 6 insertions, 152 deletions
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index f0a9d4308820..55778cd9b400 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -1,5 +1,3 @@
-DIST freenet-0.7.5_p1466.zip 4713492 SHA256 561819f7ca186bbc171d3123ad23f5692ab9d90a6237986a0ee4f16edde44d40 SHA512 0406eaae3c456e24db83886d2b619d5f063efb1cb313017e95437214e7a73bd48190c4128f22a9b4d919dc03acdd45bd2d20f51d35552c3777ca14644e26ec03 WHIRLPOOL f0f5778c939997f0fd2db58e5f78d6d32c95ee1768aff19d68f5b057c0623faafb712574db30a39524510cabf49138d920a9fb7e55232111dc3e8ddba3ea93b5
-DIST freenet-0.7.5_p1467.zip 4715115 SHA256 1547ffea356c35a03ce62a35d9fa601b45beee1d8f78e17116e09461a4d0e27f SHA512 419651183b804f66735d2d5aa78ba571373a140f7da53c05499462caf8fe774edcaa2ad34b04b94340a0064b6f334a2d53c4d1c25f4c02e1b79940f62e8878cd WHIRLPOOL ebb23f738bcf10e66d364b3be5621a1d8e5b52862919ef8f1892624a1993a2b361a1b1cc57a342699fd55303920ddc795f11502eef25d26c9deff753d11df2c5
+DIST freenet-0.7.5_p1470.zip 4900868 SHA256 2c3d976db30cacc88d63fc577e4cb1cd26a111116f0d0b65c981b71495fa3b5b SHA512 90f1693c9a5395b99f2bdf7517c29811726aef3175d6c7faded9e57a4b72addcf9ba8516c82dfe198c07b8dbed441de63d0321265049c14673cf5f48d2adf116 WHIRLPOOL 983e2abdecbf229edd28badee0a66072f5cf7e71731c4bfa0fb01ea60d508f94bcdb04eae8bc70bef4c8b846b9f28fded308a1920de690cbfdb21e98529a631d
DIST freenet-ant-1.7.1.jar 1327167 SHA256 634e0b616d65d611419920e8b379b7b66399e44f520baa772147ed73743433b1 SHA512 2c84378d995fed0630169fffab020bde89c3edb7b3bc1e14e2251ed71be684dc2520fdeed8bae382de362984e25a31dcd59326ef8735f8066166c1e8d98ca408 WHIRLPOOL 667be2b1581c5fd847907b63522a0f83c595a6b8f1805d714e978a5cb0f05de4804153c89605618adf5c3b097a7019e7d7e9de0bf0987c7b1adb0dbc54e0f055
-DIST seednodes-20140810.fref.bz2 11566 SHA256 51650b15395b0b57a01c2a917854007021bc5d3284b6eb3d3c167e8d0fa5bf58 SHA512 9d999f57cafd26ef7e5e0768d07dca18d923c82da0b9da447ad78a0ec8cfe087168c3fc17e776e8120e68149d7839cabf03e7a18086a32f11f7348d1d64768e1 WHIRLPOOL 90035bef3351681cc0bcb97bcd98431eeb2566c9c39ccf4eadf5c555f494a1faeb687569881501c88f54270db91139408c820fe6f541aab3c695277a2ec04df0
-DIST seednodes-20150427.fref.bz2 12926 SHA256 6f2a50e8dbfdf81840b11bcb64bf37587efd08afe521709d0071f9dbc4366812 SHA512 821b204fac745b7baad23dd0fd0effc956f7a2013ac96e76daa3475113b254dd332c87a306cc78e80a806800b052d04ce35d2007c1afced2cc180e327cf0ebb5 WHIRLPOOL 3ae7880e8b1bad93b2ca2f47c2bd384bce4ead13f665c8c9fbee5fbf5d211e135a5c89ad2dd05b47cade4e03fd33780cf11aa6989da019ca22adb74e1e8a3e61
+DIST seednodes-20150812.fref.bz2 11631 SHA256 bf8a83a2c5cb7c160119d69c657f1db5324794c3603f13acb41416c09728fdc7 SHA512 3aa2ef00ca058b313032243f03f0f82a4e70f455bbe3dee48f9ce438415711f4415172946a3f958e14a699df69d9d0fa88173ce482c0b3d503da0829418b1d3d WHIRLPOOL 724b610d6ebd839a304262645cbf81fb7ea6c5da7b6121e76016d1752dc474fb331e74abe445987f5af94181eacfba832ec23077aa84ba08026bbf831d542a44
diff --git a/net-p2p/freenet/freenet-0.7.5_p1466.ebuild b/net-p2p/freenet/freenet-0.7.5_p1466.ebuild
deleted file mode 100644
index 92d7654f2b5a..000000000000
--- a/net-p2p/freenet/freenet-0.7.5_p1466.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-DATE=20140810
-JAVA_PKG_IUSE="doc source"
-
-inherit eutils java-pkg-2 java-ant-2 multilib systemd user
-
-DESCRIPTION="An encrypted network without censorship"
-HOMEPAGE="https://freenetproject.org/"
-SRC_URI="https://github.com/${PN}/fred/archive/build0${PV#*p}.zip -> ${P}.zip
- mirror://gentoo/seednodes-${DATE}.fref.bz2
- mirror://gentoo/freenet-ant-1.7.1.jar"
-
-LICENSE="GPL-2+ GPL-2 MIT BSD-2 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-CDEPEND="dev-java/bcprov:1.49
- dev-java/commons-compress:0
- dev-db/db-je:3.3
- 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:0
- dev-java/ant-junit:0 )
- dev-java/ant-core:0"
-RDEPEND=">=virtual/jre-1.6
- net-libs/nativebiginteger:0
- ${CDEPEND}"
-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="bcprov-1.49,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.bouncycastle.present=true -Dlib.junit.present=true -Dtest.skip=true"
-
-S=${WORKDIR}/fred-build0${PV#*p}
-
-pkg_setup() {
- has_version dev-java/icedtea[cacao] && {
- ewarn "dev-java/icedtea was built with cacao USE flag."
- ewarn "freenet may compile with it, but it will refuse to run."
- ewarn "Please remerge dev-java/icedtea without cacao USE flag,"
- ewarn "if you plan to use it for running freenet."
- }
- java-pkg-2_pkg_setup
- enewgroup freenet
- enewuser freenet -1 -1 /var/freenet freenet
-}
-
-src_unpack() {
- unpack ${P}.zip seednodes-${DATE}.fref.bz2
- mv "${WORKDIR}"/freenet-fred-* "${S}"
-}
-
-java_prepare() {
- cp "${FILESDIR}"/freenet-0.7.5_p1422-wrapper.conf freenet-wrapper.conf || die
- cp "${FILESDIR}"/run.sh-20090501 run.sh || die
- epatch "${FILESDIR}"/0.7.5_p1321-ext.patch
-
- sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" \
- freenet-wrapper.conf || die "sed failed"
-
- echo "wrapper.java.classpath.1=/usr/share/freenet/lib/freenet.jar" >> freenet-wrapper.conf
-
- local i=2 pkg jars jar
- local ifs_original=${IFS}
- IFS=","
- for pkg in ${EANT_GENTOO_CLASSPATH} ; do
- jars="$(java-pkg_getjars ${pkg})"
- for jar in ${jars} ; do
- echo "wrapper.java.classpath.$((i++))=${jar}" >> freenet-wrapper.conf
- done
- done
- IFS=${ifs_original}
- echo "wrapper.java.classpath.$((i++))=/usr/share/freenet/lib/ant.jar" >> freenet-wrapper.conf
-
- cp "${DISTDIR}"/freenet-ant-1.7.1.jar lib/ant.jar || die
-}
-
-EANT_TEST_EXTRA_ARGS="-Dtest.skip=false"
-
-src_test() {
- 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
- if has_version =sys-apps/baselayout-2*; then
- doinitd "${FILESDIR}"/freenet
- else
- newinitd "${FILESDIR}"/freenet.old freenet
- fi
- systemd_dounit "${FILESDIR}"/freenet.service
- dodoc AUTHORS || die
- newdoc README.md README || die
- insinto /etc
- doins freenet-wrapper.conf || die
- insinto /var/freenet
- doins run.sh || die
- newins "${WORKDIR}"/seednodes-${DATE}.fref seednodes.fref || die
- fperms +x /var/freenet/run.sh
- dosym java-service-wrapper/libwrapper.so /usr/$(get_libdir)/libwrapper.so
- use doc && java-pkg_dojavadoc javadoc
- use source && java-pkg_dosrc src
-}
-
-pkg_postinst() {
- elog " "
- elog "1. Start freenet with /etc/init.d/freenet start."
- elog "2. Open localhost:8888 in your browser for the web interface."
- #workaround for previously existing freenet user
- [[ $(stat --format="%U" /var/freenet) == "freenet" ]] || chown \
- freenet:freenet /var/freenet
-}
-
-pkg_postrm() {
- if ! [[ -e /usr/share/freenet/lib/freenet.jar ]] ; then
- elog " "
- elog "If you dont want to use freenet any more"
- elog "and dont want to keep your identity/other stuff"
- elog "remember to do 'rm -rf /var/freenet' to remove everything"
- fi
-}
diff --git a/net-p2p/freenet/freenet-0.7.5_p1467.ebuild b/net-p2p/freenet/freenet-0.7.5_p1470.ebuild
index 001072432b39..f377611708fa 100644
--- a/net-p2p/freenet/freenet-0.7.5_p1467.ebuild
+++ b/net-p2p/freenet/freenet-0.7.5_p1470.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7.5_p1424.ebuild,v 1.1 2013/01/12 19:46:52 tommy Exp $
EAPI="5"
-DATE=20150427
+DATE=20150812
JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2 multilib systemd user
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
-CDEPEND="dev-java/bcprov:1.49
+CDEPEND="dev-java/bcprov:1.52
dev-java/commons-compress:0
dev-db/db-je:3.3
dev-java/fec:0
@@ -50,7 +50,7 @@ JAVA_ANT_ENCODING="utf8"
EANT_BUILD_TARGET="package"
EANT_TEST_TARGET="unit"
EANT_BUILD_XML="build-clean.xml"
-EANT_GENTOO_CLASSPATH="bcprov-1.49,commons-compress,db4o-jdk5,db4o-jdk12,db4o-jdk11,db-je-3.3,fec,java-service-wrapper,jbitcollider-core,lzma,lzmajio,mersennetwister"
+EANT_GENTOO_CLASSPATH="bcprov-1.52,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.bouncycastle.present=true -Dlib.junit.present=true -Dtest.skip=true"
S=${WORKDIR}/fred-build0${PV#*p}