summaryrefslogtreecommitdiffstats
path: root/main/logcheck/APKBUILD
blob: 8d92be2006fbf0742fd03d47f6c5ce7ea1668c5a (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
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=logcheck
pkgver=1.3.13
pkgrel=2
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"
sha256sums="199e062eb98292eb5345b916689ec734d97b6c6c42d472a5cd4fb99dd5197f6b  logcheck_1.3.13.tar.gz
b8f841a45bfbc61e500e6e9d0381e592217bdf7a7aa08e5863e49188a264b6ed  logcheck.cron.d"
sha512sums="b7f40440e31da6c9c9bb0a8e98703eee24f98b43caf18a713b7ce52e7bc89cb09d800b8decaa84d7b528ed590cbc477960e2521a28aa0ef223425f566072de9a  logcheck_1.3.13.tar.gz
a177388f18c220323eea6f5413f76873e6ad2a2334f58a05727c7b94a793fcb98bd605cefc6fe44aca6afe5c50a9ef851abcc439aefe5b7545d5d6bb584c0a8b  logcheck.cron.d"