Skip to content
Snippets Groups Projects
Commit e02ba746 authored by Sergej Pupykin's avatar Sergej Pupykin
Browse files

upgpkg: 7.5.2-2

parent c9244d00
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,13 @@
pkgname=logwatch
pkgver=7.5.2
pkgrel=1
pkgrel=2
arch=('any')
pkgdesc="Logwatch is a customizable log analysis system."
url="http://www.logwatch.org/"
depends=('perl' 'cron')
optdepends=('perl-date-manip: human readable dates')
depends=('perl')
optdepends=('cron'
'perl-date-manip: human readable dates')
license=('custom')
backup=(etc/logwatch/conf/logwatch.conf
etc/logwatch/conf/ignore.conf
......@@ -72,10 +73,8 @@ package() {
install -m 0755 -d "$pkgdir"/usr/share/man/man8/
install -m 0644 logwatch.8 "$pkgdir"/usr/share/man/man8/
install -m 0755 -d "$pkgdir"/etc/cron.daily/
install -m 0755 -d "$pkgdir"/usr/bin/
ln -s /usr/share/logwatch/scripts/logwatch.pl "$pkgdir"/usr/bin/logwatch
ln -s /usr/share/logwatch/scripts/logwatch.pl "$pkgdir"/etc/cron.daily/0logwatch
install -m 0755 -d "$pkgdir"/var/cache/logwatch
......@@ -87,6 +86,10 @@ package() {
install -Dm0644 "$srcdir"/messages.conf "$pkgdir"/usr/share/logwatch/dist.conf/logfiles/messages.conf
install -Dm0644 "$srcdir"/secure.conf "$pkgdir"/usr/share/logwatch/dist.conf/logfiles/secure.conf
# systemd
install -Dm0644 scheduler/logwatch.timer "$pkgdir"/usr/lib/systemd/system/logwatch.timer
install -Dm0644 scheduler/logwatch.service "$pkgdir"/usr/lib/systemd/system/logwatch.service
install -m 0755 -d "$pkgdir"/usr/share/licenses/$pkgname/
install -m 0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment