summaryrefslogtreecommitdiff
path: root/pcr/lynis/PKGBUILD
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2014-10-11 21:32:27 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2014-10-11 21:32:27 -0300
commit73878e9f6a2b86ebf66cf87ec145dc309c8520c4 (patch)
treeadd2354a374b3acde8a673f9250c3ff8d72d86dd /pcr/lynis/PKGBUILD
parentd2556ce4d528b6a62d31b9f28cd37678f565f956 (diff)
parent4e75bcf04fa2ee23cbdc320bdf04af821616a6ee (diff)
downloadabslibre-73878e9f6a2b86ebf66cf87ec145dc309c8520c4.tar.gz
abslibre-73878e9f6a2b86ebf66cf87ec145dc309c8520c4.tar.bz2
abslibre-73878e9f6a2b86ebf66cf87ec145dc309c8520c4.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre
Diffstat (limited to 'pcr/lynis/PKGBUILD')
-rw-r--r--pcr/lynis/PKGBUILD36
1 files changed, 16 insertions, 20 deletions
diff --git a/pcr/lynis/PKGBUILD b/pcr/lynis/PKGBUILD
index 24be95c25..c6b6cca03 100644
--- a/pcr/lynis/PKGBUILD
+++ b/pcr/lynis/PKGBUILD
@@ -1,47 +1,43 @@
-# Contributor (Arch) : Levente Polyak <levente[at]leventepolyak[dot]net>
-# Contributor (Arch) : Sébastien Luttringer <seblu@aur.archlinux.org>
-# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=lynis
-pkgver=1.5.6
-pkgrel=1
+pkgver=1.6.2
+pkgrel=2
pkgdesc='Security and system auditing tool to harden Unix/Linux systems'
url='http://cisofy.com/lynis/'
license=('GPL3')
arch=('any')
backup=('etc/lynis/default.prf')
depends=('sh')
-optdepends=('net-tools: networking tests')
+optdepends=('net-tools: networking tests'
+ 'bash-completion: completion for bash')
install=lynis.install
source=(http://cisofy.com/files/${pkgname}-${pkgver}.tar.gz)
-prepare() {
- cd ${pkgname}-${pkgver}
- # fix non-test includes to let lynis run as user but complain gracefully
- chmod o+rx include
- chmod o+r include/*
- chmod o-r include/tests_*
-}
-
package() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
- # install profile
+ # profile
install -Dm 644 default.prf "${pkgdir}/etc/${pkgname}/default.prf"
- # install binary
+ # binary
install -Dm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- # install plugins, include, db
+ # plugins, include, db
install -d "${pkgdir}/usr/share/${pkgname}"
cp -a db include plugins "${pkgdir}/usr/share/${pkgname}"
- # install doc files
+ # doc files
install -d "${pkgdir}/usr/share/doc/${pkgname}"
install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" README INSTALL CHANGELOG FAQ
- # install manpage
+ # manpage
install -Dm 644 "${pkgname}.8" "${pkgdir}/usr/share/man/man8/${pkgname}.8"
+
+ # completion
+ install -Dm 644 dev/bash_completion.d/${pkgname} "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
}
# vim:set ts=2 sw=2 ft=sh et: