aboutsummaryrefslogtreecommitdiff
path: root/package-static.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-05-15 18:28:11 +0200
committerJakob Unterwurzacher2021-05-15 18:50:20 +0200
commitc33c7aaf0d943ebcca0df14397e6336d7bf008a1 (patch)
treee04d880774be197fa312910c9f8ae27dfa8912fa /package-static.bash
parent4488b5b93a9fa29bc9a697256346efae7951d4ea (diff)
Merge package-source.bash & package-static.bash scriptsv2.0-beta4
Diffstat (limited to 'package-static.bash')
-rwxr-xr-xpackage-static.bash29
1 files changed, 0 insertions, 29 deletions
diff --git a/package-static.bash b/package-static.bash
deleted file mode 100755
index ce8cecb..0000000
--- a/package-static.bash
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash -eu
-
-cd "$(dirname "$0")"
-
-# Compiles the gocryptfs binary and sets $GITVERSION
-source build-without-openssl.bash
-
-if ldd gocryptfs > /dev/null ; then
- echo "error: compiled gocryptfs binary is not static"
- exit 1
-fi
-
-# Build man pages gocryptfs.1 & gocryptfs-xray.1
-./Documentation/MANPAGE-render.bash > /dev/null
-
-ARCH=$(go env GOARCH)
-OS=$(go env GOOS)
-
-TARBALL=gocryptfs_${GITVERSION}_${OS}-static_${ARCH}.tar
-TARGZ=$TARBALL.gz
-
-tar --owner=root --group=root --create -vf "$TARBALL" gocryptfs
-tar --owner=root --group=root --append -vf "$TARBALL" -C gocryptfs-xray gocryptfs-xray
-tar --owner=root --group=root --append -vf "$TARBALL" -C Documentation gocryptfs.1 gocryptfs-xray.1
-
-gzip -f "$TARBALL"
-
-echo "Tar created."
-echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $TARGZ"