mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 02:21:40 +01:00
Updated Snap instructions & Makefile.snap.
This commit is contained in:
parent
f893a8031f
commit
1acfb01e61
@ -1,8 +1,6 @@
|
|||||||
all:
|
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"
|
echo -e "\n\nDid you remember to bump the version number in snapcraft.yaml?\n\n"
|
||||||
snapcraft --use-lxd
|
snapcraft --use-lxd
|
||||||
|
|
||||||
clean:
|
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
|
||||||
|
@ -31,11 +31,11 @@ $ pip3 install ssh-audit
|
|||||||
|
|
||||||
To create the snap package, run a fully-updated Ubuntu Server 20.04 VM.
|
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
|
# 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
|
# make -f Makefile.snap
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
name: ssh-audit
|
name: ssh-audit
|
||||||
version: '2.2.0-1'
|
version: '2.3.1-1'
|
||||||
license: 'MIT'
|
license: 'MIT'
|
||||||
summary: ssh-audit
|
summary: ssh-audit
|
||||||
description: |
|
description: |
|
||||||
SSH server and client security configuration auditor. Official repository: <https://github.com/jtesta/ssh-audit>
|
SSH server and client security configuration auditor. Official repository: <https://github.com/jtesta/ssh-audit>
|
||||||
|
|
||||||
base: core18
|
base: core20
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
@ -17,5 +17,5 @@ apps:
|
|||||||
parts:
|
parts:
|
||||||
ssh-audit:
|
ssh-audit:
|
||||||
plugin: python
|
plugin: python
|
||||||
python-version: python3
|
# python-version: python3
|
||||||
source: .
|
source: .
|
||||||
|
Loading…
Reference in New Issue
Block a user