diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:42:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:42:34 +0000 |
commit | cc48f16d89067e4f467e751a9bcd8655593676be (patch) | |
tree | 55edbc70cc15fbea316d503a625137e67ab3f4a9 | |
parent | Adding upstream version 2.5.0. (diff) | |
download | ssh-audit-cc48f16d89067e4f467e751a9bcd8655593676be.tar.xz ssh-audit-cc48f16d89067e4f467e751a9bcd8655593676be.zip |
Adding debian version 2.5.0-1.debian/2.5.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 34 | ||||
-rw-r--r-- | debian/clean | 3 | ||||
-rw-r--r-- | debian/control | 41 | ||||
-rw-r--r-- | debian/copyright | 32 | ||||
-rwxr-xr-x | debian/rules | 20 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/ssh-audit.1.txt | 48 | ||||
-rwxr-xr-x | debian/ssh-audit.install | 2 | ||||
-rw-r--r-- | debian/ssh-audit.manpages | 1 | ||||
-rw-r--r-- | debian/upstream/signing-key.asc | 51 | ||||
-rw-r--r-- | debian/watch | 4 |
11 files changed, 237 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..381957c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,34 @@ +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 (陳昌倬) <czchen@debian.org> 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 (陳昌倬) <czchen@debian.org> Sun, 03 May 2020 20:09:18 +0800 + +ssh-audit (1.7.0-2) unstable; urgency=medium + + * Fix Vcs-Git Field. + + -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sun, 29 Jan 2017 16:54:13 +0800 + +ssh-audit (1.7.0-1) unstable; urgency=medium + + * Initial release (Closes: #841035) + + -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> 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..a3d4024 --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: ssh-audit +Section: admin +Priority: optional +Maintainer: ChangZhuo Chen (陳昌倬) <czchen@debian.org> +Build-Depends: debhelper-compat (= 13), + asciidoc-base, + dh-exec, + dh-python, + python3, + python3-pytest, + python3-setuptools, + xmlto, +Standards-Version: 4.6.0 +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..72af1a1 --- /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: 2017-2020 ChangZhuo Chen (陳昌倬) <czchen@debian.org> +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/rules b/debian/rules new file mode 100755 index 0000000..f9fc986 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +#export DH_VERBOSE = 1 + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + cat debian/*manpages | sed 's/$$/.txt/p' | xargs -n 1 a2x --doctype manpage --format manpage + 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.1.txt b/debian/ssh-audit.1.txt new file mode 100644 index 0000000..97b9101 --- /dev/null +++ b/debian/ssh-audit.1.txt @@ -0,0 +1,48 @@ += ssh-audit(1) +:doctype: manpage + +== Name + +ssh-audit - tool for ssh server auditing + +== Synopsys + +*ssh-audit* _[-1246pbnvl]_ _<host>_ + +== Options + +*-h*, *--help*:: + print the help + +*-1*, *--ssh1*:: + force ssh version 1 only + +*-2*, *--ssh2*:: + force ssh version 2 only + +*-4*, *--ipv4*:: + enable IPv4 (order of precedence) + +*-6*, *--ipv6*:: + enable IPv6 (order of precedence) + +*-p*, *--port=<port>*:: + port to connect + +*-b*, *--batch*:: + batch output + +*-n*, *--no-colors*:: + disable colors + +*-v*, *--verbose*:: + verbose output + +*-l*, *--level=<level>*:: + minimum output level (info|warn|fail) + +== Author + +This manual page was written by mailto:czchen@debian.org[ChangZhuo Chen +'<czchen@debian.org>'] for the *Debian GNU/Linux system* (but may be used by +others). 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..a02dc32 --- /dev/null +++ b/debian/ssh-audit.manpages @@ -0,0 +1 @@ +debian/ssh-audit.1 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 @@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TF+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..dc19e32 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="pgpsigurlmangle=s/$/.sig/" \ + https://github.com/jtesta/ssh-audit/releases \ + .*/ssh-audit-(\d[\d.]*)\.tar.gz debian uupdate |