Package Details: freenet 0.7.5.1475-1

Git Clone URL: https://aur.archlinux.org/freenet.git (read-only)
Package Base: freenet
Description: An encrypted network without censorship
Upstream URL: https://downloads.freenetproject.org
Keywords: anonymous censorship encrypted freenet network
Licenses: GPL2
Submitter: Xemertix
Maintainer: skydrome (Thynix)
Last Packager: skydrome
Votes: 165
Popularity: 1.644151
First Submitted: 2009-04-17 16:46
Last Updated: 2016-06-30 00:52

Required by (1)

Sources (23)

Latest Comments

MissingNoIOI commented on 2016-07-09 11:45

The link https://www.bouncycastle.org/download/bcprov-jdk15on-154.jar doesnt seem to work anylonger

hobarrera commented on 2016-05-28 15:44

fatal error: jni.h: No such file or directory

Maybe a dependency is missing?

henkm commented on 2016-05-25 01:47

D101101, I had the same issue when trying to update. I removed jcpuid.c to force downloading a new version and it builds fine after that.

D101101 commented on 2016-05-04 09:21

==> Validating source files with sha256sums...
***
ant-contrib-1.0b3-bin.tar.bz2 ... Passed
jcpuid.c ... FAILED
jcpuid.h ... Passed
***
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Could not download sources.

Thynix commented on 2016-04-24 15:18

Whoops, it needed an update for the KeyUtils version. I've pushed that change. Does it work for you now?

MrTimscampi commented on 2016-04-24 10:35

It's not compiling on my machine, both with openjdk7/8 and java7/8.

Here's what I get:
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /home/mrtimscampi/.cache/pacaur/freenet/src/plugin-KeyUtils/src/plugins/KeyUtils/KeyExplorerUtils.java:38: error: cannot find symbol
[javac] import freenet.client.async.KeyListenerConstructionException;
[javac] ^
[javac] symbol: class KeyListenerConstructionException
[javac] location: package freenet.client.async
[javac] /home/mrtimscampi/.cache/pacaur/freenet/src/plugin-KeyUtils/src/plugins/KeyUtils/KeyExplorerUtils.java:123: error: cannot find symbol
[javac] KeyListenerConstructionException {
[javac] ^
[javac] symbol: class KeyListenerConstructionException
[javac] location: class KeyExplorerUtils
[javac] /home/mrtimscampi/.cache/pacaur/freenet/src/plugin-KeyUtils/src/plugins/KeyUtils/KeyExplorerUtils.java:327: error: cannot find symbol

And it continues for a while, with more KeyListenerConstructionException symbol not being found.

X-san commented on 2016-03-26 05:33

It's suddenly working tonight. Guess my connectivity was poor earlier. Thanks for the quick response though.

skydrome commented on 2016-03-26 04:47

you should not be getting different chksums as nothing has changed regarding them. The issue files are from sourceforge maybe it is serving you a bad mirror. Try downloading them manually from a different host.

https://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.tar.bz2
https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/4.65/lzma465.tar.bz2
https://sourceforge.net/projects/bitcollider/files/jBitcollider%20%28Java%29/0.8/jBitcollider-0.8.zip

X-san commented on 2016-03-25 22:47

sha256sums are not passing on the following files:
ant-contrib-1.0b3-bin.tar.bz2
lzma465.tar.bz2
jBitcollider-0.8.zip

Have tried a couple times making sure to use clean directory.

Matheus commented on 2016-03-23 18:01

The freenet 0.7.5 build 1472 has been released.

skydrome commented on 2016-02-17 22:28

no reason other than didn't need to at the time, ive updated the pkgbuild to checkout each version tag now

tuxayo commented on 2016-02-13 17:40

@skydrome I confirm that it works.
Is there a reason to keep to two incompatible versions configured in the PKGBUILD?
(fred 1470 and KeyUtils master)

skydrome commented on 2016-02-04 06:49

you just have to uncomment _fred=#branch=next

tuxayo commented on 2016-02-03 15:03

@skydrome You mean compiling the PKGBUILD without any modification works?

TZ86 commented on 2016-02-03 07:25

Oh, and seems to it needs latest version of bc because with current one I've got "java.security.NoSuchAlgorithmException: no such algorithm: SHA256withECDDSA for provider BC"

There is updated PKGBUILD: http://pastebin.com/nbbDvArv

TZ86 commented on 2016-02-03 06:38

It fails on KeyUtils plugin building. I've fixed that by switching to fred master (just removed ${_fred} from fred source url).

skydrome commented on 2016-01-08 08:30

Compiling the latest is working fine for me right now, you can build a pre-release tag from one named here https://github.com/freenet/fred/tags
Official release shouldnt be too far away

tuxayo commented on 2016-01-07 22:35

I get an error when compiling Plugin KeyUtils:
https://github.com/freenet/plugin-KeyUtils/issues/13

Anybody else?

felixonmars commented on 2015-09-25 06:37

FYI, bcprov 1.52 has been added to [testing].

hexchain commented on 2015-09-25 06:28

Thank you, that's really quick!

skydrome commented on 2015-09-25 04:36

i recently change the build to include bcprov 1.52 directly into this package instead of relying on yet another aur package but forgot to point freenet to this new path. Its fixed now

Thynix commented on 2015-09-25 03:05

extra/bcprov is too old - it's 1.50, but Freenet requires 1.52.

hexchain commented on 2015-09-25 02:53

I'm not able to build this package. It fails when building Freenet: aur-freenet/src/fred/build-clean.xml:185: Bouncycastle not available (or not recent enough); try https://downloads.freenetproject.org/latest/bcprov.jar

$ java -version
openjdk version "1.8.0_60"
OpenJDK Runtime Environment (build 1.8.0_60-b24)
OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode)

extra/bcprov installed

skydrome commented on 2015-09-20 01:55

0.7.5.1470-3 makes use of the latest Web of Trust plugin
https://github.com/freenet/plugin-WebOfTrust/releases/tag/build0018

skydrome commented on 2015-08-15 13:17

-3 makes use of the latest Web of Trust plugin
https://github.com/freenet/plugin-WebOfTrust/releases/tag/build0016

ptr commented on 2015-08-13 02:26

