# Contributor: Duane Hughes # Maintainer: Natanael Copa pkgname=logcheck pkgver=1.3.19 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" install="$pkgname.pre-install" options="!check" 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 build() { cd "$builddir" return 0 } 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 } sha512sums="74a8b89b0135ac2d1e0aa00fb87259430c3f4efd06ce7d06598d19377cfd9844d50a29ef71acae6e9fe858f2261583ca63a931372f0c49ebad81ede30d0bdfac logcheck_1.3.19.tar.xz a177388f18c220323eea6f5413f76873e6ad2a2334f58a05727c7b94a793fcb98bd605cefc6fe44aca6afe5c50a9ef851abcc439aefe5b7545d5d6bb584c0a8b logcheck.cron.d"