[arch-commits] Commit in lynis/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Aug 11 14:36:43 UTC 2016
Date: Thursday, August 11, 2016 @ 14:36:43
Author: anthraxx
Revision: 186412
archrelease: copy trunk to community-any
Added:
lynis/repos/community-any/PKGBUILD
(from rev 186411, lynis/trunk/PKGBUILD)
Deleted:
lynis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-11 14:36:36 UTC (rev 186411)
+++ PKGBUILD 2016-08-11 14:36:43 UTC (rev 186412)
@@ -1,51 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
-
-pkgname=lynis
-pkgver=2.3.1
-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'
-)
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CISOfy/${pkgname}/archive/${pkgver}.tar.gz)
-sha512sums=('239a8a464801b20706ac361c23d89f71bfbecffc884a5a9c28a29249031a5bf02320a28a57eef3ae02a001ed0e394def01765fb03919a4193fcbe9c8b349f9f8')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- # binary
- install -Dm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-
- # profile
- install -Dm 644 default.prf "${pkgdir}/etc/${pkgname}/default.prf"
-
- # 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.md FAQ
- 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: ts=2 sw=2 et:
Copied: lynis/repos/community-any/PKGBUILD (from rev 186411, lynis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-08-11 14:36:43 UTC (rev 186412)
@@ -0,0 +1,52 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgname=lynis
+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' '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=('aa687dcd3d2701040e6765085c83d01b58d2356847c316defdc79f8d70b022cac1d0be1a2635bc2bb47e813ceccc4bc37334397ba5acf3dd45b749adc94f05b4')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ # binary
+ install -Dm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+
+ # profile
+ install -Dm 644 default.prf "${pkgdir}/etc/${pkgname}/default.prf"
+
+ # 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:
More information about the arch-commits
mailing list