works now for me, thanks for help

==> Beendete Erstellung: freenet 1:0.7.5.1469-2 (Do 13. Aug 04:24:01 CEST 2015)

JohnRobson commented on 2015-08-12 22:11

Now works perfectly. Thank you very much skydrome.

skydrome commented on 2015-08-12 20:09

JohnRobson, can you try now? https://aur.archlinux.org/cgit/aur.git/commit/?h=freenet&id=b955a41caeab80bef8500d6966a29934b231567f

JohnRobson commented on 2015-08-12 16:02

Maybe the error is in the Makefile.

JohnRobson commented on 2015-08-12 16:02

Error:
Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
==> Building NativeCPUID...
==> Building onion-fec...
Makefile:33: *** target pattern contains no '%'. Stop.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build freenet.

skydrome commented on 2015-08-12 15:15

my fault again sorry, https://aur.archlinux.org/cgit/aur.git/commit/?h=freenet&id=a710ef02d8617a732c76571960e7eca4d3ebe322

ptr commented on 2015-08-12 15:07

ok, thanks

and now i have this

==> Building onion-fec...
cc fec.c -o fec8.S -S -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -DGF_BITS=8
cc fec8.S -o fec8.o -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -DGF_BITS=8
cc fec-jinterf.c -o fec8-jinterf.o -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -DGF_BITS=8
-I/include/linux
cc1: Fehler: /include/linux: Keine Berechtigung
Makefile:31: die Regel für Ziel „fec8-jinterf.o“ scheiterte
make: *** [fec8-jinterf.o] Fehler 1
rm fec8.S fec8.o
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

skydrome commented on 2015-08-12 14:54

