Commit Graph

1204 Commits

Author SHA1 Message Date
57afc4cd5d Advise to set RUN_AS_USER when installing as a daemon 2011-09-13 00:09:36 +00:00
3fe50e1d47 fail gracefully when trying to install as a daemon in Arch Linux 2011-09-12 23:03:52 +00:00
c8395df513 update of the i2prouter script based upon Tanuki's 3.5.9 script
With this check-in comes an update of our i2prouter script based upon the
script src/bin/sh.script.in from the 3.5.9 source tarball of the wrapper.

Some of the benefits of this newer version include:
- logic to determine which wrapper binary to use (32bit VS 64bit) and falling
  back to alternate "bitness." This would be most useful for portable packages.
- support for far more platforms and archs than the 3.1.1 based script (such as
  Solaris, risc, os/390, HP-UX, AIX, mips, ia64, etc.)
- support for installing I2P as a daemon in most UNIX-based environments with
  the command "i2prouter install".  The installed service can be removed with
  "i2prouter remove". With testing this option has been confirmed to work in
  OSX, Fedora, Slackware, Debian, Ubuntu, FreeBSD, and SuSE.  It does not work
  in Arch Linux (yet).
2011-09-12 22:53:57 +00:00
fd2c83f052 Change eepget.bat to be parsed when os=windows
osfamily=windows apparently doesn't work in the parseable section (found when
creating a linux only installer).
2011-09-12 17:23:03 +00:00
435bc826d3 Add the path to $I2P to eepget.bat
Allow eepget.bat to be called from any location or copied to any location by
adding the full path to the i2p router.
2011-09-12 10:38:30 +00:00
d084d18cfa Update of Windows service installation/removal scripts
These scripts are based on InstallApp-NT.bat.in and UninstallApp-NT.bat.in from
WRAPPERSRC/src/bin of version 3.5.9 of the wrapper.

Tested in XP and Win7.
2011-09-10 15:54:30 +00:00
690f62b3ba Update i2prouter.bat
This is based on WRAPPERSRC/src/bin/StartApp-NT.bat.in from 3.5.9 of the
wrapper. The i2prouter.bat that we ship doesn't work; this one does. Tested in
XP and Win7.
2011-09-10 15:50:49 +00:00
4062782015 Add EU (it's in Maxmind's GeoIP data) 2011-09-06 20:50:35 +00:00
72abe9da13 Add missing country flags
With 0.8.9 we'll be switching to Maxmind's geoip services and they include more
countries than our old source.
2011-09-06 18:20:15 +00:00
19905e99be removing extraneous trailing space 2011-09-06 01:31:03 +00:00
9e6f993af5 De-fuglify the service path in Windows
The default service path in Windows is fugly and not very convenient. I2P uses
the correct path, but if you want to access snark or eepsite data, one must go to
%SYSTEMROOT%\config\systemprofile\AppData\Roaming\I2P\ (Vista/7) or
%SYSTEMROOT%\system32\config\systemprofile\Application Data\I2P (XP/2003). If
this wasn't bad enough, in some cases one must take ownership of this path and
grant permission to him- or herself to access the folder.

With this changeset, I'm setting the path to %ALLUSERSPROFILE%\Application
Data\I2P as well as adding a shortcut to the I2P folder in the Start menu.
2011-08-31 17:11:23 +00:00
115f3e1fb0 adding a few new options from the 3.5.9 config file 2011-08-27 23:24:29 +00:00
6a73dffdab Clicking the router console shortcut resulted in a minimized browser window
opening. This change causes the window to not be minimized.
2011-08-27 19:10:41 +00:00
c671148025 merge of '1f42bc4bfde6612fcb7769fb57d50a224f6bef7e'
and 'ed8df353e5da4216524aa5bc5df052dffe6608dd'
2011-08-27 13:46:52 +00:00
c243f21bff Added reseed.i2p-projekt.de as https:// link 2011-08-27 09:29:20 +00:00
b9dc7ec12e Set permissions to a SID not to the group Users, fixing a bug that is triggered
on localized versions of Windows.
----
Non-English versions of Windows do not have a Users group; instead they use a
localized group name. As a result, when installing I2P on a non-English Windows
box, the installer will show an error when trying to run the fixperms.bat
script.

Using the SID will work with any localized Windows. SID list @
http://support.microsoft.com/kb/243330/en-us
2011-08-26 23:25:12 +00:00
ab58875b13 The comment is no longer accurate (the file still has UNIX line endings) since
we're using findstr
2011-08-26 15:49:09 +00:00
zzz
010399d865 0.8.8 2011-08-23 16:07:44 +00:00
zzz
20c77e1529 fixes after review 2011-08-22 19:09:09 +00:00
dc3f540a64 changing the pastebin on the router console to one that may prove to be more
stable.
2011-08-20 21:13:29 +00:00
zzz
dc02f9cd88 logs page css tweak 2011-08-16 16:14:18 +00:00
095f018fbb Add pastethis.i2p to hosts file. Will add to the router console after the release of 0.8.8. 2011-08-16 12:47:56 +00:00
2973b4097d remove osid and postinstall.sh when the installation is complete 2011-08-06 22:38:37 +00:00
f428a372cc Correct the path to wrapper.logfile in Windows (see comments in the script for
much more info). Fixes #473
2011-08-06 01:08:18 +00:00
d3861b9917 Remove files from Windows that aren't used in Windows 2011-08-06 00:49:06 +00:00
2679aefb4e Don't set the location of the service's I2P profile to %APPDATA%\I2P. 2011-08-01 09:38:55 +00:00
ecd629f97d Add armv5 (armel) jbigi for Linux 2011-07-31 17:51:07 +00:00
3eafe4c765 Add wrapper for Linux on PPC arch 2011-07-30 23:29:08 +00:00
9d3acf98ff Add Linux PPC support 2011-07-30 23:25:14 +00:00
18ee23960c Add jbigi support for Intel Macs
The jnilibs were compiled on Snow Leopard 10.6.8 with Xcode 3.2 (gcc 4.2.1)
2011-07-30 23:18:39 +00:00
18db940d59 Add armel wrapper
Compiled on Debian Squeeze within qemu.

