Date: Wednesday, November 1, 2017 @ 19:24:06 Author: anthraxx Revision: 265040
archrelease: copy trunk to community-any Added: lynis/repos/community-any/PKGBUILD (from rev 265039, lynis/trunk/PKGBUILD) Deleted: lynis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-01 19:23:58 UTC (rev 265039) +++ PKGBUILD 2017-11-01 19:24:06 UTC (rev 265040) @@ -1,54 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> - -pkgname=lynis -pkgver=2.5.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=(https://cisofy.com/files/lynis-${pkgver}.tar.gz{,.asc}) -sha512sums=('6ad07f05e997140787f5107794992f98e948653849a9e6e396c86948226e1ce09fc2df61d8fffcff4a58fed22588dfbfae4239834a17c2366c17d50078071b39' - '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} - - # 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 265039, lynis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-01 19:24:06 UTC (rev 265040) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> + +pkgname=lynis +pkgver=2.5.7 +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://cisofy.com/files/lynis-${pkgver}.tar.gz{,.asc}) +sha512sums=('63ea5207ba02abba279a88331ebb64532d166ac053e402f8588c46d05c98dca7ba93d92b09a9f494506ffc6a2109ef102f617286a1f4994e2f9203ac6a055901' + '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} + + # 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: