Date: Saturday, October 27, 2018 @ 09:28:15 Author: anthraxx Revision: 399177
archrelease: copy trunk to community-any Added: lynis/repos/community-any/PKGBUILD (from rev 399176, lynis/trunk/PKGBUILD) Deleted: lynis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-27 09:28:08 UTC (rev 399176) +++ PKGBUILD 2018-10-27 09:28:15 UTC (rev 399177) @@ -1,50 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> - -pkgname=lynis -pkgver=2.6.9 -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=(https://downloads.cisofy.com/lynis/lynis-${pkgver}.tar.gz{,.asc}) -sha512sums=('d5af6d6e571b4098c9b03e509c8ac25d73ed9aa86e8e525353c0761c5427ad35c4ef764e0f9c2c3495e2addd3d6229ba1309b803978f6e380f5edae3fef60070' - 'SKIP') -validpgpkeys=('73AC9FC55848E977024D1A61429A566FD5B79251') # CISOfy (Software Signing Key) <secur...@cisofy.com> - -prepare() { - cd ${pkgname} - sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service -} - -package() { - cd ${pkgname} - - # application - install -Dm 755 lynis -t "${pkgdir}/usr/bin" - install -Dm 644 default.prf -t "${pkgdir}/etc/${pkgname}" - 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 399176, lynis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-27 09:28:15 UTC (rev 399177) @@ -0,0 +1,50 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> + +pkgname=lynis +pkgver=2.7.0 +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=(https://downloads.cisofy.com/lynis/lynis-${pkgver}.tar.gz{,.asc}) +sha512sums=('bf7fab22f762a15c2ace620731dee5a05b3c463acc7c7a4d9c2729cd5fb04639cd41faa951a9a0c99a85ed816dd531abb8f76f35d2af9ad81e6691a6f278450b' + 'SKIP') +validpgpkeys=('73AC9FC55848E977024D1A61429A566FD5B79251') # CISOfy (Software Signing Key) <secur...@cisofy.com> + +prepare() { + cd ${pkgname} + sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service +} + +package() { + cd ${pkgname} + + # application + install -Dm 755 lynis -t "${pkgdir}/usr/bin" + install -Dm 644 default.prf -t "${pkgdir}/etc/${pkgname}" + 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: