Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=8312399bcc6d2feee5c8d1317de2a41006e9bf97
commit 8312399bcc6d2feee5c8d1317de2a41006e9bf97 Author: Elentir <elen...@frugalware.org> Date: Sat Apr 30 14:55:09 2011 +0200 logwatch-7.4.0-1-x86_64 * version bump * use sourceforge scheme * move /etc/log.d to /etc/logwatch * because /etc/logwatch is hardwired in perl script diff --git a/source/apps-extra/logwatch/FrugalBuild b/source/apps-extra/logwatch/FrugalBuild index 7351124..9c061ee 100644 --- a/source/apps-extra/logwatch/FrugalBuild +++ b/source/apps-extra/logwatch/FrugalBuild @@ -2,32 +2,30 @@ # Maintainer: Krisztian VASAS <i...@frugalware.org> pkgname=logwatch -pkgver=7.3.6 +pkgver=7.4.0 pkgrel=1 pkgdesc="a program to check system logs for unusual events and mail them to sysadmin" url="ftp://ftp.kaybee.org/pub/linux" depends=('perl') -backup=('etc/log.d/conf/logwatch.conf') +backup=('etc/logwatch/conf/logwatch.conf') groups=('apps-extra') archs=('i686' 'x86_64') -up2date="lynx -dump ftp://ftp.kaybee.org/pub/linux | grep logwatch|sed -ne 's|.*-\(.*\).tar.*|\1|; 1p'" -source=($url/$pkgname-$pkgver.tar.gz) +Finclude sourceforge +sha1sums=('c0a07cf92e99fd48281e53fdaaef7cea72ca11f7') build() { Fcd - Fmkdir /etc/log.d - cp -ar {scripts,lib,conf} $Fdestdir/etc/log.d + Fmkdir /etc/logwatch + Fcp $_F_cd_path/scripts /etc/logwatch/scripts + Fcp $_F_cd_path/lib /etc/logwatch/lib + Fcp $_F_cd_path/conf /etc/logwatch/conf - Fmkdir /usr/{man/man8,share/doc/$pkgname-$pkgver} || return 1 - cp {HOWTO-Customize-LogWatch,License,README} $Fdestdir/usr/share/doc/$pkgname-$pkgver/ - Ffilerel /usr/man/man8/logwatch.8 - Fln /etc/log.d/scripts/logwatch.pl /usr/sbin/logwatch - Fln /etc/log.d /usr/share/logwatch + Fdoc $_F_cd_path/{HOWTO-Customize-LogWatch,LICENSE,README} + Fman $_F_cd_path/{logwatch.8,logwatch.conf.5} + Fln /etc/logwatch/scripts/logwatch.pl /usr/sbin/logwatch + Fln /etc/logwatch /usr/share/logwatch Fmkdir /var/cache/logwatch - Fsed /bin/mail /usr/bin/mail $Fdestdir/etc/log.d/conf/logwatch.conf + Fsed "/usr/sbin/sendmail -t" "/usr/bin/mail" $Fdestdir/etc/logwatch/conf/logwatch.conf } -# vim: ft=sh - -sha1sums=('6cc234e926ec7be1334d46c0e356df1b80701095') _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git