Package Details: freenet 0.7.5.1484-1

Git Clone URL: https://aur.archlinux.org/freenet.git (read-only)
Package Base: freenet
Description: An encrypted network without censorship
Upstream URL: https://freenetproject.org
Keywords: anonymous censorship encrypted freenet network
Licenses: GPL2
Submitter: Xemertix
Maintainer: Thynix (skydrome)
Last Packager: skydrome
Votes: 180
Popularity: 1.076232
First Submitted: 2009-04-17 16:46
Last Updated: 2019-04-19 07:35

Dependencies (8)

Required by (1)

Sources (11)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

skydrome commented on 2019-04-01 04:37

https://freenetproject.org/freenet-build-1484-released.html

HiJack88 commented on 2019-03-17 19:57

@skydrome: Thanks for fixing it. It works now :) I appreciate your help!

skydrome commented on 2019-03-12 08:19

fixed it for using git-fetch without a gitconfig

HiJack88 commented on 2019-03-09 04:22

Hi all,

looks like i°m keep getting a new build error:

==> Starting prepare()... remote: Enumerating objects: 7, done. remote: Counting objects: 100% (7/7), done. remote: Compressing objects: 100% (4/4), done. remote: Total 7 (delta 3), reused 7 (delta 3), pack-reused 0 Unpacking objects: 100% (7/7), done. From https://github.com/skydrome/fred * branch gradle-4.10.3 -> FETCH_HEAD

*** Please tell me who you are.

Run

git config --global user.email "you@example.com" git config --global user.name "Your Name"

to set your account's default identity. Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'robin@Hood.(none)') ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build . ==> Restart building freenet ? [y/N] ==> -------------------------------- ==>

Does that mean i need to provide login data in order to download sources?

skydrome commented on 2019-03-06 20:30

fixed building with java10+ until its fixed upstream next release

tleydxdy commented on 2019-03-04 02:31

The version is inconsistent with the PKGBUILD

HiJack88 commented on 2019-03-03 20:11

Hi all,

unfortunatey i keep getting a build error.

snipp:

==> Starting build()... ==> Building Freenet...

FAILURE: Build failed with an exception.

  • What went wrong: Could not determine java version from '11.0.2'.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org ==> ERROR: A failure occurred in build(). Aborting...


I'm using Antergos Linux with KDE Plasma v5 with all lates updates. My computer is a Lenovo ThinkPad T510 with 8 GB RAM and 512 GB SSD by Samsung.

All further dependencies (java-service-wrapper, java-hamcrest, junit) are already installed.

Can you tell me what i'm doing wrong?

Regards

Thynix commented on 2019-01-20 10:18

I've applied your patch, 14mRh4X0r. Thanks!

I was hoping to figure out a way to use the pre-built jar, as it's a reproducible build, but the build also downloads the dependency jars the package uses, so that'd be a bigger task.

I feel I should also mention what security settings are in place for the wrapper. As set by fred/gradle/wrapper/wrapper.properties the distribution is downloaded over HTTPS and distributionSha256Sum is set so if the checksum is wrong it'll fail the build. The official checksum list is https://gradle.org/release-checksums/, and the build uses 4.2.1 as of this writing.

Thynix commented on 2019-01-20 09:54

The reason the build fails with Gradle 5 is that Witness - the Gradle plugin the build uses to verify dependencies after fetching them - uses a deprecated function that was finally removed in Gradle 5.

14mRh4X0r commented on 2019-01-07 15:34

Using the gradle wrapper in the repo makes sure the build always works. However, this does download the specified gradle version from gradle.org.

diff --git a/PKGBUILD b/PKGBUILD
index 27b71ba..ee78f0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ license=('GPL2')
 arch=('i686' 'x86_64')
 install='freenet.install'
 depends=('java-runtime>=8' 'gmp' 'java-service-wrapper')
-makedepends=('java-environment>=8' 'apache-ant' 'gradle' 'git' 'java-hamcrest' 'zip')
+makedepends=('java-environment>=8' 'apache-ant' 'git' 'java-hamcrest' 'zip')
 checkdepends=('junit')
 backup=('opt/freenet/wrapper.config'
         'opt/freenet/conf/freenet.ini')
@@ -70,7 +70,7 @@ build() {
     export GRADLE_OPTS="-Dfile.encoding=UTF-8"

     msg "Building Freenet..."
-    gradle copyRuntimeLibs
+    ./gradlew copyRuntimeLibs

     build_plugins
 }
@@ -97,7 +97,7 @@ check() {

     # these tests use alot of memory and can cause OOM's
     rm -f test/freenet/client/async/{*Storage,ClientRequestSelector}Test.java
-    gradle test
+    ./gradlew test
 }

 package() {