Skip to content
Snippets Groups Projects
Commit 77098353 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

upgpkg: 2.3.2-1

parent 35b8249b
No related branches found
Tags 1.5.4-1
No related merge requests found
......@@ -2,20 +2,20 @@
# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
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/'
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 @@ package() {
# 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:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment