summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2020-09-29 12:53:09 -0400
committergraysky2020-09-29 12:53:09 -0400
commit81f58da257900098cff39c398d186fa99282a94c (patch)
tree78b2870e518e3ce8283730da4a6ad593ef2bc83c
parent71831ed3b1d32575bc3e10976a844a7e113deb5d (diff)
downloadaur-81f58da257900098cff39c398d186fa99282a94c.tar.gz
Update to 2.3.0-3
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
-rw-r--r--wrapper2
3 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e98ca64f17..fb86df706ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = ssh-audit
pkgdesc = A tool for ssh server auditing.
pkgver = 2.3.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/jtesta/ssh-audit
- install = readme.install
arch = any
license = MIT
depends = python
source = ssh-audit-2.3.0.tar.gz::https://github.com/jtesta/ssh-audit/archive/v2.3.0.tar.gz
+ source = wrapper
b2sums = 86dd949d24c0fd7612d99f615028c68d483d681509f34b196916d2f27fa6e144cc5ebe559043466fc78fdec1dd57f3deba7139cf856478b07514eaa3f9a31327
+ b2sums = 42f543823ef4e1bbe4b7af3e61b579b87825894518ff14413a450ee58f619a684b86f23928d70b05cb5f5acf56da20ac291747b9453acae21af05ddbce7c6975
pkgname = ssh-audit
diff --git a/PKGBUILD b/PKGBUILD
index b0b57276595..719dcb2f325 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,24 @@
pkgname=ssh-audit
pkgver=2.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="A tool for ssh server auditing."
arch=(any)
url="https://github.com/jtesta/ssh-audit"
license=('MIT')
depends=('python')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jtesta/$pkgname/archive/v$pkgver.tar.gz")
-b2sums=('86dd949d24c0fd7612d99f615028c68d483d681509f34b196916d2f27fa6e144cc5ebe559043466fc78fdec1dd57f3deba7139cf856478b07514eaa3f9a31327')
-install=readme.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jtesta/$pkgname/archive/v$pkgver.tar.gz"
+ wrapper)
+b2sums=('86dd949d24c0fd7612d99f615028c68d483d681509f34b196916d2f27fa6e144cc5ebe559043466fc78fdec1dd57f3deba7139cf856478b07514eaa3f9a31327'
+ '42f543823ef4e1bbe4b7af3e61b579b87825894518ff14413a450ee58f619a684b86f23928d70b05cb5f5acf56da20ac291747b9453acae21af05ddbce7c6975')
package() {
cd "$pkgname-$pkgver"
# https://github.com/jtesta/ssh-audit/issues/67
# ultimately this will go to /usr/bin/ but this works for now
+ install -Dm755 "$srcdir/wrapper" "$pkgdir/usr/bin/$pkgname"
+ chmod +x "$pkgdir/usr/bin/$pkgname"
install -Dm755 $pkgname.py "$pkgdir/opt/$pkgname/$pkgname"
cp -r policies "$pkgdir/opt/$pkgname"
diff --git a/wrapper b/wrapper
new file mode 100644
index 00000000000..8666526039f
--- /dev/null
+++ b/wrapper
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+/opt/ssh-audit/ssh-audit "$@"