milis/talimatname/temel/sysklogd/talimat

41 lines
832 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: For logging system messages, such as those given by the kernel.
2016-02-24 01:27:23 +01:00
# URL: http://www.infodrom.org/projects/sysklogd/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
name=sysklogd
version=1.5.1
release=1
source=(http://www.infodrom.org/projects/sysklogd/download/sysklogd-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle()
2016-02-24 01:27:23 +01:00
{
cd sysklogd-$version
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
}