[arch-commits] Commit in lynis/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Jan 24 00:44:53 UTC 2018
Date: Wednesday, January 24, 2018 @ 00:44:52
Author: anthraxx
Revision: 286138
archrelease: copy trunk to community-any
Added:
lynis/repos/community-any/PKGBUILD
(from rev 286137, lynis/trunk/PKGBUILD)
Deleted:
lynis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-24 00:44:36 UTC (rev 286137)
+++ PKGBUILD 2018-01-24 00:44:52 UTC (rev 286138)
@@ -1,54 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
-
-pkgname=lynis
-pkgver=2.5.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://cisofy.com/files/lynis-${pkgver}.tar.gz{,.asc})
-sha512sums=('655942b6546183396a416df6b7a365918aab1a19b55e2b1d34da4a5fe7fe865aee59aae6de2467b8e5393cae9bb80f97c48a85f1e3606951d88ea21cb624c45a'
- 'SKIP')
-validpgpkeys=('73AC9FC55848E977024D1A61429A566FD5B79251') # CISOfy (Software Signing Key) <security at 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 286137, lynis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-24 00:44:52 UTC (rev 286138)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgname=lynis
+pkgver=2.6.0
+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=('eb0aa18b0b8b453ee61b0f5ff82f0f0bbffd9fe1b38232d04b2384dbbced4cdb2ea00e3b089d9c3765e1ea405c6fe5f03332bc7b4ea0189639226907e37f1b25'
+ 'SKIP')
+validpgpkeys=('73AC9FC55848E977024D1A61429A566FD5B79251') # CISOfy (Software Signing Key) <security at 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:
More information about the arch-commits
mailing list