blob: b617ebe92bccff7621930414972281e14b3a6b09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Thomas Andrejak <thomas.andrejak@gmail.com>
pkgname=prelude-lml
pkgver=5.2.0
pkgrel=1
pkgdesc="The prelude log analyzer"
arch=('i686' 'x86_64')
url="https://www.prelude-siem.org"
license=('GPLv2')
depends=('gamin' 'pcre' 'gtk-doc' 'libprelude')
optdepends=('syslog-ng: store logs in syslog files to let prelude-lml read it'
'rsyslog: store logs in syslog files to let prelude-lml read it')
source=("https://www.prelude-siem.org/pkg/src/5.2.0/$pkgname-$pkgver.tar.gz"
"prelude-lml.run"
"prelude-lml.service"
"prelude-lml-conf.patch")
install="$pkgname.install"
backup=('etc/prelude-lml/prelude-lml.conf'
'etc/prelude-lml/plugins.rules')
build() {
cd "$srcdir/$pkgname-$pkgver"
CPP="cpp -P" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
rm -rf $pkgdir/var/run
install -d -m 0700 "$pkgdir/etc/prelude-lml/ruleset"
install -D -m 0644 "$srcdir/$pkgname.run" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
install -D -m 0644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
}
prepare() {
patch -p0 <prelude-lml-conf.patch
}
md5sums=('18cd63d730fb6878cb9adc3bfdd989c0' '826320a9f19db7e179d7cccb0828eb36' '6418c224e5053f6383bdb625bb5ab03f' 'a7cfc6ee3d2410764f6ce628005e9d86')
|