Merge pull request #547 from c-po/dropbear

dropbear: T6195: package upgrade 2022.83-1+deb12u1
This commit is contained in:
Christian Breunig 2024-04-01 16:11:35 +02:00 committed by GitHub
commit d9dd56fc53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 2 deletions

View File

@ -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'],
]

View File

@ -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

View File

@ -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) {