arch used to set JAVA_HOME itself but I always kept mine set locally by myself and now arch uses archlinux-java script to set symlinks to what JAVA_HOME would be. (https://aur.archlinux.org/cgit/aur.git/commit/?h=freenet&id=c5b824a91ee69e7ceb639eb3ce8645b48cd44ddc)

╰──▶ pac_what_owns /usr/bin/javah
/usr/bin/javah is owned by java-environment-common 2-2

you should have this since installing a jdk requires it...

ptr commented on 2015-08-12 14:39

@skydrome, thanks (What was the error?)

But Now at line 186:

==> Building NativeThread...
/tmp/yaourt-tmp-patrick/aur-freenet/./PKGBUILD: Zeile 186: javah: Kommando nicht gefunden.

skydrome commented on 2015-08-12 13:35

ptr, fixed

ptr commented on 2015-08-12 05:41

ERROR: https://gist.github.com/db7a4965655744dae64d

Building NativeBigInt...
cc1: Fehler: /include/linux: Keine Berechtigung

ptr commented on 2015-08-12 04:30

==> Beginne build()...
==> Building NativeBigInt...
cc1: Fehler: /include/linux: Keine Berechtigung
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
==> FEHLER:Makepkg konnte freenet nicht erstellen.
==> Erstellen von freenet neu starten?[j/N]

JohnRobson commented on 2015-08-12 03:18

ERROR: https://paste.debian.net/291520/

==> Building NativeCPUID...
==> Building onion-fec...
Makefile:33: *** target pattern contains no '%'. Stop.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build freenet.

Thynix commented on 2015-08-12 00:45

I've updated the seed nodes file. sha256 is now e9552d1912216e88f2d04fd6882cc015acb81bd2a2b2392197b3758578b23f81.

JohnRobson commented on 2015-07-17 10:00

Error: https://paste.debian.net/283230/

Thynix commented on 2015-07-17 01:32

I've updated an existing reference in the seed nodes file. sha256sum is now d00e9dc27d6fda8ba01c3cd0b5a30ae77e36590ef58848ab9445ce29331e0434.

JohnRobson commented on 2015-07-14 03:15

Do you have some idea about this error? https://paste.debian.net/282131/

Thynix commented on 2015-07-10 23:48

I've updated the seed nodes file to update existing references. sha256sum is now 25c396c1b7025c7c8fec7bbab926fbb2d56a5262bed4f5c8f7510c0a9bbef833.

Thynix commented on 2015-06-18 03:13

I've updated the seed nodes file to add another seed node. sha256sum is now 231f30141d246a33c06dc6fa6c51b9da5524088b960130792f55bb6d7843827d.

aricart commented on 2015-05-26 03:40

You should change the service file ExecStop line so it points to an absolute path...

Orpheus commented on 2015-05-06 08:01

Build failed

==> Building onion-fec...
Makefile:33: *** Ziel-Muster enthält kein „%“. Schluss.
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

esbeye commented on 2015-05-06 04:36

On Raspberry Pi it kept gives me error when building jcpuid. When I looked at i2p-dev PKGBUILD, I noticed that it only compiled on condition "if [[ "$CARCH" != @(arm)* ]];". So, I removed the line "build_jcpuid" and the package can be built.
Freenet is working well the last couple of hours with constant CPU usage about 90%. But I'm still wondering what jcpuid does

esbeye commented on 2015-05-06 04:36

On Raspberry Pi it kept gives me error when building jcpuid. When I looked at i2p-dev PKGBUILD, I noticed in i2p-dev PKGBUILD, jcpuid only compiled on condition "if [[ "$CARCH" != @(arm)* ]];". So, I removed the line "build_jcpuid" and the package can be built.
Freenet is working well the last couple of hours with constant CPU usage about 90%. But I'm still wondering what jcpuid does

esbeye commented on 2015-05-06 04:35

On Raspberry Pi it kept gives me error when building jcpuid. When I looked at i2p-dev PKGBUILD, I noticed that it only compiled on condition "if [[ "$CARCH" != @(arm)* ]];". So, I removed the line "build_jcpuid" and the package can be built.
Freenet is working well the last couple of hours with constant CPU usage about 90%. But I'm still wondering what jcpuid does

skydrome commented on 2015-05-05 19:55

fixed the hash check for seednodes file, unit tests are not run by default now

lava commented on 2015-04-30 15:00

seednodes.fref hash is wrong (94105af71304797010929dbec77b720eacd22343ef6a0c31dfc100921f3ce35e),

also gives the same failed test as for prodigen. I'm not a java-dev and cannot understand if there is still something missing in the system or this is merely a bug.

Thynix commented on 2015-03-29 03:34

Is there a reason to run the tests when building a package? The "package-only" target only builds the jar and does not run the tests. Would that help?

noplease commented on 2015-03-06 08:40

Hi, it gives me the following error:
{
.
.
.
[junit] Test 45 : h1[foo] {} -> h1[foo]
[junit] Bad selector test 0
[junit] Bad selector test 1
[junit] Bad selector test 2
[junit] Bad selector test 3
[junit] Bad selector test 4
[junit] Bad selector test 5
[junit] Bad selector test 6
[junit] Bad selector test 7
[junit] Bad selector test 8
[junit] Bad selector test 9
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testCSS3Selector took 0.222 sec
[junit] Testcase: testProperties took 0.429 sec
[junit] Testcase: testMaybeCharset took 0.092 sec
[junit] Testcase: testWhitespace took 0.021 sec
[junit] Testcase: testCSS2Selector took 0.031 sec
[junit] Testcase: testBackgroundURL took 0.023 sec
[junit] Testcase: testTripleCommentStart took 0.014 sec
[junit] Testcase: testCharset took 0.124 sec
[junit] Testcase: testComment took 0.013 sec
[junit] Testcase: testEscape took 0.014 sec
[junit] Testcase: testImports took 0.036 sec
[junit] Testcase: testCSS1Selector took 0.016 sec
[junit] Testcase: testDoubleCommentStart took 0.012 sec
[junit] Testcase: testNewlines took 0.013 sec
[junit] Running freenet.client.filter.ContentFilterTest$TagVerifierTest
[junit] Testsuite: freenet.client.filter.ContentFilterTest$TagVerifierTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 sec
[junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 sec
[junit]
[junit] Testcase: testMetaTagHTMLContentType took 0.232 sec
[junit] Testcase: testFormTag took 0.001 sec
[junit] Testcase: testInvalidInputTag took 0.001 sec
[junit] Testcase: testMetaTagXHTMLContentType took 0 sec
[junit] Testcase: testInvalidFormMethod took 0 sec
[junit] Testcase: testBodyTag took 0.001 sec
[junit] Testcase: testLinkTag took 0.065 sec
[junit] Testcase: testMetaTagUnknownContentType took 0.001 sec
[junit] Testcase: testHTMLTagWithInvalidNS took 0.001 sec
[junit] Testcase: testValidInputTag took 0 sec
[junit] Running freenet.client.filter.ContentFilterTest
[junit] Testsuite: freenet.client.filter.ContentFilterTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.474 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.474 sec
[junit] ------------- Standard Output ---------------
[junit] Failure: Corrupt or malicious web page (unable to filter the page)!
[junit] Failure: Corrupt or malicious web page (unable to filter the page)!
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] Corrupt or malicious web page (unable to filter the page)!
[junit] at freenet.client.filter.HTMLFilter.throwFilterException(HTMLFilter.java:701)
[junit] at freenet.client.filter.HTMLFilter$HTMLParseContext.run(HTMLFilter.java:296)
[junit] at freenet.client.filter.HTMLFilter.readFilter(HTMLFilter.java:84)
[junit] at freenet.client.filter.ContentFilterTest.testEvilCharset(ContentFilterTest.java:293)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:483)
[junit] at junit.framework.TestCase.runTest(TestCase.java:176)
[junit] at junit.framework.TestCase.runBare(TestCase.java:141)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:122)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:142)
[junit] at junit.framework.TestResult.run(TestResult.java:125)
[junit] at junit.framework.TestCase.run(TestCase.java:129)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[junit] at junit.framework.TestSuite.run(TestSuite.java:247)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
[junit] Corrupt or malicious web page (unable to filter the page)!
[junit] at freenet.client.filter.HTMLFilter.throwFilterException(HTMLFilter.java:701)
[junit] at freenet.client.filter.HTMLFilter$HTMLParseContext.run(HTMLFilter.java:296)
[junit] at freenet.client.filter.HTMLFilter.readFilter(HTMLFilter.java:84)
[junit] at freenet.client.filter.ContentFilter.filter(ContentFilter.java:287)
[junit] at freenet.client.filter.ContentFilterTest.testEvilCharset(ContentFilterTest.java:309)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:483)
[junit] at junit.framework.TestCase.runTest(TestCase.java:176)
[junit] at junit.framework.TestCase.runBare(TestCase.java:141)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:122)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:142)
[junit] at junit.framework.TestResult.run(TestResult.java:125)
[junit] at junit.framework.TestCase.run(TestCase.java:129)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[junit] at junit.framework.TestSuite.run(TestSuite.java:247)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testMetaRefresh took 0.247 sec
[junit] Testcase: testLowerCaseExtensions took 0.001 sec
[junit] Testcase: testHTMLFilter took 0.149 sec
[junit] Testcase: testEvilCharset took 0.006 sec
[junit] Running freenet.client.filter.JPEGFilterTest
[junit] Testsuite: freenet.client.filter.JPEGFilterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec
[junit]
[junit] Testcase: testThatAThumbnailExtensionCodeIsPreserved took 0.019 sec
[junit] Running freenet.client.filter.PNGFilterTest
[junit] Testsuite: freenet.client.filter.PNGFilterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
[junit]
[junit] Testcase: testSuiteTest took 0.038 sec
[junit] Running freenet.clients.http.CookieTest
[junit] Testsuite: freenet.clients.http.CookieTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
[junit] ------------- Standard Output ---------------
[junit] sessionid=abCd12345;version=1;path=/Freetalk;expires=Fri, 06 Mar 2015 09:22:53 GMT;discard=true;
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testGetValue took 0.006 sec
[junit] Testcase: testEncodeToHeaderValue took 0.002 sec
[junit] Testcase: testGetName took 0 sec
[junit] Testcase: testGetPath took 0 sec
[junit] Testcase: testCookieURIStringStringDate took 0.008 sec
[junit] Testcase: testEqualsObject took 0 sec
[junit] Testcase: testGetDomain took 0 sec
[junit] Running freenet.clients.http.FilterCSSIdentifierTest
[junit] Testsuite: freenet.clients.http.FilterCSSIdentifierTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
[junit]
[junit] Testcase: testInvalidFirstDash took 0.008 sec
[junit] Testcase: testInvalidChar took 0 sec
[junit] Testcase: testKnownValid took 0.002 sec
[junit] Running freenet.clients.http.ReceivedCookieTest
[junit] Testsuite: freenet.clients.http.ReceivedCookieTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec
[junit]
[junit] Testcase: testParseHeader took 0.018 sec
[junit] Testcase: testEncodeToHeaderValue took 0 sec
[junit] Testcase: testGetDomain took 0 sec
[junit] Testcase: testGetValue took 0.002 sec
[junit] Testcase: testGetName took 0 sec
[junit] Testcase: testGetPath took 0.001 sec
[junit] Testcase: testCookieURIStringStringDate took 0.009 sec
[junit] Testcase: testEqualsObject took 0 sec
[junit] Running freenet.config.ConfigTest
[junit] Testsuite: freenet.config.ConfigTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 sec
[junit]
[junit] Testcase: testGet took 0.024 sec
[junit] Testcase: testRegister took 0.065 sec
[junit] Testcase: testConfig took 0 sec
[junit] Testcase: testGetConfigs took 0 sec
[junit] Running freenet.crypt.AEADBucketTest
[junit] Testsuite: freenet.crypt.AEADBucketTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec
[junit]
[junit] Testcase: testCopyBucketNotDivisibleBy16 took 0.313 sec
[junit] Running freenet.crypt.AEADStreamsTest
[junit] Testsuite: freenet.crypt.AEADStreamsTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.096 sec
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.096 sec
[junit]
[junit] Testcase: testCorruptedRoundTrip took 0.715 sec
[junit] Testcase: testGarbageAfterClose took 0.043 sec
[junit] Testcase: testSuccessfulRoundTrip took 0.152 sec
[junit] Testcase: testCloseEarly took 0.002 sec
[junit] Testcase: testTruncatedReadsWritesRoundTrip took 0.114 sec
[junit] Running freenet.crypt.CTRBlockCipherTest
[junit] Testsuite: freenet.crypt.CTRBlockCipherTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.664 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.664 sec
[junit] ------------- Standard Output ---------------
[junit] JCA is crippled, not doing tests requiring JCA
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testNISTRandomLength took 0.401 sec
[junit] Testcase: testNIST took 0 sec
[junit] Testcase: testRandomJCA took 0 sec
[junit] Testcase: testRandom took 0.199 sec
[junit] Running freenet.crypt.CryptByteBufferTest
[junit] Testsuite: freenet.crypt.CryptByteBufferTest
[junit] Tests run: 30, Failures: 0, Errors: 23, Skipped: 0, Time elapsed: 1.193 sec
[junit] Tests run: 30, Failures: 0, Errors: 23, Skipped: 0, Time elapsed: 1.193 sec
[junit]
[junit] Testcase: testSuccessfulRoundTripByteArrayNewInstance took 0.905 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testSuccessfulRoundTripByteArrayNewInstance(CryptByteBufferTest.java:446)
[junit]
[junit] Testcase: testSetIVIvParameterSpec took 0.015 sec
[junit] Testcase: testEncryptWrapByteBuffer took 0.002 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptWrapByteBuffer(CryptByteBufferTest.java:287)
[junit]
[junit] Testcase: testEncryptByteArrayIntIntOffsetOutOfBounds took 0.002 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptByteArrayIntIntOffsetOutOfBounds(CryptByteBufferTest.java:558)
[junit]
[junit] Testcase: testEncryptByteArrayIntIntLengthOutOfBounds took 0.005 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptByteArrayIntIntLengthOutOfBounds(CryptByteBufferTest.java:579)
[junit]
[junit] Testcase: testGenIV took 0.001 sec
[junit] Testcase: testGetIV took 0 sec
[junit] Testcase: testGenIVLength took 0 sec
[junit] Testcase: testGenIVUnsupportedTypeException took 0.001 sec
[junit] Testcase: testEncryptByteBufferToByteBufferDirect took 0.01 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptByteBufferToByteBufferDirect(CryptByteBufferTest.java:350)
[junit]
[junit] Testcase: testDecryptByteArrayNullInput took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testDecryptByteArrayNullInput(CryptByteBufferTest.java:599)
[junit]
[junit] Testcase: testRoundRandomLengthBytes took 0 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testRoundRandomLengthBytes(CryptByteBufferTest.java:121)
[junit]
[junit] Testcase: testSetIVIvParameterSpecNullInput took 0.003 sec
[junit] Testcase: testSuccessfulRoundTripByteArrayReset took 0.002 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testSuccessfulRoundTripByteArrayReset(CryptByteBufferTest.java:238)
[junit]
[junit] Testcase: testSuccessfulRoundTripInPlace took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testSuccessfulRoundTripInPlace(CryptByteBufferTest.java:158)
[junit]
[junit] Testcase: testDecryptByteArrayIntIntNullInput took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testDecryptByteArrayIntIntNullInput(CryptByteBufferTest.java:638)
[junit]
[junit] Testcase: testOverlappingDecode took 0.002 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testOverlappingDecode(CryptByteBufferTest.java:785)
[junit]
[junit] Testcase: testEncryptDirectByteBuffer took 0.008 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptDirectByteBuffer(CryptByteBufferTest.java:420)
[junit]
[junit] Testcase: testOverlappingEncode took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testOverlappingEncode(CryptByteBufferTest.java:763)
[junit]
[junit] Testcase: testEncryptByteBufferToByteBuffer took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptByteBufferToByteBuffer(CryptByteBufferTest.java:321)
[junit]
[junit] Testcase: testRoundOneByte took 0.004 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testRoundOneByte(CryptByteBufferTest.java:88)
[junit]
[junit] Testcase: testSuccessfulRoundTripInPlaceOffset took 0 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testSuccessfulRoundTripInPlaceOffset(CryptByteBufferTest.java:181)
[junit]
[junit] Testcase: testEncryptByteArrayIntIntNullInput took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptByteArrayIntIntNullInput(CryptByteBufferTest.java:537)
[junit]
[junit] Testcase: testEncryptByteArrayNullInput took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testEncryptByteArrayNullInput(CryptByteBufferTest.java:498)
[junit]
[junit] Testcase: testSetIVIvParameterSpecUnsupportedTypeException took 0 sec
[junit] Testcase: testSuccessfulRoundTripByteArray took 0.003 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testSuccessfulRoundTripByteArray(CryptByteBufferTest.java:67)
[junit]
[junit] Testcase: testDecryptByteArrayIntIntOffsetOutOfBounds took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testDecryptByteArrayIntIntOffsetOutOfBounds(CryptByteBufferTest.java:660)
[junit]
[junit] Testcase: testSuccessfulRoundTripOutOfPlaceOffset took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testSuccessfulRoundTripOutOfPlaceOffset(CryptByteBufferTest.java:208)
[junit]
[junit] Testcase: testDecryptWrapByteBuffer took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testDecryptWrapByteBuffer(CryptByteBufferTest.java:388)
[junit]
[junit] Testcase: testDecryptByteArrayIntIntLengthOutOfBounds took 0.001 sec
[junit] Caused an ERROR
[junit] Illegal key size
[junit] java.security.InvalidKeyException: Illegal key size
[junit] at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1034)
[junit] at javax.crypto.Cipher.implInit(Cipher.java:800)
[junit] at javax.crypto.Cipher.chooseProvider(Cipher.java:859)
[junit] at javax.crypto.Cipher.init(Cipher.java:1370)
[junit] at javax.crypto.Cipher.init(Cipher.java:1301)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:88)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:153)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:198)
[junit] at freenet.crypt.CryptByteBuffer.<init>(CryptByteBuffer.java:212)
[junit] at freenet.crypt.CryptByteBufferTest.testDecryptByteArrayIntIntLengthOutOfBounds(CryptByteBufferTest.java:681)
[junit]

