Updated Snap instructions & Makefile.snap.

This commit is contained in:
Joe Testa 2020-10-20 15:30:04 -04:00
parent f893a8031f
commit 1acfb01e61
3 changed files with 6 additions and 8 deletions

View File

@ -1,8 +1,6 @@
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 --use-lxd
clean:
rm -rf parts/ prime/ snap/ stage/ build/ dist/ *.egg-info/ sshaudit/sshaudit.py sshaudit/LICENSE sshaudit/README.md ssh-audit*.snap
rm -rf parts/ prime/ snap/ stage/ build/ dist/ src/*.egg-info/ ssh-audit*.snap

View File

@ -31,11 +31,11 @@ $ pip3 install ssh-audit
To create the snap package, run a fully-updated Ubuntu Server 20.04 VM.
As root, run:
As root, run (leave all options default):
# lxd init
Leave all options default. Bump the version number in snapcraft.yaml. Then run:
Bump the version number in snapcraft.yaml. Then run:
# make -f Makefile.snap

View File

@ -1,11 +1,11 @@
name: ssh-audit
version: '2.2.0-1'
version: '2.3.1-1'
license: 'MIT'
summary: ssh-audit
description: |
SSH server and client security configuration auditor. Official repository: <https://github.com/jtesta/ssh-audit>
base: core18
base: core20
grade: stable
confinement: strict
@ -17,5 +17,5 @@ apps:
parts:
ssh-audit:
plugin: python
python-version: python3
# python-version: python3
source: .