Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 17:35:15 +0200 (EET)
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ports@freebsd.org
Subject:   [patch] fix & update port net/limewire
Message-ID:  <200311261535.hAQFZF55062287@ajax.noc.ntua.gr>

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

>Submitter-Id:	current-users
>Originator:	Panagiotis Astithas
>Organization:	National Technical University of Athens
>Confidential:	no 
>Synopsis:	[patch] fix & update port net/limewire
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		update
>Release:	FreeBSD 4.8-STABLE i386
>Environment:
System: FreeBSD ajax.noc.ntua.gr 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Apr 8 21:45:00 EEST 2003 root@ajax.noc.ntua.gr:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
The net/limewire port does not build since the distfile contents have changed.
Fix the build by updating from 2.7.9 to 3.6.15.
	
>How-To-Repeat:
Try to build the port.
	
>Fix:
Apply the following patch (cd /usr/ports/net; patch -p < limewire.patch):

--- limewire.patch begins here ---
diff -ru /usr/ports/net/limewire/Makefile limewire/Makefile
--- /usr/ports/net/limewire/Makefile	Wed Nov 26 15:24:47 2003
+++ limewire/Makefile	Wed Nov 26 15:32:46 2003
@@ -34,6 +34,6 @@
 	@${INSTALL_SCRIPT} ${WRKSRC}/runLime.sh.sed ${PREFIX}/bin/limewire
 	@${MKDIR} ${JAR_DIR}
 	@${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/MessagesBundle.properties \
-		${JAR_DIR}
+		${WRKSRC}/xml.war ${WRKSRC}/update.ver ${JAR_DIR}
 
 .include <bsd.port.mk>
diff -ru /usr/ports/net/limewire/distinfo limewire/distinfo
--- /usr/ports/net/limewire/distinfo	Tue Nov 26 06:02:09 2002
+++ limewire/distinfo	Wed Nov 26 15:32:46 2003
@@ -1 +1 @@
-MD5 (LimeWireLinux.tgz) = b1bf61048e8f98dc0330ed2d8f714285
+MD5 (LimeWireLinux.tgz) = 324eebdc2089e81f7fbf6b4cef137856
diff -ru /usr/ports/net/limewire/files/patch-runLime.sh limewire/files/patch-runLime.sh
--- /usr/ports/net/limewire/files/patch-runLime.sh	Wed Aug  7 01:10:38 2002
+++ limewire/files/patch-runLime.sh	Wed Nov 26 15:32:46 2003
@@ -1,15 +1,16 @@
---- runLime.sh.orig	Wed May 15 14:32:03 2002
-+++ runLime.sh	Tue Jul 16 22:25:34 2002
-@@ -7,8 +7,9 @@
+--- runLime.sh.orig	Mon Jun  9 22:45:57 2003
++++ runLime.sh	Wed Nov 26 15:30:04 2003
+@@ -7,8 +7,10 @@
  # work around some limitations in the JDK1.3.  For more information
  # see http://java.sun.com/j2se/1.3/relnotes.html#vm
  #
--CLASSPATH=".:collections.jar:xerces.jar:jl011.jar:MessagesBundles.jar"
+-CLASSPATH=".:collections.jar:xerces.jar:jl011.jar:MessagesBundles.jar:themes.jar:logicrypto.jar:GURL.jar"
 -export CLASSPATH
 +CLASSPATH="%%JAR_DIR%%"
  J2SE_PREEMPTCLOSE=1
  export J2SE_PREEMPTCLOSE
--java -jar RunLime.jar
+-java -jar LimeWire.jar
++cd ${CLASSPATH}
 +exec %%LOCALBASE%%/bin/javavm \
-+	-cp "${CLASSPATH}/collections.jar:${CLASSPATH}/xerces.jar:${CLASSPATH}/jl011.jar:${CLASSPATH}/MessagesBundles.jar" \
++	-cp "${CLASSPATH}/collections.jar:${CLASSPATH}/xerces.jar:${CLASSPATH}/jl011.jar:${CLASSPATH}/MessagesBundles.jar:${CLASSPATH}/themes.jar:${CLASSPATH}/logicrypto.jar:${CLASSPATH}/GURL.jar" \
 +	-jar ${CLASSPATH}/LimeWire.jar
diff -ru /usr/ports/net/limewire/pkg-plist limewire/pkg-plist
--- /usr/ports/net/limewire/pkg-plist	Wed Nov 26 12:22:50 2003
+++ limewire/pkg-plist	Wed Nov 26 15:32:46 2003
@@ -2,9 +2,12 @@
 %%JAR_DIR%%/LimeWire.jar
 %%JAR_DIR%%/MessagesBundle.properties
 %%JAR_DIR%%/MessagesBundles.jar
-%%JAR_DIR%%/RunLime.jar
 %%JAR_DIR%%/collections.jar
 %%JAR_DIR%%/jl011.jar
+%%JAR_DIR%%/logicrypto.jar
+%%JAR_DIR%%/themes.jar
+%%JAR_DIR%%/update.ver
 %%JAR_DIR%%/xerces.jar
+%%JAR_DIR%%/xml.war
 @dirrm %%JAR_DIR%%
 @unexec rmdir %D/share/java/jar 2>/dev/null || true
--- limewire.patch ends here ---




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