talimat 824 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Tanım: For logging system messages, such as those given by the kernel.
  2. # URL: http://www.infodrom.org/projects/sysklogd/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=sysklogd
  6. surum=1.5.1
  7. devir=1
  8. kaynak=(http://www.infodrom.org/projects/sysklogd/download/sysklogd-$surum.tar.gz)
  9. derle()
  10. {
  11. cd sysklogd-$surum
  12. sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
  13. mkdir -p $PKG/{/sbin,etc,usr/share/man/man{5,8}}
  14. make
  15. make BINDIR=$PKG/sbin MANDIR=$PKG/usr/share/man install
  16. cat > $PKG/etc/syslog.conf << "EOF"
  17. # Begin /etc/syslog.conf
  18. auth,authpriv.* -/var/log/auth.log
  19. *.*;auth,authpriv.none -/var/log/sys.log
  20. daemon.* -/var/log/daemon.log
  21. kern.* -/var/log/kern.log
  22. mail.* -/var/log/mail.log
  23. user.* -/var/log/user.log
  24. local7.* -/var/log/pkg-get.log
  25. cron.* -/var/log/cron.log
  26. *.emerg *
  27. # End /etc/syslog.conf
  28. EOF
  29. }