summaryrefslogtreecommitdiff
path: root/pcr/lynis/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/lynis/PKGBUILD')
-rw-r--r--pcr/lynis/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/pcr/lynis/PKGBUILD b/pcr/lynis/PKGBUILD
index 9221aae5d..ae1445106 100644
--- a/pcr/lynis/PKGBUILD
+++ b/pcr/lynis/PKGBUILD
@@ -3,8 +3,7 @@
# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=lynis
-_pkgname=Lynis
-pkgver=1.6.4
+pkgver=2.1.0
pkgrel=1
pkgdesc='Security and system auditing tool to harden Unix/Linux systems'
url='http://cisofy.com/lynis/'
@@ -14,16 +13,18 @@ backup=('etc/lynis/default.prf')
depends=('sh')
optdepends=('net-tools: networking tests'
'bash-completion: completion for bash')
-install=lynis.install
-source=(https://github.com/CISOfy/${_pkgname}/archive/${pkgver}.tar.gz)
+source=(https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gz{,.asc})
+sha256sums=('16ed596c8c283b8e4c635ada25ceb042371384ae09b3238a658ca60801a73c24'
+ 'SKIP')
+validpgpkeys=('73AC9FC55848E977024D1A61429A566FD5B79251')
prepare() {
- cd ${_pkgname}-${pkgver}
+ cd ${pkgname}
sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service
}
package() {
- cd ${_pkgname}-${pkgver}
+ cd ${pkgname}
# profile
install -Dm 644 default.prf "${pkgdir}/etc/${pkgname}/default.prf"