Currently the installer doesn't work for OpenBSD, wrapper used for starting up is incompatible. Hence a separate tanukiwrapper (3.5.43) package has to be compiled and installed. This has been tested on x86_64 cpu, would probably work for x86 but I don't have a cpu with that instruction set, or could I just test on x86_64?
We could approach this from the wrapper which is vital then to jbigi and jcpuid which are just optimizations. Let me know, how to help
Subtickets
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
--- installer/resources/postinstall.sh.orig+++ installer/resources/postinstall.sh@@ -82,7 +82,17 @@ case $HOST_OS in wrapperpath="./lib/wrapper/solaris" cp ${wrapperpath}/libwrapper.so ./lib/ ;;- netbsd|openbsd|kfreebsd)+ openbsd )+ if [ ! `echo $OS_ARCH | grep amd64` ]; then+ wrapperpath="./lib/wrapper/openbsd"+ else+ wrapperpath="./lib/wrapper/openbsd64"+ # the 32bit libwrapper.so will be needed if a 32 bit jvm is used+ cp ./lib/wrapper/openbsd/libwrapper.so ./lib/libwrapper-openbsd-x86-32.so+ fi+ cp ${wrapperpath}/libwrapper.so ./lib/+ ;;+ netbsd|kfreebsd) # FIXME # This isn't displayed when installing, but if we fall back to the "*)" # choice, no cleanup happens and users are advised to copy the wrapper
We don't know much about the ports system. Mikalv was working on it for i2pd last year; that work appears to be stalled, see http://openbsd-archive.7691.n7.nabble.com/new-net-i2pd-2-25-0-td368026.html for the info. I believe he was going to do java i2p after that, but doesn't look like it's going to happen.
If you would like to get it into ports as a 'downstream' package, you should do that, I don't think we have the time or knowledge to support it.
What we can do, if we can find the time, is to build the wrapper following your instructions, and apply and test the postinstall.sh patch, and check it all in as a one-time project, so we have support in the standard installer.
I checked our jbigi and jcpuid java code, we do have support in the code to load openbsd libs if present, so we'd just have to build and test the libs and check them in to be bundled in the installer.
I don't know if freebsd ports is anything like openbsd ports, but we've had a downstream freebsd port for many many years, perhaps there's something to be learned from it: https://svnweb.freebsd.org/ports/head/security/i2p/
My intention wasn't to divert towards building an i2p "port", since it is already done. It lies among the ports mailing list right now, and would probably be committed to the repo. Since there exist already support downstream, the only next step was to push the support upstream. All the jbigi, jcpuid optimizations and plugins have already been tested. I believe only work required will be to include the compiled files and then configure and test the installer.
I think Mikal Villa has really let go of the i2pd port since it has been committed, he's probably busy and pushing new ports and updates through the mailing list is sluggish due to the small number of OpenBSD devs.