Date: Thursday, August 11, 2016 @ 14:36:36 Author: anthraxx Revision: 186411
upgpkg: lynis 2.3.2-1 Modified: lynis/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-08-11 12:52:26 UTC (rev 186410) +++ PKGBUILD 2016-08-11 14:36:36 UTC (rev 186411) @@ -2,7 +2,7 @@ # Contributor: Sébastien Luttringer <[email protected]> pkgname=lynis -pkgver=2.3.1 +pkgver=2.3.2 pkgrel=1 pkgdesc='Security and system auditing tool to harden Unix/Linux systems' url='https://cisofy.com/lynis/' @@ -9,13 +9,13 @@ arch=('any') license=('GPL3') backup=('etc/lynis/default.prf') -depends=('sh') -optdepends=( - 'net-tools: networking tests' - 'bash-completion: completion for bash' -) +depends=('sh' 'awk') +optdepends=('net-tools: networking tests' + 'bind-tools: nameserver tests' + 'iptables: firewall tests' + 'bash-completion: completion for bash') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CISOfy/${pkgname}/archive/${pkgver}.tar.gz) -sha512sums=('239a8a464801b20706ac361c23d89f71bfbecffc884a5a9c28a29249031a5bf02320a28a57eef3ae02a001ed0e394def01765fb03919a4193fcbe9c8b349f9f8') +sha512sums=('aa687dcd3d2701040e6765085c83d01b58d2356847c316defdc79f8d70b022cac1d0be1a2635bc2bb47e813ceccc4bc37334397ba5acf3dd45b749adc94f05b4') prepare() { cd ${pkgname}-${pkgver} @@ -33,19 +33,20 @@ # plugins, include, db install -d "${pkgdir}/usr/share/${pkgname}" - cp -a db include plugins "${pkgdir}/usr/share/${pkgname}" + cp -ra db include plugins "${pkgdir}/usr/share/${pkgname}" # doc files - install -d "${pkgdir}/usr/share/doc/${pkgname}" - install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" README INSTALL CHANGELOG.md FAQ - install -Dm 644 "${pkgname}.8" "${pkgdir}/usr/share/man/man8/${pkgname}.8" + install -Dm 644 README INSTALL CHANGELOG.md FAQ \ + -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 "${pkgname}.8" -t "${pkgdir}/usr/share/man/man8" # completion - install -Dm 644 extras/bash_completion.d/${pkgname} "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" + install -Dm 644 extras/bash_completion.d/${pkgname} \ + -t "${pkgdir}/usr/share/bash-completion/completions" # systemd - install -d "${pkgdir}/usr/lib/systemd/system/" - install -m 644 extras/systemd/{lynis.service,lynis.timer} "${pkgdir}/usr/lib/systemd/system/" + install -Dm 644 extras/systemd/{lynis.service,lynis.timer} \ + -t "${pkgdir}/usr/lib/systemd/system" } # vim: ts=2 sw=2 et:
