From b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 19 Mar 2019 11:37:34 +0000 Subject: gentoo resync : 19.03.2019 --- net-p2p/freenet/files/0.7.5_p1483-ext.patch | 22 ++ net-p2p/freenet/files/build-clean.xml | 421 ++++++++++++++++++++++++++++ net-p2p/freenet/files/build.properties | 95 +++++++ 3 files changed, 538 insertions(+) create mode 100644 net-p2p/freenet/files/0.7.5_p1483-ext.patch create mode 100644 net-p2p/freenet/files/build-clean.xml create mode 100644 net-p2p/freenet/files/build.properties (limited to 'net-p2p/freenet/files') diff --git a/net-p2p/freenet/files/0.7.5_p1483-ext.patch b/net-p2p/freenet/files/0.7.5_p1483-ext.patch new file mode 100644 index 000000000000..5b778dd619f4 --- /dev/null +++ b/net-p2p/freenet/files/0.7.5_p1483-ext.patch @@ -0,0 +1,22 @@ +--- src/freenet/node/NodeStarter.java 2019-03-17 12:44:12.000000000 +0100 ++++ src/freenet/node/NodeStarter.java.new 2019-03-17 12:58:51.000000000 +0100 +@@ -51,8 +51,8 @@ + public static final String extRevisionNumber; + + static { +- extBuildNumber = ExtVersion.extBuildNumber(); +- extRevisionNumber = ExtVersion.extRevisionNumber(); ++ extBuildNumber = 29; ++ extRevisionNumber = ""; + } + + private FreenetFilePersistentConfig cfg; +@@ -109,7 +109,7 @@ + System.out.println("Usage: $ java freenet.node.Node "); + return Integer.valueOf(-1); + } +- String builtWithMessage = "freenet.jar built with freenet-ext.jar Build #" + ExtVersion.buildNumber + " r" + ExtVersion.cvsRevision+" running with ext build "+extBuildNumber+" r" + extRevisionNumber; ++ String builtWithMessage = "freenet.jar built with freenet-ext.jar Build #" + extBuildNumber +" running with ext build "+extBuildNumber; + Logger.normal(this, builtWithMessage); + System.out.println(builtWithMessage); + diff --git a/net-p2p/freenet/files/build-clean.xml b/net-p2p/freenet/files/build-clean.xml new file mode 100644 index 000000000000..89698df2675f --- /dev/null +++ b/net-p2p/freenet/files/build-clean.xml @@ -0,0 +1,421 @@ + + + +Freenet is free software that lets you publish and retrieve information without +fear of censorship. To achieve this, the network is entirely decentralized, and +all actions are anonymous. Without anonymity, there can never be true freedom +of speech, and without decentralization the network would be vulnerable to attack. + +This file is to build Freenet entirely from source. The builder is responsible +for satisfying all library dependencies, e.g. via override.properties. Package +maintainers may prefer to use this instead of build.xml. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/net-p2p/freenet/files/build.properties b/net-p2p/freenet/files/build.properties new file mode 100644 index 000000000000..21fecf30c803 --- /dev/null +++ b/net-p2p/freenet/files/build.properties @@ -0,0 +1,95 @@ +## +# Properties you can set to affect the build process. +# +# This file contains default values that are checked-in to version control. +# +# End users should not edit this file to set machine-specific properties; +# instead, create a new file called override.properties and set them there. +# + +################################################################################ +## build files/directories + +main.src=src +main.make=build/main +main.dst=dist + +test.src=test +test.make=build/test +test.dst=run + +doc.src=doc +doc.dst=javadoc +doc.api=javadoc + +################################################################################ +## external dependencies + +# dir for common library jars +lib.dir = lib + +# dir for freenet library jars (aka freenet-ext or "contrib" jars) +lib.contrib.dir = lib/freenet +## if you use the git submodule in ./contrib (legacy-27 branch) +## by running `git submodule init && git submodule update` +## contrib.ant is needed for the old legacy layout +#lib.contrib.dir = contrib/freenet_ext +#contrib.ant = ${lib.contrib.dir}/build.xml +## if you clone the contrib package separately (master branch) +#lib.contrib.dir = ../contrib/freenet-ext/dist + +# dir that freenet library jars will be installed to, relative to freenet.jar +lib.contrib.dir.rel = freenet + +# jars from ${lib.dir} to use +bc.jar = bcprov-jdk15on-154.jar +lib.jars = ${bc.jar} +#lib.jars = wrapper.jar db-je.jar bdb-je.jar commons-compress.jar + +# jars from ${lib.dir} to use, for tests +libtest.jars = junit4.jar hamcrest-core.jar + +# jars from ${lib.contrib.dir} to use +lib.contrib.jars = freenet-ext.jar bitcollider-core.jar db4o.jar lzmajio.jar mantissa.jar \ + wrapper.jar db-je.jar bdb-je.jar commons-compress.jar + +# jars from ${lib.dir} to use, for compiling GWT javascript +gjs.lib.jars = null +#gjs.lib.jars = gwt-dev-linux.jar gwt-dev-windows.jar gwt-dev.jar gwt-user.jar \ +# commons-collections3.jar ant.jar eclipse-ecj.jar + +findbugs.dir = findbugs +findbugs.path = ${findbugs.dir}/lib/findbugs-ant.jar + +pmd.dir = +################################################################################ +## build tool options + +# Javac +javac.args=-Xlint -Xlint:-deprecation + +# Test properties +test.skip=false +test.verbose=false +test.benchmark=false +test.extensive=false +test.xml_output=true +test.haltonfailure=yes + +# select a single test to run +#test.class= + +# Build javadoc +doc.skip=false + +# Run findbugs +findbugs.skip=false +pmd.skip=false +cpd.skip=false + +################################################################################ +## misc options + +# Hack around property expansion not featured in ant <= 1.7.1 +# see http://ant.apache.org/manual/properties.html#if+unless +true=true -- cgit v1.2.3