summaryrefslogtreecommitdiff
path: root/community/audit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-11 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-06-11 00:05:27 -0700
commitbf794523287bafc14671f83b08f7b22bceadc4bc (patch)
tree05c7098cb5eb0c4195d7c2eb735379fb27a974ab /community/audit
parent3f6e6048fea3b61c4d0b2c1e7385bc76882007a4 (diff)
Tue Jun 11 00:05:26 PDT 2013
Diffstat (limited to 'community/audit')
-rw-r--r--community/audit/PKGBUILD16
-rw-r--r--community/audit/auditd.service10
2 files changed, 8 insertions, 18 deletions
diff --git a/community/audit/PKGBUILD b/community/audit/PKGBUILD
index e6de95ded..299e7908c 100644
--- a/community/audit/PKGBUILD
+++ b/community/audit/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90472 2013-05-12 21:18:29Z mtorromeo $
+# $Id: PKGBUILD 92644 2013-06-10 11:55:07Z 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=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)
@@ -27,7 +27,6 @@ backup=(
)
source=(
$url/$pkgname-$pkgver.tar.gz
- auditd.service
python2.patch
)
@@ -41,6 +40,7 @@ build() {
--libexecdir=/usr/lib/audit \
--with-python=yes \
--enable-gssapi-krb5=yes \
+ --enable-systemd=yes \
--with-libcap-ng=yes #--with-apparmor=yes
make
}
@@ -49,15 +49,15 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm755 "$srcdir/auditd.service" "$pkgdir/usr/lib/systemd/system/auditd.service"
-
cd "$pkgdir"
install -d var/log/audit
- rm -rf etc/rc.d/init.d etc/sysconfig
+ rm -rf etc/rc.d etc/sysconfig
- sed -ri 's| /sbin| /usr/bin|' etc/audit/*.conf etc/audisp/plugins.d/*.conf
+ sed -ri 's|/sbin|/usr/bin|' \
+ etc/audit/*.conf \
+ etc/audisp/plugins.d/*.conf \
+ usr/lib/systemd/system/auditd.service
}
sha256sums=('2fc8f97020121593f516dc011ef61f39043c4cea9b2cb9ab3849bf9e41dedf02'
- '83ebda69bbc2d4058d7baddbf91ab8a2aafd70e64ceb2137d9c9335f8d8d4b83'
'6adadb405bebe99bb6a50e80e7c1a356996626e135d566283448fe4019fff3a4')
diff --git a/community/audit/auditd.service b/community/audit/auditd.service
deleted file mode 100644
index 959dcc112..000000000
--- a/community/audit/auditd.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Security Auditing Service
-After=syslog.target
-
-[Service]
-ExecStart=/usr/bin/auditd -n
-ExecStartPost=/usr/bin/auditctl -R /etc/audit/audit.rules
-
-[Install]
-WantedBy=multi-user.target \ No newline at end of file