[arch-commits] Commit in audit/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jul 1 06:34:21 UTC 2018
Date: Sunday, July 1, 2018 @ 06:34:21
Author: foutrelis
Revision: 349281
archrelease: copy trunk to community-staging-x86_64
Added:
audit/repos/community-staging-x86_64/
audit/repos/community-staging-x86_64/PKGBUILD
(from rev 349280, audit/trunk/PKGBUILD)
audit/repos/community-staging-x86_64/audit.install
(from rev 349280, audit/trunk/audit.install)
---------------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
audit.install | 6 +++++
2 files changed, 69 insertions(+)
Copied: audit/repos/community-staging-x86_64/PKGBUILD (from rev 349280, audit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-01 06:34:21 UTC (rev 349281)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: <kang at insecure.ws>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Connor Behan <connor.behan at gmail.com>
+# Contributor: henning mueller <henning at orgizm.net>
+
+pkgname=audit
+pkgver=2.8.3
+pkgrel=2
+pkgdesc='Userspace components of the audit framework'
+url='https://people.redhat.com/sgrubb/audit'
+arch=('x86_64')
+depends=('krb5' 'libcap-ng')
+makedepends=('libldap' 'swig' 'linux-headers' 'python' 'python2')
+license=('GPL')
+options=('emptydirs')
+backup=(
+ etc/libaudit.conf
+ etc/audit/audit.rules
+ etc/audit/auditd.conf
+ etc/audisp/audispd.conf
+ etc/audisp/audisp-remote.conf
+ etc/audisp/zos-remote.conf
+ etc/audisp/plugins.d/af_unix.conf
+ etc/audisp/plugins.d/audispd-zos-remote.conf
+ etc/audisp/plugins.d/au-remote.conf
+ etc/audisp/plugins.d/syslog.conf
+)
+source=("${pkgname}-${pkgver}.tar.gz::https://people.redhat.com/sgrubb/audit/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933')
+install="audit.install"
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export PYTHON=/usr/bin/python2
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/audit \
+ --enable-gssapi-krb5=yes \
+ --enable-systemd=yes \
+ --with-libcap-ng=yes
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}"
+ install -d var/log/audit
+ rm -rf etc/rc.d etc/sysconfig usr/lib/audit
+
+ sed -ri 's|/sbin|/usr/bin|' \
+ etc/audit/*.conf \
+ etc/audisp/plugins.d/*.conf \
+ usr/lib/systemd/system/auditd.service
+
+ chmod 644 usr/lib/systemd/system/auditd.service
+}
Copied: audit/repos/community-staging-x86_64/audit.install (from rev 349280, audit/trunk/audit.install)
===================================================================
--- community-staging-x86_64/audit.install (rev 0)
+++ community-staging-x86_64/audit.install 2018-07-01 06:34:21 UTC (rev 349281)
@@ -0,0 +1,6 @@
+post_install() {
+ echo CONFIG_AUDIT is disabled in the Arch kernel packages so a custom kernel
+ echo is required for most components of this package. However, some features
+ echo like the utility methods in libaudit work without kernel support.
+ echo The package linux-hardened has full support for audit.
+}
More information about the arch-commits
mailing list