summaryrefslogtreecommitdiff
path: root/community/audit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/audit/PKGBUILD')
-rw-r--r--community/audit/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/community/audit/PKGBUILD b/community/audit/PKGBUILD
index 33e2a59ce..bae50be89 100644
--- a/community/audit/PKGBUILD
+++ b/community/audit/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 94856 2013-07-31 10:33:01Z mtorromeo $
+# $Id: PKGBUILD 96792 2013-09-05 09:31:14Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Connor Behan <connor.behan@gmail.com>
# Contributor: henning mueller <henning@orgizm.net>
pkgname=audit
-pkgver=2.2.3
-pkgrel=4
+pkgver=2.3.2
+pkgrel=1
pkgdesc='User space utilities for storing and searching the audit records generated by the audit subsystem in the Linux kernel.'
-url=http://people.redhat.com/sgrubb/$pkgname
+url="http://people.redhat.com/sgrubb/$pkgname"
arch=(i686 x86_64)
depends=(krb5 libcap-ng)
makedepends=(libldap swig linux-headers python2)
@@ -15,7 +15,7 @@ license=(GPL)
options=(!libtool emptydirs)
backup=(
etc/libaudit.conf
- etc/audit/audit.rules
+ etc/audit/rules.d/audit.rules
etc/audit/auditd.conf
etc/audisp/audispd.conf
etc/audisp/audisp-remote.conf
@@ -25,14 +25,11 @@ backup=(
etc/audisp/plugins.d/au-remote.conf
etc/audisp/plugins.d/syslog.conf
)
-source=(
- $url/$pkgname-$pkgver.tar.gz
- python2.patch
-)
+source=("$url/$pkgname-$pkgver.tar.gz")
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -p0 -i "$srcdir/python2.patch"
+ export PYTHON=/usr/bin/python2
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -51,7 +48,7 @@ package() {
cd "$pkgdir"
install -d var/log/audit
- rm -rf etc/rc.d etc/sysconfig
+ rm -rf etc/rc.d etc/sysconfig usr/lib/audit
sed -ri 's|/sbin|/usr/bin|' \
etc/audit/*.conf \
@@ -61,5 +58,4 @@ package() {
chmod 644 usr/lib/systemd/system/auditd.service
}
-sha256sums=('2fc8f97020121593f516dc011ef61f39043c4cea9b2cb9ab3849bf9e41dedf02'
- '6adadb405bebe99bb6a50e80e7c1a356996626e135d566283448fe4019fff3a4')
+sha256sums=('8872e0b5392888789061db8034164305ef0e1b34543e1e7004d275f039081d29')