summaryrefslogtreecommitdiff
path: root/repo/skip/audit.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
commit2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 (patch)
tree36a97971d0f9c6151f36b333383bb985289f23e3 /repo/skip/audit.xibuild
parent08c8891c20131576640f30cc40fcdbc57a497957 (diff)
shell will now default to dash asap
Diffstat (limited to 'repo/skip/audit.xibuild')
-rw-r--r--repo/skip/audit.xibuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/repo/skip/audit.xibuild b/repo/skip/audit.xibuild
new file mode 100644
index 0000000..fcfd2ec
--- /dev/null
+++ b/repo/skip/audit.xibuild
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+MAKEDEPS="make swig"
+DEPS="sbase libcap-ng musl"
+
+PKG_VER=3.0.6
+SOURCE=https://people.redhat.com/sgrubb/audit/audit-$PKG_VER.tar.gz
+ADDITIONAL="
+ 0003-all-get-rid-of-strndupa.patch
+ 0004-fix-path-in-au-remote-conf.patch
+ auditd.initd
+ auditd.confd
+ "
+
+DESC="User space tools for 2.6 kernel auditing"
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-zos-remote \
+ --enable-shared=audit
+ make
+}
+
+check () {
+ make -j1 check
+}
+
+package () {
+ make DESTDIR="$PKG_DEST" install
+ install -Dm755 /auditd.initd "$PKG_DEST"/etc/init.d/auditd
+ install -Dm644 /auditd.confd "$PKG_DEST"/etc/conf.d/auditd
+
+}