summaryrefslogtreecommitdiff
path: root/community/audit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/audit
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/audit')
-rw-r--r--community/audit/PKGBUILD65
-rw-r--r--community/audit/python2.patch11
2 files changed, 0 insertions, 76 deletions
diff --git a/community/audit/PKGBUILD b/community/audit/PKGBUILD
deleted file mode 100644
index 33e2a59ce..000000000
--- a/community/audit/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
-# $Id: PKGBUILD 94856 2013-07-31 10:33:01Z 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
-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)
-depends=(krb5 libcap-ng)
-makedepends=(libldap swig linux-headers python2)
-license=(GPL)
-options=(!libtool 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
- python2.patch
-)
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p0 -i "$srcdir/python2.patch"
- ./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 #--with-apparmor=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
-
- 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
-}
-
-sha256sums=('2fc8f97020121593f516dc011ef61f39043c4cea9b2cb9ab3849bf9e41dedf02'
- '6adadb405bebe99bb6a50e80e7c1a356996626e135d566283448fe4019fff3a4')
diff --git a/community/audit/python2.patch b/community/audit/python2.patch
deleted file mode 100644
index 87286fc5b..000000000
--- a/community/audit/python2.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig 2013-01-16 09:19:32.475800853 +0100
-+++ configure 2013-01-16 09:20:45.764146581 +0100
-@@ -13076,7 +13076,7 @@
-
- # Find any Python interpreter.
- if test -z "$PYTHON"; then
-- for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
-+ for ac_prog in python2
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2