Remove legacy standalone i2psnark from package

This commit is contained in:
kytv
2011-05-26 15:49:43 +00:00
parent e786da2605
commit 5d7e936aed
5 changed files with 1 additions and 47 deletions

1
debian/changelog vendored
View File

@@ -3,6 +3,7 @@ i2p (0.8.6-5) UNRELEASED; urgency=low
* Remove /etc/i2p/wrapper.service and add the changed configs to the
initscript.
* Create debian/copyright at build time.
* Don't ship the standalone jetty-i2psnark.
-- Kill Your TV <killyourtv@i2pmail.org> Wed, 25 May 2011 21:11:40 +0000

1
debian/i2p.examples vendored
View File

@@ -1,2 +1 @@
pkg-temp/runplain.sh
apps/i2psnark/launch-i2psnark

1
debian/i2p.links vendored
View File

@@ -3,5 +3,4 @@ var/lib/i2p/i2p-config/clients.config etc/i2p/clients.config
var/lib/i2p/i2p-config/hosts.txt etc/i2p/hosts.txt
var/lib/i2p/i2p-config/i2psnark.config etc/i2p/i2psnark.config
var/lib/i2p/i2p-config/i2ptunnel.config etc/i2p/i2ptunnel.config
var/lib/i2p/i2p-config/jetty-i2psnark.xml etc/i2p/jetty-i2psnark.xml
var/lib/i2p/i2p-config/systray.config etc/i2p/systray.config

View File

@@ -1,44 +0,0 @@
From: Kill Your TV <killyourtv@i2pmail.org>
Date: Wed, 18 May 2011 11:32:14 +0000
Subject: update launch-i2psnark paths
---
apps/i2psnark/jetty-i2psnark.xml | 4 ++--
apps/i2psnark/launch-i2psnark | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/apps/i2psnark/jetty-i2psnark.xml b/apps/i2psnark/jetty-i2psnark.xml
index b5d6d1e..b9b375e 100644
--- a/apps/i2psnark/jetty-i2psnark.xml
+++ b/apps/i2psnark/jetty-i2psnark.xml
@@ -55,7 +55,7 @@
<Set name="rootWebApp">i2psnark</Set>
<Call name="addWebApplication">
<Arg>/</Arg>
- <Arg>webapps/i2psnark.war</Arg>
+ <Arg>/usr/share/i2p/webapps/i2psnark.war</Arg>
</Call>
<!-- this is so we can find the css -->
@@ -63,7 +63,7 @@
<Arg>
<New class="org.mortbay.http.HttpContext">
<Set name="contextPath">/themes</Set>
- <Set name="resourceBase">./docs/themes</Set>
+ <Set name="resourceBase">/usr/share/i2p/docs/themes</Set>
<Call name="addHandler">
<Arg>
<New class="org.mortbay.http.handler.ResourceHandler">
diff --git a/apps/i2psnark/launch-i2psnark b/apps/i2psnark/launch-i2psnark
index 023b5a2..03a4ed2 100755
--- a/apps/i2psnark/launch-i2psnark
+++ b/apps/i2psnark/launch-i2psnark
@@ -4,5 +4,6 @@
# The file jetty-i2psnark.xml must be present in the current directory.
# i2psnark will be accessed at http://127.0.0.1:8002/
#
-I2P="."
+cd /var/lib/i2p/i2p-config
+I2P="/usr/share/i2p"
java -cp "$I2P/lib/i2psnark.jar:$I2P/lib/i2p.jar:$I2P/lib/mstreaming.jar:$I2P/lib/streaming.jar:$I2P/lib/commons-el.jar:$I2P/lib/commons-logging.jar:$I2P/lib/jasper-compiler.jar:$I2P/lib/jasper-runtime.jar:$I2P/lib/javax.servlet.jar:$I2P/lib/org.mortbay.jetty.jar" org.klomp.snark.web.RunStandalone "$@"
--

View File

@@ -1,5 +1,4 @@
0001-Update-paths.patch
0002-disable-browser-launch.patch
0004-Update-path-of-jbigi-and-add-soname.patch
0005-update-launch-i2psnark-paths.patch
0007-rename-jcpuid.patch