sysklogd: use a BSD scheme for log files. Bump revision.

--HG--
extra : convert_revision : c6bf1a069b258d33231ac7ab455afbe23aa2de12
This commit is contained in:
Juan RP 2009-03-29 11:32:33 +02:00
parent 4a2816d90f
commit ffb9303619
2 changed files with 9 additions and 14 deletions

View File

@ -0,0 +1,4 @@
auth,authpriv.* -/var/log/authlog
*.*;daemon.*,kern.*,user.*;auth,authpriv.none -/var/log/messages
mail.* -/var/log/maillog
*.emerg *

View File

@ -1,6 +1,7 @@
# Template file for 'sysklogd'
pkgname=sysklogd
version=1.5
revision=1
distfiles="
http://www.infodrom.org/projects/sysklogd/download/$pkgname-$version.tar.gz"
build_style=gnu_makefile
@ -26,19 +27,9 @@ Add_dependency full glibc
post_install()
{
# Create a default syslog.conf.
# Install the rc.d scripts and conf file.
install -d ${DESTDIR}/etc/rc.d
( \
echo "auth,authpriv.* -/var/log/auth.log"; \
echo "*.*;auth,authpriv.none -/var/log/sys.log"; \
echo "daemon.* -/var/log/daemon.log"; \
echo "kern.* -/var/log/kern.log"; \
echo "mail.* -/var/log/mail.log"; \
echo "user.* -/var/log/user.log"; \
echo "*.emerg *"; \
) > $DESTDIR/etc/syslog.conf
chmod 644 $DESTDIR/etc/syslog.conf
# Install the rc.d scripts.
install -m755 ${FILESDIR}/* ${DESTDIR}/etc/rc.d
install -m755 ${FILESDIR}/klogd ${DESTDIR}/etc/rc.d
install -m755 ${FILESDIR}/syslogd ${DESTDIR}/etc/rc.d
install -m644 ${FILESDIR}/syslog.conf ${DESTDIR}/etc
}