Wrapper: Update to wrapper 3.5.29

All binaries from Tanuki delta pack,
except for armhf, compiled on Raspberry Pi:
  ant 1.8.2
  javac 1.6.0_38
  gcc 4.6.3-14+rpi1
Windows binaries remain unchanged as we must recompile them ourselves
(32 bit just to change the icon; 64 bit is not provided by Tanuki)
Old 3.5.25 wrapper.jar moved to win-all, use it in windows-only installer
so it will be consistent with the old binaries.
Fixes wrapper failure on FreeBSD 10 (ticket #1118)
Minor i2prouter script fixes for FreeBSD 10, from anonimal (ticket #1118)
This commit is contained in:
zzz
2016-05-04 13:40:50 +00:00
parent 13685484f6
commit cdafab2734
27 changed files with 31 additions and 10 deletions

View File

@ -1035,6 +1035,12 @@
<copy todir="pkg-temp/lib/wrapper/solaris/">
<fileset dir="installer/lib/wrapper/solaris/" excludes="*.txt" />
</copy>
<!-- Force using the new wrapper.jar.
The new jar with the old windows binaries will output a warning on windows.
We do not generate release files from this target.
See preppkg-windows-only target below.
-->
<copy overwrite="true" file="installer/lib/wrapper/all/wrapper.jar" todir="pkg-temp/lib" />
</target>
<target name="preppkg-nowindows" depends="preppkg-linux, preppkg-freebsd, preppkg-osx, jbigi-nowindows">
@ -1139,7 +1145,6 @@
<copy file="installer/resources/install_i2p_service_winnt.bat" todir="pkg-temp/" />
<copy file="installer/resources/set_config_dir_for_nt_service.bat" todir="pkg-temp/" />
<copy file="installer/resources/uninstall_i2p_service_winnt.bat" todir="pkg-temp/" />
<copy file="installer/lib/wrapper/all/wrapper.jar" todir="pkg-temp/lib" />
<copy file="build/utility.jar" todir="pkg-temp" />
<copy todir="pkg-temp/lib/wrapper/win32/">
<fileset dir="installer/lib/wrapper/win32/" excludes="*.txt" />
@ -1151,7 +1156,13 @@
<target name="preppkg-windows-only" depends="preppkg-windows, jbigi-windows-only">
<copy file="build/jbigi.jar" todir="pkg-temp/lib" />
<!-- Win binaries are down-rev from the others, so use the old jar.
This will not overwrite, so preppkg (for all OSes) will get the new jar with
the old binaries, which will probably work but will output a warning.
The windows-only installer will get the correct jar.
<copy file="installer/lib/wrapper/all/wrapper.jar" todir="pkg-temp/lib" />
-->
<copy overwrite="true" file="installer/lib/wrapper/win-all/wrapper.jar" todir="pkg-temp/lib" />
</target>
<!-- see targets below for conditional copying -->

View File

@ -3,6 +3,8 @@
a backwards clock shift, caused graphs to be blank
and various router, streaming, and i2ptunnel
degradations over time (ticket #1776)
* Wrapper: Update to wrapper 3.5.29, except for Windows.
Fixes wrapper failure on FreeBSD 10 (ticket #1118)
2016-05-01 zzz
* Build: Compile resource bundles from ant, not msgfmt,

Binary file not shown.

View File

@ -1,7 +1,13 @@
Wrapper build instructions (Ubuntu or Raspbian):
apt-get install default-jdk ant
export JAVA_HOME=/usr/lib/jvm/default-java
ant -Dbits=32 compile-c-unix
mv bin/wrapper bin/i2psvc
strip --strip-unneeded bin/i2psvc lib/libwrapper.so
cp bin/i2psvc $I2P
cp lib/libwrapper.so $I2P/lib
cp /path/to/wrapper-delta-pack-3.5.xx/lib/wrapper.jar $I2P/lib
(test it)
cp bin/i2psvc lib/libwrapper.so /path/to/installer/lib/wrapper/linux-armv6
chmod -x i2psvc librapper.so

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -206,13 +206,15 @@ unsupported() {
freebsd10() {
echo
echo "The current version of the Tanuki wrapper does not"
echo "support FreeBSD 10."
echo "The current version of the Tanuki wrapper that is bundled"
echo "with I2P does not support FreeBSD 10."
echo
echo "See https://trac.i2p2.de/ticket/1118 for more information"
echo "and a workaround for this issue."
echo "See http://trac.i2p2.de/ticket/1118#comment:13 for a work-around."
echo "After applying the work-around, as a normal user or a dedicated"
echo "i2p user, you can then run:"
echo "$ ./i2prouter start"
echo
echo "In the meantime, you may start I2P by running the script"
echo "Or, you may also start I2P by running the script:"
echo "${I2P}/runplain.sh"
echo
}
@ -227,11 +229,11 @@ failed() {
;;
*)
# We should never get here on recent versions of FreeBSD
if ! $(pkg_info -E 'libiconv*' > /dev/null 2>&1); then
if ! $(pkg info -E 'libiconv*' > /dev/null 2>&1); then
echo
echo "The wrapper requires libiconv."
echo
echo "It can be installed with pkg_add -r libiconv"
echo "It can be installed with pkg install libiconv"
echo
fi
;;

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 9;
public final static long BUILD = 10;
/** for example "-test" */
public final static String EXTRA = "";