summaryrefslogtreecommitdiff
path: root/packages/minisign/build-minisign.sh
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-04-19 00:54:43 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-04-21 01:22:27 -0500
commit930247045cc99adc84907499040d219778b4a325 (patch)
treedd76c4bc82128b3f7985b85326c1ef81297fe6cc /packages/minisign/build-minisign.sh
parent2babfe76e51cdd550267acea40ecdadae0925737 (diff)
downloadvyos-build-930247045cc99adc84907499040d219778b4a325.tar.gz
vyos-build-930247045cc99adc84907499040d219778b4a325.zip
minisign: T5166: Remove custom build and pickup from upstream Debian
A newer version of minisign is already available in Debian Bookworm. We can skip building a custom package. This is a follow-up to T5003.
Diffstat (limited to 'packages/minisign/build-minisign.sh')
-rwxr-xr-xpackages/minisign/build-minisign.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/packages/minisign/build-minisign.sh b/packages/minisign/build-minisign.sh
deleted file mode 100755
index e6e97ece..00000000
--- a/packages/minisign/build-minisign.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-CWD=$(pwd)
-set -e
-
-SRC=minisign
-
-if [ ! -d ${SRC} ]; then
- echo "source directory does not exists, please 'git clone'"
- exit 1
-fi
-
-# Build instructions as per https://github.com/jedisct1/minisign/blob/master/README.md
-BUILD_DIR="${SRC}/build"
-mkdir -p ${BUILD_DIR}
-cd ${BUILD_DIR}
-cmake ..
-make
-
-# install
-mkdir -p usr/bin
-cp minisign usr/bin
-
-fpm --input-type dir --output-type deb --name minisign \
- --maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
- --description "A dead simple tool to sign files and verify signatures." \
- --depends libsodium23 --architecture $(dpkg --print-architecture) \
- --version $(git describe --always) --license ISC --deb-compression gz usr
-
-cp *.deb ${CWD}
-
-# do not confuse Jenkins by providing multiple minisign deb files
-cd ${CWD}
-rm -rf ${BUILD_DIR}