forked from I2P_Developers/i2p.i2p
Installer: Require Java 8 (ticket #2511)
Jetty 9.3.28 (ticket #2098) This breaks Debian builds, fixes to follow
This commit is contained in:
@ -40,7 +40,7 @@ To uninstall I2P:
|
|||||||
rm -rf $I2PInstallDir ~/.i2p
|
rm -rf $I2PInstallDir ~/.i2p
|
||||||
|
|
||||||
Supported JVMs:
|
Supported JVMs:
|
||||||
All platforms: Java 1.7 or higher required
|
All platforms: Java 1.8 or higher required
|
||||||
Windows: OpenJDK or Oracle from http://java.com/download
|
Windows: OpenJDK or Oracle from http://java.com/download
|
||||||
Linux: OpenJDK or Oracle from http://java.com/download
|
Linux: OpenJDK or Oracle from http://java.com/download
|
||||||
FreeBSD: OpenJDK or Oracle from http://java.com/download
|
FreeBSD: OpenJDK or Oracle from http://java.com/download
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
I2P source installation instructions
|
I2P source installation instructions
|
||||||
|
|
||||||
Prerequisites to build from source:
|
Prerequisites to build from source:
|
||||||
Java SDK (preferably Oracle/Sun or OpenJDK) 1.7.0 or higher
|
Java SDK (preferably Oracle/Sun or OpenJDK) 1.8.0 or higher
|
||||||
Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
||||||
Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel) require only Java 1.6
|
Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel) require only Java 1.6
|
||||||
Apache Ant 1.7.0 or higher
|
Apache Ant 1.7.0 or higher
|
||||||
|
@ -257,7 +257,7 @@ Applications:
|
|||||||
Zxing 3.3.0:
|
Zxing 3.3.0:
|
||||||
See licenses/LICENSE-Apache2.0.txt
|
See licenses/LICENSE-Apache2.0.txt
|
||||||
|
|
||||||
Jetty 9.2.29.v20191105 (jetty-*.jar, org.mortbay.*.jar):
|
Jetty 9.3.28.v20191105 (jetty-*.jar, org.mortbay.*.jar):
|
||||||
(not included in most distribution packages, except for jetty-i2p.jar)
|
(not included in most distribution packages, except for jetty-i2p.jar)
|
||||||
See licenses/ABOUT-Jetty.html
|
See licenses/ABOUT-Jetty.html
|
||||||
See licenses/NOTICE-Jetty.html
|
See licenses/NOTICE-Jetty.html
|
||||||
|
@ -27,7 +27,7 @@ To get development branch from source control: https://geti2p.net/newdevelopers
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Java SDK (preferably Oracle/Sun or OpenJDK) 1.7.0 or higher
|
- Java SDK (preferably Oracle/Sun or OpenJDK) 1.8.0 or higher
|
||||||
- Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
- Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
||||||
- Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel)
|
- Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel)
|
||||||
require only Java 1.6
|
require only Java 1.6
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Prerequisites to build from source:
|
Prerequisites to build from source:
|
||||||
Java SDK (preferably Oracle/Sun or OpenJDK) 1.7.0 or higher
|
Java SDK (preferably Oracle/Sun or OpenJDK) 1.8.0 or higher
|
||||||
Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
||||||
Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel) require only Java 1.6
|
Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel) require only Java 1.6
|
||||||
Apache Ant 1.7.0 or higher
|
Apache Ant 1.7.0 or higher
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<property name="jar" value="addressbook.jar"/>
|
<property name="jar" value="addressbook.jar"/>
|
||||||
<property name="war" value="addressbook.war"/>
|
<property name="war" value="addressbook.war"/>
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="all" depends="jar, emptyWar"/>
|
<target name="all" depends="jar, emptyWar"/>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<property name="jar" value="desktopgui.jar"/>
|
<property name="jar" value="desktopgui.jar"/>
|
||||||
<property name="javadoc" value="javadoc"/>
|
<property name="javadoc" value="javadoc"/>
|
||||||
<property name="javac.compilerargs" value=""/>
|
<property name="javac.compilerargs" value=""/>
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
|
|
||||||
<condition property="no.bundle">
|
<condition property="no.bundle">
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="builddep" >
|
<target name="compile" depends="builddep" >
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="javac.compilerargs7" value="" />
|
<property name="javac.compilerargs7" value="" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
|
@ -15,16 +15,14 @@
|
|||||||
|
|
||||||
<!-- Note: Change version numbers in top-level build.xml if you update to a new Tomcat or Jetty! -->
|
<!-- Note: Change version numbers in top-level build.xml if you update to a new Tomcat or Jetty! -->
|
||||||
|
|
||||||
<!-- jetty.branch unused until we go to 9.3 -->
|
|
||||||
<property name="jetty.branch" value="stable-9" />
|
<property name="jetty.branch" value="stable-9" />
|
||||||
<property name="jetty.base" value="jetty-distribution-${jetty.ver}" />
|
<property name="jetty.base" value="jetty-distribution-${jetty.ver}" />
|
||||||
<property name="jetty.sha1" value="cc68beca7e11dd6c0067750499d9dea86ee6d2f0" />
|
<property name="jetty.sha1" value="0b4bf8501da2ca6f5d1f8c583b476b1a46e16845" />
|
||||||
<property name="jetty.filename" value="${jetty.base}.zip" />
|
<property name="jetty.filename" value="${jetty.base}.zip" />
|
||||||
<!-- change jetty.ver to jetty.branch for 9.3 -->
|
<property name="jetty.url" value="https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${jetty.ver}/${jetty.filename}" />
|
||||||
<property name="jetty.url" value="http://central.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${jetty.ver}/${jetty.filename}" />
|
|
||||||
<property name="verified.filename" value="verified.txt" />
|
<property name="verified.filename" value="verified.txt" />
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
<!-- everything we need is in the deployer package, except for tomcat-api.jar in the full package,
|
<!-- everything we need is in the deployer package, except for tomcat-api.jar in the full package,
|
||||||
|
@ -317,7 +317,7 @@ public class I2PRequestLog extends AbstractLifeCycle implements RequestLog
|
|||||||
buf.append(request.getMethod());
|
buf.append(request.getMethod());
|
||||||
buf.append(' ');
|
buf.append(' ');
|
||||||
|
|
||||||
request.getUri().writeTo(u8buf);
|
u8buf.append(request.getHttpURI().toString());
|
||||||
|
|
||||||
buf.append(' ');
|
buf.append(' ');
|
||||||
buf.append(request.getProtocol());
|
buf.append(request.getProtocol());
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
apps/jetty/jetty-distribution-9.3.28.v20191105/start.jar
Normal file
BIN
apps/jetty/jetty-distribution-9.3.28.v20191105/start.jar
Normal file
Binary file not shown.
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
<target name="compile" depends="prepare, depend, dependVersion">
|
<target name="compile" depends="prepare, depend, dependVersion">
|
||||||
|
@ -15,7 +15,7 @@ import net.i2p.util.Log;
|
|||||||
import net.i2p.util.PortMapper;
|
import net.i2p.util.PortMapper;
|
||||||
|
|
||||||
import org.eclipse.jetty.server.Request;
|
import org.eclipse.jetty.server.Request;
|
||||||
import org.eclipse.jetty.servlets.gzip.GzipHandler;
|
import org.eclipse.jetty.server.handler.gzip.GzipHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Block certain Host headers to prevent DNS rebinding attacks.
|
* Block certain Host headers to prevent DNS rebinding attacks.
|
||||||
|
@ -22,6 +22,7 @@ import java.util.Set;
|
|||||||
import java.util.SortedSet;
|
import java.util.SortedSet;
|
||||||
import java.util.StringTokenizer;
|
import java.util.StringTokenizer;
|
||||||
import java.util.concurrent.LinkedBlockingQueue;
|
import java.util.concurrent.LinkedBlockingQueue;
|
||||||
|
import javax.servlet.ServletRequest;
|
||||||
|
|
||||||
import net.i2p.I2PAppContext;
|
import net.i2p.I2PAppContext;
|
||||||
import net.i2p.app.ClientApp;
|
import net.i2p.app.ClientApp;
|
||||||
@ -360,17 +361,20 @@ public class RouterConsoleRunner implements RouterApp {
|
|||||||
log.logAlways(net.i2p.util.Log.WARN, s);
|
log.logAlways(net.i2p.util.Log.WARN, s);
|
||||||
System.out.println("Warning: " + s);
|
System.out.println("Warning: " + s);
|
||||||
if (noJava8) {
|
if (noJava8) {
|
||||||
s = "Java 8 or higher will be required in a future release, please upgrade Java";
|
s = "Java 8 or higher is required, please upgrade Java";
|
||||||
log.logAlways(net.i2p.util.Log.WARN, s);
|
log.logAlways(net.i2p.util.Log.WARN, s);
|
||||||
System.out.println("Warning: " + s);
|
System.out.println("Warning: " + s);
|
||||||
}
|
}
|
||||||
if (noPack200) {
|
if (noPack200) {
|
||||||
s = "Pack200 is required for plugins and automatic updates, please upgrade Java";
|
if (SystemVersion.isJava(14))
|
||||||
|
s = "Pack200 is required for some plugins, please consider downgrading Java to 13 or lower";
|
||||||
|
else
|
||||||
|
s = "Pack200 is required for some plugins, please consider upgrading Java";
|
||||||
log.logAlways(net.i2p.util.Log.WARN, s);
|
log.logAlways(net.i2p.util.Log.WARN, s);
|
||||||
System.out.println("Warning: " + s);
|
System.out.println("Warning: " + s);
|
||||||
}
|
}
|
||||||
if (openARM) {
|
if (openARM) {
|
||||||
s = "OpenJDK 7/8 are not recommended for ARM. Use OpenJDK 9 (or higher) or Oracle Java 8 (or higher)";
|
s = "OpenJDK 8 is not recommended for ARM. Use OpenJDK 9 (or higher) or Oracle Java 8 (or higher)";
|
||||||
log.logAlways(net.i2p.util.Log.WARN, s);
|
log.logAlways(net.i2p.util.Log.WARN, s);
|
||||||
System.out.println("Warning: " + s);
|
System.out.println("Warning: " + s);
|
||||||
}
|
}
|
||||||
@ -1081,8 +1085,8 @@ public class RouterConsoleRunner implements RouterApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UserIdentity login(String username, Object credentials) {
|
public UserIdentity login(String username, Object credentials, ServletRequest request) {
|
||||||
UserIdentity rv = super.login(username, credentials);
|
UserIdentity rv = super.login(username, credentials, request);
|
||||||
if (rv == null)
|
if (rv == null)
|
||||||
//_log.logAlways(net.i2p.util.Log.WARN, "Console authentication failed, webapp: " + _webapp + ", user: " + username);
|
//_log.logAlways(net.i2p.util.Log.WARN, "Console authentication failed, webapp: " + _webapp + ", user: " + username);
|
||||||
_log.logAlways(net.i2p.util.Log.WARN, "Console authentication failed, user: " + username);
|
_log.logAlways(net.i2p.util.Log.WARN, "Console authentication failed, user: " + username);
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs7" value="" />
|
<property name="javac.compilerargs7" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
<!-- compile everything including client classes -->
|
<!-- compile everything including client classes -->
|
||||||
@ -45,7 +45,7 @@
|
|||||||
<target name="compileTest" depends="compile">
|
<target name="compileTest" depends="compile">
|
||||||
<javac
|
<javac
|
||||||
srcdir="./test"
|
srcdir="./test"
|
||||||
debug="true" deprecation="on" source="1.7" target="1.7"
|
debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
|
||||||
includeAntRuntime="false"
|
includeAntRuntime="false"
|
||||||
encoding="UTF-8"
|
encoding="UTF-8"
|
||||||
destdir="./build/obj"
|
destdir="./build/obj"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
</path>
|
</path>
|
||||||
|
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
|
|
||||||
<condition property="no.bundle">
|
<condition property="no.bundle">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="require.gettext" value="true" />
|
<property name="require.gettext" value="true" />
|
||||||
|
|
||||||
<condition property="no.bundle">
|
<condition property="no.bundle">
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -43,7 +43,7 @@ sloccount.report.file=sloccount.sc
|
|||||||
require.gettext=true
|
require.gettext=true
|
||||||
|
|
||||||
# Compile for this version of Java
|
# Compile for this version of Java
|
||||||
javac.version=1.7
|
javac.version=1.8
|
||||||
|
|
||||||
# Additional classpath if required
|
# Additional classpath if required
|
||||||
#javac.classpath=/PATH/TO/pack200.jar
|
#javac.classpath=/PATH/TO/pack200.jar
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<property file="override.properties"/>
|
<property file="override.properties"/>
|
||||||
<property file="build.properties"/>
|
<property file="build.properties"/>
|
||||||
<!-- When changing, also change javadoc URL in build.properties, and checksum in apps/jetty/build.xml -->
|
<!-- When changing, also change javadoc URL in build.properties, and checksum in apps/jetty/build.xml -->
|
||||||
<property name="jetty.ver" value="9.2.29.v20191105" />
|
<property name="jetty.ver" value="9.3.28.v20191105" />
|
||||||
<property name="tomcat.ver" value="8.5.50" />
|
<property name="tomcat.ver" value="8.5.50" />
|
||||||
|
|
||||||
<!-- You probably don't want to change anything from here down -->
|
<!-- You probably don't want to change anything from here down -->
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.classpath" value="" />
|
<property name="javac.classpath" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
<!-- fixups if we're using libintl.jar for GettextResource.java -->
|
<!-- fixups if we're using libintl.jar for GettextResource.java -->
|
||||||
|
@ -54,8 +54,7 @@ Current Runtime Dependencies
|
|||||||
* libjetty9-java
|
* libjetty9-java
|
||||||
For /usr/share/java/jetty9-*.jar.
|
For /usr/share/java/jetty9-*.jar.
|
||||||
In non-Debian builds we bundle the jars; it's removed in the Debian source package.
|
In non-Debian builds we bundle the jars; it's removed in the Debian source package.
|
||||||
This is for Jetty 9.2.x, which is what's in Debian.
|
This is for Jetty 9.3.x, which is the same as 9.4.x except it's Java 8 compatible.
|
||||||
We are not compatible with Jetty 9.4.x, which is what's in RedHat.
|
|
||||||
|
|
||||||
* libtomcat8-java
|
* libtomcat8-java
|
||||||
For /usr/share/java/tomcat8-*.jar.
|
For /usr/share/java/tomcat8-*.jar.
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
2020-05-27 zzz
|
2020-05-27 zzz
|
||||||
|
* Installer:
|
||||||
|
- Require Java 8 (ticket #2511)
|
||||||
|
- Sign the dlls (ticket #2704)
|
||||||
|
* Jetty 9.3.28 (ticket #2098)
|
||||||
|
* UPnP: More fixes
|
||||||
* Util: Faster gzip
|
* Util: Faster gzip
|
||||||
|
|
||||||
* 2020-05-25 0.9.46 released
|
* 2020-05-25 0.9.46 released
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<author name="I2P" email="https://geti2p.net/"/>
|
<author name="I2P" email="https://geti2p.net/"/>
|
||||||
</authors>
|
</authors>
|
||||||
<url>https://geti2p.net/</url>
|
<url>https://geti2p.net/</url>
|
||||||
<javaversion>1.7</javaversion>
|
<javaversion>1.8</javaversion>
|
||||||
|
|
||||||
<!-- use pack200 compression, saves about 33%
|
<!-- use pack200 compression, saves about 33%
|
||||||
see http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html
|
see http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<author name="I2P" email="https://geti2p.net/"/>
|
<author name="I2P" email="https://geti2p.net/"/>
|
||||||
</authors>
|
</authors>
|
||||||
<url>https://geti2p.net/</url>
|
<url>https://geti2p.net/</url>
|
||||||
<javaversion>1.7</javaversion>
|
<javaversion>1.8</javaversion>
|
||||||
|
|
||||||
<!-- adding this element will make the installer attempt to launch itself with administrator permissions,
|
<!-- adding this element will make the installer attempt to launch itself with administrator permissions,
|
||||||
-->
|
-->
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.classpath" value="" />
|
<property name="javac.classpath" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.classpath" value="" />
|
<property name="javac.classpath" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="izpack5.version" value="5.1.3" />
|
<property name="izpack5.version" value="5.1.3" />
|
||||||
|
|
||||||
<property name="izpack.lib" value="${izpack5.home}/lib" />
|
<property name="izpack.lib" value="${izpack5.home}/lib" />
|
||||||
|
@ -42,42 +42,5 @@ to serve static html files and images.
|
|||||||
<Arg>net.i2p.servlet.I2PDefaultServlet</Arg>
|
<Arg>net.i2p.servlet.I2PDefaultServlet</Arg>
|
||||||
<Arg>/</Arg>
|
<Arg>/</Arg>
|
||||||
</Call>
|
</Call>
|
||||||
<Call name="addFilter">
|
|
||||||
<!-- Add a filter to gzip on-the fly, since if we don't do it, I2P will.
|
|
||||||
- This lowers the resource usage in the Java process on the client side,
|
|
||||||
- by pushing the decompression out of Java and into the browser.
|
|
||||||
- For all the reasons noted in the GzipFilter javadocs, this is normally
|
|
||||||
- a bad idea for static content, but this is I2P.
|
|
||||||
- See I2PTunnelHTTPServer for the I2P compressor.
|
|
||||||
-->
|
|
||||||
<Arg>
|
|
||||||
<New class="org.eclipse.jetty.servlet.FilterHolder" >
|
|
||||||
<Arg>
|
|
||||||
<New class="org.eclipse.jetty.servlets.GzipFilter" />
|
|
||||||
</Arg>
|
|
||||||
<Call name="setInitParameter">
|
|
||||||
<!-- minimum in Java is 1300 -->
|
|
||||||
<Arg>minGzipSize</Arg>
|
|
||||||
<Arg>512</Arg>
|
|
||||||
</Call>
|
|
||||||
<Call name="setInitParameter">
|
|
||||||
<!-- In Java we have a blacklist. This covers the most common cases. -->
|
|
||||||
<Arg>mimeTypes</Arg>
|
|
||||||
<Arg>application/pdf,application/x-javascript,application/xhtml+xml,application/xml,image/svg+xml,text/css,text/html,text/plain</Arg>
|
|
||||||
</Call>
|
|
||||||
</New>
|
|
||||||
</Arg>
|
|
||||||
<Arg>/*</Arg>
|
|
||||||
<Arg>
|
|
||||||
<!-- just guessing here -->
|
|
||||||
<Call class="java.util.EnumSet" name="of" >
|
|
||||||
<Arg>
|
|
||||||
<Call class="javax.servlet.DispatcherType" name="valueOf" >
|
|
||||||
<Arg>REQUEST</Arg>
|
|
||||||
</Call>
|
|
||||||
</Arg>
|
|
||||||
</Call>
|
|
||||||
</Arg>
|
|
||||||
</Call>
|
|
||||||
</Configure>
|
</Configure>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.classpath" value="" />
|
<property name="javac.classpath" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
|
|
||||||
<target name="compile" depends="depend">
|
<target name="compile" depends="depend">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
<!-- only used if not set by a higher build.xml -->
|
<!-- only used if not set by a higher build.xml -->
|
||||||
<property name="javac.compilerargs" value="" />
|
<property name="javac.compilerargs" value="" />
|
||||||
<property name="javac.version" value="1.7" />
|
<property name="javac.version" value="1.8" />
|
||||||
<property name="manifest.classpath.name" value="Class-Path" />
|
<property name="manifest.classpath.name" value="Class-Path" />
|
||||||
|
|
||||||
<target name="compile" depends="depend, dependVersion">
|
<target name="compile" depends="depend, dependVersion">
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 1;
|
public final static long BUILD = 2;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user