Date: Wednesday, March 29, 2017 @ 21:40:49 Author: anthraxx Revision: 219980
archrelease: copy trunk to community-any Added: lynis/repos/community-any/PKGBUILD (from rev 219979, lynis/trunk/PKGBUILD) Deleted: lynis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-29 21:40:40 UTC (rev 219979) +++ PKGBUILD 2017-03-29 21:40:49 UTC (rev 219980) @@ -1,52 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> - -pkgname=lynis -pkgver=2.4.5 -pkgrel=1 -pkgdesc='Security and system auditing tool to harden Unix/Linux systems' -url='https://cisofy.com/lynis/' -arch=('any') -license=('GPL3') -backup=('etc/lynis/default.prf') -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/lynis/archive/${pkgver}.tar.gz) -sha512sums=('683f5696b0d0288e017a5760a8baca4f6d78fd9b2ae571eb114224d28217ff58b8a8db56d382817d7ad98dc920eb0531f15fc2f25969d38adc9cbee1f7e4511a') - -prepare() { - cd ${pkgname}-${pkgver} - sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service -} - -package() { - cd ${pkgname}-${pkgver} - - # binary - install -Dm 755 lynis -t "${pkgdir}/usr/bin" - - # profile - install -Dm 644 default.prf -t "${pkgdir}/etc/${pkgname}" - - # plugins, include, db - install -d "${pkgdir}/usr/share/${pkgname}" - cp -ra db include plugins "${pkgdir}/usr/share/${pkgname}" - - # doc files - 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} \ - -t "${pkgdir}/usr/share/bash-completion/completions" - - # systemd - install -Dm 644 extras/systemd/{lynis.service,lynis.timer} \ - -t "${pkgdir}/usr/lib/systemd/system" -} - -# vim: ts=2 sw=2 et: Copied: lynis/repos/community-any/PKGBUILD (from rev 219979, lynis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-29 21:40:49 UTC (rev 219980) @@ -0,0 +1,52 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> + +pkgname=lynis +pkgver=2.4.8 +pkgrel=1 +pkgdesc='Security and system auditing tool to harden Unix/Linux systems' +url='https://cisofy.com/lynis/' +arch=('any') +license=('GPL3') +backup=('etc/lynis/default.prf') +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/lynis/archive/${pkgver}.tar.gz) +sha512sums=('5e104ee6519d013a66a5ac55716c8929356993dc5a9000a51b2c2239812888ce6df3b7ab3a5c74e0ee6317c609d1533879bab8c79eedec3229a0900967fed4ad') + +prepare() { + cd ${pkgname}-${pkgver} + sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service +} + +package() { + cd ${pkgname}-${pkgver} + + # binary + install -Dm 755 lynis -t "${pkgdir}/usr/bin" + + # profile + install -Dm 644 default.prf -t "${pkgdir}/etc/${pkgname}" + + # plugins, include, db + install -d "${pkgdir}/usr/share/${pkgname}" + cp -ra db include plugins "${pkgdir}/usr/share/${pkgname}" + + # doc files + 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} \ + -t "${pkgdir}/usr/share/bash-completion/completions" + + # systemd + install -Dm 644 extras/systemd/{lynis.service,lynis.timer} \ + -t "${pkgdir}/usr/lib/systemd/system" +} + +# vim: ts=2 sw=2 et: