diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2009-07-11 17:54:54 -0700 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2009-07-11 17:54:54 -0700 |
commit | d070a77d204f52c9b489fcd9862a4607b579d421 (patch) | |
tree | 3858ddd9fa8162bc8a9b1aabb534704b952bb426 | |
parent | vtk: bump to 5.4.0 (diff) | |
download | dberkholz-d070a77d204f52c9b489fcd9862a4607b579d421.tar.gz dberkholz-d070a77d204f52c9b489fcd9862a4607b579d421.tar.bz2 dberkholz-d070a77d204f52c9b489fcd9862a4607b579d421.zip |
syslog-ng: bump to 3.0.3
17 files changed, 1720 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog new file mode 100644 index 0000000..ad830d8 --- /dev/null +++ b/app-admin/syslog-ng/ChangeLog @@ -0,0 +1,865 @@ +# ChangeLog for app-admin/syslog-ng +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.214 2009/06/01 04:21:31 mr_bones_ Exp $ + + 01 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org> + -files/syslog-ng-2.1.3-nonstatic.patch, -syslog-ng-2.0.9.ebuild, + -syslog-ng-2.1.3.ebuild: + clean old ebuilds and files + + 31 May 2009; Markus Meier <maekke@gentoo.org> syslog-ng-2.1.4.ebuild: + amd64 stable, bug #270863 + + 31 May 2009; Markus Meier <maekke@gentoo.org> syslog-ng-2.0.10.ebuild: + amd64 stable, bug #270862 + + 28 May 2009; Raúl Porcel <armin76@gentoo.org> syslog-ng-2.0.10.ebuild, + syslog-ng-2.1.4.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #270863 and #270862 + + 25 May 2009; Jeroen Roovers <jer@gentoo.org> syslog-ng-2.0.10.ebuild: + Stable for HPPA (bug #270862). + + 25 May 2009; Brent Baude <ranger@gentoo.org> syslog-ng-2.0.10.ebuild, + syslog-ng-2.1.4.ebuild: + Marking -2.1.4 and -2.0.10 ppc64 for bugs 270863 and 270862 respectively + + 25 May 2009; Christian Faulhammer <fauli@gentoo.org> + syslog-ng-2.0.10.ebuild: + stable x86, bug 270862 + + 25 May 2009; Christian Faulhammer <fauli@gentoo.org> + syslog-ng-2.1.4.ebuild: + stable x86, bug 270863 + +*syslog-ng-3.0.2 (25 May 2009) + + 25 May 2009; Michael Sterrett <mr_bones_@gentoo.org> + +files/syslog-ng-3.0.2-ipv6.patch, +files/syslog-ng.conf.gentoo.3.0, + +files/syslog-ng.conf.gentoo.fbsd.3.0, + +files/syslog-ng.conf.gentoo.hardened.3.0, +files/syslog-ng.rc6.3.0, + +syslog-ng-3.0.2.ebuild: + version bump + + 23 May 2009; nixnut <nixnut@gentoo.org> syslog-ng-2.0.10.ebuild, + syslog-ng-2.1.4.ebuild: + ppc stable #270862 + + 22 May 2009; Jeroen Roovers <jer@gentoo.org> syslog-ng-2.1.4.ebuild: + Stable for HPPA (bug #270863). + +*syslog-ng-2.0.10 (17 Apr 2009) + + 17 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.0.10.ebuild: + 2.0 version bump for people having issues with 2.1 + +*syslog-ng-2.1.4 (18 Mar 2009) + + 18 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.1.4.ebuild: + version bump + + 24 Feb 2009; Raúl Porcel <armin76@gentoo.org> syslog-ng-2.1.3.ebuild: + arm/s390/sh stable + + 15 Feb 2009; Brent Baude <ranger@gentoo.org> syslog-ng-2.1.3.ebuild: + stable ppc, bug 256132 + + 07 Feb 2009; Raúl Porcel <armin76@gentoo.org> syslog-ng-2.1.3.ebuild: + ia64 stable wrt #256132 + + 26 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-2.1.3.ebuild: + run eautoreconf after touching configure.in (bug #256455) + + 25 Jan 2009; Tobias Klausmann <klausman@gentoo.org> + syslog-ng-2.1.3.ebuild: + Stable on alpha, bug #256132 + + 25 Jan 2009; Markus Meier <maekke@gentoo.org> syslog-ng-2.1.3.ebuild: + amd64/x86 stable, bug #256132 + + 25 Jan 2009; Ferris McCormick <fmccor@gentoo.org> syslog-ng-2.1.3.ebuild: + Sparc stable, Bug #256132. + + 25 Jan 2009; Brent Baude <ranger@gentoo.org> syslog-ng-2.1.3.ebuild: + stable ppc64, bug 256132 + + 23 Jan 2009; Jeroen Roovers <jer@gentoo.org> syslog-ng-2.1.3.ebuild: + Stable for HPPA (bug #256132). + + 08 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org> + +files/syslog-ng-2.1.3-nonstatic.patch, syslog-ng-2.1.3.ebuild: + add patch from mastamind@users.sourceforge.net to avoid always trying to link + glib statically (bug #250242) + + 02 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org> + -syslog-ng-2.0.6.ebuild, -syslog-ng-2.1.1.ebuild: + clean out old versions + +*syslog-ng-2.1.3 (02 Dec 2008) + + 02 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.1.3.ebuild: + version bump + + 15 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.logrotate: + allow /var/log/messages to be missing (patch from Edoceo via bug #242260) + + 13 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-2.1.1.ebuild: + fix up magic sql support + +*syslog-ng-2.1.1 (13 Oct 2008) + + 13 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> + +syslog-ng-2.1.1.ebuild: + Version bump because I want the suppress-repeats functionality for infra. + + 17 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + + 25 May 2008; Markus Rothe <corsair@gentoo.org> syslog-ng-2.0.9.ebuild: + Stable on ppc64; bug #223241 + + 24 May 2008; nixnut <nixnut@gentoo.org> syslog-ng-2.0.9.ebuild: + Stable on ppc wrt bug 223241 + + 24 May 2008; Jeroen Roovers <jer@gentoo.org> syslog-ng-2.0.9.ebuild: + Stable for HPPA (bug #223241). + + 23 May 2008; Raúl Porcel <armin76@gentoo.org> syslog-ng-2.0.9.ebuild: + alpha/ia64/sparc stable wrt #223241 + + 22 May 2008; Markus Meier <maekke@gentoo.org> syslog-ng-2.0.9.ebuild: + amd64/x86 stable, bug #223241 + +*syslog-ng-2.0.9 (26 Mar 2008) + + 26 Mar 2008; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.0.9.ebuild: + version bump + +*syslog-ng-2.0.8 (31 Jan 2008) + + 31 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.0.8.ebuild: + version bump + + 16 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> -files/syslog-ng.rc6, + -syslog-ng-1.6.11-r1.ebuild: + clean out 1.x series + + 16 Jan 2008; Joshua Kinard <kumba@gentoo.org> syslog-ng-2.0.6.ebuild: + Stable on mips. + + 10 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-2.0.6.ebuild: + add dev-util/pkgconfig dep (bug #205013) + + 21 Dec 2007; Samuli Suominen <drac@gentoo.org> syslog-ng-2.0.6.ebuild: + amd64 stable wrt security #202718 + + 19 Dec 2007; Raúl Porcel <armin76@gentoo.org> syslog-ng-2.0.6.ebuild: + alpha/ia64 stable wrt security #202718 + + 19 Dec 2007; Brent Baude <ranger@gentoo.org> syslog-ng-2.0.6.ebuild: + Marking syslog-ng-2.0.6 ppc & ppc64 stable for 202718 (also marked eventlog + for ppc dep) + + 18 Dec 2007; Jeroen Roovers <jer@gentoo.org> syslog-ng-2.0.6.ebuild: + Stable for HPPA (bug #202718). + + 18 Dec 2007; Ferris McCormick <fmccor@gentoo.org> syslog-ng-2.0.6.ebuild: + Sparc stable, security Bug #202718, all tests good and it still starts up. + + 18 Dec 2007; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-2.0.6.ebuild: + stablize x86 for security bug #202718 + +*syslog-ng-2.0.6 (29 Nov 2007) + + 29 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.0.6.ebuild: + version bump + + 04 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.rc6-r1: + Add a use stunnel for the networked case for bug #198003 + + 30 Oct 2007; <solar@gentoo.org> files/syslog-ng.conf.gentoo.hardened: + - update syslog-ng.conf for hardened + + 11 Oct 2007; Tom Gall <tgall@gentoo.org> syslog-ng-2.0.5.ebuild: + stable on ppc64 + + 09 Oct 2007; Jeroen Roovers <jer@gentoo.org> syslog-ng-2.0.5.ebuild: + Stable for HPPA (bug #159494). + + 02 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.rc6-r1: + add a kludgy workaround for baselayout-1 and baselayout-2 support (bug + #188725) + + 02 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.conf.gentoo: + use file() for kmsg for correctness (bug #187232) + +*syslog-ng-2.0.5 (25 Jul 2007) + + 25 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org> + +files/syslog-ng.logrotate.hardened, +syslog-ng-2.0.5.ebuild: + version bump; all add logrotate file for hardened (bug #186136) + + 12 Jun 2007; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.conf.gentoo: + set max-connections to 256 per upstream (bug #181661) + + 07 Jun 2007; Michael Sterrett <mr_bones_@gentoo.org> + -syslog-ng-1.6.9.ebuild, -syslog-ng-2.0.3.ebuild, syslog-ng-2.0.4.ebuild: + clean out older ebuilds + + 07 Jun 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog: + modified ChangeLog to meet common standards + +*syslog-ng-2.0.4 (21 May 2007) + + 21 May 2007; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.0.4.ebuild: + version bump + + 19 May 2007; Peter Weller <welp@gentoo.org> syslog-ng-2.0.3.ebuild: + Keyworded ~x86-fbsd wrt bug 176930 + + 05 May 2007; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.rc6-r1: + revert back to previous version of rc script since that feature is available + via the SSD_NICELEVEL env. variable. + + 24 Apr 2007; Alexander Færøy <eroyf@gentoo.org> + syslog-ng-1.6.11-r1.ebuild: + Stable on MIPS. + + 24 Apr 2007; Thilo Bangert <bangert@gentoo.org> Manifest: + fix manifest (bug #175804) + + 24 Apr 2007; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.rc6-r1: + add patch from Mike Mattie to support starting syslog-ng with a nice value + (bug #175639) + +*syslog-ng-2.0.3 (27 Mar 2007) + + 27 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org> + +files/syslog-ng.conf.gentoo.fbsd, -syslog-ng-2.0.2.ebuild, + +syslog-ng-2.0.3.ebuild: + masked version bump; clean out older masked version; add fbsd support for bug + #156519; add spoof-source support for bug #172320 + +*syslog-ng-1.6.12-r1 (14 Mar 2007) + + 14 Mar 2007; Roy Marples <uberlord@gentoo.org> files/syslog-ng.rc6-r1, + +syslog-ng-1.6.12-r1.ebuild: + init script now works on non bash shells. + + 16 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.11-r1.ebuild, syslog-ng-1.6.12.ebuild: + remove ROOT use in src_compile (bug #167240) + +*syslog-ng-1.6.12 (07 Feb 2007) + + 07 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.12.ebuild: + version bump + + 04 Feb 2007; Steve Dibb <beandog@gentoo.org> syslog-ng-1.6.11-r1.ebuild: + amd64 stable, bug 164942 + + 04 Feb 2007; Markus Rothe <corsair@gentoo.org> syslog-ng-1.6.11-r1.ebuild: + Stable on ppc64; bug #164942 + + 02 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.11-r1.ebuild: + stable on x86 + + 23 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.9.ebuild, syslog-ng-1.6.11-r1.ebuild: + remove portage dep (bug #163507) + + 15 Jan 2007; Roy Marples <uberlord@gentoo.org> Manifest: + Fix Manifest + + 15 Jan 2007; Roy Marples <uberlord@gentoo.org> files/syslog-ng.rc6-r1: + need localmount + So we can go from single user to multi user. + +*syslog-ng-2.0.1 (30 Dec 2006) + + 30 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-2.0.1.ebuild: + masked version bump + + 24 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org> + syslog-ng-1.6.11-r1.ebuild: + Stable on ppc. + + 18 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> + syslog-ng-1.6.11-r1.ebuild: + Stable on sparc + + 06 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org> + -syslog-ng-1.6.11.ebuild, syslog-ng-1.6.11-r1.ebuild: + clean up an errant rev bump + + 06 Dec 2006; Jeroen Roovers <jer@gentoo.org> syslog-ng-1.6.11-r1.ebuild: + Stable for HPPA. + +*syslog-ng-2.0.0-r1 (29 Nov 2006) +*syslog-ng-1.6.11-r1 (29 Nov 2006) + + 29 Nov 2006; Petteri Räty <betelgeuse@gentoo.org> + +files/syslog-ng.rc6-r1, +syslog-ng-1.6.11-r1.ebuild, + -syslog-ng-2.0.0.ebuild, +syslog-ng-2.0.0-r1.ebuild: + Fixed bug #156585 where the init.d script could call eend twice with only + one ebegin. + +*syslog-ng-2.0.0 (02 Nov 2006) + + 02 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> + +files/syslog-ng.confd, files/syslog-ng.rc6, +syslog-ng-2.0.0.ebuild: + new code base version bump; includes initial conf.d support for bug #101387 + with modified patch from Miguel Sousa Filipe + + 02 Nov 2006; Joel Martin <kanaka@gentoo.org> syslog-ng-1.6.11.ebuild: + Add ROOT to with-libol configure switch. + + 21 Oct 2006; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.11.ebuild: + Mark 1.6.11 stable on alpha/ia64 + + 17 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.9.ebuild, syslog-ng-1.6.11.ebuild: + no need for prepallman (bug #140697) + + 12 Jul 2006; <solar@gentoo.org> files/syslog-ng.conf.gentoo.hardened: + - use correct facility for uucp log filter. bug #140168 + +*syslog-ng-1.6.11 (08 May 2006) + + 08 May 2006; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.11.ebuild: + version bump + +*syslog-ng-1.6.10 (23 Apr 2006) + + 23 Apr 2006; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.10.ebuild: + version bump + + 20 Feb 2006; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.9.ebuild: + Marked stable on mips. + + 06 Feb 2006; Simon Stelling <blubb@gentoo.org> syslog-ng-1.6.9.ebuild: + stable on amd64 + + 31 Jan 2006; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.9.ebuild: + Mark 1.6.9 stable on alpha + + 27 Jan 2006; Michael Hanselmann <hansmi@gentoo.org> + syslog-ng-1.6.9.ebuild: + Stable on ppc. + + 26 Jan 2006; Jeroen Roovers <jer@gentoo.org> syslog-ng-1.6.9.ebuild: + Stable on hppa. + + 22 Jan 2006; Markus Rothe <corsair@gentoo.org> syslog-ng-1.6.9.ebuild: + Stable on ppc64 + + 22 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> + syslog-ng-1.6.9.ebuild: + Stable on sparc + + 22 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.9.ebuild: + stable for x86 + + 25 Dec 2005; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.8-r1.ebuild: + Marked stable on mips. + +*syslog-ng-1.6.9 (03 Dec 2005) + + 03 Dec 2005; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.9.ebuild: + version bump + + 30 Nov 2005; Michael Sterrett <mr_bones_@gentoo.org> + -syslog-ng-1.6.5-r2.ebuild, -syslog-ng-1.6.6.ebuild, + -syslog-ng-1.6.7.ebuild: + clean old versions + + 30 Nov 2005; Bryan Østergaard <kloeri@gentoo.org> + syslog-ng-1.6.8-r1.ebuild: + Stable on alpha. + + 24 Nov 2005; Markus Rothe <corsair@gentoo.org> syslog-ng-1.6.8-r1.ebuild: + Stable on ppc64 + + 11 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> + syslog-ng-1.6.8-r1.ebuild: + Stable on ppc. + + 30 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> + syslog-ng-1.6.8-r1.ebuild: + Stable on ia64. + + 26 Oct 2005; Luis Medinas <metalgod@gentoo.org> syslog-ng-1.6.8-r1.ebuild: + Marked Stable on amd64. + + 24 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> + syslog-ng-1.6.8-r1.ebuild: + Stable on sparc + + 23 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.8-r1.ebuild: + stable for x86 + + 02 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.8-r1.ebuild: + fix another bad bit of autotooling related to --with-libol (bug #104538) + +*syslog-ng-1.6.8-r1 (02 Sep 2005) + + 02 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.8-r1.ebuild: + rev bump to fix missing dep on sys-apps/which (bug #104475) + + 01 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.8.ebuild: + inherit fixheadtails to fix bug #104475 + + 23 Aug 2005; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.8.ebuild: + stable on ia64 + + 06 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> syslog-ng-1.6.8.ebuild: + Stable on mips. + + 28 Jul 2005; Simon Stelling <blubb@gentoo.org> syslog-ng-1.6.8.ebuild: + stable on amd64 + + 26 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> syslog-ng-1.6.8.ebuild: + Stable on alpha. + + 19 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> syslog-ng-1.6.8.ebuild: + Stable on sh. + + 09 Jul 2005; Markus Rothe <corsair@gentoo.org> syslog-ng-1.6.8.ebuild: + Stable on ppc64 + + 09 Jul 2005; Joseph Jezak <josejx@gentoo.org> syslog-ng-1.6.8.ebuild: + Marked stable on ppc. + + 08 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> + syslog-ng-1.6.8.ebuild: + Stable on hppa. + + 08 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org> + syslog-ng-1.6.8.ebuild: + Stable on sparc + + 07 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.8.ebuild: + stable for x86 + +*syslog-ng-1.6.8 (26 May 2005) + + 26 May 2005; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.8.ebuild: + version bump + + 18 May 2005; Markus Rothe <corsair@gentoo.org> syslog-ng-1.6.7.ebuild: + Stable on ppc64 + + 15 May 2005; Rene Nussbaumer <killerfox@gentoo.org> + syslog-ng-1.6.7.ebuild: + Stable on hppa + + 13 May 2005; Fernando J. Pereda <ferdy@gentoo.org> syslog-ng-1.6.7.ebuild: + 1.6.7 alpha stable + + 12 May 2005; Michael Sterrett <mr_bones_@gentoo.org> + files/syslog-ng.conf.debian, files/syslog-ng.conf.gentoo, + files/syslog-ng.conf.gentoo.hardened: + fix up config files (bug #92330) + + 11 May 2005; Marcus D. Hanwell <cryos@gentoo.org> syslog-ng-1.6.7.ebuild: + Stable on amd64. + + 09 May 2005; Lars Weiler <pylon@gentoo.org> syslog-ng-1.6.7.ebuild: + Stable on ppc. + + 09 May 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.7.ebuild: + install the stock config files as well (bug #91995) + + 09 May 2005; Jeffrey Forman <jforman@gentoo.org> syslog-ng-1.6.7.ebuild: + stable on sparc + + 08 May 2005; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.7.ebuild: + stable on ia64 + + 08 May 2005; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.7.ebuild: + Marked stable on mips. + + 08 May 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.7.ebuild: + stable for x86 + + 16 Apr 2005; Stephen Bennett <spb@gentoo.org> + files/syslog-ng.conf.gentoo.hardened: + Changed hardened config so as to open /proc/kmsg ro instead of rw. + +*syslog-ng-1.6.7 (09 Apr 2005) + + 09 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.7.ebuild: + version bump + + 05 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.6.ebuild: + Add support for hardened-specified config file + + 05 Apr 2005; <solar@gentoo.org> +files/syslog-ng.conf.gentoo.hardened: + - added example hardened syslog-ng conf used by hardened profiles. + +*syslog-ng-1.6.6 (26 Feb 2005) + + 26 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.6.ebuild: + version bump + + 28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + +*syslog-ng-1.6.5-r2 (14 Dec 2004) + + 14 Dec 2004; Aron Griffis <agriffis@gentoo.org> files/syslog-ng.rc6, + -syslog-ng-1.6.5-r1.ebuild, +syslog-ng-1.6.5-r2.ebuild: + Fix syslog-ng.conf net dependency again #74428 + + 01 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> + -files/syslog-ng.conf.sample, syslog-ng-1.6.5-r1.ebuild: + added syslog.conf from Debian as a sample (from bug #67267) + + 01 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> + -syslog-ng-1.6.2.ebuild, -syslog-ng-1.6.4.ebuild: + clean older versions (fixes bug #71546) + + 18 Nov 2004; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.5-r1.ebuild: + stable on ia64 + + 18 Nov 2004; Markus Rothe <corsair@gentoo.org> syslog-ng-1.6.5-r1.ebuild: + stable on ppc64; bug #71613 + + 13 Oct 2004; Travis Tilley <lv@gentoo.org> syslog-ng-1.6.5-r1.ebuild: + stable on amd64 + + 02 Oct 2004; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.5-r1.ebuild: + Marked stable on mips. + +*syslog-ng-1.6.5-r1 (02 Oct 2004) + + 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> syslog-ng-1.6.5-r1.ebuild: + Stable on alpha. + + 28 Sep 2004; Aron Griffis <agriffis@gentoo.org> files/syslog-ng.rc6, + -syslog-ng-1.6.5.ebuild: + Don't use xargs to concatenate lines; it breaks on uneven quoting #65520 + + 25 Sep 2004; Jason Wever <weeve@gentoo.org> syslog-ng-1.6.5.ebuild: + Stable on sparc. + + 24 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-1.6.5.ebuild: + stable on x86 + + 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> files/syslog-ng.rc6: + Add xargs into the init-script to make parsing conf file more robust #60487 + +*syslog-ng-1.6.5 (16 Aug 2004) + + 16 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> + +syslog-ng-1.6.5.ebuild: + version bump (bug #60271) + + 08 Aug 2004; Luca Barbato <lu_zero@gentoo.org> syslog-ng-1.6.4.ebuild: + Marked ppc + + 08 Aug 2004; <agriffis@gentoo.org> syslog-ng-1.6.4.ebuild: + stable on ia64 + + 04 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> files/syslog-ng.rc6: + checkconfig before reload to catch mis-config earlier. Patch from Eldad + Zack via bug #58216 + + 05 Jul 2004; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.4.ebuild: + Marked stable on mips. + + 25 Jun 2004; Tom Gall <tgall@gentoo.org> syslog-ng-1.6.4.ebuild: + stable on ppc64, bug #54848 + + 25 Jun 2004; Guy Martin <gmsoft@gentoo.org> syslog-ng-1.6.4.ebuild: + Marked stable on hppa. + + 22 Jun 2004; Gustavo Zacarias <gustavoz@gentoo.org> syslog-ng-1.6.4.ebuild: + Stable on sparc + + 22 Jun 2004; <malc@gentoo.org> syslog-ng-1.6.4.ebuild: + Mark stable on amd64 + + 22 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-1.6.4.ebuild: + stable for x86 + + 16 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> syslog-ng-1.6.4.ebuild: + Stable on alpha. + + 05 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-1.6.4.ebuild: + inherit flag-o-matic for append-ldflags; add use static support; dep fix for + libol; tidy compile + +*syslog-ng-1.6.4 (29 May 2004) + + 29 May 2004; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-1.6.4.ebuild: + version bump + + 29 May 2004; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-1.6.2.ebuild: + tidy + + 12 May 2004; Michael McCabe <randy@gentoo.org> syslog-ng-1.6.2.ebuild: + Added s390 keywords + + 26 Apr 2004; Tom Gall <tgall@gentoo.org> syslog-ng-1.6.2.ebuild: + stable on ppc64 (bug 49104) + + 17 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.4.16-r2.ebuild, syslog-ng-1.6.0_rc1-r2.ebuild: + clean out older versions + +*syslog-ng-1.6.2 (14 Feb 2004) + + 14 Feb 2004; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.2.ebuild, + files/syslog-ng.rc6: + Fix bug 38475 by adding conditional dep on network in initscript. Didn't bump + the rev since I don't think a lot of people care about this change. Also + bumped the version to 1.6.2 for testing. + + 05 Jan 2004; Brad House <brad_mssw@gentoo.org> + syslog-ng-1.6.0_rc3-r1.ebuild: + mark stable on amd64 + + 30 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.0_rc3-r1.ebuild: + The upstream source moved on us (bug 36394) + + 11 Nov 2003; Aron Griffis <agriffis@gentoo.org> + syslog-ng-1.6.0_rc3-r1.ebuild: + Mark stable on ia64 + + 11 Nov 2003; Aron Griffis <agriffis@gentoo.org> + syslog-ng-1.6.0_rc3-r1.ebuild: + Add ~ia64 + + 22 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> metadata.xml: + add metadata.xml + + 05 Oct 2003; Brad House <brad_mssw@gentoo.org> + syslog-ng-1.6.0_rc3-r1.ebuild: + add ~amd64 flag + + 03 Oct 2003; Aron Griffis <agriffis@gentoo.org> + syslog-ng-1.6.0_rc3-r1.ebuild: + Stable on alpha + +*syslog-ng-1.6.0_rc3-r1 (17 Sep 2003) + + 30 Sep 2003; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.0_rc3-r1.ebuild: + Changed ~sparc to sparc in KEYWORDS + +*syslog-ng-1.6.0_rc1-r2 (17 Sep 2003) + + 17 Sep 2003; Seemant Kulleen <seemant@gentoo.org> + syslog-ng-1.4.16-r1.ebuild, syslog-ng-1.4.16-r2.ebuild, + syslog-ng-1.6.0_rc1-r1.ebuild, syslog-ng-1.6.0_rc1-r2.ebuild, + syslog-ng-1.6.0_rc3-r1.ebuild, syslog-ng-1.6.0_rc3.ebuild: + version bump to provide virtual/logger + +*syslog-ng-1.4.16-r2 (17 Sep 2003) + +*syslog-ng-1.4.16-r1 (12 Mar 2003) + + 29 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. + + 31 May 2003; Seemant Kulleen <seemant@gentoo.org> + syslog-ng-1.6.0_rc3.ebuild: + slight fix for dohtml -- finally closing the bug + +*syslog-ng-1.6.0_rc3 (18 May 2003) + + 16 Jul 2003; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.0_rc3.ebuild: + Changed ~mips to mips in KEYWORDS + + 02 Jul 2003; Guy Martin <gmsoft@gentoo.org> syslog-ng-1.6.0_rc3.ebuild : + Marked stable on hppa. + + 18 May 2003; Seemant Kulleen <seemant@gentoo.org> + syslog-ng-1.6.0_rc1-r1.ebuild, syslog-ng-1.6.0_rc3.ebuild: + html docs fix and version bump thanks to: Andy Dustman + <andy-gentoo.54e552@dustman.net> in bug #19156 + +*syslog-ng-1.6.0_rc1-r1 (10 Mar 2003) + + 14 May 2003; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.0_rc1-r1.ebuild: + Added ~mips to KEYWORDS + + 01 May 2003; <msterret@gentoo.org> files/syslog-ng.conf.gentoo: + updated files/syslog-ng.conf.gentoo with a user-uncommentable option + for logging to address http://bugs.gentoo.org/show_bug.cgi?id=19824. + + 14 Apr 2003; Guy Martin <gmsoft@gentoo.org> syslog-ng-1.6.0_rc1-r1.ebuild : + Added hppa to KEYWORDS. + + 12 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest, + syslog-ng-1.6.0_rc1-r1.ebuild: + doc fixes for html docs, thanks to: Andy Dustman + <andy-gentoo.54e552@dustman.net> in bug #19156 + + 28 Mar 2003; Pieter Van den Abeele <pvdabeel@gentoo.org> syslog-ng-1.6.0_rc1-r1 + Moved to stable on ppc + + 11 Mar 2003; Aron Griffis <agriffis@gentoo.org> files/syslog-ng.conf.gentoo: + Minor update to default configuration; added stats(43200) + + 10 Mar 2003; Aron Griffis <agriffis@gentoo.org> + syslog-ng-1.6.0_rc1-r1.ebuild, files/syslog-ng.conf.gentoo, + files/syslog-ng.logrotate: + Bump revision to pick up new default configuration and logrotate snippet, both + contributed by Michael Sterrett. This relates to bug #7144. Also mark stable + on x86 and alpha since this is the version recommended for production use by + the web page. + +*syslog-ng-1.6.0_rc1 (05 Mar 2003) + + 05 Mar 2003; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.6.0_rc1.ebuild: + Update to latest stable release candidate for bug #14335 + +*syslog-ng-1.5.26-r1 (27 Feb 2003) + + 27 Feb 2003; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.5.26-r1.ebuild, + files/syslog-ng.rc6: + Fix bug 16308 by adding a reload() function to the init script. Bumped the + masked revision to pick up the change. Thanks to Michael Sterrett for his + work debugging and providing the patch. Also added ~alpha to KEYWORDS. + +*syslog-ng-1.5.26 (09 Feb 2003) + + 09 Feb 2003; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.5.26.ebuild: + Version Bump + + 09 Feb 2003; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.4.16-r1.ebuild, + syslog-ng-1.4.17.ebuild: + Removed message about syslog2ng script which is only found in 1.5.x + + 21 Jan 2003; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.4.16-r1.ebuild: + Revision bump to pick up new initscript on the stable package. + + 21 Jan 2003; Aron Griffis <agriffis@gentoo.org> syslog-ng-1.5.24-r1.ebuild + files/syslog-ng.rc6 : + Add a pause after stopping syslog-ng to allow it to stop, particularly in + case it's restarting. This is particularly important when using logrotate. + Bumped the revision to get the new initscript installed. Closes #14310 + +*syslog-ng-1.5.24 (26 Dec 2002) + + 26 Dec 2002 Martin Holzer <mholzer@gentoo.org> syslog-ng-1.5.24.ebuild + files/digest-syslog-ng-1.5.24 ChangeLog : + Version Pumped. Closes #12714. + +*syslog-ng-1.4.17 (05 Nov 2002) + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 05 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> : + Version bump. + +*syslog-ng-1.4.16 (25 Oct 2002) + + 04 Nov 2002; Seemant Kulleen <Seemant@gentoo.org> *.ebuild : + Added sys-devel/flex to DEPENDS. Closes bug #10185 by lordvan@lordvan.com + (Thomas Raschbacher) + + 25 Oct 2002; Donny Davies <woodchip@gentoo.org> : + Arrgh. This is the *stable version of syslog-ng, and according to our + friends on #9278, the only branch currently with working UDP/TCP support. + I've marked the development versions with ~, and this one stable :/ + +*syslog-ng-1.5.22 (23 Oct 2002) + + 23 Oct 2002; Donny Davies <woodchip@gentoo.org> : + Bug fix release. Thanks rkilgore@hotpop.com, wylie@geekasylum.org; #9278. + +*syslog-ng-1.5.21 (12 Oct 2002) + + 12 Oct 2002; Seemant Kulleen <seemant@gentoo.org> syslog-ng-1.5.21.ebuild : + Works on sparcs + + 12 Oct 2002; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.5.21.ebuild, + files/syslog-ng.conf.sample: + Version bump and older versions removed due to security issue. "kernsrc" + line in example configuration file fixed. (Bugs #7951 and #7996) + +*syslog-ng-1.5.19 (17 Aug 2002) + + 14 Sep 2002; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.5.19.ebuild: + Fixed bug introduced with previous fix (#7757) + + 17 Aug 2002; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.5.19.ebuild: + Updated ebuild contributed by mw@teamzone.de (Markus Wagner) plus + -lwrap buglet fix + +*syslog-ng-1.5.17 (21 May 2002) + + 14 Aug 2002; Jack Morgan <jmorgan@gentoo.org> syslog-ng-1.4.15.ebuild, + syslog-ng-1.5.17.ebuild: + Added sparc64 to KEYWORDS. + +*syslog-ng-1.5.17 (21 May 2002) + + 30 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> syslog-ng-1.5.17.ebuild : + Added -ppc to KEYWORDS. + + 21 May 2002; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.5.17.ebuild : + New development branch version... a pain to compile and is masked out + +*syslog-ng-1.4.15 (21 May 2002) + + 21 May 2002; Bruce A. Locke <blocke@shivan.org> syslog-ng-1.4.15.ebuild : + New Version + +*syslog-ng-1.4.12-r9 (3 May 2002) + + 3 May 2002; Donny Davies <woodchip@gentoo.org> : + Add LICENSE, SLOT, $Headers. + +*syslog-ng-1.4.12-r8 (11 Mar 2002) + + 11 Mar 2002; M.Schlemmer <azarah@gentoo.org> : + Updated rc-script to provide "logger". + +*syslog-ng-1.4.12-r7 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest new file mode 100644 index 0000000..71813b6 --- /dev/null +++ b/app-admin/syslog-ng/Manifest @@ -0,0 +1,17 @@ +AUX syslog-ng-3.0.2-ipv6.patch 1041 RMD160 40cd741468be6367da0a0929d66f45f11fc1ba70 SHA1 0bf4a1d7e540516defbde143b3caa171707836f2 SHA256 1d7e8882c68745d768c97ec80e71313874c6f9cef25b5f7e970f2ce673b873b0 +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 +MISC ChangeLog 28503 RMD160 74192dbe54961a52db56f891e77d05a447ab332a SHA1 0e91072522e447225340ef0c12ecda984c9e3f09 SHA256 ae9e11fda0574c83a4716a071740142358a458e62fe69c5339d52bf5f482c3f9 +MISC metadata.xml 407 RMD160 cf71f8c335372c633573600fa8a135d51406ab6e SHA1 336703907e8fbc77f751b508f7b65f7775539e65 SHA256 b31b90dd95563d796552d348fbf1158e9d0d93f4ca37ad596d57f22f133c9ac9 diff --git a/app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch b/app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch new file mode 100644 index 0000000..f608b59 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch @@ -0,0 +1,31 @@ +From: Balazs Scheidler <bazsi@balabit.hu> +Date: Mon, 25 May 2009 08:30:58 +0000 (+0200) +Subject: [templates] fixed compilation problem if ipv6 is disabled +X-Git-Url: http://git.balabit.hu/?p=bazsi%2Fsyslog-ng-3.0.git;a=commitdiff_plain;h=32949aaf9a241411f63953926898b5f1e33064ca + +[templates] fixed compilation problem if ipv6 is disabled + +templates.c:(.text+0x658): undefined reference to `g_sockaddr_inet6_check' + +Reported-By: Michael Sterrett +--- + +diff --git a/src/templates.c b/src/templates.c +index a2be7ce..a413ad9 100644 +--- a/src/templates.c ++++ b/src/templates.c +@@ -392,7 +392,13 @@ log_macro_expand(GString *result, gint id, guint32 flags, gint ts_format, TimeZo + { + gchar *ip; + +- if (msg->saddr && (g_sockaddr_inet_check(msg->saddr) || g_sockaddr_inet6_check(msg->saddr))) ++ if (msg->saddr && (g_sockaddr_inet_check(msg->saddr) || ++#if ENABLE_IPV6 ++ g_sockaddr_inet6_check(msg->saddr) ++#else ++ 0 ++#endif ++ )) + { + gchar buf[MAX_SOCKADDR_STRING]; + diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.debian b/app-admin/syslog-ng/files/syslog-ng.conf.debian new file mode 100644 index 0000000..9a55bf7 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.debian @@ -0,0 +1,149 @@ +# +# 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 new file mode 100644 index 0000000..48e5513 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo @@ -0,0 +1,33 @@ +# $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 new file mode 100644 index 0000000..3a734ac --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0 @@ -0,0 +1,32 @@ +@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 new file mode 100644 index 0000000..13f7dc4 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd @@ -0,0 +1,20 @@ +# $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 new file mode 100644 index 0000000..883fbb3 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.0 @@ -0,0 +1,24 @@ +@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 new file mode 100644 index 0000000..4123b95 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened @@ -0,0 +1,117 @@ +# 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 new file mode 100644 index 0000000..1d928f9 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0 @@ -0,0 +1,111 @@ +@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 new file mode 100644 index 0000000..170862f --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.confd @@ -0,0 +1,6 @@ +# 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 new file mode 100644 index 0000000..e982686 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.logrotate @@ -0,0 +1,13 @@ +# $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 new file mode 100644 index 0000000..0527d48 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened @@ -0,0 +1,73 @@ +# $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 new file mode 100644 index 0000000..2655b3c --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.rc6-r1 @@ -0,0 +1,60 @@ +#!/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 new file mode 100644 index 0000000..0da7804 --- /dev/null +++ b/app-admin/syslog-ng/files/syslog-ng.rc6.3.0 @@ -0,0 +1,60 @@ +#!/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/metadata.xml b/app-admin/syslog-ng/metadata.xml new file mode 100644 index 0000000..c0d5f6f --- /dev/null +++ b/app-admin/syslog-ng/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>mr_bones_@gentoo.org</email> + <name>Michael Sterrett</name> +</maintainer> +<use> + <flag name='spoof-source'>Enable support for spoofed source addresses</flag> + <flag name='sql'>Enable support for SQL destinations</flag> +</use> +</pkgmetadata> diff --git a/app-admin/syslog-ng/syslog-ng-3.0.3.ebuild b/app-admin/syslog-ng/syslog-ng-3.0.3.ebuild new file mode 100644 index 0000000..9b6aa07 --- /dev/null +++ b/app-admin/syslog-ng/syslog-ng-3.0.3.ebuild @@ -0,0 +1,96 @@ +# 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 +} |