summaryrefslogtreecommitdiff
path: root/packages/dropbear/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-16 21:07:07 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-16 21:10:43 +0100
commit52f75193f3afe799017e17504d5785aa7817d455 (patch)
tree44884053dfa2ad109303152469e79b0bca42e71d /packages/dropbear/Jenkinsfile
parent4ce1c21078a0f6890c0a7004285d8f393a4156b3 (diff)
downloadvyos-build-52f75193f3afe799017e17504d5785aa7817d455.tar.gz
vyos-build-52f75193f3afe799017e17504d5785aa7817d455.zip
packages: T3164: build Dropbear from source with PAM support
Dropbear version shipped in Debian does not have PAM support enabled. For the VyOS console server it would be nice to have the possibility to use RADIUS authentication.
Diffstat (limited to 'packages/dropbear/Jenkinsfile')
-rw-r--r--packages/dropbear/Jenkinsfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/dropbear/Jenkinsfile b/packages/dropbear/Jenkinsfile
new file mode 100644
index 0000000..3a29c37
--- /dev/null
+++ b/packages/dropbear/Jenkinsfile
@@ -0,0 +1,30 @@
+// Copyright (C) 2022 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')_
+
+def pkgList = [
+ ['name': 'dropbear',
+ 'scmCommit': 'debian/2020.81-5',
+ 'scmUrl': 'https://salsa.debian.org/debian/dropbear.git',
+ 'buildCmd': 'cd ..; ./build.sh'],
+]
+
+// Start package build using library function from https://github.com/vyos/vyos-build
+buildPackage('dropbear', pkgList, null, true, "**/packages/dropbear/*")