Files
i2p.i2p/installer/lib/wrapper/freebsd
kytv 0a1ff9b6bd Update Java Service Wrapper to v3.5.15.
- Windows: Self-compiled with VS2010 in Windows 7. The icon has been
   changed from Tanuki's default to Itoopie.
 - FreeBSD: Self-compiled in FreeBSD 7.4 to eliminate the dependency on the
   compat6x port.
 - Linux ARMv5 & PPC32: Self-compiled in Debian Squeeze
 - Linux x86, Linux x64, MacOSX & Solaris: Binares are from the "community
   edition" deltapack offered by Tanuki. The x86 and x64 binaries for Linux
   have been stripped.
2012-08-27 13:49:18 +00:00
..
2012-08-27 13:49:18 +00:00

Basic instructions for BSD
--------------------------

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

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".