summaryrefslogtreecommitdiff
path: root/pcr/freenet
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 12:47:47 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 12:47:47 +0100
commit43ca8c28d788504d583d468c4e026140a001a79b (patch)
treecf0b2a81eed73a89ac89bd88bb3748c22301a0b2 /pcr/freenet
parent17595e93b7106655a0b6f55de0982d380d3658bd (diff)
downloadabslibre-43ca8c28d788504d583d468c4e026140a001a79b.tar.gz
abslibre-43ca8c28d788504d583d468c4e026140a001a79b.tar.bz2
abslibre-43ca8c28d788504d583d468c4e026140a001a79b.zip
pcr/freenet: updated to 0.7.5.1478
Diffstat (limited to 'pcr/freenet')
-rw-r--r--pcr/freenet/PKGBUILD37
-rw-r--r--pcr/freenet/gradle.properties7
2 files changed, 30 insertions, 14 deletions
diff --git a/pcr/freenet/PKGBUILD b/pcr/freenet/PKGBUILD
index 01cf02715..aaeb859de 100644
--- a/pcr/freenet/PKGBUILD
+++ b/pcr/freenet/PKGBUILD
@@ -1,7 +1,10 @@
-# Maintainer: skydrome <skydrome at@at i2pmail do.t org>
-# Contributors:
+# Maintainer (AUR): skydrome <skydrome at@at i2pmail do.t org>
+# Contributors (AUR):
-_fred=#tag=build01476
+# parabola changes and rationale:
+# no changes.
+
+_fred=#tag=build01478
_contrib=#tag=v50
_wot=#tag=build0019
@@ -11,7 +14,7 @@ _keyutils=#tag=v5026
_upnp=#tag=10007
pkgname=freenet
-pkgver=0.7.5.1476
+pkgver=0.7.5.1478
pkgrel=1
_pkgver=0.7.5
pkgdesc="An encrypted network without censorship"
@@ -38,7 +41,8 @@ _deps=("http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK/4.65/lzma46
"league-lzmajio-0.95-0-gd38bf5c.tar.gz::https://codeload.github.com/league/lzmajio/legacy.tar.gz/0.95"
"http://downloads.sourceforge.net/project/bitcollider/jBitcollider%20%28Java%29/0.8/jBitcollider-0.8.zip"
"https://www.spaceroots.org/software/mantissa/mantissa-7.2-src.zip"
- "https://downloads.freenetproject.org/contrib/db4o-7.4-java.zip")
+ #"https://downloads.freenetproject.org/contrib/db4o-7.4-java.zip"
+ "https://github.com/skydrome/db4o-7.4-java/raw/master/db4o-7.4-java.zip")
# ant will extract these
noextract=('lzma465.tar.bz2'
@@ -56,14 +60,16 @@ source=("git+https://github.com/freenet/fred.git${_fred}"
"git+https://github.com/freenet/plugin-UPnP.git${_upnp}"
"git+https://github.com/freenet/plugin-KeyUtils.git${_keyutils}"
"git+https://github.com/freenet/plugin-WebOfTrust.git${_wot}"
- "https://downloads.freenetproject.org/alpha/opennet/seednodes.fref"
"IpToCountry.dat::http://software77.net/geo-ip/?DL=4"
- "https://downloads.freenetproject.org/contrib/jar/latest/commons-compress.jar"
- "https://www.bouncycastle.org/download/bcprov-jdk15on-156.jar"
+ #"https://downloads.freenetproject.org/alpha/opennet/seednodes.fref"
+ "https://github.com/skydrome/db4o-7.4-java/raw/master/seednodes.fref"
+ #"https://downloads.freenetproject.org/contrib/jar/latest/commons-compress.jar"
+ "commons-compress.jar::http://central.maven.org/maven2/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar"
+ "https://www.bouncycastle.org/download/bcprov-jdk15on-158.jar"
"http://downloads.sourceforge.net/project/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.tar.bz2"
"https://raw.githubusercontent.com/i2p/i2p.i2p/master/core/c/jcpuid/src/jcpuid.c"
"https://raw.githubusercontent.com/i2p/i2p.i2p/master/core/c/jcpuid/include/jcpuid.h"
- 'fred.properties' 'contrib.properties' 'run.sh'
+ 'fred.properties' 'contrib.properties' 'gradle.properties' 'run.sh'
'freenet.service' 'freenet.ini' 'wrapper.config'
"${_deps[@]}")
@@ -73,14 +79,15 @@ sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
- 'SKIP'
- '16924be3c8f1322b659f3ff08060a43f45f2e8de6f95af28d86fe9876e79008d'
- '963e1ee14f808ffb99897d848ddcdb28fa91ddda867eb18d303e82728f878349'
+ '7b375cbd2c715fd3d239985ae2a97021cfef8483c88ff57f6364016451e65c21'
+ '28a00d80716f073d644b9da76e94b5e8ff94de8e9323f06f558fba653fcf5f86'
+ 'eb61ab61065ed96f9f2d5cde94d326233c09fdec9333c1185f2fa65ee88a4236'
'96effcca2581c1ab42a4828c770b48d54852edf9e71cefc9ed2ffd6590571ad1'
'1966a96a0733cb19b8172f03b3582141fea8f82abcc4b79800ba0a92a5c1122d'
'9ec758801a9864ae10caf851ee60ed22c3ef44428e77689c203d9b890921a6d2'
'236adfd42be0a7a74f2dec1356e517442b2ddcbb5d44cb0dab3671b6fddfca79'
'865c1f259d9c544861cc12b4ea64ad35ec6388c1392b3e5247eaed0f316e42b7'
+ '305d00533d3efcf31dfbb9944c703a9b01227ba38495add70b9bc4849c29498d'
'9912dcfc8f30143b68e6f9c51505ae921100eb6b24690a8680582bb23559d95a'
'434f67e2e86edb555b7dfb572a52d7ff719373989e1f1830f779bfccc678539f'
'c0ce093a098d91dee6be294f8a2fc929aabad95612f994933194d0da5c4cdd25'
@@ -91,7 +98,6 @@ sha256sums=('SKIP'
'e438135d69139ed4fa44400f416ea73935d16afe50dfe490b7bba0602ee89476'
'73f307a8cbd114fdc0af8daa067994a2cdc364c4053e6734d16b8dd1d5a0469f')
-
if [[ "$CARCH" = 'i686' ]]; then
_arch=x86
__arch=i386
@@ -112,6 +118,9 @@ prepare() {
ln -sf ../contrib contrib
mkdir -p contrib/freenet-ext/{dist,lib}
+ ln -sf "$srcdir/gradle.properties" .
+ ln -sf "$srcdir/gradle.properties" ./contrib/freenet-ext
+
# no need to fetch this file every time freenet starts as its only updated
# monthly, if it even changes at all
sed -i src/freenet/node/updater/NodeUpdateManager.java \
@@ -124,7 +133,7 @@ prepare() {
ln -sf /usr/share/java/wrapper.jar contrib/freenet-ext/dist/
ln -sf /usr/share/java/{hamcrest-core,junit}.jar lib/
ln -sf "$srcdir"/ant-contrib/{ant-contrib-1.0b3,ant-contrib}.jar
- cp "$srcdir"/bcprov-jdk15on-156.jar lib/bcprov.jar
+ cp "$srcdir"/bcprov-jdk15on-158.jar lib/bcprov.jar
cp "$srcdir"/{lzma465.tar.bz2,league-lzmajio-0.95-0-gd38bf5c.tar.gz,jBitcollider-0.8.zip,mantissa-7.2-src.zip,db4o-7.4-java.zip} contrib/freenet-ext/lib
# we're going to compile our own C libraries
diff --git a/pcr/freenet/gradle.properties b/pcr/freenet/gradle.properties
new file mode 100644
index 000000000..b506455ea
--- /dev/null
+++ b/pcr/freenet/gradle.properties
@@ -0,0 +1,7 @@
+org.gradle.parallel = true
+org.gradle.jvmargs=-Xms256m -Xmx1024m
+org.gradle.configureondemand=true
+
+tasks.withType(Test) {
+ maxParallelForks = Runtime.runtime.availableProcessors()
+}