GCC version:
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi
--host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8) 

$ uname -a
Linux debian-armel 2.6.32-5-versatile #1 Wed Jan 12 23:05:11 UTC 2011 armv5tejl GNU/Linux
2011-07-27 00:17:25 +00:00
zzz
38281ba61f * NativeBigInteger: Move libjbigi-linux-arm.so to libjbigi-linux-armv7.so,
do ARM version detection in NBI.
2011-07-26 23:09:33 +00:00
zzz
a98d521006 * Installer: The previous wrapper files only work on armv7 2011-07-26 21:59:59 +00:00
c716071e9c -14 adds x64 support to the OSX wrapper. With 0.8.7 the wrapper became fat
(i386 & ppc). With this check-in, the wrapper becomes quad-fat (i386, ppc,
x86_64, ppc64).

$ lipo -info libwrapper.jnilib wrapper
Architectures in the fat file: libwrapper.jnilib are: ppc i386 ppc64 x86_64 
Architectures in the fat file: wrapper are: ppc i386 ppc64 x86_64 

$ file libwrapper.jnilib wrapper
libwrapper.jnilib: Mach-O universal binary with 4 architectures
libwrapper.jnilib (for architecture ppc):	Mach-O bundle ppc
libwrapper.jnilib (for architecture i386):	Mach-O bundle i386
libwrapper.jnilib (for architecture ppc64):	Mach-O 64-bit bundle ppc64
libwrapper.jnilib (for architecture x86_64):	Mach-O 64-bit bundle x86_64
wrapper:           Mach-O universal binary with 4 architectures
wrapper (for architecture ppc):	Mach-O executable ppc
wrapper (for architecture i386):	Mach-O executable i386
wrapper (for architecture ppc64):	Mach-O 64-bit executable ppc64
wrapper (for architecture x86_64):	Mach-O 64-bit executable x86_64

Binaries fetched from the tanuki software site and fattened with lipo.
2011-07-22 00:27:28 +00:00
41021e1abb Fix Arabic CSS routerconsole 2011-07-15 14:04:25 +00:00
zzz
857f0a0448 javadoc links for wrapper 2011-07-15 01:07:35 +00:00
zzz
81beb63916 propagate from branch 'i2p.i2p.zzz.android' (head cbf2d39e1944b9d601558761d0eedcdebfd2f589)
to branch 'i2p.i2p' (head c2393e50afccfd5682a9086f0eec2a0700cda2c9)
2011-06-30 12:27:00 +00:00
zzz
f854ac031d change old host name from mixed case to lower case 2011-06-29 21:48:02 +00:00
zzz
54aff53afe 0.8.7 2011-06-27 02:25:18 +00:00
zzz
2f10cca40f * Fixes after review:
- Fix Polish po file
    - Install as a service by default on Windows again
    - Change CPUID getters to package private
    - Split new jbigi install messages into two lines
    - Javadocs
2011-06-26 19:07:01 +00:00
5a64a866da -30rc
Add an icon (in OSX parlance, a 'bundle') to the installation folder to start
I2P.  

While there might be a better way to handle this (admittedly, I don't know OSX
that well), it is my belief that this way is less 'hackish' than the various
OSX 'installers' that I've seen floating around.
2011-06-23 10:18:19 +00:00
163e748f9c The XInfoPanel was shown twice on OSX because
<os family=unix> covered OSX as well. 

Instead, we'll show the panel for everything *EXCEPT*
Windows.
2011-06-23 01:17:46 +00:00
dfd36070eb Setting wrapper.ntservice.interactive=false so that a browser isn't opened at startup in Windows. 2011-06-21 23:42:34 +00:00
43ed1aa320 Make i2prouter fail more gracefully if the wrapper cannot be loaded
(either wrong architecture or i2psvc is just plain missing) and give
a more useful error message.
2011-06-21 22:45:21 +00:00
526e0cda24 Fixed RTL bug in console: Arabic is displayed with right aligned text using a custom console_ar.css 2011-06-20 16:27:58 +00:00
6d59a64eed Adjust the alignment of the langbox's flags 2011-06-19 08:45:29 +00:00
d56f9c7e6e Add another commented example to wrapper.config for those instances in which bindipv6only causes problems 2011-06-16 15:10:53 +00:00
ba3f467244 Windows Uninstall the service if I2P is installed, whether the service was enabled by the installer or not. 2011-06-14 22:04:57 +00:00
1a52363218 Attempt to remove the service before trying to install it.
My rationale for this:
1) in case someone is installing I2P on top of an already existing installation
   this will cause I2P to be shutdown
2) no hangs during the installation if i2p is already installed as a service
3) in case the NT service settings are changed in wrapper.config by us, this
   will force the service settings to be updated.
4) versions of I2P < 0.8.7 did not remove the service when uninstalling. If someone
   removed I2P in the past and reinstalls I2P--opting to run as a service--the
   installation process will hang.
2011-06-14 22:00:42 +00:00
336ecda7e6 GOTO lines refer to the non-existent EOF label. Adding the :eof to the end. 2011-06-14 21:45:20 +00:00