diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-14 19:20:46 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-14 19:20:46 -0400 |
commit | f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13 (patch) | |
tree | 95910fb3078e1136e35aaa6d9f0f251cdb4ca1a8 /pcr/lynis/PKGBUILD | |
parent | 09c1bb45d89c78a9fd80c7a500cb29a0908dc668 (diff) | |
parent | cd640e7ca0a8968edf887d03db8224334f663e84 (diff) | |
download | abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.tar.gz abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.tar.bz2 abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.zip |
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'pcr/lynis/PKGBUILD')
-rw-r--r-- | pcr/lynis/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pcr/lynis/PKGBUILD b/pcr/lynis/PKGBUILD new file mode 100644 index 000000000..24be95c25 --- /dev/null +++ b/pcr/lynis/PKGBUILD @@ -0,0 +1,47 @@ +# 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> + +pkgname=lynis +pkgver=1.5.6 +pkgrel=1 +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') +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} + + # install profile + install -Dm 644 default.prf "${pkgdir}/etc/${pkgname}/default.prf" + + # install binary + install -Dm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + + # install plugins, include, db + install -d "${pkgdir}/usr/share/${pkgname}" + cp -a db include plugins "${pkgdir}/usr/share/${pkgname}" + + # install doc files + install -d "${pkgdir}/usr/share/doc/${pkgname}" + install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" README INSTALL CHANGELOG FAQ + + # install manpage + install -Dm 644 "${pkgname}.8" "${pkgdir}/usr/share/man/man8/${pkgname}.8" +} + +# vim:set ts=2 sw=2 ft=sh et: |