diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-01-02 22:45:11 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-01-02 22:45:11 +0000 |
commit | f15475837c9e6634a5568184a7702980a40e87ff (patch) | |
tree | cec8995e870b1d376112bad89b3023748e799d1f /app-admin | |
parent | Revision to fix printing with latest version of cups. Fixes bug #325469. Comm... (diff) | |
download | historical-f15475837c9e6634a5568184a7702980a40e87ff.tar.gz historical-f15475837c9e6634a5568184a7702980a40e87ff.tar.bz2 historical-f15475837c9e6634a5568184a7702980a40e87ff.zip |
punt old ebuilds and files
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/syslog-ng/ChangeLog | 14 | ||||
-rw-r--r-- | app-admin/syslog-ng/Manifest | 18 | ||||
-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.rc6-r1 | 60 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6.3.0 | 60 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6.3.0-r1 | 60 | ||||
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-2.0.10.ebuild | 85 | ||||
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-2.1.4.ebuild | 88 | ||||
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-3.1.3.ebuild | 18 |
15 files changed, 23 insertions, 866 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index e06cb05d85f6..c0e498af73b1 100644 --- a/app-admin/syslog-ng/ChangeLog +++ b/app-admin/syslog-ng/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-admin/syslog-ng -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.261 2010/11/28 14:51:53 mr_bones_ Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.262 2011/01/02 22:45:11 mr_bones_ Exp $ + + 02 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org> + -syslog-ng-2.0.10.ebuild, -syslog-ng-2.1.4.ebuild, syslog-ng-3.1.3.ebuild, + -files/syslog-ng.conf.debian, -files/syslog-ng.conf.gentoo, + -files/syslog-ng.conf.gentoo.3.0, -files/syslog-ng.conf.gentoo.fbsd, + -files/syslog-ng.conf.gentoo.fbsd.3.0, + -files/syslog-ng.conf.gentoo.hardened, + -files/syslog-ng.conf.gentoo.hardened.3.0, -files/syslog-ng.rc6-r1, + -files/syslog-ng.rc6.3.0, -files/syslog-ng.rc6.3.0-r1: + punt old ebuilds and files *syslog-ng-3.0.9 (28 Nov 2010) diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest index 8d75eba7e6d6..669c236f0957 100644 --- a/app-admin/syslog-ng/Manifest +++ b/app-admin/syslog-ng/Manifest @@ -1,31 +1,17 @@ -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 1069 RMD160 00eb2b9614650776ce21cfe5384f774441cedcc5 SHA1 36ef140882f6294725deeda123aaae875c44b17f SHA256 97385f8f8e1f8f810f703089e86b1d1f5e36aaeb7b6cfd71a5e680ab180b6a52 -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 687 RMD160 cad34febfe22d9b684e706f4befacc07e2d3d91d SHA1 b5474779b8b6c7949b6c8e6e89569c80e3774cde SHA256 e7fae34d2732b059235726a82ea057cf7ba50f1db134a4d14cb0dfbcd42dc090 -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 4562 RMD160 922b8b4c738b634e541a0a3643a84504a75f0c73 SHA1 72a88183d1c31f860a4413da38fc6b0919ce8967 SHA256 68f94da960d3141dc852ba82749361026f2c78084a69b35628df0c2d3bd91cdd -AUX syslog-ng.conf.gentoo.hardened.3.0 4564 RMD160 971d33ff9ac1d87045a2ff2818f567ae2d72e763 SHA1 e37cdd66a8596c667879fc055bcf8ba5118a370a SHA256 4b28c0cb95753e4172a62a6070c147888f7afcf80cea101e27560052f5c8302c 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 1742 RMD160 fd60ca606aec32eae51e3c219fd86124ca1f8cf6 SHA1 675f800200b37496a0335cd27e289b24c8d4f259 SHA256 f2c9f99c7dd73e709e5edb7be99de5a13058baab29d3c922ab9366ddd50eda8f -AUX syslog-ng.rc6-r1 1878 RMD160 1b7d090964cb8868d37e38ff7121c503d41ef38b SHA1 4c019348769fc49af8fa95ee033eebbc876f175e SHA256 68ed87191267b48bfc092fc383d2872dc46f60c550c963923aacd52f71fb100f AUX syslog-ng.rc6.3 1855 RMD160 ce1c74938d554e09284ddef36217b205d91f71ed SHA1 bd634b41728d1e5f5fa1712b93b0cca79302fbfb SHA256 d125c4fffc6dd15d891b5092a8e83de594d9c1b04797ec89e4cacd3451539723 -AUX syslog-ng.rc6.3.0 1882 RMD160 6cae49c65efc4fa347f96edf373077dd9fab1a0c SHA1 0640fc1793b3f54b55961bc9e8bf7a7c556e56b9 SHA256 454c85dc4b007f2d888acbd2b997709c7c607267d7ca62280a9ed2252049672e -AUX syslog-ng.rc6.3.0-r1 1860 RMD160 a2c6f92e9659e53a7c638788306059f5a58fe7e8 SHA1 3e593d0690523243ea2ee20d1cbdaa866b11c67e SHA256 f993d65a36e100ae6b6d4671d25f2708d39d46f28c82986cec984409ce350a2a -DIST syslog-ng-2.0.10.tar.gz 403808 RMD160 eaa0965e1c06be217265c8710cc8375843ce9f64 SHA1 c627548a4f2a85d6734935496a4ad3f378911761 SHA256 f9155bcab40b572807796348d3ee8fbef3b5ff9aad213f74a09b321ac1d5b4ef -DIST syslog-ng_2.1.4.tar.gz 423703 RMD160 2a87cb05de9a25f5b09cd488cf9d2104ba29aa33 SHA1 8080ff36f4da3a987cba505ff312650943f4c6c4 SHA256 e2189c7dbf617f2fc883ab0a8a86100dbe7cb4853c6b39732d77e73f335b0502 DIST syslog-ng_3.0.8.tar.gz 589023 RMD160 5eceefb35c8afbda82605d742cbdf4ba2a22cd3a SHA1 a9e4201f736818cb0e327fa209c47a097ac690ff SHA256 ba93e53768f53d1fa2f753327e4b7f7aae46cc48274a9475effe14c722e314b2 DIST syslog-ng_3.0.9.tar.gz 592290 RMD160 6eba30b5ad0cabacd6e32921ed2ebd9bbed63171 SHA1 7fb42ce3d402b86290998d44b1079051321d1ca6 SHA256 fd7708334baf509d564791c891b37f05c77bc9e0b6e4af1e15765ac2ee3d6f29 DIST syslog-ng_3.1.2.tar.gz 717194 RMD160 87ef4a8798e029fcd7a508ab46cd1ebbc04a08ce SHA1 ea9f5e40de27c6dcdd472cbf7301175b456b7dc1 SHA256 e2b1a6026388dc72773e8758117bbbab1f97c1a1c5bc59ac346384200945a028 DIST syslog-ng_3.1.3.tar.gz 721793 RMD160 8fe6833b38c7e0a28f9415e8e34449203d07d312 SHA1 fc938e7145962e13afa55ddf4e6c1dde4d2e56ee SHA256 15c872b449d58c2860758104cd78fae41465d0eccf6767196b48dfe4f2f772c0 -EBUILD syslog-ng-2.0.10.ebuild 2521 RMD160 b5d496c6168e16601a639f5bf32cda7d53f2487a SHA1 24095088bc18115a2aa51d6ee44079fb8bb23094 SHA256 df57241533d959791b6f66f49ad794f08942a937b3c5ccdeecceeafcf5a58fe7 -EBUILD syslog-ng-2.1.4.ebuild 2580 RMD160 3d32f73d96de768e32ab177a94f46df83de1522a SHA1 9cf7ee5abcbe59ac7680c3650dc8d125ce2ef356 SHA256 2e285c7c04eb9aab9899c0acfbdf792c2c0d0a4a17ada0b10ad3b316075dd400 EBUILD syslog-ng-3.0.8.ebuild 2985 RMD160 212ebf21257042e6ab4f13a65d230cca372061d4 SHA1 4a04303b0f04697a3ecfe3d305998ef42704378f SHA256 98562203e004a484d9967cd314d341ced4c21ee5d2f8147479238f1e014372e2 EBUILD syslog-ng-3.0.9.ebuild 2996 RMD160 4a0a8f1a479d8991a35cd8c6ea9ccb5c6f1b073e SHA1 76cab23190ed6f222d746cec39ecfdf5fb4b330e SHA256 581e014a498969bf6a2cbacf1d352806bc37a98d588d11ab586c9e6f7ac7b131 EBUILD syslog-ng-3.1.2.ebuild 3139 RMD160 e42d6e8b95fdf193641436929be185b44dc7f381 SHA1 709f510f02cdd8f1051e1e7a88c2dec396101058 SHA256 bb36aefc1e579b64e07e908d3806cc0df23744886275bd4a14c8d8fed67d3752 -EBUILD syslog-ng-3.1.3.ebuild 3150 RMD160 fc5a740cb895229d85eeb958024464a93daf46e2 SHA1 4fca526aee9965ae99fbeaebac8d2b5da6b949a2 SHA256 b3cad082b66e8a1663e73b3fa183e88ba5903dce2c80cc3376f3a4f89b2bfba5 -MISC ChangeLog 34974 RMD160 f5360407bc732f56c5ab221d390c5caeb158db3b SHA1 6fad91036ac880145a7e4a7afa1c566cf54e6c0b SHA256 4a18c24ab62ab266f99ba922aff5aab3eaa5e3b64f68de7348b7acc8425f6876 +EBUILD syslog-ng-3.1.3.ebuild 3199 RMD160 4d9935935d69466a576a9d115167f82dd1d1e4c5 SHA1 2fdfa0818d289cf405435a09b6ad1957819ffbce SHA256 1b980e40a28694756d46df59be4567d0a5896a55c306bcd32dffc99312f6a0f2 +MISC ChangeLog 35478 RMD160 0ea54d2e6656162dd7aea20a6cd61a5516f16c6d SHA1 9df8b47594ce3c36e795a2b0cb09e6c5cd312579 SHA256 cbc037dd58c74ceb37f9c03f0e9ef11f8537c98a4b8b8e1fc864bd409d416be4 MISC metadata.xml 407 RMD160 cf71f8c335372c633573600fa8a135d51406ab6e SHA1 336703907e8fbc77f751b508f7b65f7775539e65 SHA256 b31b90dd95563d796552d348fbf1158e9d0d93f4ca37ad596d57f22f133c9ac9 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 9a55bf77d050..000000000000 --- 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 48e5513fea94..000000000000 --- 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 3a734ac1fb44..000000000000 --- 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 13f7dc47df53..000000000000 --- 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 883fbb350e0b..000000000000 --- 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 4123b9532aaa..000000000000 --- 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 d12d89a8fbee..000000000000 --- 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.2 2010/04/05 22:19:33 zorry 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 { message(".*avc: .*"); }; -filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); }; -filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); }; -filter f_grsec { message("^(\\[.*\..*\] |)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.rc6-r1 b/app-admin/syslog-ng/files/syslog-ng.rc6-r1 deleted file mode 100644 index 77e204fcc196..000000000000 --- 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.8 2009/11/06 17:03:33 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 --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} - eend $? "Failed to start syslog-ng" -} - -stop() { - ebegin "Stopping syslog-ng" - start-stop-daemon --stop --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 cbd45a96b8a0..000000000000 --- 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.2 2009/11/06 17:03:33 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 --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} - eend $? "Failed to start syslog-ng" -} - -stop() { - ebegin "Stopping syslog-ng" - start-stop-daemon --stop --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-r1 b/app-admin/syslog-ng/files/syslog-ng.rc6.3.0-r1 deleted file mode 100644 index b7c752aec8e7..000000000000 --- a/app-admin/syslog-ng/files/syslog-ng.rc6.3.0-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.3.0-r1,v 1.3 2009/12/30 08:41:05 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 - - config /etc/syslog-ng/syslog-ng.conf - use clock - need 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 --pidfile /var/run/syslog-ng.pid --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} - eend $? "Failed to start syslog-ng" -} - -stop() { - ebegin "Stopping syslog-ng" - start-stop-daemon --stop --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-2.0.10.ebuild b/app-admin/syslog-ng/syslog-ng-2.0.10.ebuild deleted file mode 100644 index 595a17e1bfea..000000000000 --- a/app-admin/syslog-ng/syslog-ng-2.0.10.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-2.0.10.ebuild,v 1.8 2010/09/13 03:39:05 mr_bones_ Exp $ - -inherit fixheadtails - -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/2.0/src/${P}.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 selinux spoof-source static tcpd" - -RDEPEND=">=dev-libs/eventlog-0.2 - spoof-source? ( net-libs/libnet ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - >=dev-libs/glib-2.2" -DEPEND="${RDEPEND} - dev-util/pkgconfig - sys-devel/flex" -PROVIDE="virtual/logger" - -src_unpack() { - unpack ${A} - cd "${S}" - ht_fix_file configure - cd "${S}/doc/reference" - tar xzf syslog-ng.html.tar.gz || die "tar failed" -} - -src_compile() { - econf \ - --sysconfdir=/etc/syslog-ng \ - --disable-dependency-tracking \ - $(use_enable ipv6) \ - $(use_enable !static dynamic-linking) \ - $(use_enable static static-linking) \ - $(use_enable spoof-source) \ - $(use_enable tcpd tcp-wrapper) \ - || die - emake || die "emake failed" -} - -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* \ - doc/reference/syslog-ng.txt \ - 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" syslog-ng.conf - elif use userland_BSD ; then - newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf - else - newins "${FILESDIR}/syslog-ng.conf.gentoo" 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-r1" 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 -} diff --git a/app-admin/syslog-ng/syslog-ng-2.1.4.ebuild b/app-admin/syslog-ng/syslog-ng-2.1.4.ebuild deleted file mode 100644 index 639359480964..000000000000 --- a/app-admin/syslog-ng/syslog-ng-2.1.4.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-2.1.4.ebuild,v 1.9 2010/09/13 03:39:05 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 selinux spoof-source sql static tcpd" - -RDEPEND="!static? ( >=dev-libs/eventlog-0.2 ) - spoof-source? ( net-libs/libnet ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - sql? ( >=dev-db/libdbi-0.8.3 ) - >=dev-libs/glib-2.4" -DEPEND="${RDEPEND} - static? ( >=dev-libs/eventlog-0.2[static-libs] ) - dev-util/pkgconfig - sys-devel/flex" -PROVIDE="virtual/logger" - -src_unpack() { - unpack ${A} - cd "${S}"/doc/reference - unpack ./syslog-ng.html.tar.gz -} - -src_prepare() { - ht_fix_file configure -} - -src_configure() { - econf \ - --disable-dependency-tracking \ - --sysconfdir=/etc/syslog-ng \ - $(use_enable ipv6) \ - $(use_enable sql) \ - $(use_enable static static-linking) \ - $(use_enable spoof-source) \ - $(use_enable tcpd tcp-wrapper) -} - -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* \ - doc/reference/syslog-ng.txt \ - 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" syslog-ng.conf - elif use userland_BSD ; then - newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf - else - newins "${FILESDIR}/syslog-ng.conf.gentoo" 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-r1" 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 -} diff --git a/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild b/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild index 6e106c00f1a5..ac9203a14d52 100644 --- a/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild +++ b/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 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.1.3.ebuild,v 1.1 2010/11/28 07:36:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild,v 1.2 2011/01/02 22:45:11 mr_bones_ Exp $ EAPI=2 inherit autotools fixheadtails eutils @@ -82,23 +82,23 @@ src_install() { # Install default configuration insinto /etc/syslog-ng if use hardened || use selinux ; then - newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%%.*}" syslog-ng.conf + newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%%.*}" syslog-ng.conf || die elif use userland_BSD ; then - newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%%.*}" syslog-ng.conf + newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%%.*}" syslog-ng.conf || die else - newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%%.*}" syslog-ng.conf + newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%%.*}" syslog-ng.conf || die 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 + newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng || die else - newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng + newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng || die fi - newinitd "${FILESDIR}/syslog-ng.rc6.${PV%%.*}" syslog-ng - newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng + newinitd "${FILESDIR}/syslog-ng.rc6.${PV%%.*}" syslog-ng || die + newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng || die keepdir /etc/syslog-ng/patterndb.d } |