summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2020-09-29 09:27:29 -0400
committergraysky2020-09-29 09:27:29 -0400
commit71831ed3b1d32575bc3e10976a844a7e113deb5d (patch)
treedb0add9010fe1d5c7754e394010b4438ae2e169d
parent5690bd346a5b10183602178582c0b525274bc232 (diff)
downloadaur-71831ed3b1d32575bc3e10976a844a7e113deb5d.tar.gz
Update to 2.3.0-2
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
-rw-r--r--readme.install3
3 files changed, 13 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4113950d5e8..9e98ca64f17 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = ssh-audit
pkgdesc = A tool for ssh server auditing.
pkgver = 2.3.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jtesta/ssh-audit
+ install = readme.install
arch = any
license = MIT
depends = python
diff --git a/PKGBUILD b/PKGBUILD
index aa65b1aa5c2..b0b57276595 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ssh-audit
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for ssh server auditing."
arch=(any)
url="https://github.com/jtesta/ssh-audit"
@@ -10,10 +10,16 @@ license=('MIT')
depends=('python')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jtesta/$pkgname/archive/v$pkgver.tar.gz")
b2sums=('86dd949d24c0fd7612d99f615028c68d483d681509f34b196916d2f27fa6e144cc5ebe559043466fc78fdec1dd57f3deba7139cf856478b07514eaa3f9a31327')
+install=readme.install
package() {
cd "$pkgname-$pkgver"
- install -Dm755 ssh-audit.py "$pkgdir/usr/bin/$pkgname"
+ # https://github.com/jtesta/ssh-audit/issues/67
+ # ultimately this will go to /usr/bin/ but this works for now
+ install -Dm755 $pkgname.py "$pkgdir/opt/$pkgname/$pkgname"
+ cp -r policies "$pkgdir/opt/$pkgname"
+
+ install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
diff --git a/readme.install b/readme.install
new file mode 100644
index 00000000000..5055aed5f64
--- /dev/null
+++ b/readme.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo '--> call the binary via /opt/ssh-audit/ssh-audit'
+}