summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/lynis/PKGBUILD54
1 files changed, 0 insertions, 54 deletions
diff --git a/pcr/lynis/PKGBUILD b/pcr/lynis/PKGBUILD
deleted file mode 100644
index ae1445106..000000000
--- a/pcr/lynis/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
-# Contributor: Levente Polyak <levente[at]leventepolyak[dot]net>
-# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgname=lynis
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='Security and system auditing tool to harden Unix/Linux systems'
-url='http://cisofy.com/lynis/'
-license=('GPL3')
-arch=('any')
-backup=('etc/lynis/default.prf')
-depends=('sh')
-optdepends=('net-tools: networking tests'
- 'bash-completion: completion for bash')
-source=(https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gz{,.asc})
-sha256sums=('16ed596c8c283b8e4c635ada25ceb042371384ae09b3238a658ca60801a73c24'
- 'SKIP')
-validpgpkeys=('73AC9FC55848E977024D1A61429A566FD5B79251')
-
-prepare() {
- cd ${pkgname}
- sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service
-}
-
-package() {
- cd ${pkgname}
-
- # profile
- install -Dm 644 default.prf "${pkgdir}/etc/${pkgname}/default.prf"
-
- # binary
- install -Dm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-
- # plugins, include, db
- install -d "${pkgdir}/usr/share/${pkgname}"
- cp -a 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 FAQ
-
- # manpage
- install -Dm 644 "${pkgname}.8" "${pkgdir}/usr/share/man/man8/${pkgname}.8"
-
- # completion
- install -Dm 644 extras/bash_completion.d/${pkgname} "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-
- # systemd
- install -d "${pkgdir}/usr/lib/systemd/system/"
- install -m 644 extras/systemd/{lynis.service,lynis.timer} "${pkgdir}/usr/lib/systemd/system/"
-}
-
-# vim:set ts=2 sw=2 ft=sh et: