At the same time I'm making more Debian-specific changes, such as
- not checking for Gentoo (this is obviously never going to be true :P)
- not mentioning IzPack replacing variables (also not applicable)
- inform about dpkg-reconfigure i2p in the event someone tries to remove or
install an initscript with "i2prouter install|remove|uninstall"
- remove the manual wrapper instructions
Previously, README.Debian use to be installed to /u/s/d/i2p. A while ago I
split I2P into smaller packages and symlinked /usr/share/doc/libjbigi-jni and
/usr/share/doc/i2p to /usr/share/doc/i2p-router. I didn't noticed that
README.Debian wasn't being included after the split, so now I'm explicitly
adding it.
This mainly has an effect on the size of the javadocs package (i2p-doc shrinks
to half of its present size when using bzip2). xz would give better
compression, of course, but xz support isn't isn't available in the version of
dpkg that ships with Lucid. All supported versions of Debian and Ubuntu support
bzip2 in .debs, so this will only have the impact of giving us smaller javadoc
packages.
- merge mbuild_jbigi.sh into build_jbigi.sh and drop mbuild_jbigi.sh
- make build.sh's tests optional
- try to determine the locations of JAVA_HOME and I2P
On systems without an i2psvc group, the postinstall would fail. This change
will add the group if it doesn't exist. Also adding "||true" to the usermod
command in case the command returns a non-zero status.
Before there was a patch to add the -deb1 to the RouterVersion.java file, but
it needed me to update the deb#. With my newly budding regex skills, I'm now manipulating
it using sed and determining the number according to the debian version number.
- move router.ping to /var/run/i2p
- move temp files to /var/tmp/i2p
- Since gaps are allowed in the numbering with newer wrapper versions, start
*.adddional.# numbering at 10
- redirect errors to stderr