# Contributor: Duane Hughes # Maintainer: Natanael Copa pkgname=logcheck pkgver=1.4.3 pkgrel=0 pkgdesc="Bash scripts used to monitor system log files for anomalies" options="!check" # Requires writing to root owned paths but can't run as root url="https://packages.debian.org/source/sid/logcheck" arch="noarch" license="GPL-2.0-or-later" depends=" bash lockfile-progs perl " install="$pkgname.pre-install" subpackages="$pkgname-doc" pkgusers="logcheck" source="https://deb.debian.org/debian/pool/main/l/logcheck/logcheck_$pkgver.tar.xz logcheck.cron.d " package() { 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=" e6c3ef20b44e23099a6b9054f210c8baead6f6a6a84d2d2f0bc465ef95bdf9b267a85f59ec876d1854e0e76f1fb4263a30036caf84b4c8bff15763fb6f9ff6a2 logcheck_1.4.3.tar.xz a177388f18c220323eea6f5413f76873e6ad2a2334f58a05727c7b94a793fcb98bd605cefc6fe44aca6afe5c50a9ef851abcc439aefe5b7545d5d6bb584c0a8b logcheck.cron.d "