[arch-commits] Commit in lynis/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Jul 15 21:41:04 UTC 2016


    Date: Friday, July 15, 2016 @ 21:41:03
  Author: anthraxx
Revision: 182959

archrelease: copy trunk to community-any

Added:
  lynis/repos/community-any/PKGBUILD
    (from rev 182958, lynis/trunk/PKGBUILD)
Deleted:
  lynis/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-15 21:40:57 UTC (rev 182958)
+++ PKGBUILD	2016-07-15 21:41:03 UTC (rev 182959)
@@ -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.2.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')
-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=('69b638c917bd004479922b369b24aafa165196076632da95fb3a2caf521ede35bb6b2a93c76d73bd8abe898725d03684a96dad5abd5e7a74542a2c4c0a8d287d')
-
-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 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 182958, lynis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-07-15 21:41:03 UTC (rev 182959)
@@ -0,0 +1,51 @@
+# 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:



More information about the arch-commits mailing list