BUILD FAILED
/tmp/disabled/yaourt-tmp-disabled/aur-freenet/src/fred/build-clean.xml:332: Test freenet.crypt.CryptByteBufferTest failed
}

skydrome commented on 2015-02-17 01:57

new build of testing version 1468 allows building of the KeyUtils plugin from source. No need to update if you dont want/need to.

skydrome commented on 2015-02-17 01:00

Sorry for the delay, after no update to my bug report to provide the updated bcprov package in 2 months Ive just resorted to polluting the AUR with
https://aur.archlinux.org/packages/bcprov151

In other news, at the time of me writing this, building freenet from the development branch is working fine also.

hobarrera commented on 2015-01-11 03:57

Dependency "bcprov>=1.51" can't be satified: only 1.50 is in [extra] and there's no newer version on the AUR.

Is there any workaround?

skydrome commented on 2014-12-21 03:39

just needed to use "rm -f" there instead, it was my fault after moving that line from the perpare() function to check(). All good now, thanks

noplease commented on 2014-12-20 06:01

I removed this line in upnp build
{ # these tests use alot of memory and can cause OOM's
rm test/freenet/client/async/{*Storage,ClientRequestSelector}Test.java
}
and It built, I still don't know the problem is me specific, I build this in my original root and in a clean chroot.

