blob: 8a736896c30802d6e29b1779b3d731b96e1c8c41 (
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
|
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=logcheck
pkgver=1.3.17
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"
subpackages="$pkgname-doc"
pkgusers="logcheck"
source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.xz
logcheck.cron.d"
builddir="$srcdir"/$pkgname-$pkgver
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/var/lib/$pkgname
mkdir -p "$pkgdir"/var/lock/$pkgname
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
chown -R $pkgusers "$pkgdir"/etc/logcheck "$pkgdir"/var/lock/logcheck "$pkgdir"/var/lib/logcheck
}
md5sums="420f28a35e6eee7057319b3e4b7e770c logcheck_1.3.17.tar.xz
89be84c722a958659df9a937826cbdc2 logcheck.cron.d"
sha256sums="c2d3fc323e8c6555e91d956385dbfd0f67b55872ed0f6a7ad8ad2526a9faf03a logcheck_1.3.17.tar.xz
b8f841a45bfbc61e500e6e9d0381e592217bdf7a7aa08e5863e49188a264b6ed logcheck.cron.d"
sha512sums="e4a30b6ccd7a9f0f51354b1a6e577f6a3837e3db078f61b3d3ceaf630a1f1eeae03324e6ec58307f8f723dbd017e1543c15f7dc34e50c0eeb9ee0b160b2c879d logcheck_1.3.17.tar.xz
a177388f18c220323eea6f5413f76873e6ad2a2334f58a05727c7b94a793fcb98bd605cefc6fe44aca6afe5c50a9ef851abcc439aefe5b7545d5d6bb584c0a8b logcheck.cron.d"
|