From fc30c5792c29868abf57050045b2cb37897bd715 Mon Sep 17 00:00:00 2001 From: knaccc Date: Sat, 23 Mar 2019 20:11:46 +0000 Subject: [PATCH] remove group/user ownership during tar creation --- README.md | 6 +++++- bin/zip-all.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8aa2c0..2ec8fc6 100755 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ This project will run under Linux, and build native launchers for Linux, MacOS and Windows. The launchers will include the I2P router, a SAM listener, simple tunnel and socks tunnel functionality and a minimal JVM. +## Downloads + +Download the latest binary releases for Mac/Windows/Linux here: https://github.com/i2p-zero/i2p-zero/releases + ## GUI Screenshots @@ -44,7 +48,7 @@ Note that the current version of this script uses jdk-12. If this version of Jav download, then update the references in java-config.sh to the later version. To locate a recent JDK download URL, see https://jdk.java.net/12/ -Also note that JDKs for Linux, MacOS and Windows will be downloaded, which will total several hundred megabytes. +Also note that JDKs for Linux, MacOS and Windows will be downloaded, which will total several hundred megabytes. You may need to ensure your system has zip, unzip and bzip2 installed to run the build script. Run the `bin/build-all.sh` script, which will in turn call the following scripts: diff --git a/bin/zip-all.sh b/bin/zip-all.sh index f3c7e36..c4d11f3 100755 --- a/bin/zip-all.sh +++ b/bin/zip-all.sh @@ -21,7 +21,7 @@ for i in linux linux-gui mac mac-gui win win-gui; do cp -r ${i} "$basedir"/dist- cd "$basedir/dist-zip-staging" for i in win win-gui; do zip -r9 "$basedir"/dist-zip/i2p-zero-${i}.v${VERSION}.zip i2p-zero-${i}.v${VERSION}; done -for i in linux linux-gui mac mac-gui; do tar -jcvf "$basedir"/dist-zip/i2p-zero-${i}.v${VERSION}.tar.bz2 i2p-zero-${i}.v${VERSION}; done +for i in linux linux-gui mac mac-gui; do tar --{owner,group}=nobody -jcvf "$basedir"/dist-zip/i2p-zero-${i}.v${VERSION}.tar.bz2 i2p-zero-${i}.v${VERSION}; done cd .. du -sh "$basedir/dist-zip/"*.zip