mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-30 16:13:55 +00:00
Official release stuff... of only academic interest to open source third party users.
This commit is contained in:
parent
f2976178c9
commit
ea73e736c8
28
attic/make-official-release.sh
Executable file
28
attic/make-official-release.sh
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# This script signs an installer, creates its .NFO file, and
|
||||||
|
# copies it to a destination directory. This in turn can be
|
||||||
|
# uploaded to the official ZeroTier Networks update site for
|
||||||
|
# auto-updating binary distribution users.
|
||||||
|
#
|
||||||
|
# It's in attic/ because end-users won't find it particularly
|
||||||
|
# useful. You must have the ZeroTier One official signing
|
||||||
|
# identity secret keys to sign binary releases for auto-update,
|
||||||
|
# and of course you'd also have to upload it to our servers.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Build the app and the installer, then run this from the root
|
||||||
|
# of the source tree. It'll need the zerotier-idtool symlink
|
||||||
|
# that will be placed there after a build, too.
|
||||||
|
|
||||||
|
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
|
|
||||||
|
if [ "$#" -ne 2 ]; then
|
||||||
|
echo "Usage: $0 <path to secret signing identity> <path to destination folder for .nfo and installer>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
secret="$1"
|
||||||
|
dest="$2"
|
||||||
|
|
3
attic/update-dummy/README.txt
Normal file
3
attic/update-dummy/README.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
This is a do-nothing placebo software update for internal testing. It's a
|
||||||
|
shell script that just prints a simple message and an .NFO file that signs
|
||||||
|
it as official.
|
15
make-mac.mk
15
make-mac.mk
@ -5,6 +5,14 @@ INCLUDES=
|
|||||||
DEFS=
|
DEFS=
|
||||||
LIBS=
|
LIBS=
|
||||||
|
|
||||||
|
# Disable codesign since open source users will not have ZeroTier's ADC certs
|
||||||
|
CODESIGN=echo
|
||||||
|
|
||||||
|
ifeq ($(ZT_OFFICIAL_RELEASE),1)
|
||||||
|
ZT_AUTO_UPDATE=1
|
||||||
|
DEFS+=-DZT_OFFICIAL_RELEASE
|
||||||
|
CODESIGN=codesign
|
||||||
|
endif
|
||||||
ifeq ($(ZT_AUTO_UPDATE),1)
|
ifeq ($(ZT_AUTO_UPDATE),1)
|
||||||
DEFS+=-DZT_AUTO_UPDATE
|
DEFS+=-DZT_AUTO_UPDATE
|
||||||
endif
|
endif
|
||||||
@ -41,7 +49,12 @@ mac-ui: FORCE
|
|||||||
cd build-ZeroTierUI-release ; ../../Qt/bin/qmake ../ZeroTierUI/ZeroTierUI.pro ; make -j 4
|
cd build-ZeroTierUI-release ; ../../Qt/bin/qmake ../ZeroTierUI/ZeroTierUI.pro ; make -j 4
|
||||||
strip "build-ZeroTierUI-release/ZeroTier One.app/Contents/MacOS/ZeroTier One"
|
strip "build-ZeroTierUI-release/ZeroTier One.app/Contents/MacOS/ZeroTier One"
|
||||||
cp -Rv ZeroTierUI/helpers "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources"
|
cp -Rv ZeroTierUI/helpers "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources"
|
||||||
# cd build-ZeroTierUI-release ; codesign -f -s '3rd Party Mac Developer Application: ZeroTier Networks LLC' "ZeroTier One.app"
|
$(CODESIGN) -f -s '3rd Party Mac Developer Application: ZeroTier Networks LLC' "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources/helpers/mac/ZeroTier One (Authenticate).app"
|
||||||
|
$(CODESIGN) -f -s '3rd Party Mac Developer Application: ZeroTier Networks LLC' "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources/helpers/mac/ZeroTier One (Install).app"
|
||||||
|
$(CODESIGN) -f -s '3rd Party Mac Developer Application: ZeroTier Networks LLC' "build-ZeroTierUI-release/ZeroTier One.app"
|
||||||
|
$(CODESIGN) -vvv "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources/helpers/mac/ZeroTier One (Authenticate).app"
|
||||||
|
$(CODESIGN) -vvv "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources/helpers/mac/ZeroTier One (Install).app"
|
||||||
|
$(CODESIGN) -vvv "build-ZeroTierUI-release/ZeroTier One.app"
|
||||||
|
|
||||||
install-mac-tap: FORCE
|
install-mac-tap: FORCE
|
||||||
mkdir -p /Library/Application\ Support/ZeroTier/One
|
mkdir -p /Library/Application\ Support/ZeroTier/One
|
||||||
|
Loading…
x
Reference in New Issue
Block a user