diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-04-19 00:54:43 -0500 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-04-21 01:22:27 -0500 |
commit | 930247045cc99adc84907499040d219778b4a325 (patch) | |
tree | dd76c4bc82128b3f7985b85326c1ef81297fe6cc /packages | |
parent | 2babfe76e51cdd550267acea40ecdadae0925737 (diff) | |
download | vyos-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')
-rw-r--r-- | packages/minisign/.gitignore | 1 | ||||
-rw-r--r-- | packages/minisign/Jenkinsfile | 31 | ||||
-rwxr-xr-x | packages/minisign/build-minisign.sh | 33 |
3 files changed, 0 insertions, 65 deletions
diff --git a/packages/minisign/.gitignore b/packages/minisign/.gitignore deleted file mode 100644 index bd3598bf..00000000 --- a/packages/minisign/.gitignore +++ /dev/null @@ -1 +0,0 @@ -minisign/ diff --git a/packages/minisign/Jenkinsfile b/packages/minisign/Jenkinsfile deleted file mode 100644 index bfdff158..00000000 --- a/packages/minisign/Jenkinsfile +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2020-2021 VyOS maintainers and contributors -// -// This program is free software; you can redistribute it and/or modify -// in order to easy exprort images built to "external" world -// it under the terms of the GNU General Public License version 2 or later as -// published by the Free Software Foundation. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. -@NonCPS - -// Using a version specifier library, use 'current' branch. The underscore (_) -// is not a typo! You need this underscore if the line immediately after the -// @Library annotation is not an import statement! -@Library('vyos-build@current')_ - -// NOTE: we can build with -d as the libbpf dependency is installed manually -// and not via a DEB package -def pkgList = [ - ['name': 'minisign', - 'scmCommit': '0.9', - 'scmUrl': 'https://github.com/jedisct1/minisign', - 'buildCmd': 'cd ..; ./build-minisign.sh'], -] -// Start package build using library function from https://github.com/vyos/vyos-build -buildPackage('minisign', pkgList, null, true, "**/packages/minisign/*") 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} |