summaryrefslogtreecommitdiff
path: root/community/audit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/audit/PKGBUILD')
-rw-r--r--community/audit/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/audit/PKGBUILD b/community/audit/PKGBUILD
index 91d738d59..4a1a22871 100644
--- a/community/audit/PKGBUILD
+++ b/community/audit/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 68379 2012-03-23 14:35:57Z mtorromeo $
+# $Id: PKGBUILD 74552 2012-07-30 13:59:54Z 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.1
-pkgrel=1
+pkgrel=2
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
arch=(i686 x86_64)
@@ -28,10 +28,12 @@ backup=(
source=(
$url/$pkgname-$pkgver.tar.gz
auditd.rc
+ auditd.service
python2.patch
)
md5sums=('dc099fcb2f9242d47ecc35b46d71dfd1'
'5f86e87354d0c3b9b408a26daed7a906'
+ '67f6c51891120da038cb790693d8eba1'
'45a33c6bef84f8e1701cb0b5e187336b')
build() {
@@ -51,6 +53,8 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir/auditd.service" "$pkgdir/usr/lib/systemd/system/auditd.service"
+
cd "$pkgdir"
install -m755 "$srcdir/auditd.rc" etc/rc.d/auditd
install -d var/log/audit