Commit 72ef36c4 authored by Pedro Filipe's avatar Pedro Filipe Committed by Natanael Copa

main/audit: upgrade to 2.8.4 and add openrc subpackage

parent c889a127
# Maintainer: Tycho Andersen <tycho@docker.com>
pkgname=audit
pkgver=2.8.3
pkgrel=1
pkgver=2.8.4
pkgrel=0
pkgdesc="User space tools for 2.6 kernel auditing"
url="http://people.redhat.com/sgrubb/audit/"
arch="all"
license="GPL-2.0-or-later"
depends_dev="linux-headers"
makedepends="$depends_dev swig libcap-ng-dev python3"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs $pkgname-openrc"
source="http://people.redhat.com/sgrubb/audit/audit-$pkgver.tar.gz
0002-auparse-remove-use-of-rawmemchr.patch
0003-all-get-rid-of-strndupa.patch
......@@ -44,10 +44,10 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m755 "$srcdir"/auditd.initd \
"$pkgdir"/etc/init.d/auditd
install -D -m644 "$srcdir"/auditd.confd \
"$pkgdir"/etc/conf.d/auditd
install -D -m755 "$srcdir"/auditd.initd \
"$pkgdir"/etc/init.d/auditd
}
static() {
......@@ -56,7 +56,7 @@ static() {
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
}
sha512sums="aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933 audit-2.8.3.tar.gz
sha512sums="5795c565effab995cee447a2dc457ef6a6f15201fb185d7104992ac373a3cb5cfc865dd661c0896a895c96f452eff392d455064d0eead55cd7364d96e0d15c4a audit-2.8.4.tar.gz
b7851d4c3c6d7d35f2e822273c17ab530ac24301c414da7f0c7578b7a182692ecd01b51cb50ea04adba4b43987f27020f8f411aec23b3bda0af4d4b6e9fbae5d 0002-auparse-remove-use-of-rawmemchr.patch
c380c04fc1939903eea9919d5a918f58725177adee1fe7dbe81e33905bad2f561dc35cae9f3d79aa6f00245cf33cdd50cef5e2b58f4fa5b8cd0cfad59af7137a 0003-all-get-rid-of-strndupa.patch
1b48c248db5d34f148f9c79f8b2a6acbf61c729230341b861f5e331bbfb0c8356305a09eb2cc5c82c14c4fd9a13c7c13957e1ed493834b8b3b9ee38978e4c31f auditd.initd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment