mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-22 14:05:22 +01:00
Updated packaging notes and snap build process.
This commit is contained in:
parent
c8a1db33c8
commit
6067da6793
@ -2,7 +2,7 @@ all:
|
||||
cp ../ssh-audit.py sshaudit/sshaudit.py
|
||||
cp ../README.md sshaudit/README.md
|
||||
echo -e "\n\nDid you remember to bump the version number in snapcraft.yaml?\n\n"
|
||||
snapcraft
|
||||
snapcraft --use-lxd
|
||||
|
||||
clean:
|
||||
rm -rf parts/ prime/ snap/ stage/ build/ dist/ *.egg-info/ sshaudit/sshaudit.py sshaudit/LICENSE sshaudit/README.md ssh-audit*.snap
|
||||
|
@ -36,6 +36,12 @@ $ pip3 install ssh-audit
|
||||
|
||||
= Snap =
|
||||
|
||||
To create the snap package, simply run:
|
||||
To create the snap package, run a fully-updated Ubuntu Server 20.04 VM.
|
||||
|
||||
$ make -f Makefile.snap
|
||||
As root, run:
|
||||
|
||||
# lxd init
|
||||
|
||||
Leave all options default. Bump the version number in snapcraft.yaml. Then run:
|
||||
|
||||
# make -f Makefile.snap
|
||||
|
@ -16,4 +16,4 @@ On a Windows machine, do the following:
|
||||
|
||||
4.) Rename the "dist\ssh-audit\" folder to "dist\ssh-audit vX.X.X\"
|
||||
|
||||
5.) Zip the "dist\ssh-audit vX.X.X\" folder and name it "ssh-audit_vX.X.X.zip".
|
||||
5.) Zip the "dist\ssh-audit vX.X.X\" folder and name it "windows_ssh-audit_vX.X.X.zip" (hint: zip windows_ssh-audit_vX.X.X.zip -r "ssh-audit vX.X.X").
|
||||
|
Loading…
Reference in New Issue
Block a user