Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 10:21:34 +0200 (CEST)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lioux@FreeBSD.org
Subject:   ports/54430: Update/fix net/freenet (0.5.2rc1 -> 0.5.2rc3)
Message-ID:  <20030713082134.39EE5881B@kyuzo.dunkelkammer.void>
Resent-Message-ID: <200307130830.h6D8UJ0u025023@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54430
>Category:       ports
>Synopsis:       Update/fix net/freenet (0.5.2rc1 -> 0.5.2rc3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 13 01:30:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Jul 8 23:17:56 CEST 2003 root@kyuzo.dunkelkammer.void:/usr/src/sys/i386/compile/KYUZO i386

>Description:
	- Update of net/freenet to the latest RC. Performance has improved
	  noticably. The port now depends on a JDK 1.4.x.
	- Rename the $JAVAVM variable in the wrapper script - the
	  javavmwrapper script has a variable with the same name, which
	  resulted in an infinite loop.

>How-To-Repeat:
	Install the port.

>Fix:
--- freenet-0.5.2r3.patch begins here ---
diff -ruN freenet.old/Makefile freenet/Makefile
--- freenet.old/Makefile	Sat May  3 04:21:21 2003
+++ freenet/Makefile	Tue Jul  8 15:21:37 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	freenet
-PORTVERSION=	0.5.2.r1
+PORTVERSION=	0.5.2.r3
 CATEGORIES=	net java security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,7 +15,7 @@
 MAINTAINER=	lioux@FreeBSD.org
 COMMENT=	peer-to-peer network aiming at anonymity and freedom of speech
 
-USE_JAVA=	1.3+
+USE_JAVA=	1.4+
 NO_BUILD=	yes
 NO_BUILD_DEPENDS_JAVA=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
diff -ruN freenet.old/distinfo freenet/distinfo
--- freenet.old/distinfo	Fri May  2 05:39:19 2003
+++ freenet/distinfo	Tue Jul  8 14:04:09 2003
@@ -1 +1 @@
-MD5 (freenet-0.5.2-rc1.tar.gz) = 4fa988b915517a44def233760662f420
+MD5 (freenet-0.5.2-rc3.tar.gz) = 5144a69f0189273a02322d131f604200
diff -ruN freenet.old/files/wrapper.sh freenet/files/wrapper.sh
--- freenet.old/files/wrapper.sh	Sat May  3 05:20:46 2003
+++ freenet/files/wrapper.sh	Thu Jul 10 22:02:48 2003
@@ -5,7 +5,7 @@
 
 PREFIX="%%PREFIX%%"
 # java
-JAVAVM="%%JAVAVM%%"
+JAVAVM_CALL="%%JAVAVM%%"
 JAR_DIR="%%JAR_DIR%%"
 JAR_FILES="%%JAR_FILES%%"
 JAR_START="%%JAR_START%%"
@@ -19,7 +19,7 @@
 configure_freenet () {
   echo "Configuring FreeNet node"
   cd ${HOME_DIR} &&
-  	${JAVAVM} -jar ./${JAR_START} freenet.node.Main --config "${@}" 
+  	${JAVAVM_CALL} -jar ./${JAR_START} freenet.node.Main --config "${@}" 
 }
 
 configure_java_classpath () {
@@ -91,7 +91,7 @@
 start_freenet () {
   echo "Starting FreeNet node"
   cd ${HOME_DIR} &&
-	nice -10 ${JAVAVM} -jar ./${JAR_START} "${@}" &
+	nice -10 ${JAVAVM_CALL} -jar ./${JAR_START} "${@}" &
   echo $! > ${HOME_DIR}/freenet.pid
   exit 0
 }
--- freenet-0.5.2r3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030713082134.39EE5881B>