Date: Thursday, September 6, 2018 @ 07:42:46 Author: anthraxx Revision: 333582
community2extra: Moving audit from community to extra Added: audit/ audit/repos/ audit/trunk/ audit/trunk/PKGBUILD audit/trunk/audit.install ---------------+ PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ audit.install | 6 +++++ 2 files changed, 69 insertions(+) Added: audit/trunk/PKGBUILD =================================================================== --- audit/trunk/PKGBUILD (rev 0) +++ audit/trunk/PKGBUILD 2018-09-06 07:42:46 UTC (rev 333582) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer : Christian Rebischke <[email protected]> +# Contributor: Daniel Micay <[email protected]> +# Contributor: <[email protected]> +# Contributor: Massimiliano Torromeo <[email protected]> +# Contributor: Connor Behan <[email protected]> +# Contributor: henning mueller <[email protected]> + +pkgname=audit +pkgver=2.8.3 +pkgrel=2 +pkgdesc='Userspace components of the audit framework' +url='https://people.redhat.com/sgrubb/audit' +arch=('x86_64') +depends=('krb5' 'libcap-ng') +makedepends=('libldap' 'swig' 'linux-headers' 'python' '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=("${pkgname}-${pkgver}.tar.gz::https://people.redhat.com/sgrubb/audit/${pkgname}-${pkgver}.tar.gz") +sha512sums=('aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933') +install="audit.install" + +build() { + cd "${pkgname}-${pkgver}" + export PYTHON=/usr/bin/python2 + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/audit \ + --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 +} Property changes on: audit/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: audit/trunk/audit.install =================================================================== --- audit/trunk/audit.install (rev 0) +++ audit/trunk/audit.install 2018-09-06 07:42:46 UTC (rev 333582) @@ -0,0 +1,6 @@ +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. + echo The package linux-hardened has full support for audit. +}