noplease commented on 2014-12-20 05:23

@skydrome Hi, I wanted to say thank you for adopting this, I cannot thank you enogh, and ask some thing:
when I'm building it, when it starts check it reports these errors:
{
*
BUILD SUCCESSFUL
Total time: 4 seconds
==> Starting check()...
rm: cannot remove ‘test/freenet/client/async/*StorageTest.java’: No such file or directory
rm: cannot remove ‘test/freenet/client/async/ClientRequestSelectorTest.java’: No such file or directory
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build freenet.
}
is the problem specific to me, if that is true, how could I fix it?
thanks for you time once more,
cheers:)

noplease commented on 2014-12-20 05:23

@skydrome Hi, I wanted to say thank you for adopting this, I cannot thank you enogh, and ask some thing:
when I'm building it, when it starts check it reports these errors:
{
*
BUILD SUCCESSFUL
Total time: 4 seconds
==> Starting check()...
rm: cannot remove ‘test/freenet/client/async/*StorageTest.java’: No such file or directory
rm: cannot remove ‘test/freenet/client/async/ClientRequestSelectorTest.java’: No such file or directory
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build freenet.
}
is the problem specific to me, if that is true, how could I fix it?
thanks for you time once more,
cheers:)

skydrome commented on 2014-12-16 01:16

check the result of your environments $JAVA_HOME you might need to re-login after installing java and/or read 'archlinux-java help'

sknd commented on 2014-12-15 11:12

ok, i installed it, but now i have this error:
(...)
==> Zaczynam pkgver()
==> Updated version: freenet 0.7.5.build01467-1
==> Zaczynam prepare()
==> Zaczynam build()
==> Building libjbigi...
In file included from jbigi/src/jbigi.c:3:0:
./jbigi/include/jbigi.h:5:18: fatal error: jni.h: Nie ma takiego pliku ani katalogu
# include <jni.h>
^
compilation terminated.
==> BŁĄD: Wystąpił błąd w build().
Przerywam...
The build failed.


what should I do now? There's nothing about libjbigi on forum...



skydrome commented on 2014-12-15 05:13

see bcprov-1.51-1.src.tar.gz in this archive

sknd commented on 2014-12-14 19:27

I cannot update, because bcprov>=1.51 is needed, and actual version of bcprov in aur is 1.50... what can i do?

skydrome commented on 2014-12-07 17:24

http://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/4.65/lzma465.tar.bz2/download it works

ironborn commented on 2014-12-07 13:27

-> Downloading lzma465.tar.bz2...
...
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading lzma465.tar.bz2

skydrome commented on 2014-12-07 01:42

If you have a working freenet installation to your liking I would ignore upgrading to this PKGBUILD until the next release to strip java/db4o since a fresh install might be needed in either case.

if you do upgrade to -2 make sure to backup your working freenet install, uninstall freenet make sure any freenet user/group is removed also.

The last thing is the directory structure might be different after upgrading. Compare freenet.ini to see.

Thynix commented on 2014-12-07 00:43

Also - the version of Fred in next now sets ant to check /usr/share/java by default so the symlinks to lib/ will no longer be needed. See https://github.com/freenet/fred/commit/08da52a45633704c1486a6a92d536713c80e4bce

Thynix commented on 2014-12-07 00:39

Might signals not working be due to IGNORE_SIGNALS=TRUE in the stock run.sh?

skydrome commented on 2014-12-07 00:36

Changes in -2
Option to build git HEAD, build a tagged release by default
Option to skip unit tests
Remove 2 unit tests dealing with storage, these are memory intensive and can take a long time to finish if it doesnt OOM first
Provide prebuilt WebOfTrust and KeyUtils plugins, neither would build for me
Compile NativeBigInteger jcpuid onion-fec for our own architecture
Attempting to load a natively compiled NativeTheads lib caused a NPE, so use prebuilt for now
This pkgbuild depends on extra/bcprov which hasnt been updated yet, a support ticket has been created for someone to do it. Use this PKGBUILD for that till then. https://pastee.org/pjgjr
systemd service file has not been tested, it'll changed to the style of how I2P's is later.
wrapper.java.maxmemory is set to 192 MB you may want to increase that, changes to wrapper.config will be saved on upgrades
What doesnt seem to work is stopping freenet by sending -TERM signals to it, the wrapper just restarts the process.

noplease commented on 2014-12-06 19:28

my build fails
{
==> Building and installing package
==> Making package: freenet 0.7.5.1467-1 (Sat Dec 6 22:56:41 IRST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating fred git repo...
Fetching origin
-> Updating contrib git repo...
Fetching origin
-> Updating plugin-JSTUN git repo...
Fetching origin
-> Updating plugin-UPnP git repo...
Fetching origin
-> Found seednodes.fref
-> Found commons-compress.jar
-> Found db4o.jar
-> Found jcpuid.c
-> Found jcpuid.h
-> Found bcprov.jar
-> Found lzma465.tar.bz2
-> Found league-lzmajio-0.95-0-gd38bf5c.tar.gz
-> Found jBitcollider-0.8.zip
-> Found mantissa-7.2-src.zip
-> Found fred.properties
-> Found contrib.properties
-> Found run.sh
-> Found freenet.service
-> Found freenet.ini
-> Found wrapper.config
==> Validating source files with sha256sums...
fred ... Skipped
contrib ... Skipped
plugin-JSTUN ... Skipped
plugin-UPnP ... Skipped
seednodes.fref ... Passed
commons-compress.jar ... Passed
db4o.jar ... Passed
jcpuid.c ... Passed
jcpuid.h ... Passed
bcprov.jar ... Passed
lzma465.tar.bz2 ... Passed
league-lzmajio-0.95-0-gd38bf5c.tar.gz ... Passed
jBitcollider-0.8.zip ... Passed
mantissa-7.2-src.zip ... Passed
fred.properties ... Passed
contrib.properties ... Passed
run.sh ... Passed
freenet.service ... Passed
freenet.ini ... Passed
wrapper.config ... Passed
==> Extracting sources...
-> Creating working copy of fred git repo...
Cloning into 'fred'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of contrib git repo...
Cloning into 'contrib'...
done.
-> Creating working copy of plugin-JSTUN git repo...
Cloning into 'plugin-JSTUN'...
done.
-> Creating working copy of plugin-UPnP git repo...
Cloning into 'plugin-UPnP'...
done.
-> Extracting commons-compress.jar with bsdtar
-> Extracting db4o.jar with bsdtar
-> Extracting bcprov.jar with bsdtar
==> Starting pkgver()...
==> Starting prepare()...
==> Starting build()...
==> Building libjbigi...
In file included from jbigi/src/jbigi.c:3:0:
./jbigi/include/jbigi.h:5:18: fatal error: jni.h: No such file or directory
# include <jni.h>
^
compilation terminated.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build freenet.
}

skydrome commented on 2014-12-04 14:53

What i would do is download this package ex: 'yaourt -G freenet' and use this one liner https://github.com/skydrome/random/blob/master/shell/aurdiff.sh to view changes i make periodically. Should make it easier to help this pkgbuild get better with more people who take part.

Almin commented on 2014-12-04 09:00

Signature Checks failed! Please update PKGBUILD!

felixonmars commented on 2014-12-04 02:17

seednodes.fref failed checksums here :(

skydrome commented on 2014-12-03 22:30

there was a defcon presentation in 2010ish that kept me from ever enabling upnp on any router I owned. Maybe things are different now.

skydrome commented on 2014-12-03 22:28

there was a defcon presentation in 2010ish that kept me from ever keeping upnp enabled on any router I owned. Maybe things are different now.

Thynix commented on 2014-12-03 03:50

Great to hear!

Official plugins I run:

* WebOfTrust (though it is very resource-intensive and should probably not run by default)
* KeyUtils
* Freemail (v2; requires WebOfTrust)
* UPnP
* FlogHelper (also requires WebOfTrust)

Unofficial plugins:

* Sone

Care to elaborate on why UPnP is evil? JSTUN I'd understand because it contacts 3rd party external services to determine the publicly routable IP, but why UPnP?

I'll have to check on the library naming scheme.

skydrome commented on 2014-12-02 16:02

Great news, I have a working freenet PKGBUILD that builds as much as possible from source, the only prebuilt pieces being java/commons-compress and java/db4o.

What are some recommended plugins besides the needed JSTUN and UPnP (which i hope upnp, cause its evil, isnt actually required).

Last question is the way the BigInt lib gets loaded. What is the naming scheme freenet uses to load these libs?

ex:
libNativeThread-{i386}.so
libjcpuid-{x86}-linux.so
Resource name [net/i2p/util/libjbigi-linux-{pentium3}.so] was not found
libjbigi-linux-{none}.so

skydrome commented on 2014-10-31 05:35

for those interested or have a rainy weekend, youll find PKGBUILD.new in this source archive. This builds from source as much as possible to create freenet-ext, then freenet itself, along with the jcpuid and jbigi c libraries.

A new script to fire up the java wrapper is also included. The next step is building plugins

skydrome commented on 2014-10-28 00:53

Ok, Ive managed to build freenet along with the contrib deps (most of them) from source. The debian rules is what ultimately helped me.

Thynix, the ant build system seems like a nuisance to view and edit those build.xml files, they are not easily understandable. Packaging for distros could be made easier by making more individualized ant targets perhaps.

Next step is rewriting the wrapper like i did for the i2p package

Thynix commented on 2014-10-28 00:02

The build of the contrib repo isn't the easiest thing, and I haven't tried on Arch, but I've done it on Debian. We're hoping to move away from this single monolithic jar insanity to separate libraries both for our own comfort and to make packaging easier - both for dependencies and the complexity of the packaging.

Other than break freenet-ext.jar into its component libraries what can the project do to make packaging easier?

There is an unmaintained Debian package that builds contrib: https://github.com/freenet/debian/blob/master/freenet-daemon/debian/rules#L16 The dependencies for building everything to make a release are documented: https://github.com/freenet/scripts/blob/master/setup-release-environment#L6

Packaging by using the installer seems like something that might work but isn't really intended. You're correct on the installer dependencies: https://github.com/freenet/scripts/blob/master/release-installer#L13

alexander commented on 2014-10-27 17:49

I am also not able to write a proper pkgbuild.

AFAIK you need freenet.jar (freenet-build01465.jar for the current build, refered to by freenet-stable-latest.jar.url), freenet-ext.jar, opennet/seednodes.fref, update/wrapper.conf and some certificates. Maybe even more.

I also tried to utilize the offline installer. You can unpack it and run the Installer with an options file instead of the gui. The problem with that is that the installer aborts when you run it as root. makepkg does run it as fake root.

I will orphan the package.

It would be great if someone could give us some help to build the package properly.

skydrome commented on 2014-10-27 00:17

been working on a pkgbuild in my free time, freenet is proving to be difficult to build from source (along with contrib deps). Its dep requirements seem very outdated for archlinux. Falling back to shoving prebuild jars from 2011 into folders, neither openjdk 7/8 succeeded in building freenet.

Is there anyone else that can try?

noplease commented on 2014-10-18 09:12

alexander: thanks, hope this package finally receives some maintenance.

JazzplayerL9 commented on 2014-07-20 03:18

@Thynix,

It would likely be better as a download and build of the current release from whatever source control model is being used...IE if it were Git, you could clone the repository and build everything from the latest commit, etc. Might be worth making a new AUR package to do that. It looks like most of that script you are referencing could be done as part of the PKGBUILD.

Thynix commented on 2014-07-20 02:20

The freenet07.tar.gz this uses hasn't been updated since 2012. It's built with https://github.com/freenet/java_installer-staging/blob/62e1e0ea4185ef044bf2559081a07e765a9c84e8/build-all.sh#L80 but no longer uploaded. I'm the current Freenet release manager; would it help to have this tarball kept up to date, or would something else be more useful?

Thynix commented on 2014-07-20 02:19

The freenet07.tar.gz this uses hasn't been updated since 2012. It's built with https://github.com/freenet/java_installer-staging/blob/62e1e0ea4185ef044bf2559081a07e765a9c84e8/build-all.sh#L80 but no longer uploaded. I'm the current Freenet release manager; would it be more better for this tarball to be kept up to date again, or would something else be more useful?

sknd commented on 2014-01-14 19:56

in PKGBUILD, in line

cp -aL ../bcprov-jdk15on-150.jar .

there should be 149 instead of 150, otherwise build fails

exine commented on 2014-01-05 16:46

Thanks Andares! Well, this package have used bouncycastle 147 before and it crashed too. After using 150 it also crashed afterwards, but I had no time to check it. Thanks for the fix!

Andares commented on 2013-12-31 09:20

The package is broken.

I've found that bcprov-jdk15on-150 causes Freenet to throw the following exception:
java.lang.IllegalArgumentException: IV must be no more than 15 bytes
at org.bouncycastle.crypto.modes.OCBBlockCipher.init(Unknown Source)
at freenet.crypt.AEADOutputStream.(AEADOutputStream.java:44)

Looking at the bouncycastle code, I saw that the 149 release only throws if IV is greater than 127 bytes. Therefore, the following workaround uses v149 instead of v150 and worked for me:

1. systemctl stop freenet
2. Change the last line of /opt/freenet/wrapper.conf to
"wrapper.java.classpath.3=bcprov-jdk15on-149.jar"
3. wget http://www.bouncycastle.org/download/bcprov-jdk15on-149.jar in /opt/freenet
4. systemctl start freenet

grawity commented on 2013-12-27 13:43

Does this always install the latest build, or only the 0.7.5 release?

berndlauert commented on 2013-11-25 14:45

It crashes after a couple of minutes:
java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/OCBBlockCipher

I've tried on two Arch installations, on my PC and in a VM; with open and proprietary Java. Same errors all the time.

Excerpt from wrapper log:
http://pastebin.com/EMCLH9Nv

cros13 commented on 2013-09-18 15:28

needs 'bsprov' in depends

felixonmars commented on 2013-07-18 08:44

The two lines in freenet.service:

ExecStart=/bin/su freenet -c "/opt/freenet/run.sh start"
ExecStop=/bin/su freenet -c "/opt/freenet/run.sh stop"

Could now be simplify to

User=freenet
ExecStart=/opt/freenet/run.sh start
ExecStop=/opt/freenet/run.sh stop

And you may add a "TimeoutSec=0" into the [Service] section to avoid timeout on first-time downloading.

Nikus commented on 2012-12-06 00:35

Finally, I removed the freenet-ext.jar and freenet-ext.jar.sha1 files.
Then I ran the update.sh script.
And after that, I managed to run freenet successfully.
Maybe there is something to update in the package.

Nikus commented on 2012-12-05 22:25

I don't manage to start FreeNet : when I execute the following command :
sudo su -c "/opt/freenet/run.sh start" freenet
I get the following error in the /opt/freenet/wrapper.log file :
Exception in thread "main" java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
Caused by: java.lang.ClassNotFoundException: org.tanukisoftware.wrapper.WrapperListener
Any idea to correct the problem ?

chungy commented on 2012-11-30 20:30

Thanks; I must have overlooked this when making the package earlier. :)

Anonymous comment on 2012-11-29 17:44

I've had issues with this package. To be more exact, Freenet was giving the following error message: FAILED TO LOAD BOUNCY CASTLE CRYPTO LIBRARY! This means the file "bcprov-jdk15on-147.jar" is not found or not on the classpath. Freenet will not be able to use the newer link setup code or newer format keys. Unless you installed it yourself, THIS IS A SEVERE BUG!

I've talked around on the #freenet channel a bit, and figured out I had to do the following to fix it:

Add "wrapper.java.classpath.3=bcprov-jdk15on-147.jar" to /opt/freenet/wrapper.conf
Remove "bcprov-jdk15on-147.jar6860594339305037097.updater.tmp"
Download "http://www.bouncycastle.org/download/bcprov-jdk15on-147.jar" and save it in /opt/freenet/

This seems to be an issue with the package, and I have been asked to report it to the package maintainer, so I'd like to nicely ask you if you could check this.

Kind Regards,
TheLastProject

chungy commented on 2012-11-07 00:16

I've overhauled the package on github here: https://github.com/chungy/aur-freenet (you can download a tar.gz from https://github.com/chungy/aur-freenet/archive/v0.7.5-2.tar.gz)

Big changes are:
* Changed arch to 'any'
* Correct sha256 checksums
* Cleaned up package() so building from paths with a space should be safer
* Do not used a fixed GID/UID for freenet; let the system figure out what's best
* No world-readable/writable permissions in /opt/freenet. Far more secure when there are users you may not want accessing Freenet downloads/bookmarks/etc.
* systemd service file (thanks felix!) and removal of the initscript (hopefully won't be missed)

vladimir1922 commented on 2012-10-05 16:29

Won't install. I tough it whas a md5 mismatch, so I downloaded, added the correct md5 (712cde8f51eed472dfee1be027a80b6a), but then it complains: "==> ERROR: Integrity checks (md5) differ in size from the source array."

vladimir1922 commented on 2012-10-05 16:25

Won't install. I tough it whas a md5 mismatch, so I downloaded, added the correct md5 (712cde8f51eed472dfee1be027a80b6a), but then it complains: "==> ERROR: Integrity checks (md5) differ in size from the source array."

felixonmars commented on 2012-09-06 06:34

A simple systemd unit file for whoever needs:

[Unit]
Description=An encrypted network without censorship
After=network.target

[Service]
Type=forking
ExecStart=/bin/sh -c "/bin/su freenet -c '/opt/freenet/run.sh start'"
ExecStop=/bin/sh -c "/bin/su freenet -c '/opt/freenet/run.sh stop'"
WorkingDirectory=/opt/freenet

[Install]
WantedBy=multi-user.target

tlvince commented on 2012-07-05 16:38

Updated the PKGBUILD to use sha1sums:
https://github.com/tlvince/pkgbuild/blob/master/freenet/PKGBUILD

sysfu commented on 2012-07-01 23:26

Same issue with md5sum verification of freenet tarball failing.

==> Validating source files with md5sums...
freenet07.tar.gz ... FAILED
rc.freenet ... Passed

Manual download of freenet07.tar.gz and freenet07.tar.gz.sha1 and manual verification of checksum using sha1sum works properly.

No trace of md5 checksum files in https://downloads.freenetproject.org/alpha/installer/. Perhaps PKGBUILD needs to be updated to use SHA1 instead of MD5.

mmm commented on 2012-06-26 22:01

md5sum does not fit. For this kind of program it seems suspicious!

salviati commented on 2011-11-30 06:34

@stqn: su -c "./run.sh start" freenet
dies eventually with
"Could not find the main class: freenet.node.NodeStarter."
The daemon script does not report this failure and you simply get "DONE".

@ Prometheus: there is no such file /opt/freenet/update.sh It would be pulled by bin/1run.sh though.


I noticed that official wiki mentions running ./bin/1run.sh during the installation, but it's not in PKGBUILD or INSTALL.

salviati commented on 2011-11-30 06:32

@stqn: su -c "./run.sh start" freenet
dies eventually with
"Could not find the main class: freenet.node.NodeStarter."
The daemon script does not report this failure and you simply get "DONE".

@ Prometheus: there is no such file /opt/freenet/update.sh


I noticed that official wiki mentions running ./bin/1run.sh during the installation, but it's not in PKGBUILD or INSTALL.
http://new-wiki.freenetproject.org/Installing/POSIX

salviati commented on 2011-11-30 06:21

su -c "./run.sh start" freenet
dies eventually with
"Could not find the main class: freenet.node.NodeStarter."
The daemon script does not report this failure and you simply get "DONE".

@ Prometheus: there is no such file /opt/freenet/update.sh

salviati commented on 2011-11-30 06:21

su -c "./run.sh start" freenet
dies eventually with
"Could not find the main class: freenet.node.NodeStarter."
The daemon does not report this failure and simply says "DONE".

@ Prometheus: there is no such file /opt/freenet/update.sh

salviati commented on 2011-11-30 06:20

su -c "./run.sh start" freenet
dies eventually with
"Could not find the main class: freenet.node.NodeStarter."

@ Prometheus: there is no such file /opt/freenet/update.sh

stqn commented on 2011-09-23 15:06

Hm looks like my comment should have been targeted at upstream. Sorry :).

stqn commented on 2011-09-23 15:00

Holy sh**!!! I've just discovered today that freenet was running without me knowing... I'm wondering if it has been running since 2 and a half months ago?! Or if it started auto-launching itself only since I installed openjdk a few days ago...
*Please* don't install a cron job automatically and silently!

Anonymous comment on 2011-08-17 09:08

From the official wiki:
(q) Is there a way to prevent Freenet from automatically starting every time my computer is booted?
(a) On Linux/Unix: Run the script in Freenet/bin/remove_cronjob.sh
Could you add this to your PKGBUILD to prevent freenet from starting without the daemon?

stqn commented on 2011-07-05 22:55

Doesn't work (running "sudo rc.d start freenet" says "Done" but doesn't run freenet.)
However, downloading freenet from the official site and running "./run.sh" does work.

Anonymous comment on 2011-04-24 22:48

To whoever flagged this out-of-date: this package isn't out of date. You simply need to run /opt/freenet/update.sh when you receive the message saying your node is out of date. Or turn on automatic updating and leave freenet running 24/7.