diff options
author | 2009-10-26 10:00:25 -0500 | |
---|---|---|
committer | 2009-10-26 10:00:25 -0500 | |
commit | e5f337bf074b94e9d6c7c6ae8de6644739b2ca7d (patch) | |
tree | 0a427c26335a65b64077d71d99e9a363f0d747f2 /app-admin | |
parent | Remove old ebuild. (diff) | |
download | sattvik-e5f337bf074b94e9d6c7c6ae8de6644739b2ca7d.tar.gz sattvik-e5f337bf074b94e9d6c7c6ae8de6644739b2ca7d.tar.bz2 sattvik-e5f337bf074b94e9d6c7c6ae8de6644739b2ca7d.zip |
Remove obsolete syslog-ng ebuild.
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/syslog-ng/Manifest | 14 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.debian | 149 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.gentoo | 33 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0 | 32 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd | 20 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.0 | 24 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened | 117 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0 | 111 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.confd | 6 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.logrotate | 13 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.logrotate.hardened | 73 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6-r1 | 60 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6.3.0 | 60 | ||||
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-3.0.3.ebuild | 96 |
14 files changed, 0 insertions, 808 deletions
diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest deleted file mode 100644 index d49b6c9..0000000 --- a/app-admin/syslog-ng/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -AUX syslog-ng.conf.debian 5445 RMD160 c3c2f319d437bb2548226f4f78db96cd6210c7cc SHA1 80256f810a5b87adf5b39320eb4b5758ba3003a0 SHA256 74943e12a92b415306e2fca27056a839fa7ce443ccd08fdafcfac9bcba08a1c3 -AUX syslog-ng.conf.gentoo 1100 RMD160 02b1b6230d509369a86ac9e26c374f7972fbed9f SHA1 a27db752c611786062ac8e0d2e902c038d6323b2 SHA256 fbe8e8f7143748212d0726ad3ee6eed7479018eef788cdeee6796ae78cbdc96a -AUX syslog-ng.conf.gentoo.3.0 1071 RMD160 678ddf3f718b5656351320969b60d8b7e4ba06da SHA1 53256d2169f125d34ef9284da98542aee8b219cf SHA256 734c9b926caa08037f9bd40ac04b6a23f94724e7dd1fe7d74df8ef6286b6455b -AUX syslog-ng.conf.gentoo.fbsd 702 RMD160 2fb49bab8ccc7ce763156ef14dbff858d7e6b416 SHA1 1a6bd708009fd6d18516d66a34bd9cb9ec7c3eed SHA256 ab54cc3e5595fad1b362039932ee8a7d7e852ebda3f08bb20ecc19c1be830751 -AUX syslog-ng.conf.gentoo.fbsd.3.0 689 RMD160 2846d0f4983e77c84dd0d910125fc06db35b7bea SHA1 fe691a832c6349f103be06030ef3c0149003ab0c SHA256 7664196305d7937613c8bd5f653fa4703d37e51efc8c5c5f286f30be9da5ecaa -AUX syslog-ng.conf.gentoo.hardened 4619 RMD160 0356a63c0a0552f23c119beb0567b5aa7d9fba70 SHA1 c02ad68e91c8198df698990c969fc24a72872530 SHA256 8c229d39e3fcb79d5ac29dcd859ec29cb84e345867985a8a36dcbf72db3ff7bc -AUX syslog-ng.conf.gentoo.hardened.3.0 4513 RMD160 ff17de6ce1f3f627db878b0e45035d087c09b5fa SHA1 5cc68a6435a29295b8a10c3df63172a23b9ba8af SHA256 189f77e5a76969bcb857b31ec94a9b907717c029998169aa32fca37d4028b4df -AUX syslog-ng.confd 150 RMD160 b5ab31e1c285fdd2f41324abc2c6b39bce59038d SHA1 c5df6ef1eca2a169fb3073816d4a06b7c85c0b0c SHA256 8319ca8e39a5dab5ddc82eede088e1f58ff25deef330804648000359cb736a3f -AUX syslog-ng.logrotate 354 RMD160 120e617e36299bd7bea2ec226c2cda6e1574b793 SHA1 64abb48d2222e9702cbb33bc223507c44dbe2e85 SHA256 e8e1b6d87f8217c77c0bfbe3095cac0c4edcb72473cbd1423bf2ae7bffee8ca3 -AUX syslog-ng.logrotate.hardened 1696 RMD160 9f22685778cf6d9c54ab899e586650e356a66498 SHA1 2c40af7591dac343047ac7a517c4ee8a5cb5f0a7 SHA256 e4530dab9b9d3c1a78bc1349e4ae647a6747b0aba7b3d5192f029281d71c89bf -AUX syslog-ng.rc6-r1 1894 RMD160 13084357eb4868779ddf12d839f574f5a36462b7 SHA1 880b5923ab0b988d1b486c47ff6023d7cb9bd26e SHA256 9273e5b2ae65e8c7d7cc7c24a43bc9bb35e64d972a4bd65f90cb4cdb16bcba44 -AUX syslog-ng.rc6.3.0 1898 RMD160 dee195e7ab75bab65d1b6ab9500ec22705154bb4 SHA1 47feaa2fdfe035e97b795742dc8073a3b61121c1 SHA256 ceb062b858ae58c52589dde5e640d6f4d42319147fa542d181fa0c01f300e6cd -DIST syslog-ng_3.0.3.tar.gz 546397 RMD160 99201edafe24024bcba3adcd0d8ef8aa8e91ca3f SHA1 20ef5b31e986ca878500e4ab3681982ec2b20df2 SHA256 bf6e9f84747ff4a7d2181f67716d434b924da3eee7f199ad5f3c526cbb121bb8 -EBUILD syslog-ng-3.0.3.ebuild 2832 RMD160 6d510acc3ad7649bbd47cb747ef62657695f6781 SHA1 0e69b7441d6e3fa35d7e7a6a4b0bbd3f93e41bfb SHA256 01865bc3186bc0b3d1f659b39c543d25df4f12ba481cbcd9fdf80224bb44421f diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.debian b/app-admin/syslog-ng/files/syslog-ng.conf.debian deleted file mode 100644 index 9a55bf7..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.debian +++ /dev/null @@ -1,149 +0,0 @@ -# -# Syslog-ng configuration file, compatible with default Debian syslogd -# installation. Originally written by anonymous (I can't find his name) -# Revised, and rewrited by me (SZALAY Attila <sasa@debian.org>) - -# First, set some global options. -options { chain_hostnames(off); sync(0); use_dns(no); - owner("root"); group("adm"); perm(0640); -}; - -######################## -# Sources -######################## -# This is the default behavior of sysklogd package -# Logs may come from unix stream, but not from another machine. -# -source src { unix-dgram("/dev/log"); internal(); - file("/proc/kmsg" log_prefix("kernel: ")); -}; - -# If you wish to get logs from remote machine you should uncomment -# this and comment the above source line. -# -#source net { tcp(ip(127.0.0.1) port(1000) authentication(required) encrypt(allow)); }; - -######################## -# Destinations -######################## -# First some standard logfile -# -destination auth { file("/var/log/auth.log"); }; -destination cron { file("/var/log/cron.log"); }; -destination daemon { file("/var/log/daemon.log"); }; -destination kern { file("/var/log/kern.log"); }; -destination lpr { file("/var/log/lpr.log"); }; -destination mail { file("/var/log/mail.log"); }; -destination syslog { file("/var/log/syslog.log"); }; -destination user { file("/var/log/user.log"); }; -destination uucp { file("/var/log/uucp.log"); }; - -# This files are the log come from the mail subsystem. -# -destination mailinfo { file("/var/log/mail/mail.info"); }; -destination mailwarn { file("/var/log/mail/mail.warn"); }; -destination mailerr { file("/var/log/mail/mail.err"); }; - -# Logging for INN news system -# -destination newscrit { file("/var/log/news/news.crit"); }; -destination newserr { file("/var/log/news/news.err"); }; -destination newsnotice { file("/var/log/news/news.notice"); }; - -# Some `catch-all' logfiles. -# -destination debug { file("/var/log/debug"); }; -destination error { file("/var/log/error"); }; - -# The root's console. -# -destination console { usertty("root"); }; - -# Virtual console. -# -destination console_all { file("/dev/vc/10"); }; - -# The named pipe /dev/xconsole is for the nsole' utility. To use it, -# you must invoke nsole' with the -file' option: -# -# $ xconsole -file /dev/xconsole [...] -# -destination xconsole { pipe("/dev/xconsole"); }; - -# Send the messages to an other host -# -#destination net { tcp("127.0.0.1" port(1000) authentication(on) encrypt(on) log_fifo_size(1000)); }; - -# Debian only -destination ppp { file("/var/log/ppp.log"); }; - -######################## -# Filters -######################## -# Here's come the filter options. With this rules, we can set which -# message go where. - -filter dbg { level(debug); }; -filter info { level(info); }; -filter notice { level(notice); }; -filter warn { level(warn); }; -filter err { level(err); }; -filter crit { level(crit .. emerg); }; - -filter debug { level(debug) and not facility(auth, authpriv, news, mail); }; -filter error { level(err .. emerg) ; }; - -filter auth { facility(auth, authpriv) and not filter(debug); }; -filter cron { facility(cron) and not filter(debug); }; -filter daemon { facility(daemon) and not filter(debug); }; -filter kern { facility(kern) and not filter(debug); }; -filter lpr { facility(lpr) and not filter(debug); }; -filter local { facility(local0, local1, local3, local4, local5, - local6, local7) and not filter(debug); }; -filter mail { facility(mail) and not filter(debug); }; -filter news { facility(news) and not filter(debug); }; -filter syslog { facility(syslog) and not filter(debug); }; -filter user { facility(user) and not filter(debug); }; -filter uucp { facility(uucp) and not filter(debug); }; - -filter cnews { level(notice, err, crit) and facility(news); }; -filter cother { level(debug, info, notice, warn) or facility(daemon, mail); }; - -filter ppp { facility(local2) and not filter(debug); }; -filter console { level(warn .. emerg); }; - -######################## -# Log paths -######################## -log { source(src); filter(auth); destination(auth); }; -log { source(src); filter(cron); destination(cron); }; -log { source(src); filter(daemon); destination(daemon); }; -log { source(src); filter(kern); destination(kern); }; -log { source(src); filter(lpr); destination(lpr); }; -log { source(src); filter(syslog); destination(syslog); }; -log { source(src); filter(user); destination(user); }; -log { source(src); filter(uucp); destination(uucp); }; - -log { source(src); filter(mail); destination(mail); }; -#log { source(src); filter(mail); filter(info); destination(mailinfo); }; -#log { source(src); filter(mail); filter(warn); destination(mailwarn); }; -#log { source(src); filter(mail); filter(err); destination(mailerr); }; - -log { source(src); filter(news); filter(crit); destination(newscrit); }; -log { source(src); filter(news); filter(err); destination(newserr); }; -log { source(src); filter(news); filter(notice); destination(newsnotice); }; -#log { source(src); filter(cnews); destination(console_all); }; -#log { source(src); filter(cother); destination(console_all); }; - -#log { source(src); filter(ppp); destination(ppp); }; - -log { source(src); filter(debug); destination(debug); }; -log { source(src); filter(error); destination(error); }; - -log { source(src); filter(console); destination(console_all); - destination(xconsole); }; -log { source(src); filter(crit); destination(console); }; - -# All messages send to a remote site -# -#log { source(src); destination(net); }; diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo deleted file mode 100644 index 48e5513..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo +++ /dev/null @@ -1,33 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 1.7 2007/08/02 04:52:18 mr_bones_ Exp $ -# -# Syslog-ng default configuration file for Gentoo Linux -# contributed by Michael Sterrett - -options { - chain_hostnames(off); - sync(0); - - # The default action of syslog-ng 1.6.0 is to log a STATS line - # to the file every 10 minutes. That's pretty ugly after a while. - # Change it to every 12 hours so you get a nice daily update of - # how many messages syslog-ng missed (0). - stats(43200); -}; - -source src { - unix-stream("/dev/log" max-connections(256)); - internal(); - file("/proc/kmsg"); -}; - -destination messages { file("/var/log/messages"); }; - -# By default messages are logged to tty12... -destination console_all { file("/dev/tty12"); }; -# ...if you intend to use /dev/console for programs like xconsole -# you can comment out the destination line above that references /dev/tty12 -# and uncomment the line below. -#destination console_all { file("/dev/console"); }; - -log { source(src); destination(messages); }; -log { source(src); destination(console_all); }; diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0 b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0 deleted file mode 100644 index 3a734ac..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0 +++ /dev/null @@ -1,32 +0,0 @@ -@version: 3.0 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0,v 1.1 2009/05/25 20:07:21 mr_bones_ Exp $ -# -# Syslog-ng default configuration file for Gentoo Linux - -options { - chain_hostnames(no); - - # The default action of syslog-ng is to log a STATS line - # to the file every 10 minutes. That's pretty ugly after a while. - # Change it to every 12 hours so you get a nice daily update of - # how many messages syslog-ng missed (0). - stats_freq(43200); -}; - -source src { - unix-stream("/dev/log" max-connections(256)); - internal(); - file("/proc/kmsg"); -}; - -destination messages { file("/var/log/messages"); }; - -# By default messages are logged to tty12... -destination console_all { file("/dev/tty12"); }; -# ...if you intend to use /dev/console for programs like xconsole -# you can comment out the destination line above that references /dev/tty12 -# and uncomment the line below. -#destination console_all { file("/dev/console"); }; - -log { source(src); destination(messages); }; -log { source(src); destination(console_all); }; diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd deleted file mode 100644 index 13f7dc4..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd +++ /dev/null @@ -1,20 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd,v 1.1 2007/03/27 07:38:41 mr_bones_ Exp $ -# -# Syslog-ng default configuration file for Gentoo FreeBSD -# contributed by Tiziano Mülle -options { - chain_hostnames(off); - sync(0); - - # The default action of syslog-ng 1.6.0 is to log a STATS line - # to the file every 10 minutes. That's pretty ugly after a while. - # Change it to every 12 hours so you get a nice daily update of - # how many messages syslog-ng missed (0). - stats(43200); -}; - -source src { unix-dgram("/var/run/log"); file("/dev/klog"); internal(); }; - -destination messages { file("/var/log/messages"); }; - -log { source(src); destination(messages); }; diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.0 b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.0 deleted file mode 100644 index 883fbb3..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.0 +++ /dev/null @@ -1,24 +0,0 @@ -@version: 3.0 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.0,v 1.1 2009/05/25 20:07:21 mr_bones_ Exp $ -# -# Syslog-ng default configuration file for Gentoo FreeBSD -# -options { - chain_hostnames(no); - - # The default action of syslog-ng is to log a STATS line - # to the file every 10 minutes. That's pretty ugly after a while. - # Change it to every 12 hours so you get a nice daily update of - # how many messages syslog-ng missed (0). - stats_freq(43200); -}; - -source src { - unix-dgram("/var/run/log"); - internal(); - file("/dev/klog"); -}; - -destination messages { file("/var/log/messages"); }; - -log { source(src); destination(messages); }; diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened deleted file mode 100644 index 4123b95..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened,v 1.5 2007/10/30 17:16:15 solar Exp $ - -# -# Syslog-ng configuration file, compatible with default hardened installations. -# - -options { - chain_hostnames(off); - sync(0); - stats(43200); -}; - -#options { -# chain_hostnames(off); -# sync(0); -# stats(43200); -# long_hostnames(off); -# use_dns(no); -# create_dirs(yes); -#}; - -source src { unix-stream("/dev/log"); internal(); }; -source kernsrc { file("/proc/kmsg"); }; - -#source net { udp(); }; -#log { source(net); destination(net_logs); }; -#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); }; - -destination authlog { file("/var/log/auth.log"); }; -destination syslog { file("/var/log/syslog"); }; -destination cron { file("/var/log/cron.log"); }; -destination daemon { file("/var/log/daemon.log"); }; -destination kern { file("/var/log/kern.log"); file("/dev/tty12"); }; -destination lpr { file("/var/log/lpr.log"); }; -destination user { file("/var/log/user.log"); }; -destination uucp { file("/var/log/uucp.log"); }; -#destination ppp { file("/var/log/ppp.log"); }; -destination mail { file("/var/log/mail.log"); }; - -destination avc { file("/var/log/avc.log"); }; -destination audit { file("/var/log/audit.log"); }; -destination pax { file("/var/log/pax.log"); }; -destination grsec { file("/var/log/grsec.log"); }; - -destination mailinfo { file("/var/log/mail.info"); }; -destination mailwarn { file("/var/log/mail.warn"); }; -destination mailerr { file("/var/log/mail.err"); }; - -destination newscrit { file("/var/log/news/news.crit"); }; -destination newserr { file("/var/log/news/news.err"); }; -destination newsnotice { file("/var/log/news/news.notice"); }; - -destination debug { file("/var/log/debug"); }; -destination messages { file("/var/log/messages"); }; -destination console { usertty("root"); }; -destination console_all { file("/dev/tty12"); }; -#destination loghost { udp("loghost" port(999)); }; - -destination xconsole { pipe("/dev/xconsole"); }; - -filter f_auth { facility(auth); }; -filter f_authpriv { facility(auth, authpriv); }; -filter f_syslog { not facility(authpriv, mail); }; -filter f_cron { facility(cron); }; -filter f_daemon { facility(daemon); }; -filter f_kern { facility(kern); }; -filter f_lpr { facility(lpr); }; -filter f_mail { facility(mail); }; -filter f_user { facility(user); }; -filter f_uucp { facility(uucp); }; -#filter f_ppp { facility(ppp); }; -filter f_news { facility(news); }; -filter f_debug { not facility(auth, authpriv, news, mail); }; -filter f_messages { level(info..warn) - and not facility(auth, authpriv, mail, news); }; -filter f_emergency { level(emerg); }; - -filter f_info { level(info); }; - -filter f_notice { level(notice); }; -filter f_warn { level(warn); }; -filter f_crit { level(crit); }; -filter f_err { level(err); }; - -filter f_avc { match(".*avc: .*"); }; -filter f_audit { match("^audit.*") and not match(".*avc: .*"); }; -filter f_pax { match("^PAX:.*"); }; -filter f_grsec { match("^grsec:.*"); }; - -log { source(src); filter(f_authpriv); destination(authlog); }; -log { source(src); filter(f_syslog); destination(syslog); }; -log { source(src); filter(f_cron); destination(cron); }; -log { source(src); filter(f_daemon); destination(daemon); }; -log { source(kernsrc); filter(f_kern); destination(kern); }; -log { source(src); filter(f_lpr); destination(lpr); }; -log { source(src); filter(f_mail); destination(mail); }; -log { source(src); filter(f_user); destination(user); }; -log { source(src); filter(f_uucp); destination(uucp); }; -log { source(kernsrc); filter(f_pax); destination(pax); }; -log { source(kernsrc); filter(f_grsec); destination(grsec); }; -log { source(kernsrc); filter(f_audit); destination(audit); }; -log { source(kernsrc); filter(f_avc); destination(avc); }; -log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); }; -log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); }; -log { source(src); filter(f_mail); filter(f_err); destination(mailerr); }; -log { source(src); filter(f_news); filter(f_crit); destination(newscrit); }; -log { source(src); filter(f_news); filter(f_err); destination(newserr); }; -log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); }; -log { source(src); filter(f_debug); destination(debug); }; -log { source(src); filter(f_messages); destination(messages); }; -log { source(src); filter(f_emergency); destination(console); }; -#log { source(src); filter(f_ppp); destination(ppp); }; -log { source(src); destination(console_all); }; - - diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0 b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0 deleted file mode 100644 index 1d928f9..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0 +++ /dev/null @@ -1,111 +0,0 @@ -@version: 3.0 -# Copyright 2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0,v 1.1 2009/05/25 20:07:21 mr_bones_ Exp $ - -# -# Syslog-ng configuration file, compatible with default hardened installations. -# - -options { - chain_hostnames(no); - stats_freq(43200); -}; - -source src { - unix-stream("/dev/log"); - internal(); -}; -source kernsrc { - file("/proc/kmsg"); -}; - -#source net { udp(); }; -#log { source(net); destination(net_logs); }; -#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); }; - -destination authlog { file("/var/log/auth.log"); }; -destination _syslog { file("/var/log/syslog"); }; -destination cron { file("/var/log/cron.log"); }; -destination daemon { file("/var/log/daemon.log"); }; -destination kern { file("/var/log/kern.log"); file("/dev/tty12"); }; -destination lpr { file("/var/log/lpr.log"); }; -destination user { file("/var/log/user.log"); }; -destination uucp { file("/var/log/uucp.log"); }; -#destination ppp { file("/var/log/ppp.log"); }; -destination mail { file("/var/log/mail.log"); }; - -destination avc { file("/var/log/avc.log"); }; -destination audit { file("/var/log/audit.log"); }; -destination pax { file("/var/log/pax.log"); }; -destination grsec { file("/var/log/grsec.log"); }; - -destination mailinfo { file("/var/log/mail.info"); }; -destination mailwarn { file("/var/log/mail.warn"); }; -destination mailerr { file("/var/log/mail.err"); }; - -destination newscrit { file("/var/log/news/news.crit"); }; -destination newserr { file("/var/log/news/news.err"); }; -destination newsnotice { file("/var/log/news/news.notice"); }; - -destination debug { file("/var/log/debug"); }; -destination messages { file("/var/log/messages"); }; -destination console { usertty("root"); }; -destination console_all { file("/dev/tty12"); }; -#destination loghost { udp("loghost" port(999)); }; - -destination xconsole { pipe("/dev/xconsole"); }; - -filter f_auth { facility(auth); }; -filter f_authpriv { facility(auth, authpriv); }; -filter f_syslog { not facility(authpriv, mail); }; -filter f_cron { facility(cron); }; -filter f_daemon { facility(daemon); }; -filter f_kern { facility(kern); }; -filter f_lpr { facility(lpr); }; -filter f_mail { facility(mail); }; -filter f_user { facility(user); }; -filter f_uucp { facility(uucp); }; -#filter f_ppp { facility(ppp); }; -filter f_news { facility(news); }; -filter f_debug { not facility(auth, authpriv, news, mail); }; -filter f_messages { level(info..warn) - and not facility(auth, authpriv, mail, news); }; -filter f_emergency { level(emerg); }; - -filter f_info { level(info); }; - -filter f_notice { level(notice); }; -filter f_warn { level(warn); }; -filter f_crit { level(crit); }; -filter f_err { level(err); }; - -filter f_avc { match(".*avc: .*"); }; -filter f_audit { match("^audit.*") and not match(".*avc: .*"); }; -filter f_pax { match("^PAX:.*"); }; -filter f_grsec { match("^grsec:.*"); }; - -log { source(src); filter(f_authpriv); destination(authlog); }; -log { source(src); filter(f_syslog); destination(_syslog); }; -log { source(src); filter(f_cron); destination(cron); }; -log { source(src); filter(f_daemon); destination(daemon); }; -log { source(kernsrc); filter(f_kern); destination(kern); }; -log { source(src); filter(f_lpr); destination(lpr); }; -log { source(src); filter(f_mail); destination(mail); }; -log { source(src); filter(f_user); destination(user); }; -log { source(src); filter(f_uucp); destination(uucp); }; -log { source(kernsrc); filter(f_pax); destination(pax); }; -log { source(kernsrc); filter(f_grsec); destination(grsec); }; -log { source(kernsrc); filter(f_audit); destination(audit); }; -log { source(kernsrc); filter(f_avc); destination(avc); }; -log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); }; -log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); }; -log { source(src); filter(f_mail); filter(f_err); destination(mailerr); }; -log { source(src); filter(f_news); filter(f_crit); destination(newscrit); }; -log { source(src); filter(f_news); filter(f_err); destination(newserr); }; -log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); }; -log { source(src); filter(f_debug); destination(debug); }; -log { source(src); filter(f_messages); destination(messages); }; -log { source(src); filter(f_emergency); destination(console); }; -#log { source(src); filter(f_ppp); destination(ppp); }; -log { source(src); destination(console_all); }; diff --git a/app-admin/syslog-ng/files/syslog-ng.confd b/app-admin/syslog-ng/files/syslog-ng.confd deleted file mode 100644 index 170862f..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.confd +++ /dev/null @@ -1,6 +0,0 @@ -# Config file for /etc/init.d/syslog-ng - -# Put any additional options for syslog-ng here. -# See syslog-ng(8) for more information. - -SYSLOG_NG_OPTS="" diff --git a/app-admin/syslog-ng/files/syslog-ng.logrotate b/app-admin/syslog-ng/files/syslog-ng.logrotate deleted file mode 100644 index e982686..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.logrotate +++ /dev/null @@ -1,13 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v 1.3 2008/10/15 20:46:12 mr_bones_ Exp $ -# -# Syslog-ng logrotate snippet for Gentoo Linux -# contributed by Michael Sterrett -# - -/var/log/messages { - missingok - sharedscripts - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} diff --git a/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened b/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened deleted file mode 100644 index 0527d48..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened +++ /dev/null @@ -1,73 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened,v 1.2 2007/07/26 20:58:01 mr_bones_ Exp $ -# -# Syslog-ng logrotate snippet for Hardened Gentoo Linux -# contributed by Maciej Grela -# - -# Generic -/var/log/debug /var/log/syslog /var/log/kern.log { - sharedscripts - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# System services -/var/log/cron.log /var/log/daemon.log /var/log/lpr.log /var/log/uucp.log { - sharedscripts - missingok - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# User log -/var/log/user.log { - sharedscripts - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# News system -/var/log/news/news.crit /var/log/news/news.err /var/log/news/news.notice { - sharedscripts - missingok - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# Mail system -/var/log/mail.log /var/log/mail.info /var/log/mail.err /var/log/mail.warn { - sharedscripts - missingok - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# Hardened logs -/var/log/avc.log /var/log/audit.log /var/log/pax.log /var/log/grsec.log { - sharedscripts - missingok - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# Authentication -/var/log/auth.log { - sharedscripts - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} - -# the rest -/var/log/messages { - sharedscripts - postrotate - /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true - endscript -} diff --git a/app-admin/syslog-ng/files/syslog-ng.rc6-r1 b/app-admin/syslog-ng/files/syslog-ng.rc6-r1 deleted file mode 100644 index 2655b3c..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.rc6-r1 +++ /dev/null @@ -1,60 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6-r1,v 1.7 2007/11/04 08:02:28 mr_bones_ Exp $ - -opts="checkconfig reload" - -depend() { - # Make networking dependency conditional on configuration - case $(sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf) in - *source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*) - need net - use stunnel ;; - esac - - # kludge for baselayout-1 compatibility - [ -z "${svclib}" ] && config /etc/syslog-ng/syslog-ng.conf - need clock hostname localmount - provide logger -} - -checkconfig() { - if [ ! -e /etc/syslog-ng/syslog-ng.conf ] ; then - eerror "You need to create /etc/syslog-ng/syslog-ng.conf first." - eerror "An example can be found in /etc/syslog-ng/syslog-ng.conf.sample" - return 1 - fi - syslog-ng -s /etc/syslog-ng/syslog-ng.conf - - # the start and reload functions have their own eends so - # avoid calling this twice when there are no problems - [ $? -eq 0 ] || eend $? "Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)" -} - -start() { - checkconfig || return 1 - ebegin "Starting syslog-ng" - [ -n "${SYSLOG_NG_OPTS}" ] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}" - start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} - eend $? "Failed to start syslog-ng" -} - -stop() { - ebegin "Stopping syslog-ng" - start-stop-daemon --stop --quiet --pidfile /var/run/syslog-ng.pid - eend $? "Failed to stop syslog-ng" - sleep 1 # needed for syslog-ng to stop in case we're restarting -} - -reload() { - if [ ! -f /var/run/syslog-ng.pid ]; then - eerror "syslog-ng isn't running" - return 1 - fi - checkconfig || return 1 - ebegin "Reloading configuration and re-opening log files" - start-stop-daemon --stop --oknodo --signal HUP \ - --pidfile /var/run/syslog-ng.pid - eend $? -} diff --git a/app-admin/syslog-ng/files/syslog-ng.rc6.3.0 b/app-admin/syslog-ng/files/syslog-ng.rc6.3.0 deleted file mode 100644 index 0da7804..0000000 --- a/app-admin/syslog-ng/files/syslog-ng.rc6.3.0 +++ /dev/null @@ -1,60 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6.3.0,v 1.1 2009/05/25 20:07:21 mr_bones_ Exp $ - -opts="checkconfig reload" - -depend() { - # Make networking dependency conditional on configuration - case $(sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf) in - *source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*) - need net - use stunnel ;; - esac - - # kludge for baselayout-1 compatibility - [ -z "${svclib}" ] && config /etc/syslog-ng/syslog-ng.conf - need clock hostname localmount - provide logger -} - -checkconfig() { - if [ ! -e /etc/syslog-ng/syslog-ng.conf ] ; then - eerror "You need to create /etc/syslog-ng/syslog-ng.conf first." - eerror "An example can be found in /etc/syslog-ng/syslog-ng.conf.sample" - return 1 - fi - syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf - - # the start and reload functions have their own eends so - # avoid calling this twice when there are no problems - [ $? -eq 0 ] || eend $? "Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)" -} - -start() { - checkconfig || return 1 - ebegin "Starting syslog-ng" - [ -n "${SYSLOG_NG_OPTS}" ] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}" - start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} - eend $? "Failed to start syslog-ng" -} - -stop() { - ebegin "Stopping syslog-ng" - start-stop-daemon --stop --quiet --pidfile /var/run/syslog-ng.pid - eend $? "Failed to stop syslog-ng" - sleep 1 # needed for syslog-ng to stop in case we're restarting -} - -reload() { - if [ ! -f /var/run/syslog-ng.pid ]; then - eerror "syslog-ng isn't running" - return 1 - fi - checkconfig || return 1 - ebegin "Reloading configuration and re-opening log files" - start-stop-daemon --stop --oknodo --signal HUP \ - --pidfile /var/run/syslog-ng.pid - eend $? -} diff --git a/app-admin/syslog-ng/syslog-ng-3.0.3.ebuild b/app-admin/syslog-ng/syslog-ng-3.0.3.ebuild deleted file mode 100644 index 9b6aa07..0000000 --- a/app-admin/syslog-ng/syslog-ng-3.0.3.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.0.2.ebuild,v 1.1 2009/05/25 20:07:16 mr_bones_ Exp $ - -EAPI=2 -inherit fixheadtails eutils - -MY_PV=${PV/_/} -DESCRIPTION="syslog replacement with advanced filtering features" -HOMEPAGE="http://www.balabit.com/products/syslog_ng/" -SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/syslog-ng_${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="hardened ipv6 pcre selinux spoof-source sql ssl static tcpd" - -RDEPEND=">=dev-libs/eventlog-0.2 - !static? ( pcre? ( dev-libs/libpcre ) ) - spoof-source? ( net-libs/libnet ) - ssl? ( dev-libs/openssl ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - sql? ( >=dev-db/libdbi-0.8.3 ) - >=dev-libs/glib-2.10.1:2" -DEPEND="${RDEPEND} - dev-util/pkgconfig - sys-devel/flex" -PROVIDE="virtual/logger" - -src_prepare() { - ht_fix_file configure -} - -src_configure() { - local myconf - - if use static ; then - myconf="${myconf} --enable-static-linking" - if use pcre ; then - ewarn "USE=pcre is incompatible with static linking" - myconf="${myconf} --disable-pcre" - fi - else - myconf="${myconf} --enable-dynamic-linking" - fi - econf \ - --disable-dependency-tracking \ - --sysconfdir=/etc/syslog-ng \ - --with-pidfile-dir=/var/run \ - $(use_enable ipv6) \ - $(use_enable pcre) \ - $(use_enable spoof-source) \ - $(use_enable sql) \ - $(use_enable ssl) \ - $(use_enable tcpd tcp-wrapper) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc AUTHORS ChangeLog NEWS README \ - doc/examples/{syslog-ng.conf.sample,syslog-ng.conf.solaris} \ - contrib/syslog-ng.conf* \ - contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."* - dohtml doc/reference/syslog-ng.html/* - - # Install default configuration - insinto /etc/syslog-ng - if use hardened || use selinux ; then - newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%.*}" syslog-ng.conf - elif use userland_BSD ; then - newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%.*}" syslog-ng.conf - else - newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%.*}" syslog-ng.conf - fi - - insinto /etc/logrotate.d - # Install snippet for logrotate, which may or may not be installed - if use hardened || use selinux ; then - newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng - else - newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng - fi - - newinitd "${FILESDIR}/syslog-ng.rc6.${PV%.*}" syslog-ng - newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng -} - -pkg_postinst() { - echo - elog "It is highly recommended that app-admin/logrotate be emerged to" - elog "manage the log files. ${PN} installs a file in /etc/logrotate.d" - elog "for logrotate to use." - echo -} |