# Contributor: Duane Hughes # Maintainer: Natanael Copa pkgname=logcheck pkgver=1.3.18 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="3ab75969f732efa123d9df2c8b44557e4a7eddef8332a8357463930714148a13130c763c22e562bd60e106abf5e18cf39b3572e0c048727a117fbc67430b7e3f logcheck_1.3.18.tar.xz a177388f18c220323eea6f5413f76873e6ad2a2334f58a05727c7b94a793fcb98bd605cefc6fe44aca6afe5c50a9ef851abcc439aefe5b7545d5d6bb584c0a8b logcheck.cron.d"