Updated packaging notes and snap build process.

This commit is contained in:
Joe Testa 2020-09-29 10:24:36 -04:00
parent c8a1db33c8
commit 6067da6793
3 changed files with 10 additions and 4 deletions

View File

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

View File

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

View File

@ -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").