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

Levente Polyak anthraxx at archlinux.org
Wed Jul 22 20:46:08 UTC 2015


    Date: Wednesday, July 22, 2015 @ 22:46:08
  Author: anthraxx
Revision: 137289

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-22 20:46:01 UTC (rev 137288)
+++ PKGBUILD	2015-07-22 20:46:08 UTC (rev 137289)
@@ -1,53 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
-
-pkgname=lynis
-pkgver=2.1.0
-pkgrel=2
-pkgdesc='Security and system auditing tool to harden Unix/Linux systems'
-url='https://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=(${pkgname}-${pkgver}.tar.gz::https://github.com/CISOfy/${pkgname}/archive/${pkgver}.tar.gz)
-sha512sums=('4ed7fc11b14896518457e5ac8ada35cb8afc798f9fbc6b1b4d9f971b64a93f76215c1c3b2506ac0c12a478f53248eab0fd93347bc262f5fb6c0fe4e663c2e346')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -e 's|/path/to/lynis|/usr/bin/lynis|g' -i extras/systemd/lynis.service
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  # 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:

Copied: lynis/repos/community-any/PKGBUILD (from rev 137288, lynis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-22 20:46:08 UTC (rev 137289)
@@ -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.1.1
+pkgrel=1
+pkgdesc='Security and system auditing tool to harden Unix/Linux systems'
+url='https://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=(${pkgname}-${pkgver}.tar.gz::https://github.com/CISOfy/${pkgname}/archive/${pkgver}.tar.gz)
+sha512sums=('99d07a420de943f884e41750f98cfb9248f9367958df55e06faa6d790205812681ebe7d72d9ed1f7086960d9330a3228b6a36c7c8c928341bddcf4aff8155440')
+
+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:set ts=2 sw=2 ft=sh et:



More information about the arch-commits mailing list