summaryrefslogtreecommitdiffstats
path: root/main/logcheck/APKBUILD
blob: e437f2c788dccddc6bb18b9219e9ac63dd136ff3 (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
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=logcheck
pkgver=1.3.13
pkgrel=0
pkgdesc="Bash scripts used to monitor system log files for anomalies"
url="http://packages.debian.org/source/sid/logcheck"
arch="noarch"
license="GPL"
depends="lockfile-progs"
makedepends=
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.gz
	logcheck.cron.d
	"

_builddir="$srcdir"/$pkgname

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install

	install -D -m 644 "$srcdir"/logcheck.cron.d "$pkgdir"/etc/logcheck/logcheck.cron.sample
	install -d "$pkgdir"/usr/share/man
	cp -a "$_builddir"/docs/* "$pkgdir"/usr/share/man
}

md5sums="e2ff14f522bf2e30d5947c85fed44973  logcheck_1.3.13.tar.gz
89be84c722a958659df9a937826cbdc2  logcheck.cron.d"