From bf1788da95239810dc3567dafb30666d0dc1526b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:07:52 +0200 Subject: Adding debian version 3.1.0-1. Signed-off-by: Daniel Baumann --- debian/changelog | 60 +++++++++++++++++++++++++++++++++++++++++ debian/clean | 3 +++ debian/control | 41 ++++++++++++++++++++++++++++ debian/copyright | 32 ++++++++++++++++++++++ debian/gbp.conf | 9 +++++++ debian/rules | 19 +++++++++++++ debian/source/format | 1 + debian/ssh-audit.install | 2 ++ debian/ssh-audit.manpages | 1 + debian/upstream/metadata | 5 ++++ debian/upstream/signing-key.asc | 51 +++++++++++++++++++++++++++++++++++ debian/watch | 3 +++ 12 files changed, 227 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100755 debian/ssh-audit.install create mode 100644 debian/ssh-audit.manpages create mode 100644 debian/upstream/metadata create mode 100644 debian/upstream/signing-key.asc create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..74a0886 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,60 @@ +ssh-audit (3.1.0-1) unstable; urgency=medium + + * New upstream release. (Closes: #1059739) + + -- ChangZhuo Chen (陳昌倬) Sun, 31 Dec 2023 16:59:15 +0800 + +ssh-audit (3.0.0-1) unstable; urgency=medium + + * New upstream release. (Closes: #1051610) + + -- ChangZhuo Chen (陳昌倬) Sun, 10 Sep 2023 23:00:50 +0800 + +ssh-audit (2.9.0-1) unstable; urgency=medium + + [ Joe Testa ] + * Switched to upstream manpage. + + [ ChangZhuo Chen (陳昌倬) ] + * New upstream release. (Closes: #1035528) + * Bump Standards-Version to 4.6.2. + * Add d/upstream/metadata. + * Update d/watch. + * Update d/copyright. + + -- ChangZhuo Chen (陳昌倬) Wed, 28 Jun 2023 02:59:37 +0800 + +ssh-audit (2.5.0-1) unstable; urgency=medium + + * New upstream version 2.5.0. + * Update upstream signing-key.asc. + * Bump Standards-Version to 4.6.0. + + -- ChangZhuo Chen (陳昌倬) Sun, 29 Aug 2021 21:20:48 +0800 + +ssh-audit (2.2.0-1) unstable; urgency=medium + + * New upstream version 2.2.0. + * Change upstream to jtesta's fork. (Closes: #940833) + * Update copyright. + * Bump Standards-Version to 4.5.0. + * Add signature check for upstream tarball. + * Add Rules-Requires-Root to no. + * Bump compat to 13. + * Update Vcs-* fields to salsa (Closes: #940834) + * Check nocheck in DEB_BUILD_OPTIONS. + * Remove deprecated test cases as upstream suggested. + + -- ChangZhuo Chen (陳昌倬) Sun, 03 May 2020 20:09:18 +0800 + +ssh-audit (1.7.0-2) unstable; urgency=medium + + * Fix Vcs-Git Field. + + -- ChangZhuo Chen (陳昌倬) Sun, 29 Jan 2017 16:54:13 +0800 + +ssh-audit (1.7.0-1) unstable; urgency=medium + + * Initial release (Closes: #841035) + + -- ChangZhuo Chen (陳昌倬) Sun, 22 Jan 2017 23:51:46 +0800 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..f8a65a0 --- /dev/null +++ b/debian/clean @@ -0,0 +1,3 @@ +.pytest_cache/v/cache/* +__pycache__/* +test/__pycache__/* diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e07e000 --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: ssh-audit +Section: admin +Priority: optional +Maintainer: ChangZhuo Chen (陳昌倬) +Build-Depends: debhelper-compat (= 13), + asciidoc-base, + dh-exec, + dh-python, + python3, + python3-pytest, + python3-setuptools, + xmlto, +Standards-Version: 4.6.2 +Rules-Requires-Root: no +Homepage: https://github.com/jtesta/ssh-audit +Vcs-Git: https://salsa.debian.org/debian/ssh-audit.git +Vcs-Browser: https://salsa.debian.org/debian/ssh-audit + +Package: ssh-audit +Architecture: all +Depends: ${misc:Depends}, + ${shlibs:Depends}, + ${python3:Depends}, +Description: tool for ssh server auditing + ssh-audit is a tool for ssh server auditing with the following + features: + . + * SSH1 and SSH2 protocol server support; + * grab banner, recognize device or software and operating system, + detect compression; + * gather key-exchange, host-key, encryption and message authentication + code algorithms; + * output algorithm information (available since, removed/disabled, + unsafe/weak/legacy, etc); + * output algorithm recommendations (append or remove based on + recognized software version); + * output security information (related issues, assigned CVE list, + etc); + * analyze SSH version compatibility based on algorithm information; + * historical information from OpenSSH, Dropbear SSH and libssh; + * no dependencies, compatible with Python 2.6+, Python 3.x and PyPy; diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..37c4591 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ssh-audit +Source: https://github.com/arthepsy/ssh-audit + +Files: * +Copyright: Copyright (C) 2016 Andris Raugulis (moo@arthepsy.eu) + Copyright (C) 2017-2019 Joe Testa (jtesta@positronsecurity.com) +License: Expat + +Files: debian/* +Copyright: ChangZhuo Chen (陳昌倬) +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..454740e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,9 @@ +# https://dep-team.pages.debian.net/deps/dep14/ +[DEFAULT] +debian-branch = debian/unstable +upstream-branch = upstream/latest +dist = DEP14 +pristine-tar = True + +[import-orig] +filter = ['debian/*', '.svn/*', '.git/*'] diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..86f4c9d --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +#export DH_VERBOSE = 1 + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + dh_auto_configure + +override_dh_python3: + dh_python3 --shebang=/usr/bin/python3 + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + PYTHONPATH=$(CURDIR)/src py.test-3 +endif + +override_dh_clean: + dh_clean $(CURDIR)/src/*.egg-info/ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/ssh-audit.install b/debian/ssh-audit.install new file mode 100755 index 0000000..1f15fb6 --- /dev/null +++ b/debian/ssh-audit.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +ssh-audit.py => usr/bin/ssh-audit diff --git a/debian/ssh-audit.manpages b/debian/ssh-audit.manpages new file mode 100644 index 0000000..02352e4 --- /dev/null +++ b/debian/ssh-audit.manpages @@ -0,0 +1 @@ +ssh-audit.1 diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..9171b7e --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Name: ssh-audit +Bug-Database: https://github.com/jtesta/ssh-audit/issues +Bug-Submit: https://github.com/jtesta/ssh-audit/issues/new +Repository: https://github.com/jtesta/ssh-audit.git +Repository-Browse: https://github.com/jtesta/ssh-audit diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc new file mode 100644 index 0000000..c1efe3f --- /dev/null +++ b/debian/upstream/signing-key.asc @@ -0,0 +1,51 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF51CO4BEAC6kFw3X4xNqf5HCN6LiPFgZbuuPB9Rg+COyAKxb1UynqxT1UCr +JFJhPKMhTQTN4M6f2lw0TH7hkVbWD4ittFy6BM2JAqn0/+ngiu3t8ZXAy2Hprdw6 +rbw2Y5EZo79eEOHKGliCugEWK9ZHvcbU7RIZh57oa0wKVAXSDOqgv92a4r9x+YdX +BozCR+iISgfCrgzAMs+m41zsKh24NvRJ0PEXsKjf/H42U6nPtTdV4qRS8uu1t+Rn +DSGtJzXoI43EPZkflSzWfvegsXScawRhGqvMNvdVxac4FHNDluelhoXqYkSCs5I8 +24Me01zI75aZv4nk+q+LRRZ5YeO7CPEiPaxjyEJEaLkKVET5mvgcJFn7M15k03ST +021jcBiz3H825zlQgOD7xD4wlPclru5vK/OjgkKtqC+SwLpfIyigbzj33sWBEzon +kma6yECycWLnwXIPILBrfCAA17y7TULJEbn0HtXzmSkGMr5JJp64Phju2clOtENU +aYQFWr/CCGxxQ3qlLvSzq/TlatEf8fauAsKMUmdwcli9+n/gvYN0KpIwCha5oPOA +DL46wHsheEB1JLYO6mZ0PW6GfHWOqzlIWl3zQ1O1N7V9dVsJvtMraOR5kAXndU3z +NKYtCgvPCrnMcX6o2OMdEIUJvBeYCwJEpj8ScywlFU8X2vaNTBCpQ0/QqwARAQAB +tDBKb3NlcGggUy4gVGVzdGEgSUkgPGp0ZXN0YUBwb3NpdHJvbnNlY3VyaXR5LmNv +bT6JAj0EEwEIACcFAl51CO4CGwMFCQlmAYAFCwkIBwIGFQgJCgsCBBYCAwECHgEC +F4AACgkQ5E9f07eZkWq7chAAkg1fixhHAiTq8n406WmpycsiVXCgcpivreDnr/SG +rrbME0ntgS5pL2cwCrogHbgv0zuI4BXDBlczWxhPwsZlXNu1GJytoEmxH/WSsTuG +wvLarBqvo/toNF+yfVJzXMrTnDNs1bLhAx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zWHpqZZsp9yU6tA72fK1untCyT3eVxdfaJQXagH5NKpq1x3RPH2OTF+37Rm +PpEhXdzjWouzL26v5eLOaXf8v87+MsdSdURPGImHk7aqZmf/GTKJB8gUaSLlG7Ns +4DtZdfA5VuTmZznCkhwsOqxrjyDezsADguqL3hKvM/iWzot5bb/5DDd/vnUjABEB +AAGJAiUEGAEIAA8FAl51CO4CGwwFCQlmAYAACgkQ5E9f07eZkWoAzRAAoTeqgA7s +mpe79Yg3dCh231q8f94Y56r9pY71dqvgXzvTE/jXPVfdIsdfDBxt9kTKFsDh2m7/ +eH6NN8yBxFC04/KrcGa6ZqNG4VLL7Uhz8V9Q2HrJR4niWJS0XE/2bL5O5G+dnS0u +F/NsDhUuqG1DW9ixfnrhMU+/4sVazW8Prx/yaKiyo2gYSlPAjCfNYBZV3VNcFYDb +HOIb9+cXLX5TmF9Jv1B/YpfFWgF9gMiM+E3I4Kygo3c5TTtqSmM4uhHS2IyxiLh9 +EehegsYLNdC8l7jxxYoynKIUgUDtyQvxtobqlnyFW6SusldYeQfCgJKY8fuDiLgR +zwftPeRCzTpYtq8l9wPbGlqXZMH0NEtZyZIg/txfV4pNT6bSvNyY9YZL/nWuszYU +ZiPd8RPMzAB58PBzEK+5NdFYijMxzvajP2Qq1PDw/OBFZEOYyYCWbNxP9Idi71oB +hJW344HiikOQKfFLKccBX0Gv1d6yBL3Yr8sL9qS2hoW3gmrzEMEsQwauZGLYXy7O +NpH9N26u5B1IMKdwgF9AmEWbWe2ov9jyxHQC05Tt8xD3tMrb6OcZgv6IB9JZmfWd +8zdpWLhvt2w3+5ms8Kz2LELuo0xyEPgoyyFh2odbp14A7Kaa/iE+Qb9gmm6P6c7J +E2wkxcDjIJsCpyuWtp1A78QbyCFaZKOZf6c= +=u1o6 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..23405c8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="downloadurlmangle=s/archive\/refs\/tags\/v@ANY_VERSION@@ARCHIVE_EXT@/releases\/download\/v$1\/@PACKAGE@-$1\.tar\.gz/, pgpsigurlmangle=s/$/.sig/" \ +https://github.com/jtesta/@PACKAGE@/tags .*/v@ANY_VERSION@@ARCHIVE_EXT@ -- cgit v1.2.3