From 307a68aa5aa5aab7ad6ba64f0b983687055ddb75 Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 10 Jul 2018 11:19:41 +0000 Subject: [PATCH] Installer: Add support for IzPack 5 (ticket #1864) fix typo in postinstall.sh --- build.properties | 4 +- build.xml | 46 +++- installer/install5.xml | 395 +++++++++++++++++++++++++++++ installer/resources/checklist.md | 1 + installer/resources/postinstall.sh | 2 +- 5 files changed, 437 insertions(+), 11 deletions(-) create mode 100644 installer/install5.xml diff --git a/build.properties b/build.properties index c564a7f100..b1326e5f74 100644 --- a/build.properties +++ b/build.properties @@ -30,10 +30,12 @@ sloccount.report.file=sloccount.sc # Building EXEs in x64 Linux requires that 32bit libraries are installed. In Debian, # for example, installing the libc6-i386 package will satisfy this requirement. - # Uncomment the next line to prevent building EXEs (changing it to false will have no impact) #noExe=true +# IzPack 5.1.x install dir +#izpack5.home=/PATH/TO/IzPack + # Change this to false if you don't have gettext or you want to prevent it from running during the build require.gettext=true diff --git a/build.xml b/build.xml index 9973d6fdea..7206b1798d 100644 --- a/build.xml +++ b/build.xml @@ -1762,18 +1762,36 @@ + - + + + + + + + + + + + + + + + + + + + + + + + + @@ -1845,6 +1863,7 @@ + @@ -1853,6 +1872,15 @@ + + + + + + + + + diff --git a/installer/install5.xml b/installer/install5.xml new file mode 100644 index 0000000000..d528b82124 --- /dev/null +++ b/installer/install5.xml @@ -0,0 +1,395 @@ + + + + + + i2p + 0.9.35 + + + + https://geti2p.net/ + 1.7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SYSTEM[sun.arch.data.model] + 64 + + + + + + + + + + + + + + + + + + + + Base installation files + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Automatically start I2P in the background + + + + + + + + + + + + + diff --git a/installer/resources/checklist.md b/installer/resources/checklist.md index df27864efc..32fcca50bf 100644 --- a/installer/resources/checklist.md +++ b/installer/resources/checklist.md @@ -106,6 +106,7 @@ 6. Change revision in: - `history.txt` - `installer/install.xml` + - `installer/install5.xml` - `core/java/src/net/i2p/CoreVersion.java` - `router/java/src/net/i2p/router/RouterVersion.java` - (change to BUILD = 0 and EXTRA = "") diff --git a/installer/resources/postinstall.sh b/installer/resources/postinstall.sh index 21a23d686b..e81659de51 100644 --- a/installer/resources/postinstall.sh +++ b/installer/resources/postinstall.sh @@ -104,7 +104,7 @@ fi chmod 755 ./eepget rm -rf ./icons ./lib/wrapper -rm -f ./lib/*.dll /*.bat ./*.cmd ./*.exe ./utility.jar +rm -f ./lib/*.dll ./*.bat ./*.cmd ./*.exe ./utility.jar if [ ! `echo $HOST_OS |grep osx` ]; then rm -rf ./Start\ I2P\ Router.app