Date: Tuesday, September 25, 2018 @ 22:21:28 Author: anthraxx Revision: 385103
archrelease: copy trunk to community-any Added: lynis/repos/community-any/PKGBUILD (from rev 385102, lynis/trunk/PKGBUILD) Deleted: lynis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 50 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-25 22:21:19 UTC (rev 385102) +++ PKGBUILD 2018-09-25 22:21:28 UTC (rev 385103) @@ -1,54 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> - -pkgname=lynis -pkgver=2.6.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=(https://downloads.cisofy.com/lynis/lynis-${pkgver}.tar.gz{,.asc}) -sha512sums=('7504bbb58b1c444ea14692df7b93ade3ea81101e02a73a6b8ca7a377e1633f3c528b674b1bfc7d3471eb935614f44c7c5f7186467795cd3326dd0b596ef44542' - '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 385102, lynis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-25 22:21:28 UTC (rev 385103) @@ -0,0 +1,50 @@ +# 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: