[arch-commits] Commit in audit/repos (6 files)

Daniel Micay thestinger at archlinux.org
Sun Nov 2 21:43:12 UTC 2014


    Date: Sunday, November 2, 2014 @ 22:43:11
  Author: thestinger
Revision: 121732

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  audit/repos/community-testing-i686/
  audit/repos/community-testing-i686/PKGBUILD
    (from rev 121731, audit/trunk/PKGBUILD)
  audit/repos/community-testing-i686/audit.install
    (from rev 121731, audit/trunk/audit.install)
  audit/repos/community-testing-x86_64/
  audit/repos/community-testing-x86_64/PKGBUILD
    (from rev 121731, audit/trunk/PKGBUILD)
  audit/repos/community-testing-x86_64/audit.install
    (from rev 121731, audit/trunk/audit.install)

----------------------------------------+
 community-testing-i686/PKGBUILD        |   64 +++++++++++++++++++++++++++++++
 community-testing-i686/audit.install   |    5 ++
 community-testing-x86_64/PKGBUILD      |   64 +++++++++++++++++++++++++++++++
 community-testing-x86_64/audit.install |    5 ++
 4 files changed, 138 insertions(+)

Copied: audit/repos/community-testing-i686/PKGBUILD (from rev 121731, audit/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-11-02 21:43:11 UTC (rev 121732)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: <kang at insecure.ws>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Connor Behan <connor.behan at gmail.com>
+# Contributor: henning mueller <henning at orgizm.net>
+
+pkgname=audit
+pkgver=2.4.1
+pkgrel=1
+pkgdesc='Userspace components of the audit framework'
+url='http://people.redhat.com/sgrubb/audit'
+arch=(i686 x86_64)
+depends=(krb5 libcap-ng)
+makedepends=(libldap swig linux-headers python2)
+license=(GPL)
+options=(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")
+sha256sums=('059346fa0e922faf4dcc054382b21f4845cd8c4942e82cfd0d4cd52bd2b03026')
+install=$pkgname.install
+
+build() {
+  cd $pkgname-$pkgver
+  export PYTHON=/usr/bin/python2
+  ./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
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd "$pkgdir"
+  install -d var/log/audit
+  rm -rf etc/rc.d etc/sysconfig usr/lib/audit
+
+  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
+  mv "$pkgdir"/etc/audit/{rules.d/,}audit.rules
+}

Copied: audit/repos/community-testing-i686/audit.install (from rev 121731, audit/trunk/audit.install)
===================================================================
--- community-testing-i686/audit.install	                        (rev 0)
+++ community-testing-i686/audit.install	2014-11-02 21:43:11 UTC (rev 121732)
@@ -0,0 +1,5 @@
+post_install() {
+  echo CONFIG_AUDIT is disabled in the Arch kernel packages so a custom kernel
+  echo is required for most components of this package. However, some features
+  echo like the utility methods in libaudit work without kernel support.
+}

Copied: audit/repos/community-testing-x86_64/PKGBUILD (from rev 121731, audit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-11-02 21:43:11 UTC (rev 121732)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: <kang at insecure.ws>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Connor Behan <connor.behan at gmail.com>
+# Contributor: henning mueller <henning at orgizm.net>
+
+pkgname=audit
+pkgver=2.4.1
+pkgrel=1
+pkgdesc='Userspace components of the audit framework'
+url='http://people.redhat.com/sgrubb/audit'
+arch=(i686 x86_64)
+depends=(krb5 libcap-ng)
+makedepends=(libldap swig linux-headers python2)
+license=(GPL)
+options=(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")
+sha256sums=('059346fa0e922faf4dcc054382b21f4845cd8c4942e82cfd0d4cd52bd2b03026')
+install=$pkgname.install
+
+build() {
+  cd $pkgname-$pkgver
+  export PYTHON=/usr/bin/python2
+  ./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
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd "$pkgdir"
+  install -d var/log/audit
+  rm -rf etc/rc.d etc/sysconfig usr/lib/audit
+
+  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
+  mv "$pkgdir"/etc/audit/{rules.d/,}audit.rules
+}

Copied: audit/repos/community-testing-x86_64/audit.install (from rev 121731, audit/trunk/audit.install)
===================================================================
--- community-testing-x86_64/audit.install	                        (rev 0)
+++ community-testing-x86_64/audit.install	2014-11-02 21:43:11 UTC (rev 121732)
@@ -0,0 +1,5 @@
+post_install() {
+  echo CONFIG_AUDIT is disabled in the Arch kernel packages so a custom kernel
+  echo is required for most components of this package. However, some features
+  echo like the utility methods in libaudit work without kernel support.
+}


More information about the arch-commits mailing list