milis/talimatname/temel/sysklogd/talimat

41 lines
824 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: For logging system messages, such as those given by the kernel.
# URL: http://www.infodrom.org/projects/sysklogd/
# Paketçi: milisarge
# Gerekler:
isim=sysklogd
surum=1.5.1
devir=1
kaynak=(http://www.infodrom.org/projects/sysklogd/download/sysklogd-$surum.tar.gz)
derle()
{
cd sysklogd-$surum
sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
mkdir -p $PKG/{/sbin,etc,usr/share/man/man{5,8}}
make
make BINDIR=$PKG/sbin MANDIR=$PKG/usr/share/man install
cat > $PKG/etc/syslog.conf << "EOF"
# Begin /etc/syslog.conf
auth,authpriv.* -/var/log/auth.log
*.*;auth,authpriv.none -/var/log/sys.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
local7.* -/var/log/pkg-get.log
cron.* -/var/log/cron.log
*.emerg *
# End /etc/syslog.conf
EOF
}