<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1462048949051_3111">Dear Steve,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1462048949051_3256">thanks for your helpful observations. I was able to modify the PKGBUILD and successfully build the package, and then build e4rat-lite which was my ultimate aim. Sadly it didn't seem to work in Arch Linux due to the kernel config options, e4rat-lite-collect didn't collect anything, complained about being unable to log anything due to a bad file descriptor and there was a message at boot saying Cannot open audit socket, which was similar to what auditctl said in the terminal. Of course it might work and I've got something else wrong, it doesn't look encouraging though without CONFIG_AUDIT enabled. But I was just looking at my Void Linux kernel options:</div><div id="yui_3_16_0_ym19_1_1462048949051_3360" dir="ltr">CONFIG_AUDIT=y<br id="yui_3_16_0_ym19_1_1462048949051_3372">CONFIG_HAVE_ARCH_AUDITSYSCALL=y<br id="yui_3_16_0_ym19_1_1462048949051_3373">CONFIG_AUDITSYSCALL=y<br id="yui_3_16_0_ym19_1_1462048949051_3374">CONFIG_AUDIT_WATCH=y<br id="yui_3_16_0_ym19_1_1462048949051_3375">CONFIG_AUDIT_TREE=y<br id="yui_3_16_0_ym19_1_1462048949051_3376">This looks more promising so I will have to try it here instead sometime, although what I will have to build to fulfill the various builddeps I don't yet know. Would it be OK if I tried to make an 'audit' package for Void Linux if they want one? There isn't one in the repo at present, so if I get a working build then I might as well share it. It could take a while to get to that point though, and that's assuming I can get everything to work in Void and don't end up using some other readahead utility altogether or accidentally corrupting my filesystem. But I can be happy I'm building audit correctly now.</div><div id="yui_3_16_0_ym19_1_1462048949051_4023" dir="ltr">I will try and pass on your comments about zos servers and openldap-devel to the Arch packagers as I can only take credit for the confusion over the systemd support option in my earlier PKGBUILD.<br></div><div id="yui_3_16_0_ym19_1_1462048949051_3880" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1462048949051_3881" dir="ltr">Here's my successful modified PKGBUILD with the correct checksum for 2.5.1, which downloads and builds cleanly:</div><div id="yui_3_16_0_ym19_1_1462048949051_3662" dir="ltr"># Edit /etc/makepkg.conf: staticlibs not !staticlibs or they are deleted by makepkg.<br id="yui_3_16_0_ym19_1_1462048949051_3765"><br id="yui_3_16_0_ym19_1_1462048949051_3766"># $Id: PKGBUILD 146469 2015-11-10 05:04:55Z thestinger $<br id="yui_3_16_0_ym19_1_1462048949051_3767"># Maintainer: Daniel Micay <danielmicay@gmail.com><br id="yui_3_16_0_ym19_1_1462048949051_3768"># Contributor: <kang@insecure.ws><br id="yui_3_16_0_ym19_1_1462048949051_3769"># Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com><br id="yui_3_16_0_ym19_1_1462048949051_3770"># Contributor: Connor Behan <connor.behan@gmail.com><br id="yui_3_16_0_ym19_1_1462048949051_3771"># Contributor: henning mueller <henning@orgizm.net><br id="yui_3_16_0_ym19_1_1462048949051_3772"><br id="yui_3_16_0_ym19_1_1462048949051_3773">pkgname=audit<br id="yui_3_16_0_ym19_1_1462048949051_3774">pkgver=2.5.1<br id="yui_3_16_0_ym19_1_1462048949051_3775">pkgrel=1<br id="yui_3_16_0_ym19_1_1462048949051_3776">pkgdesc='Userspace components of the audit framework'<br id="yui_3_16_0_ym19_1_1462048949051_3777">url='https://people.redhat.com/sgrubb/audit'<br id="yui_3_16_0_ym19_1_1462048949051_3778">arch=(i686 x86_64)<br id="yui_3_16_0_ym19_1_1462048949051_3779">depends=(krb5 libcap-ng)<br id="yui_3_16_0_ym19_1_1462048949051_3780">makedepends=(libldap swig linux-headers python)<br id="yui_3_16_0_ym19_1_1462048949051_3781">license=(GPL)<br id="yui_3_16_0_ym19_1_1462048949051_3782">options=(emptydirs)<br id="yui_3_16_0_ym19_1_1462048949051_3783">groups=('modified')<br id="yui_3_16_0_ym19_1_1462048949051_3784">backup=(<br id="yui_3_16_0_ym19_1_1462048949051_3785">  etc/libaudit.conf<br id="yui_3_16_0_ym19_1_1462048949051_3786">  etc/audit/auditd.conf<br id="yui_3_16_0_ym19_1_1462048949051_3787">  etc/audisp/audispd.conf<br id="yui_3_16_0_ym19_1_1462048949051_3788">  etc/audisp/audisp-remote.conf<br id="yui_3_16_0_ym19_1_1462048949051_3789">  etc/audisp/plugins.d/af_unix.conf<br id="yui_3_16_0_ym19_1_1462048949051_3790">  etc/audisp/plugins.d/au-remote.conf<br id="yui_3_16_0_ym19_1_1462048949051_3791">  etc/audisp/plugins.d/syslog.conf<br id="yui_3_16_0_ym19_1_1462048949051_3792">)<br id="yui_3_16_0_ym19_1_1462048949051_3793">source=("$url/$pkgname-$pkgver.tar.gz")<br id="yui_3_16_0_ym19_1_1462048949051_3794">sha256sums=('3c6ec72d8c16d1e85cc2b9c260cc6440319eb294cb54ca41a7bbe9283cc9f421')<br id="yui_3_16_0_ym19_1_1462048949051_3795">install=$pkgname.install<br id="yui_3_16_0_ym19_1_1462048949051_3796"><br id="yui_3_16_0_ym19_1_1462048949051_3797">build() {<br id="yui_3_16_0_ym19_1_1462048949051_3798">  cd $pkgname-$pkgver<br id="yui_3_16_0_ym19_1_1462048949051_3799">  export PYTHON=/usr/bin/python3<br id="yui_3_16_0_ym19_1_1462048949051_3800">  ./configure \<br id="yui_3_16_0_ym19_1_1462048949051_3801">    --prefix=/usr \<br id="yui_3_16_0_ym19_1_1462048949051_3802">    --sbindir=/usr/bin \<br id="yui_3_16_0_ym19_1_1462048949051_3803">    --sysconfdir=/etc \<br id="yui_3_16_0_ym19_1_1462048949051_3804">    --libexecdir=/usr/lib/audit \<br id="yui_3_16_0_ym19_1_1462048949051_3805">    --with-python=yes \<br id="yui_3_16_0_ym19_1_1462048949051_3806">    --enable-gssapi-krb5=yes \<br id="yui_3_16_0_ym19_1_1462048949051_3807">    --enable-systemd=no \<br id="yui_3_16_0_ym19_1_1462048949051_3808">    --with-libcap-ng=yes \<br id="yui_3_16_0_ym19_1_1462048949051_3809">    --disable-zos-remote \<br id="yui_3_16_0_ym19_1_1462048949051_3810">    --enable-static=yes<br id="yui_3_16_0_ym19_1_1462048949051_3811">  make<br id="yui_3_16_0_ym19_1_1462048949051_3812">}<br id="yui_3_16_0_ym19_1_1462048949051_3813"><br id="yui_3_16_0_ym19_1_1462048949051_3814">package() {<br id="yui_3_16_0_ym19_1_1462048949051_3815">  cd $pkgname-$pkgver<br id="yui_3_16_0_ym19_1_1462048949051_3859">  make DESTDIR="$pkgdir" install<br id="yui_3_16_0_ym19_1_1462048949051_3860"><br id="yui_3_16_0_ym19_1_1462048949051_3861">  cd "$pkgdir"<br id="yui_3_16_0_ym19_1_1462048949051_3862">  install -d var/log/audit<br id="yui_3_16_0_ym19_1_1462048949051_3863">  rm -rf etc/rc.d etc/sysconfig usr/lib/audit<br id="yui_3_16_0_ym19_1_1462048949051_3864"><br id="yui_3_16_0_ym19_1_1462048949051_3865">  sed -ri 's|/sbin|/usr/bin|' \<br id="yui_3_16_0_ym19_1_1462048949051_3866">    etc/audit/*.conf \<br id="yui_3_16_0_ym19_1_1462048949051_3867">    etc/audisp/plugins.d/*.conf<br id="yui_3_16_0_ym19_1_1462048949051_3868"><br></div></div></body></html>