[arch-commits] Commit in (5 files)
Daniel Micay
thestinger at archlinux.org
Mon Sep 29 02:32:09 UTC 2014
Date: Monday, September 29, 2014 @ 04:32:09
Author: thestinger
Revision: 119732
add back audit as a dep for perf-trace
Added:
audit/
audit/repos/
audit/trunk/
audit/trunk/PKGBUILD
audit/trunk/audit.install
---------------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
audit.install | 4 +++
2 files changed, 68 insertions(+)
Added: audit/trunk/PKGBUILD
===================================================================
--- audit/trunk/PKGBUILD (rev 0)
+++ audit/trunk/PKGBUILD 2014-09-29 02:32:09 UTC (rev 119732)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: 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.3.7
+pkgrel=1
+pkgdesc='Userspace components of the audit framework'
+url='http://people.redhat.com/sgrubb/audit'
+arch=(i686 x86_64)
+depends=(krb5 libcap-ng)
+makedepends=(libldap swig linux-headers 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=("$url/$pkgname-$pkgver.tar.gz")
+sha256sums=('0aa585ec7569825d88d78f4c03ea1e253bdaa0a8205046f9ce4fa1b61fd78f89')
+install=$pkgname.install
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ export PYTHON=/usr/bin/python2
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/audit \
+ --with-python=yes \
+ --enable-gssapi-krb5=yes \
+ --enable-systemd=yes \
+ --with-libcap-ng=yes
+ make
+}
+
+package() {
+ cd "$srcdir/$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
+ mv "$pkgdir"/etc/audit/{rules.d/,}audit.rules
+}
Property changes on: audit/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: audit/trunk/audit.install
===================================================================
--- audit/trunk/audit.install (rev 0)
+++ audit/trunk/audit.install 2014-09-29 02:32:09 UTC (rev 119732)
@@ -0,0 +1,4 @@
+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.
+}
More information about the arch-commits
mailing list