summaryrefslogtreecommitdiff
path: root/community/audit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
commita3b55a0c47a00ac40bc00a4ce87d93f809273840 (patch)
tree6fcc1360f835115b132c35ca978b1f804540a372 /community/audit
parent120df4e0db159525806a9b33364483e76f9d51d3 (diff)
Thu Oct 25 01:42:05 PDT 2012
Diffstat (limited to 'community/audit')
-rw-r--r--community/audit/PKGBUILD14
-rw-r--r--community/audit/auditd.service12
2 files changed, 12 insertions, 14 deletions
diff --git a/community/audit/PKGBUILD b/community/audit/PKGBUILD
index 4a1a22871..9584020fc 100644
--- a/community/audit/PKGBUILD
+++ b/community/audit/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 74552 2012-07-30 13:59:54Z mtorromeo $
+# $Id: PKGBUILD 78779 2012-10-24 13:52:59Z 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=2
+pkgrel=3
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)
@@ -31,10 +31,6 @@ source=(
auditd.service
python2.patch
)
-md5sums=('dc099fcb2f9242d47ecc35b46d71dfd1'
- '5f86e87354d0c3b9b408a26daed7a906'
- '67f6c51891120da038cb790693d8eba1'
- '45a33c6bef84f8e1701cb0b5e187336b')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -59,5 +55,9 @@ package() {
install -m755 "$srcdir/auditd.rc" etc/rc.d/auditd
install -d var/log/audit
rm -rf etc/rc.d/init.d etc/sysconfig
- mv usr/sbin sbin
}
+
+sha256sums=('9865ca89f5b975ccf25441ddf45a874448f2bba944005aa8cd5e3c3148713a63'
+ '42c0a4f6ebbd185f783320fd552541d15eb91029b83add21d1e0289ac2dda7ba'
+ '3c7179f40216b594675f26bb73884406c8ac91577b609dd1ab9837f889954007'
+ 'e60c031c6354f41938447c439eadee77127307687a2c487a54fab884eeafd9c2')
diff --git a/community/audit/auditd.service b/community/audit/auditd.service
index 199b0dcbe..208b5c38e 100644
--- a/community/audit/auditd.service
+++ b/community/audit/auditd.service
@@ -1,12 +1,10 @@
[Unit]
-Description=Audit Daemon
+Description=Security Auditing Service
+After=syslog.target
[Service]
-ExecStartPre=/sbin/auditctl -R /etc/audit/audit.rules
-ExecStart=/sbin/auditd -n
-ExecStop=/bin/kill -15 $MAINPID
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=always
+ExecStart=/usr/sbin/auditd -n
+ExecStartPost=/usr/sbin/auditctl -R /etc/audit/audit.rules
[Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target \ No newline at end of file