diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-01 16:11:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 16:11:35 +0200 |
commit | d9dd56fc536e9e7a6c678695b853b03f1bc83239 (patch) | |
tree | d913ce93c20a03e82c6cf010cdb1248f5c86d651 | |
parent | ebfbdc852e8715949fa1cc6c26f662d07be16923 (diff) | |
parent | 4417986365472fd9055b12309ba49d88272db04c (diff) | |
download | vyos-build-d9dd56fc536e9e7a6c678695b853b03f1bc83239.tar.gz vyos-build-d9dd56fc536e9e7a6c678695b853b03f1bc83239.zip |
Merge pull request #547 from c-po/dropbear
dropbear: T6195: package upgrade 2022.83-1+deb12u1
-rw-r--r-- | packages/dropbear/Jenkinsfile | 4 | ||||
-rwxr-xr-x | packages/dropbear/build.sh | 4 | ||||
-rw-r--r-- | vars/buildPackage.groovy | 7 |
3 files changed, 13 insertions, 2 deletions
diff --git a/packages/dropbear/Jenkinsfile b/packages/dropbear/Jenkinsfile index a15793d1..539d7578 100644 --- a/packages/dropbear/Jenkinsfile +++ b/packages/dropbear/Jenkinsfile @@ -1,4 +1,4 @@ -// Copyright (C) 2022-2023 VyOS maintainers and contributors +// Copyright (C) 2022-2024 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 @@ -21,7 +21,7 @@ def pkgList = [ ['name': 'dropbear', - 'scmCommit': 'debian/2022.83-1', + 'scmCommit': 'debian/2022.83-1+deb12u1', 'scmUrl': 'https://salsa.debian.org/debian/dropbear.git', 'buildCmd': 'sudo mk-build-deps --install --tool "apt-get --yes --no-install-recommends"; cd ..; ./build.sh'], ] diff --git a/packages/dropbear/build.sh b/packages/dropbear/build.sh index 0934f4f7..9376fa7a 100755 --- a/packages/dropbear/build.sh +++ b/packages/dropbear/build.sh @@ -19,5 +19,9 @@ if [ -d $PATCH_DIR ]; then fi cd ${SRC} + +echo "I: Installing build dependencies" +sudo apt-get install -y libpam0g-dev + echo "I: Build Debian Package" dpkg-buildpackage -uc -us -tc -b diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index 9e1ba1db..531e51d9 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -194,6 +194,13 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} removesrc ${RELEASE} ${PACKAGE}'\"") } } + files = findFiles(glob: '**/*-build-deps_*.deb') + if (files) { + echo "Remove Debian build dependency files from the workspace..." + files.each { FILE -> + sh(script: "rm -f ${FILE}") + } + } files = findFiles(glob: '**/*.deb') if (files) { |