Files
i2p.i2p/installer/lib/wrapper/freebsd
zzz b6521ed884 Wrapper: Update to wrapper 3.5.30
All binaries from Tanuki delta pack,
except for armhf (armv6), 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)
2016-10-21 21:01:36 +00:00
..
2016-10-21 21:01:36 +00:00

Basic instructions for FreeBSD < 10
-----------------------------------

Prerequisites for compiling the wrapper can be installed with:
	pkg_add -r apache-ant gmake openjdk7

One the prereqs are installed, cd into the wrapper source and run

For 32bit:
	ant -Dbits=32 compile-c-unix

For 64bit:
	ant -Dbits=64 compile-c-unix

Omit "compile-c-unix" from the command-lines if you want to compile
wrapper.jar too.

Then strip the binaries:
	strip --strip-unneeded bin/wrapper lib/libwrapper.so

...and turn off the executable bit:
	chmod 644 bin/wrapper lib/libwrapper.so

Don't forget to rename the binary "wrapper" to "i2psvc".