diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-04-27 10:43:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-04-27 10:44:59 -0300 |
commit | c5aa5d9a67ec96e334726d7322faa764adfa407d (patch) | |
tree | 72dc2b96e04fdc17fe333c5fbdabef3a9640ca9e | |
parent | ead1937efc970a06d5a76b2b26da6d5ad68c9cfa (diff) | |
download | abslibre-c5aa5d9a67ec96e334726d7322faa764adfa407d.tar.gz abslibre-c5aa5d9a67ec96e334726d7322faa764adfa407d.tar.bz2 abslibre-c5aa5d9a67ec96e334726d7322faa764adfa407d.zip |
lynix: upgrade to 2.1 with gpg checking
-rw-r--r-- | pcr/lynis/PKGBUILD | 13 | ||||
-rw-r--r-- | pcr/lynis/lynis.install | 10 |
2 files changed, 7 insertions, 16 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" diff --git a/pcr/lynis/lynis.install b/pcr/lynis/lynis.install deleted file mode 100644 index 1b104f01e..000000000 --- a/pcr/lynis/lynis.install +++ /dev/null @@ -1,10 +0,0 @@ -pre_upgrade() { - # fix local old umask - chmod o+rx,g+rx /usr/share/lynis/{include,db,plugins} -} - -post_upgrade() { - chmod o+r,g+r /usr/share/lynis/include/* - chmod o+r,g+r /usr/share/lynis/db/* - chmod o+r,g+r /usr/share/lynis/plugins/* -} |