mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
bump(app-admin/rsyslog): sync with upstream
This commit is contained in:
parent
53e8656b78
commit
4b098e549d
159
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/ChangeLog
vendored
Normal file
159
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/ChangeLog
vendored
Normal file
@ -0,0 +1,159 @@
|
|||||||
|
# ChangeLog for app-admin/rsyslog
|
||||||
|
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# (auto-generated from git log)
|
||||||
|
|
||||||
|
*rsyslog-8.9.0 (09 Aug 2015)
|
||||||
|
*rsyslog-8.7.0-r2 (09 Aug 2015)
|
||||||
|
|
||||||
|
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+files/8-stable/10-respect_CFLAGS-r1.patch,
|
||||||
|
+files/8-stable/10-respect_CFLAGS.patch, +files/8-stable/50-default.conf, +f
|
||||||
|
iles/8-stable/50-rsyslog-add-option-to-disable-valgrind-usage-in-testbench.p
|
||||||
|
atch,
|
||||||
|
+files/8-stable/50-rsyslog-fix-size-based-legacy-config-statements.patch,
|
||||||
|
+files/8-stable/50-rsyslog-run-queue-persist-test-only-once.patch,
|
||||||
|
+files/8-stable/README.gentoo, +files/8-stable/rsyslog.conf,
|
||||||
|
+files/8-stable/rsyslog.confd, +files/8-stable/rsyslog.initd,
|
||||||
|
+files/8-stable/rsyslog.logrotate, +metadata.xml, +rsyslog-8.7.0-r2.ebuild,
|
||||||
|
+rsyslog-8.9.0.ebuild:
|
||||||
|
proj/gentoo: Initial commit
|
||||||
|
|
||||||
|
This commit represents a new era for Gentoo:
|
||||||
|
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
||||||
|
|
||||||
|
This commit is the start of the NEW history.
|
||||||
|
Any historical data is intended to be grafted onto this point.
|
||||||
|
|
||||||
|
Creation process:
|
||||||
|
1. Take final CVS checkout snapshot
|
||||||
|
2. Remove ALL ChangeLog* files
|
||||||
|
3. Transform all Manifests to thin
|
||||||
|
4. Remove empty Manifests
|
||||||
|
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
||||||
|
5.1. Do not touch files with -kb/-ko keyword flags.
|
||||||
|
|
||||||
|
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
||||||
|
tests
|
||||||
|
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
||||||
|
project
|
||||||
|
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
||||||
|
developer, wrote Git features for the migration
|
||||||
|
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
||||||
|
cvs2svn
|
||||||
|
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
||||||
|
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
||||||
|
work in migration
|
||||||
|
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
||||||
|
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
||||||
|
the bikeshed
|
||||||
|
|
||||||
|
*rsyslog-8.12.0 (18 Aug 2015)
|
||||||
|
|
||||||
|
18 Aug 2015; Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
+files/8-stable/40-rsyslog-fix-parallel-build-issue-479.patch,
|
||||||
|
+rsyslog-8.12.0.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
Thanks to Whissi for providing the ebuild and to Ultrabug for
|
||||||
|
kindly permitting the commit.
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.20.1
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
||||||
|
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
||||||
|
Use https by default
|
||||||
|
|
||||||
|
Convert all URLs for sites supporting encrypted connections from http to
|
||||||
|
https
|
||||||
|
|
||||||
|
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
||||||
|
|
||||||
|
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
||||||
|
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
||||||
|
|
||||||
|
repoman does not yet accept the https version.
|
||||||
|
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
||||||
|
|
||||||
|
Bug: https://bugs.gentoo.org/552720
|
||||||
|
|
||||||
|
*rsyslog-8.12.0-r1 (20 Sep 2015)
|
||||||
|
|
||||||
|
20 Sep 2015; Julian Ospald <hasufell@gentoo.org> metadata.xml,
|
||||||
|
+rsyslog-8.12.0-r1.ebuild:
|
||||||
|
add libressl support
|
||||||
|
|
||||||
|
*rsyslog-8.13.0 (09 Oct 2015)
|
||||||
|
|
||||||
|
09 Oct 2015; Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
+files/8-stable/50-rsyslog-8.12.0-fix-re_extract.patch,
|
||||||
|
+files/8-stable/50-rsyslog-8.13.0-lookup-table-reload-bugfix.patch,
|
||||||
|
+files/8-stable/rsyslog.confd-r1, +files/8-stable/rsyslog.initd-r1,
|
||||||
|
+rsyslog-8.13.0.ebuild:
|
||||||
|
Bump to version 8.13.0
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.23
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
||||||
|
09 Oct 2015; Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
-files/8-stable/10-respect_CFLAGS.patch, -rsyslog-8.9.0.ebuild,
|
||||||
|
-rsyslog-8.12.0.ebuild:
|
||||||
|
Removed old.
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.23
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
||||||
|
09 Oct 2015; Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
rsyslog-8.12.0-r1.ebuild:
|
||||||
|
Adjusted dependency on dev-libs/liblognorm
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.23
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
||||||
|
21 Dec 2015; Jeroen Roovers <jer@gentoo.org> rsyslog-8.13.0.ebuild:
|
||||||
|
Stable for HPPA (bug #565360).
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.26
|
||||||
|
RepoMan-Options: --ignore-arches
|
||||||
|
|
||||||
|
25 Dec 2015; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.13.0.ebuild:
|
||||||
|
amd64 stable wrt bug #565360
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.24
|
||||||
|
RepoMan-Options: --include-arches="amd64"
|
||||||
|
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
|
||||||
|
|
||||||
|
25 Dec 2015; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.13.0.ebuild:
|
||||||
|
x86 stable wrt bug #565360
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.24
|
||||||
|
RepoMan-Options: --include-arches="x86"
|
||||||
|
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
|
||||||
|
|
||||||
|
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
||||||
|
Set appropriate maintainer types in metadata.xml (GLEP 67)
|
||||||
|
|
||||||
|
*rsyslog-8.16.0 (05 Feb 2016)
|
||||||
|
|
||||||
|
05 Feb 2016; Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
+files/8-stable/50-rsyslog-8.15.0-imfile-readmode2-vg-test-workaround.patch,
|
||||||
|
+files/8-stable/50-rsyslog-8.15.0-imtcp-tls-basic-vg-test-workaround.patch,
|
||||||
|
+files/8-stable/50-rsyslog-8.16.0-fix-queue-engine-issue-262.patch,
|
||||||
|
+rsyslog-8.16.0.ebuild:
|
||||||
|
Bump to version 8.16.0
|
||||||
|
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
||||||
|
05 Feb 2016; Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
-files/8-stable/10-respect_CFLAGS-r1.patch,
|
||||||
|
-files/8-stable/40-rsyslog-fix-parallel-build-issue-479.patch, -files/8-stab
|
||||||
|
le/50-rsyslog-add-option-to-disable-valgrind-usage-in-testbench.patch,
|
||||||
|
-files/8-stable/50-rsyslog-fix-size-based-legacy-config-statements.patch,
|
||||||
|
-files/8-stable/50-rsyslog-run-queue-persist-test-only-once.patch,
|
||||||
|
-files/8-stable/rsyslog.confd, -files/8-stable/rsyslog.initd,
|
||||||
|
-rsyslog-8.7.0-r2.ebuild, -rsyslog-8.12.0-r1.ebuild:
|
||||||
|
Removed old.
|
||||||
|
|
||||||
|
Package-Manager: portage-2.2.27
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
704
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/ChangeLog-2015
vendored
Normal file
704
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/ChangeLog-2015
vendored
Normal file
@ -0,0 +1,704 @@
|
|||||||
|
# ChangeLog for app-admin/rsyslog
|
||||||
|
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.140 2015/04/20 13:06:49 ultrabug Exp $
|
||||||
|
|
||||||
|
*rsyslog-8.9.0 (20 Apr 2015)
|
||||||
|
|
||||||
|
20 Apr 2015; Ultrabug <ultrabug@gentoo.org> -rsyslog-8.4.2.ebuild,
|
||||||
|
+rsyslog-8.9.0.ebuild, metadata.xml:
|
||||||
|
version bump fix #546822 thx to Thomas D., drop old
|
||||||
|
|
||||||
|
19 Apr 2015; Pacho Ramos <pacho@gentoo.org> rsyslog-8.7.0-r2.ebuild:
|
||||||
|
x86 stable wrt bug #536786
|
||||||
|
|
||||||
|
30 Mar 2015; Jeroen Roovers <jer@gentoo.org> rsyslog-8.7.0-r2.ebuild:
|
||||||
|
Stable for HPPA (bug #536786).
|
||||||
|
|
||||||
|
27 Mar 2015; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.7.0-r2.ebuild:
|
||||||
|
Stable for amd64, wrt bug #536786
|
||||||
|
|
||||||
|
27 Mar 2015; Ultrabug <ultrabug@gentoo.org> rsyslog-8.7.0-r2.ebuild,
|
||||||
|
+files/8-stable/50-rsyslog-add-option-to-disable-valgrind-usage-in-testbench.
|
||||||
|
patch:
|
||||||
|
disable failing valgrind test by Thomas D.
|
||||||
|
|
||||||
|
*rsyslog-8.7.0-r2 (26 Mar 2015)
|
||||||
|
|
||||||
|
26 Mar 2015; Ultrabug <ultrabug@gentoo.org> -rsyslog-8.6.0.ebuild,
|
||||||
|
-rsyslog-8.7.0-r1.ebuild, +rsyslog-8.7.0-r2.ebuild,
|
||||||
|
+files/8-stable/50-rsyslog-fix-size-based-legacy-config-statements.patch,
|
||||||
|
+files/8-stable/50-rsyslog-run-queue-persist-test-only-once.patch:
|
||||||
|
stability fixes thx to Thomas D., drop old
|
||||||
|
|
||||||
|
*rsyslog-8.7.0-r1 (23 Mar 2015)
|
||||||
|
|
||||||
|
23 Mar 2015; Ultrabug <ultrabug@gentoo.org> -rsyslog-8.7.0.ebuild,
|
||||||
|
+rsyslog-8.7.0-r1.ebuild:
|
||||||
|
fix some deps and doc building thx to Martin Dummer and Thomas D. fix #542330
|
||||||
|
|
||||||
|
*rsyslog-8.7.0 (23 Feb 2015)
|
||||||
|
|
||||||
|
23 Feb 2015; Ultrabug <ultrabug@gentoo.org> +rsyslog-8.7.0.ebuild:
|
||||||
|
version bump thx to Thomas D. fix #536784
|
||||||
|
|
||||||
|
23 Feb 2015; Ultrabug <ultrabug@gentoo.org> rsyslog-8.6.0.ebuild:
|
||||||
|
fix #533020
|
||||||
|
|
||||||
|
28 Dec 2014; Aaron W. Swenson <titanofold@gentoo.org> rsyslog-8.4.2.ebuild,
|
||||||
|
rsyslog-8.6.0.ebuild:
|
||||||
|
Rename virtual/postgresql to dev-db/postgresql
|
||||||
|
|
||||||
|
*rsyslog-8.6.0 (16 Dec 2014)
|
||||||
|
|
||||||
|
16 Dec 2014; Ultrabug <ultrabug@gentoo.org> +rsyslog-8.6.0.ebuild,
|
||||||
|
+files/8-stable/10-respect_CFLAGS-r1.patch:
|
||||||
|
version bump wrt #532400 by Thomas D.
|
||||||
|
|
||||||
|
03 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> rsyslog-8.4.2.ebuild:
|
||||||
|
Update PostgreSQL dependencies and/or checks to virtual/postgresql.
|
||||||
|
|
||||||
|
17 Oct 2014; Lars Wendler <polynomial-c@gentoo.org> -rsyslog-7.4.4.ebuild,
|
||||||
|
-rsyslog-8.4.1.ebuild, -files/7-stable/50-default.conf,
|
||||||
|
-files/7-stable/rsyslog.conf,
|
||||||
|
-files/7-stable/rsyslog-7.4.3-fix-runtime.patch,
|
||||||
|
-files/7-stable/README.gentoo, -files/7-stable/rsyslog.confd,
|
||||||
|
-files/7-stable/rsyslog-7.4.3-json-c-pkgconfig.patch,
|
||||||
|
-files/7-stable/bugfix_52.patch, -files/7-stable/rsyslog.confd-r1,
|
||||||
|
-files/7-stable/rsyslog-7.x-mmjsonparse.patch,
|
||||||
|
-files/7-stable/bugfix_73.patch,
|
||||||
|
-files/7-stable/fix-omruleset-default-value.patch,
|
||||||
|
-files/7-stable/rsyslog.initd, -files/7-stable/rsyslog.initd-r1,
|
||||||
|
-files/7-stable/rsyslog.logrotate, -files/7-stable/rsyslog.logrotate-r1,
|
||||||
|
-files/7-stable/rsyslog-gentoo.conf, metadata.xml:
|
||||||
|
Removed old vulnerable versions.
|
||||||
|
|
||||||
|
16 Oct 2014; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.4.1.ebuild:
|
||||||
|
Stable for x86, wrt bug #524058
|
||||||
|
|
||||||
|
16 Oct 2014; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.4.1.ebuild:
|
||||||
|
Stable for amd64, wrt bug #524058
|
||||||
|
|
||||||
|
05 Oct 2014; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.4.2.ebuild:
|
||||||
|
Stable for x86, wrt bug #524290
|
||||||
|
|
||||||
|
05 Oct 2014; Agostino Sarubbo <ago@gentoo.org> rsyslog-8.4.2.ebuild:
|
||||||
|
Stable for amd64, wrt bug #524290
|
||||||
|
|
||||||
|
02 Oct 2014; Jeroen Roovers <jer@gentoo.org> rsyslog-8.4.2.ebuild:
|
||||||
|
Stable for HPPA (bug #524290).
|
||||||
|
|
||||||
|
*rsyslog-8.4.2 (02 Oct 2014)
|
||||||
|
|
||||||
|
02 Oct 2014; Lars Wendler <polynomial-c@gentoo.org> +rsyslog-8.4.2.ebuild,
|
||||||
|
+files/8-stable/10-respect_CFLAGS.patch:
|
||||||
|
Security bump (bug 524290). Remote syslog PRI vulnerability (CVE-2014-3683).
|
||||||
|
|
||||||
|
01 Oct 2014; Jeroen Roovers <jer@gentoo.org> rsyslog-8.4.1.ebuild:
|
||||||
|
Stable for HPPA (bug #524058).
|
||||||
|
|
||||||
|
*rsyslog-8.4.1 (30 Sep 2014)
|
||||||
|
|
||||||
|
30 Sep 2014; Lars Wendler <polynomial-c@gentoo.org> -rsyslog-7.2.7.ebuild,
|
||||||
|
-rsyslog-7.4.10.ebuild, -rsyslog-7.6.3-r1.ebuild, +rsyslog-8.4.1.ebuild,
|
||||||
|
-files/6-stable/rsyslog-6.6.0-fix-runtime.patch,
|
||||||
|
+files/8-stable/README.gentoo, +files/8-stable/rsyslog.confd,
|
||||||
|
-files/rsyslog-7.2.5-json-c-pkgconfig.patch, +files/8-stable/50-default.conf,
|
||||||
|
+files/8-stable/rsyslog.conf, +files/8-stable/rsyslog.initd,
|
||||||
|
+files/8-stable/rsyslog.logrotate, metadata.xml:
|
||||||
|
Security bump (bug #524058). Removed old. Remote syslog PRI vulnerability
|
||||||
|
(CVE-2014-3634).
|
||||||
|
|
||||||
|
20 Aug 2014; Jeroen Roovers <jer@gentoo.org> metadata.xml:
|
||||||
|
Add proxy-maint herd.
|
||||||
|
|
||||||
|
18 Jun 2014; Mike Frysinger <vapier@gentoo.org>
|
||||||
|
-files/7-stable/rsyslog-imuxsock-shrink.patch, -rsyslog-7.6.3-r2.ebuild:
|
||||||
|
Drop shrinkage patch as it is slightly broken, and to make it work requires
|
||||||
|
more hacks. Will continue to try and sort out a way forward in upstream.
|
||||||
|
|
||||||
|
*rsyslog-7.6.3-r2 (16 Jun 2014)
|
||||||
|
|
||||||
|
16 Jun 2014; Mike Frysinger <vapier@gentoo.org>
|
||||||
|
+files/7-stable/rsyslog-imuxsock-shrink.patch, +rsyslog-7.6.3-r2.ebuild:
|
||||||
|
Shrink the imuxsock plugin by removing redundant symbols.
|
||||||
|
|
||||||
|
16 Jun 2014; Mike Frysinger <vapier@gentoo.org>
|
||||||
|
files/7-stable/rsyslog.initd-r1, files/7-stable/rsyslog.logrotate,
|
||||||
|
files/7-stable/rsyslog.logrotate-r1:
|
||||||
|
Fix bashisms in /dev/null redirection.
|
||||||
|
|
||||||
|
16 Jun 2014; Mike Frysinger <vapier@gentoo.org> rsyslog-7.6.3-r1.ebuild:
|
||||||
|
Add arm love #511026.
|
||||||
|
|
||||||
|
*rsyslog-7.6.3-r1 (02 Jun 2014)
|
||||||
|
|
||||||
|
02 Jun 2014; Ultrabug <ultrabug@gentoo.org> -rsyslog-7.6.3.ebuild,
|
||||||
|
+rsyslog-7.6.3-r1.ebuild, files/7-stable/rsyslog.initd-r1:
|
||||||
|
fix #511748 thx to consus
|
||||||
|
|
||||||
|
22 May 2014; Jeroen Roovers <jer@gentoo.org> rsyslog-7.6.3.ebuild:
|
||||||
|
Marked ~hppa (bug #511026).
|
||||||
|
|
||||||
|
*rsyslog-7.6.3 (22 May 2014)
|
||||||
|
|
||||||
|
22 May 2014; Ultrabug <ultrabug@gentoo.org> -rsyslog-7.4.3.ebuild,
|
||||||
|
-rsyslog-7.4.6.ebuild, -rsyslog-7.4.7.ebuild, +rsyslog-7.6.3.ebuild,
|
||||||
|
+files/7-stable/50-default.conf, +files/7-stable/README.gentoo,
|
||||||
|
+files/7-stable/bugfix_52.patch, +files/7-stable/bugfix_73.patch,
|
||||||
|
+files/7-stable/fix-omruleset-default-value.patch,
|
||||||
|
+files/7-stable/rsyslog.conf, +files/7-stable/rsyslog.confd-r1,
|
||||||
|
+files/7-stable/rsyslog.initd-r1, +files/7-stable/rsyslog.logrotate-r1,
|
||||||
|
metadata.xml:
|
||||||
|
version bump fix #501988 #501982 #501986 #490744 thx to @Whissi, drop old
|
||||||
|
versions
|
||||||
|
|
||||||
|
16 Apr 2014; Maxim Koltsov <maksbotan@gentoo.org>
|
||||||
|
+files/7-stable/rsyslog-7.x-mmjsonparse.patch, rsyslog-7.2.7.ebuild,
|
||||||
|
rsyslog-7.4.10.ebuild, rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild,
|
||||||
|
rsyslog-7.4.6.ebuild, rsyslog-7.4.7.ebuild:
|
||||||
|
Add upstream patch for >=dev-libs/json-c-0.12, bug #507730. Thanks to Thomas
|
||||||
|
D. <whissi@whissi.de>.
|
||||||
|
|
||||||
|
*rsyslog-7.4.10 (10 Mar 2014)
|
||||||
|
|
||||||
|
10 Mar 2014; Ultrabug <ultrabug@gentoo.org> +rsyslog-7.4.10.ebuild,
|
||||||
|
metadata.xml:
|
||||||
|
version bump fix #501978 thx to Thomas D., add Thomas D. as proxy-maintainer
|
||||||
|
|
||||||
|
01 Mar 2014; Michał Górny <mgorny@gentoo.org> rsyslog-7.2.7.ebuild,
|
||||||
|
rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild, rsyslog-7.4.6.ebuild,
|
||||||
|
rsyslog-7.4.7.ebuild:
|
||||||
|
Update libgcrypt dep to use slot :0.
|
||||||
|
|
||||||
|
31 Dec 2013; Markus Meier <maekke@gentoo.org> rsyslog-7.4.7.ebuild:
|
||||||
|
add ~arm, bug #495230
|
||||||
|
|
||||||
|
25 Dec 2013; Jeroen Roovers <jer@gentoo.org> rsyslog-7.4.7.ebuild:
|
||||||
|
Marked ~hppa (bug #495230).
|
||||||
|
|
||||||
|
*rsyslog-7.4.7 (24 Dec 2013)
|
||||||
|
|
||||||
|
24 Dec 2013; Ultrabug <ultrabug@gentoo.org> rsyslog-7.2.7.ebuild,
|
||||||
|
rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild, rsyslog-7.4.6.ebuild,
|
||||||
|
+rsyslog-7.4.7.ebuild, metadata.xml:
|
||||||
|
Fix #490992, #494150 thx to Marcin Mirosław & Andrey Volkov. Fix #492442,
|
||||||
|
#494532 using slot operators thx to Thomas D. Add mongodb to IUSE fix #494268
|
||||||
|
thx to Vadim Kuznetsov. Version bump.
|
||||||
|
|
||||||
|
24 Dec 2013; Ultrabug <ultrabug@gentoo.org> rsyslog-7.2.7.ebuild,
|
||||||
|
rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild, rsyslog-7.4.6.ebuild:
|
||||||
|
fix #495198 wrt zeromq dependencies thx to Allen Parker
|
||||||
|
|
||||||
|
19 Nov 2013; Jeroen Roovers <jer@gentoo.org> rsyslog-7.4.4.ebuild:
|
||||||
|
Stable for HPPA (bug #475882).
|
||||||
|
|
||||||
|
18 Nov 2013; Ultrabug <ultrabug@gentoo.org> rsyslog-7.2.7.ebuild,
|
||||||
|
rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild, rsyslog-7.4.6.ebuild:
|
||||||
|
drop curl dependency, fix #485414 thx to Andrey Volkov
|
||||||
|
|
||||||
|
09 Nov 2013; Agostino Sarubbo <ago@gentoo.org> rsyslog-7.4.4.ebuild:
|
||||||
|
Stable for x86, wrt bug #475882
|
||||||
|
|
||||||
|
09 Nov 2013; Agostino Sarubbo <ago@gentoo.org> rsyslog-7.4.4.ebuild:
|
||||||
|
Stable for amd64, wrt bug #475882
|
||||||
|
|
||||||
|
*rsyslog-7.4.6 (08 Nov 2013)
|
||||||
|
|
||||||
|
08 Nov 2013; Ultrabug <ultrabug@gentoo.org> +rsyslog-7.4.6.ebuild:
|
||||||
|
version bump, fix #490469
|
||||||
|
|
||||||
|
11 Sep 2013; Michał Górny <mgorny@gentoo.org> rsyslog-7.2.7.ebuild,
|
||||||
|
rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild:
|
||||||
|
systemd_to_myeconfargs is deprecated, use systemd_with_unitdir instead.
|
||||||
|
|
||||||
|
*rsyslog-7.4.4 (10 Sep 2013)
|
||||||
|
|
||||||
|
10 Sep 2013; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.8.11.ebuild,
|
||||||
|
-rsyslog-5.8.12.ebuild, -rsyslog-5.10.1.ebuild, -rsyslog-6.6.0.ebuild,
|
||||||
|
+rsyslog-7.4.4.ebuild, -files/5-stable/rsyslog.confd,
|
||||||
|
-files/5-stable/rsyslog.initd, -files/5-stable/rsyslog.logrotate,
|
||||||
|
-files/5-stable/rsyslog-gentoo.conf, -files/6-stable/rsyslog.confd,
|
||||||
|
-files/6-stable/rsyslog.initd, -files/6-stable/rsyslog.logrotate,
|
||||||
|
-files/6-stable/rsyslog-gentoo.conf, -files/6-stable/rsyslog6-zeromq.patch:
|
||||||
|
Version bump, fix #467338, work on #442706 for systemd support, drop old and
|
||||||
|
unsupported versions, cleanup
|
||||||
|
|
||||||
|
16 Aug 2013; Ultrabug <ultrabug@gentoo.org> rsyslog-7.4.3.ebuild:
|
||||||
|
fix #480894 thx to Conway S. Smith
|
||||||
|
|
||||||
|
*rsyslog-7.4.3 (29 Jul 2013)
|
||||||
|
|
||||||
|
29 Jul 2013; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.8.5.ebuild,
|
||||||
|
-rsyslog-6.2.2.ebuild, -rsyslog-7.2.2-r1.ebuild, -rsyslog-7.2.5.ebuild,
|
||||||
|
+rsyslog-7.4.3.ebuild, +files/7-stable/rsyslog-7.4.3-fix-runtime.patch,
|
||||||
|
+files/7-stable/rsyslog-7.4.3-json-c-pkgconfig.patch:
|
||||||
|
Version bump fix #472484, drop old fix #454564
|
||||||
|
|
||||||
|
27 Jun 2013; Agostino Sarubbo <ago@gentoo.org> rsyslog-7.2.7.ebuild:
|
||||||
|
Stable for x86, wrt bug #472564
|
||||||
|
|
||||||
|
27 Jun 2013; Agostino Sarubbo <ago@gentoo.org> rsyslog-7.2.7.ebuild:
|
||||||
|
Stable for amd64, wrt bug #472564
|
||||||
|
|
||||||
|
08 Jun 2013; Jeroen Roovers <jer@gentoo.org> rsyslog-7.2.7.ebuild:
|
||||||
|
Stable for HPPA (bug #472564).
|
||||||
|
|
||||||
|
05 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
|
||||||
|
Add upstream CPE tag (security info) from ChromiumOS.
|
||||||
|
|
||||||
|
28 Apr 2013; Markos Chandras <hwoarang@gentoo.org>
|
||||||
|
files/rsyslog-7.2.5-json-c-pkgconfig.patch:
|
||||||
|
Detect new json-c-0.11. Patch from Thomas D. <whissi@whissi.de>. Fixes bug
|
||||||
|
#467338
|
||||||
|
|
||||||
|
*rsyslog-7.2.7 (18 Apr 2013)
|
||||||
|
|
||||||
|
18 Apr 2013; Ultrabug <ultrabug@gentoo.org> files/7-stable/rsyslog.logrotate,
|
||||||
|
+rsyslog-7.2.7.ebuild:
|
||||||
|
fix logrotate for systemd thx to Enrico Tagliavini and Dennis Lissov #399011,
|
||||||
|
version bump
|
||||||
|
|
||||||
|
12 Feb 2013; Justin Lecher <jlec@gentoo.org> rsyslog-7.2.5.ebuild,
|
||||||
|
+files/rsyslog-7.2.5-json-c-pkgconfig.patch, metadata.xml:
|
||||||
|
Correct buildsystem so that json-c will be detected correctly by pkg-config,
|
||||||
|
#454944
|
||||||
|
|
||||||
|
*rsyslog-7.2.5 (21 Jan 2013)
|
||||||
|
|
||||||
|
21 Jan 2013; Ultrabug <ultrabug@gentoo.org> +rsyslog-7.2.5.ebuild:
|
||||||
|
Version bump fix #451684
|
||||||
|
|
||||||
|
*rsyslog-7.2.2-r1 (27 Nov 2012)
|
||||||
|
|
||||||
|
27 Nov 2012; Ultrabug <ultrabug@gentoo.org> files/7-stable/rsyslog.logrotate,
|
||||||
|
-rsyslog-7.2.2.ebuild, +rsyslog-7.2.2-r1.ebuild:
|
||||||
|
Fix #444774 logrotate script thx to Robin Hill, fix #444754 curl dep thx to
|
||||||
|
Didier Cardoso
|
||||||
|
|
||||||
|
23 Nov 2012; Ultrabug <ultrabug@gentoo.org> rsyslog-6.6.0.ebuild,
|
||||||
|
rsyslog-7.2.2.ebuild:
|
||||||
|
Fix dev-libs/librelp DEP thx to Robin Hill, fix #444139
|
||||||
|
|
||||||
|
20 Nov 2012; Ultrabug <ultrabug@gentoo.org> files/7-stable/rsyslog.logrotate:
|
||||||
|
fix v7 logrotate script
|
||||||
|
|
||||||
|
*rsyslog-7.2.2 (20 Nov 2012)
|
||||||
|
*rsyslog-6.6.0 (20 Nov 2012)
|
||||||
|
*rsyslog-5.10.1 (20 Nov 2012)
|
||||||
|
|
||||||
|
20 Nov 2012; Ultrabug <ultrabug@gentoo.org>
|
||||||
|
+files/6-stable/rsyslog-6.6.0-fix-runtime.patch,
|
||||||
|
+files/7-stable/rsyslog.confd, +files/7-stable/rsyslog.initd,
|
||||||
|
+files/7-stable/rsyslog.logrotate, +files/7-stable/rsyslog-gentoo.conf,
|
||||||
|
+rsyslog-5.10.1.ebuild, +rsyslog-6.6.0.ebuild, +rsyslog-7.2.2.ebuild:
|
||||||
|
Version bump, new 7-stable branch, fix #433595
|
||||||
|
|
||||||
|
29 Oct 2012; Tiziano Müller <dev-zero@gentoo.org> metadata.xml:
|
||||||
|
Removed myself as co-maintainer.
|
||||||
|
|
||||||
|
24 Aug 2012; Ultrabug <ultrabug@gentoo.org> files/5-stable/rsyslog.initd,
|
||||||
|
files/6-stable/rsyslog.initd, -rsyslog-6.2.1.ebuild:
|
||||||
|
Fix init scripts #432548 thx to zunkree. Drop old.
|
||||||
|
|
||||||
|
19 Aug 2012; Raúl Porcel <armin76@gentoo.org> rsyslog-5.8.5.ebuild,
|
||||||
|
rsyslog-5.8.11.ebuild, rsyslog-5.8.12.ebuild:
|
||||||
|
Drop sparc keywords
|
||||||
|
|
||||||
|
23 Jul 2012; Markus Meier <maekke@gentoo.org> rsyslog-6.2.2.ebuild:
|
||||||
|
add ~arm, bug #425526
|
||||||
|
|
||||||
|
12 Jul 2012; Jeroen Roovers <jer@gentoo.org> rsyslog-6.2.2.ebuild:
|
||||||
|
Marked ~hppa (bug #425526).
|
||||||
|
|
||||||
|
09 Jul 2012; Jeroen Roovers <jer@gentoo.org> rsyslog-5.8.11.ebuild:
|
||||||
|
Stable for HPPA (bug #424767).
|
||||||
|
|
||||||
|
05 Jul 2012; Agostino Sarubbo <ago@gentoo.org> rsyslog-5.8.11.ebuild:
|
||||||
|
Stable for amd64, wrt bug #424767
|
||||||
|
|
||||||
|
04 Jul 2012; Jeff Horelick <jdhore@gentoo.org> rsyslog-5.8.11.ebuild:
|
||||||
|
marked x86 per bug 424767
|
||||||
|
|
||||||
|
*rsyslog-5.8.12 (04 Jul 2012)
|
||||||
|
|
||||||
|
04 Jul 2012; Ultrabug <ultrabug@gentoo.org> +rsyslog-5.8.12.ebuild:
|
||||||
|
v5 branch version bump
|
||||||
|
|
||||||
|
*rsyslog-6.2.2 (15 Jun 2012)
|
||||||
|
|
||||||
|
15 Jun 2012; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.8.8.ebuild,
|
||||||
|
+rsyslog-6.2.2.ebuild:
|
||||||
|
Version bump fix #420999. Drop old.
|
||||||
|
|
||||||
|
02 Jun 2012; Justin Lecher <jlec@gentoo.org> rsyslog-5.8.5.ebuild,
|
||||||
|
rsyslog-5.8.8.ebuild, rsyslog-5.8.11.ebuild, rsyslog-6.2.1.ebuild:
|
||||||
|
Don't run eautoreconf twice
|
||||||
|
|
||||||
|
*rsyslog-6.2.1 (01 Jun 2012)
|
||||||
|
|
||||||
|
01 Jun 2012; Ultrabug <ultrabug@gentoo.org> +files/6-stable/rsyslog.confd,
|
||||||
|
+files/6-stable/rsyslog.initd, +files/6-stable/rsyslog.logrotate,
|
||||||
|
+files/6-stable/rsyslog-gentoo.conf, +files/6-stable/rsyslog6-zeromq.patch,
|
||||||
|
+rsyslog-6.2.1.ebuild:
|
||||||
|
New stable v6 branch bump, fix #398269.
|
||||||
|
|
||||||
|
31 May 2012; Ultrabug <ultrabug@gentoo.org> rsyslog-5.8.11.ebuild,
|
||||||
|
rsyslog-5.8.5.ebuild, rsyslog-5.8.8.ebuild:
|
||||||
|
Fix autotools-utils usage wrt #407811 thanks to vapier and mgorny.
|
||||||
|
|
||||||
|
30 May 2012; Zac Medico <zmedico@gentoo.org> rsyslog-5.8.11.ebuild,
|
||||||
|
rsyslog-5.8.5.ebuild, rsyslog-5.8.8.ebuild:
|
||||||
|
Inherit eutils for epatch.
|
||||||
|
|
||||||
|
*rsyslog-5.8.11 (22 May 2012)
|
||||||
|
|
||||||
|
22 May 2012; Ultrabug <ultrabug@gentoo.org> rsyslog-5.8.5.ebuild,
|
||||||
|
-rsyslog-5.8.6.ebuild, -rsyslog-5.8.7.ebuild, rsyslog-5.8.8.ebuild,
|
||||||
|
+rsyslog-5.8.11.ebuild:
|
||||||
|
Version bump, fix #408745 thx to Opportunist. Fix ssl/gnutls dependencies wrt
|
||||||
|
#410241 thx to Conrad. Drop old versions.
|
||||||
|
|
||||||
|
10 May 2012; Jeff Horelick <jdhore@gentoo.org> rsyslog-5.8.8.ebuild:
|
||||||
|
dev-util/pkgconfig -> virtual/pkgconfig
|
||||||
|
|
||||||
|
*rsyslog-5.8.8 (07 May 2012)
|
||||||
|
|
||||||
|
07 May 2012; Justin Lecher <jlec@gentoo.org> +rsyslog-5.8.8.ebuild:
|
||||||
|
Non-maintainer Version Bump, Correct indention of _EOF
|
||||||
|
|
||||||
|
03 May 2012; Jeff Horelick <jdhore@gentoo.org> rsyslog-5.8.5.ebuild,
|
||||||
|
rsyslog-5.8.6.ebuild, rsyslog-5.8.7.ebuild:
|
||||||
|
dev-util/pkgconfig -> virtual/pkgconfig
|
||||||
|
|
||||||
|
*rsyslog-5.8.7 (14 Feb 2012)
|
||||||
|
|
||||||
|
14 Feb 2012; Ultrabug <ultrabug@gentoo.org> +rsyslog-5.8.7.ebuild:
|
||||||
|
Version bump
|
||||||
|
|
||||||
|
24 Jan 2012; Justin Lecher <jlec@gentoo.org> rsyslog-5.8.6.ebuild:
|
||||||
|
exchange last gnutls to ssl
|
||||||
|
|
||||||
|
16 Jan 2012; Tomáš Chvátal <scarabeus@gentoo.org>
|
||||||
|
files/5-stable/rsyslog.initd, rsyslog-5.8.6.ebuild:
|
||||||
|
Fix initscript to not use deprecated opts. Use ssl useflag not gnutls for ssl
|
||||||
|
support as ssl should enable the ssl support and gnutls/openssl respective
|
||||||
|
features if multiple backends are available.
|
||||||
|
|
||||||
|
*rsyslog-5.8.6 (28 Dec 2011)
|
||||||
|
|
||||||
|
28 Dec 2011; Ultrabug <ultrabug@gentoo.org> +rsyslog-5.8.6.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
13 Sep 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.6.5.ebuild,
|
||||||
|
-rsyslog-5.8.3.ebuild:
|
||||||
|
Drop old vulnerable versions wrt #381637
|
||||||
|
|
||||||
|
11 Sep 2011; Markus Meier <maekke@gentoo.org> rsyslog-5.8.5.ebuild:
|
||||||
|
x86 stable, bug #381637
|
||||||
|
|
||||||
|
09 Sep 2011; Tim Harder <radhermit@gentoo.org> rsyslog-5.6.5.ebuild,
|
||||||
|
rsyslog-5.8.3.ebuild, rsyslog-5.8.5.ebuild:
|
||||||
|
Add build dependency on pkgconfig (bug #349924 by matsuu).
|
||||||
|
|
||||||
|
09 Sep 2011; Jeroen Roovers <jer@gentoo.org> rsyslog-5.8.5.ebuild:
|
||||||
|
Stable for HPPA (bug #381637).
|
||||||
|
|
||||||
|
05 Sep 2011; Tony Vroon <chainsaw@gentoo.org> rsyslog-5.8.5.ebuild:
|
||||||
|
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
|
||||||
|
#381637.
|
||||||
|
|
||||||
|
05 Sep 2011; Ultrabug <ultrabug@gentoo.org> rsyslog-5.8.5.ebuild:
|
||||||
|
Multiple ebuild fixes : #381909, #381907, #381905, #381901, #381903. Thanks
|
||||||
|
to Agostino Sarubbo.
|
||||||
|
|
||||||
|
05 Sep 2011; Ultrabug <ultrabug@gentoo.org> rsyslog-5.8.5.ebuild:
|
||||||
|
Multiple ebuild fixes : #381909, #381907, #381905, #381901, #381903. Thanks
|
||||||
|
to Agostino Sarubbo.
|
||||||
|
|
||||||
|
*rsyslog-5.8.5 (05 Sep 2011)
|
||||||
|
|
||||||
|
05 Sep 2011; Ultrabug <ultrabug@gentoo.org> files/5-stable/rsyslog.initd,
|
||||||
|
-rsyslog-5.8.1.ebuild, +rsyslog-5.8.5.ebuild, metadata.xml:
|
||||||
|
Init script handles baselayout 1 & 2, fix #373913 thanks to Martin Dummer for
|
||||||
|
reporting. Version bump wrt #381637 and drop old vulnerable version. Add
|
||||||
|
optional zeromq support to rsyslog.
|
||||||
|
|
||||||
|
*rsyslog-5.8.3 (03 Aug 2011)
|
||||||
|
|
||||||
|
03 Aug 2011; Ultrabug <ultrabug@gentoo.org> +rsyslog-5.8.3.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
*rsyslog-5.8.1 (23 May 2011)
|
||||||
|
|
||||||
|
23 May 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.8.0-r1.ebuild,
|
||||||
|
+rsyslog-5.8.1.ebuild:
|
||||||
|
Version bump, drop previous bugged 5.8.x version. Thanks to Opportunist for
|
||||||
|
spotting, fix #368193.
|
||||||
|
|
||||||
|
*rsyslog-5.8.0-r1 (16 May 2011)
|
||||||
|
|
||||||
|
16 May 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.8.0.ebuild,
|
||||||
|
+rsyslog-5.8.0-r1.ebuild:
|
||||||
|
EAPI4 and use of systemd eclass, fix #366179.
|
||||||
|
|
||||||
|
16 May 2011; Ultrabug <ultrabug@gentoo.org> -files/3-stable/rsyslog.conf,
|
||||||
|
-files/3-stable/rsyslog.init, -files/3-stable/rsyslog.logrotate,
|
||||||
|
-rsyslog-3.22.0.ebuild, -files/3-stable/rsyslog-gentoo.conf,
|
||||||
|
-rsyslog-3.22.1.ebuild, -rsyslog-5.6.4.ebuild:
|
||||||
|
Remove obsolete v3 branch. Drop old wrt #361219.
|
||||||
|
|
||||||
|
13 May 2011; Markos Chandras <hwoarang@gentoo.org> rsyslog-5.6.5.ebuild:
|
||||||
|
Stable on amd64 wrt bug #361219
|
||||||
|
|
||||||
|
13 May 2011; Jeroen Roovers <jer@gentoo.org> rsyslog-5.6.5.ebuild:
|
||||||
|
Stable for HPPA (bug #361219).
|
||||||
|
|
||||||
|
13 May 2011; Thomas Kahle <tomka@gentoo.org> rsyslog-5.6.5.ebuild:
|
||||||
|
x86 stable per bug 361219
|
||||||
|
|
||||||
|
26 Apr 2011; Jeroen Roovers <jer@gentoo.org> rsyslog-5.6.4.ebuild:
|
||||||
|
Stable for HPPA (bug #359765).
|
||||||
|
|
||||||
|
*rsyslog-5.8.0 (26 Apr 2011)
|
||||||
|
|
||||||
|
26 Apr 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-3.20.4.ebuild,
|
||||||
|
+rsyslog-5.8.0.ebuild:
|
||||||
|
version bump wrt #364145. Drop old stable. Thanks to Opportunist for
|
||||||
|
reporting.
|
||||||
|
|
||||||
|
19 Apr 2011; Thomas Kahle <tomka@gentoo.org> rsyslog-5.6.4.ebuild:
|
||||||
|
x86 stable per bug 359765
|
||||||
|
|
||||||
|
16 Apr 2011; Christoph Mende <angelos@gentoo.org> rsyslog-5.6.4.ebuild:
|
||||||
|
Stable on amd64 wrt bug #359765
|
||||||
|
|
||||||
|
07 Apr 2011; Ultrabug <ultrabug@gentoo.org> rsyslog-3.20.4.ebuild,
|
||||||
|
rsyslog-3.22.0.ebuild, rsyslog-3.22.1.ebuild, rsyslog-5.6.4.ebuild,
|
||||||
|
rsyslog-5.6.5.ebuild:
|
||||||
|
migrate ebuilds to new-style virtual, wrt #358881
|
||||||
|
|
||||||
|
30 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml:
|
||||||
|
Drop logrotate useflag description too.
|
||||||
|
|
||||||
|
30 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> rsyslog-5.6.4.ebuild,
|
||||||
|
rsyslog-5.6.5.ebuild:
|
||||||
|
Drop logrotate useflag. Fixes bug #344175.
|
||||||
|
|
||||||
|
25 Mar 2011; Ultrabug <ultrabug@gentoo.org> rsyslog-5.6.5.ebuild:
|
||||||
|
add back virtual/logger provider waiting for migration (#358881)
|
||||||
|
|
||||||
|
*rsyslog-5.6.5 (24 Mar 2011)
|
||||||
|
|
||||||
|
24 Mar 2011; Ultrabug <ultrabug@gentoo.org> +rsyslog-5.6.5.ebuild:
|
||||||
|
version bump
|
||||||
|
|
||||||
|
*rsyslog-5.6.4 (04 Mar 2011)
|
||||||
|
|
||||||
|
04 Mar 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.6.3.ebuild,
|
||||||
|
+rsyslog-5.6.4.ebuild:
|
||||||
|
version bump. drop old.
|
||||||
|
|
||||||
|
*rsyslog-5.6.3 (07 Feb 2011)
|
||||||
|
|
||||||
|
07 Feb 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.6.2.ebuild,
|
||||||
|
+rsyslog-5.6.3.ebuild:
|
||||||
|
Version bump, drop old
|
||||||
|
|
||||||
|
*rsyslog-5.6.2 (10 Jan 2011)
|
||||||
|
|
||||||
|
10 Jan 2011; Ultrabug <ultrabug@gentoo.org> -rsyslog-5.4.0.ebuild,
|
||||||
|
+rsyslog-5.6.2.ebuild, metadata.xml:
|
||||||
|
Version bump. Fixes bug #343085. Maintainer bump. Thanks to Opportunist and
|
||||||
|
Nebojsa Trpkovic for their help.
|
||||||
|
|
||||||
|
29 Oct 2010; Markus Meier <maekke@gentoo.org> rsyslog-5.4.0.ebuild:
|
||||||
|
readd ~arm, bug #341965
|
||||||
|
|
||||||
|
*rsyslog-5.4.0 (21 Oct 2010)
|
||||||
|
|
||||||
|
21 Oct 2010; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
-files/3-devel/rsyslog.conf, -files/3-devel/rsyslog.init,
|
||||||
|
-files/3-devel/rsyslog.logrotate, -files/3-devel/rsyslog-gentoo.conf,
|
||||||
|
+files/5-stable/rsyslog.confd, +files/5-stable/rsyslog.initd,
|
||||||
|
+files/5-stable/rsyslog.logrotate, +files/5-stable/rsyslog-gentoo.conf,
|
||||||
|
+rsyslog-5.4.0.ebuild, metadata.xml:
|
||||||
|
Version bump (bug #292919), also solves bug #283416 and #339985. Thanks to
|
||||||
|
Ultrabug for the version bump and extensions/fixes and Mike Nerone for
|
||||||
|
testing.
|
||||||
|
|
||||||
|
17 Jun 2010; Patrick Lauer <patrick@gentoo.org> rsyslog-3.20.4.ebuild,
|
||||||
|
rsyslog-3.22.0.ebuild, rsyslog-3.22.1.ebuild:
|
||||||
|
Migrating away from deprecated postgres virtuals
|
||||||
|
|
||||||
|
15 Jan 2010; Tiziano Müller <dev-zero@gentoo.org> rsyslog-3.22.1.ebuild:
|
||||||
|
Keyworded ~sparc.
|
||||||
|
|
||||||
|
17 Oct 2009; Markus Meier <maekke@gentoo.org> metadata.xml:
|
||||||
|
remove dbi description as it is global now
|
||||||
|
|
||||||
|
10 Oct 2009; Raúl Porcel <armin76@gentoo.org> rsyslog-3.22.1.ebuild:
|
||||||
|
Add ~arm
|
||||||
|
|
||||||
|
*rsyslog-3.22.1 (14 Aug 2009)
|
||||||
|
|
||||||
|
14 Aug 2009; Tiziano Müller <dev-zero@gentoo.org> +rsyslog-3.22.1.ebuild:
|
||||||
|
Version bump (bug #281363).
|
||||||
|
|
||||||
|
26 Jul 2009; Thilo Bangert <bangert@gentoo.org> metadata.xml:
|
||||||
|
add <herd> tag
|
||||||
|
|
||||||
|
21 Jul 2009; <chainsaw@gentoo.org> rsyslog-3.22.0.ebuild:
|
||||||
|
Marked stable on AMD64 as requested by Arfrever Frehtes Taifersar Arahesis
|
||||||
|
<arfrever@gentoo.org> in bug #275700.
|
||||||
|
|
||||||
|
30 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
|
||||||
|
rsyslog-3.22.0.ebuild:
|
||||||
|
stable x86, bug 275700
|
||||||
|
|
||||||
|
29 Jun 2009; Jeroen Roovers <jer@gentoo.org> rsyslog-3.22.0.ebuild:
|
||||||
|
Stable for HPPA (bug #275700).
|
||||||
|
|
||||||
|
*rsyslog-3.22.0 (26 May 2009)
|
||||||
|
|
||||||
|
26 May 2009; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.20.2.ebuild,
|
||||||
|
-rsyslog-3.21.10.ebuild, +rsyslog-3.22.0.ebuild:
|
||||||
|
Version bump for stable branch. Dropped old stable-branch and obsolete
|
||||||
|
devel-branch ebuild.
|
||||||
|
|
||||||
|
15 Mar 2009; Markus Meier <maekke@gentoo.org> rsyslog-3.20.4.ebuild:
|
||||||
|
amd64/x86 stable, bug #254287
|
||||||
|
|
||||||
|
*rsyslog-3.21.10 (13 Feb 2009)
|
||||||
|
*rsyslog-3.20.4 (13 Feb 2009)
|
||||||
|
|
||||||
|
13 Feb 2009; Tiziano Müller <dev-zero@gentoo.org> +rsyslog-3.20.4.ebuild,
|
||||||
|
-rsyslog-3.21.9.ebuild, +rsyslog-3.21.10.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
*rsyslog-3.21.9 (08 Dec 2008)
|
||||||
|
*rsyslog-3.20.2 (08 Dec 2008)
|
||||||
|
|
||||||
|
08 Dec 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.18.4.ebuild,
|
||||||
|
+rsyslog-3.20.2.ebuild, -rsyslog-3.21.6.ebuild, +rsyslog-3.21.9.ebuild:
|
||||||
|
Version bump for stable and beta branches, fixes security bug #249878
|
||||||
|
(thanks to Bruno Boss & Crag).
|
||||||
|
|
||||||
|
10 Nov 2008; Tiziano Müller <dev-zero@gentoo.org> rsyslog-3.21.6.ebuild:
|
||||||
|
Disable building imdiag with USE=debug (bug #240550) since upstream
|
||||||
|
doesn't support it.
|
||||||
|
|
||||||
|
*rsyslog-3.21.6 (10 Nov 2008)
|
||||||
|
|
||||||
|
10 Nov 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.21.5.ebuild,
|
||||||
|
+rsyslog-3.21.6.ebuild:
|
||||||
|
Version bump (probably fixes bug #240550).
|
||||||
|
|
||||||
|
*rsyslog-3.21.5 (06 Oct 2008)
|
||||||
|
|
||||||
|
06 Oct 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.21.4.ebuild,
|
||||||
|
+rsyslog-3.21.5.ebuild:
|
||||||
|
Version bump for devel branch
|
||||||
|
|
||||||
|
*rsyslog-3.21.4 (29 Sep 2008)
|
||||||
|
*rsyslog-3.18.4 (29 Sep 2008)
|
||||||
|
|
||||||
|
29 Sep 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.18.3.ebuild,
|
||||||
|
+rsyslog-3.18.4.ebuild, -rsyslog-3.21.3.ebuild, +rsyslog-3.21.4.ebuild:
|
||||||
|
Version bump for stable and devel branch (changelog says we don't want
|
||||||
|
3.18.3 stable, so dropping it)
|
||||||
|
|
||||||
|
*rsyslog-3.21.3 (22 Aug 2008)
|
||||||
|
*rsyslog-3.18.3 (22 Aug 2008)
|
||||||
|
|
||||||
|
22 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.18.1.ebuild,
|
||||||
|
-rsyslog-3.18.2.ebuild, +rsyslog-3.18.3.ebuild, -rsyslog-3.21.2.ebuild,
|
||||||
|
+rsyslog-3.21.3.ebuild:
|
||||||
|
Version bump. Dropped buggy versions.
|
||||||
|
|
||||||
|
14 Aug 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
files/3-devel/rsyslog.init, files/3-stable/rsyslog.init:
|
||||||
|
Added provide logger to init.d-scripts (thanks to Jon Gerdes, bug
|
||||||
|
#234640).
|
||||||
|
|
||||||
|
12 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> rsyslog-3.21.2.ebuild:
|
||||||
|
Removed inherit autotools since unneeded
|
||||||
|
|
||||||
|
*rsyslog-3.21.2 (12 Aug 2008)
|
||||||
|
*rsyslog-3.18.2 (12 Aug 2008)
|
||||||
|
|
||||||
|
12 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.16.1.ebuild,
|
||||||
|
+rsyslog-3.18.2.ebuild, -rsyslog-3.21.1.ebuild, +rsyslog-3.21.2.ebuild:
|
||||||
|
Version bump for stable and unstable branch. Dropped old versions.
|
||||||
|
|
||||||
|
*rsyslog-3.21.1 (31 Jul 2008)
|
||||||
|
*rsyslog-3.18.1 (31 Jul 2008)
|
||||||
|
|
||||||
|
31 Jul 2008; Tiziano Müller <dev-zero@gentoo.org> +rsyslog-3.18.1.ebuild,
|
||||||
|
-rsyslog-3.19.7.ebuild, +rsyslog-3.21.1.ebuild:
|
||||||
|
Version bump for stable and unstable branch. Dropped old unstable.
|
||||||
|
|
||||||
|
25 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
|
||||||
|
add GLEP 56 USE flag desc from use.local.desc
|
||||||
|
|
||||||
|
16 Jun 2008; Jeroen Roovers <jer@gentoo.org> rsyslog-3.19.7.ebuild:
|
||||||
|
Marked ~hppa too.
|
||||||
|
|
||||||
|
*rsyslog-3.19.7 (12 Jun 2008)
|
||||||
|
|
||||||
|
12 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> -rsyslog-3.19.5.ebuild,
|
||||||
|
+rsyslog-3.19.7.ebuild:
|
||||||
|
Version bump for devel-branch
|
||||||
|
|
||||||
|
*rsyslog-3.19.5 (03 Jun 2008)
|
||||||
|
|
||||||
|
03 Jun 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
-files/3.19.2-as_needed.patch, rsyslog-3.16.1.ebuild,
|
||||||
|
-rsyslog-3.19.2.ebuild, +rsyslog-3.19.5.ebuild:
|
||||||
|
Version bump for devel-branch (upstream included --as-needed patch and
|
||||||
|
fixed tight-loop bug). Added PROVIDES to satisfy virtual/logger.
|
||||||
|
|
||||||
|
*rsyslog-3.19.2 (19 May 2008)
|
||||||
|
*rsyslog-3.16.1 (19 May 2008)
|
||||||
|
|
||||||
|
19 May 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
-files/3.14.1-implicit_declaration.patch, +files/3.19.2-as_needed.patch,
|
||||||
|
-rsyslog-3.14.1.ebuild, -rsyslog-3.16.0.ebuild, +rsyslog-3.16.1.ebuild,
|
||||||
|
-rsyslog-3.17.1.ebuild, +rsyslog-3.19.2.ebuild:
|
||||||
|
Version bump, cleaned up the old versions due to a couple of serious bugs.
|
||||||
|
Added GnuTLS USE flag for the devel-branch. Changed dependency for
|
||||||
|
postgresql to virtual/postgresql-base.
|
||||||
|
|
||||||
|
14 May 2008; Markus Meier <maekke@gentoo.org> rsyslog-3.16.0.ebuild,
|
||||||
|
rsyslog-3.17.1.ebuild:
|
||||||
|
add ~x86, bug #222081
|
||||||
|
|
||||||
|
*rsyslog-3.17.1 (25 Apr 2008)
|
||||||
|
*rsyslog-3.16.0 (25 Apr 2008)
|
||||||
|
|
||||||
|
25 Apr 2008; Tiziano Müller <dev-zero@gentoo.org> +rsyslog-3.16.0.ebuild,
|
||||||
|
-rsyslog-3.17.0.ebuild, +rsyslog-3.17.1.ebuild:
|
||||||
|
Version bump (both stable and testing branches).
|
||||||
|
|
||||||
|
*rsyslog-3.17.0 (09 Apr 2008)
|
||||||
|
*rsyslog-3.14.1 (09 Apr 2008)
|
||||||
|
|
||||||
|
09 Apr 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
-files/3.15/rsyslog.conf, -files/3.15/rsyslog.init,
|
||||||
|
-files/3.15/rsyslog.logrotate, -files/3.15/rsyslog-gentoo.conf,
|
||||||
|
+files/3-devel/rsyslog.conf, +files/3-devel/rsyslog.init,
|
||||||
|
+files/3-stable/rsyslog.conf, +files/3.14.1-implicit_declaration.patch,
|
||||||
|
+files/3-devel/rsyslog.logrotate, +files/3-devel/rsyslog-gentoo.conf,
|
||||||
|
+files/3-stable/rsyslog.init, +files/3-stable/rsyslog.logrotate,
|
||||||
|
+files/3-stable/rsyslog-gentoo.conf, +rsyslog-3.14.1.ebuild,
|
||||||
|
-rsyslog-3.15.0.ebuild, +rsyslog-3.17.0.ebuild:
|
||||||
|
Version bump. Added ebuild for stable branch (3.14.x). Reorganized
|
||||||
|
init.d/conf.d/logrotate files to have one set for the stable and one for
|
||||||
|
the devel branch. Is supposed to fix bug #216968.
|
||||||
|
|
||||||
|
*rsyslog-3.15.0 (07 Apr 2008)
|
||||||
|
|
||||||
|
07 Apr 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
+files/3.15/rsyslog.conf, +files/3.15/rsyslog.init,
|
||||||
|
+files/3.15/rsyslog.logrotate, +files/3.15/rsyslog-gentoo.conf,
|
||||||
|
+metadata.xml, +rsyslog-3.15.0.ebuild:
|
||||||
|
Initial commit (ebuild written by me.)
|
@ -1,3 +1,20 @@
|
|||||||
DIST rsyslog-3.22.1.tar.gz 1358598 SHA256 5d3bb28dc87b3abb7053ccae8316f032ddd0486681683b116a25f66fc0942abb SHA512 a80582230aa5888bfc25ca2e0717c3ac699b78e2746b178f1dc3b9e72eae777ff603973d76eb78d8277b6f4c3fc5fc270117a3842335ec6f0b4b352ee29a3c5e WHIRLPOOL c23bad47a22c66171359bece4c0843f6ba162977593ff9c280e3edf1bff0e92d7f97b055f689b3b7dfbbb205baa7900c9d04490ad7164b641cb2742658f57d4b
|
AUX 8-stable/50-default.conf 1701 SHA256 61c1dd1450f574a21a8d8375faaf3e42f9856df91011150ff13c0cfddc86ed41 SHA512 33e4e63239b9112fec1a37115ac80ab8dbd6e7189d9d29b1bc743c433e0124ea0d1a4cf6f7ada9e5b92e9b0025b6617a1a16f4c491e743bbf4327a5f376a1ea9 WHIRLPOOL d33b83bb690e78b5e5f7cfc090d21da03615c891a287b1f3a92a51514dcad1f5dfe8d2ceed867b3007768d47f48d207fac43a1ff33a85b24c21a5531cdf9d311
|
||||||
DIST rsyslog-5.8.11.tar.gz 2393222 SHA256 f75b39cf22506f7a28d986d0a446a09a0806f253dba661f125a241a1b47d6285 SHA512 545db333efd136c2ae26131ad400e69f41aaa4fa458a5d586c73e9063f0acb044dbcfe3a13e48b3db77a72f471e87b3b8f9ab2bff008b1166b836dbdddb7974a WHIRLPOOL 2ab8ae35179dcade3953c612cb8bdbd48e7bce6c0cca54278d2949ff3c7c29311341855778511acc38328db4ebeca5599e632c94def038f7134cdd2df78e53e8
|
AUX 8-stable/50-rsyslog-8.12.0-fix-re_extract.patch 4655 SHA256 4fb31dda010142ee8846d3e7f1be199675d9b3e0cb05b8839911e9ee61182c06 SHA512 529cfda94676d7c9697c4ff9838aee5eaee645852d0a352ae733d94c87d647b63c5a6dc9d8ba733b2d6807df10cca5d7954c8b163e83ab9ef14dc59754344c31 WHIRLPOOL e8272c74b08c8961821cd30371d0f2385040b68c272f2d3d2fd3086596775fae34ccfc9ac90e8a32c4e2003e4532188245ce685053af10607ce8a6a0f9d0bf38
|
||||||
DIST rsyslog-zeromq.tar.gz 22223 SHA256 3cca6ce8722ec5035744a9b88e65b89b35f6b2e6bbdbc9c9bba89d22addd2753 SHA512 d0fd6705d1fbbfd8c2932df281ef30ebfcc83085a62026ffd192bdfefaca5abef415183f958eee4f7421804ca59d8c20d8cf7fbc5b4105f86c297c6fbbcdd760 WHIRLPOOL 17d189dfe12ef5525f103d6ee202cfafe019bca11856da9d206004a9377b682b09d76816e2e2d1ca5aff2394b8cc8baec13f4961d32c74a377a9b6041ff398b1
|
AUX 8-stable/50-rsyslog-8.13.0-lookup-table-reload-bugfix.patch 5093 SHA256 9cb964f60c33ed9b8743b4b78ad2087b8570119b95c7b71f40834638924e685f SHA512 3afbea5af677a0f8ebb4c0a6361fefbc437d938ebe84666cb40d5a5f6572393bdb530be4bcd249d59f9bf7d111e96cc9ceaf0d529f2fbd3134156b96991bdc12 WHIRLPOOL 7fbf0ed2f4400bdc744fb202d34cfd57abcc1d8c7638e8c8a36b8d91179b2401987e5b2fc1c47dce3b57794aeba9770c6717613fd37c37718fb01a25acf00fec
|
||||||
|
AUX 8-stable/50-rsyslog-8.15.0-imfile-readmode2-vg-test-workaround.patch 989 SHA256 99220c0acf3ecbf4d130d10188059e9721297bc1ac6c020f55688db6bd83a036 SHA512 b28d90e7a0fdcac4596d6b0312e11ed3c82a061f56bc250b766c82bc84adbd4bcdc2febd1e90c2737a9eb1fa70bf951eb5957349b5dd8ac736432a5eb370aae5 WHIRLPOOL 2de5d540d40b4975d3aa8b6d571cfedcd7c1f67a0d8103939f587b1dd46b7ef283b87c6baea5343dea14254b8e45bf3c280a1d9a155652a762dd71a1c851e037
|
||||||
|
AUX 8-stable/50-rsyslog-8.15.0-imtcp-tls-basic-vg-test-workaround.patch 704 SHA256 4bc253e3c03a689171f5d22e9e700f3ae4c413a07e455ecd8fd36c141124410a SHA512 a87b5f451cb1134fde6749f612f948f6ee9fde5acbbd26a259d229f765987ac397285f0f56ba25ea348158421217018e77258b31cd20f64abc8377d3635be5bb WHIRLPOOL df8267969ee2fb461dd7dcac2b76c6b4ee540c21e6f55bba61cf85e2747870b633c87a49264e65de6627ed3f25874c684287d3163654acb3944972939e449ba9
|
||||||
|
AUX 8-stable/50-rsyslog-8.16.0-fix-queue-engine-issue-262.patch 2072 SHA256 5746a9814b0031476a561cae3e69984aa71535fb3b9cd0f1398d464ca3c44618 SHA512 6012e09bca606e4aa9684083e246d8752b14141b9c1dbe4caab1fb4933e03b681820ef5eec1438ab26a7414ff7914113b7276296a915d4639bcbe3a0a3bc5774 WHIRLPOOL f2150928e51054d3f84a6f4e211287652d6e3cc9b10d2af0eae684a7eeade927a3eba3445523d38c31cec8ad381c3826c275718c8cadcc4809fb0c39480ba15e
|
||||||
|
AUX 8-stable/README.gentoo 1126 SHA256 29b4c68f521f2f1f138f44c4635da1a270fed9cbd4a780569754080987aa777c SHA512 46fdf3350e2005d3ef588d50dfc6d474a1b5d3010329b656879a43cbbd7be0cd91944b88d3838f45f69c830fc28c42e7fac2cd52e0a4b24bb6780562d59ae384 WHIRLPOOL a1a3ec8b887110a01e8c1c1320f25493dd8ff343e4b08780c30c9bc3bb842afa0ef79db08195db876697c1a69807f49a8b3793609d25f78559fa534507fc195e
|
||||||
|
AUX 8-stable/rsyslog.conf 1562 SHA256 fc70a94213b5eb519febf9aa7d758ee9526433bcc5683bcb7451d16e65a2f5b0 SHA512 1720174fab020e2de590f3d6bbb03784aca1928fe05f7e75e02fb4597cb8b2ee755e6deb8e8f989060511044ae483f791f496f24e0eecaf27eb9e0b5e20a2c7a WHIRLPOOL 97cf3fdee62a9339b412ebe93b71b2d6804df60aad9cb7e71779fcaddb01d489e38bbb353557864ea38aba384e664e6da636812c3c078ed9e22e261ed7b78cba
|
||||||
|
AUX 8-stable/rsyslog.confd-r1 1145 SHA256 0be3575df8010523de6b37e98c417192e8ec481292ca9fb47c8d2211795e03a6 SHA512 a7f8621bdd490596b09f9a7583dd0c992006c55335b2e6e687bef4141bb18cd4bb43e23f590a138e9c8d5a3cbac0cc46c3b01c7d3ff9f9dd3c53418b13b0dd4a WHIRLPOOL 05079ab1a55aca9b68c81c8b7da66ff029f72c7168bd15faebf7d7172dddc69f6ffb2864e1fcd8c1f2dbb51416bea89fab3667a34ed7295b3abafc6a93883d3e
|
||||||
|
AUX 8-stable/rsyslog.initd-r1 1764 SHA256 9aa3b65bfc3f8cf2320a5bea7cc53a2ad744d8b5f42d8e3d0d2b30131a27af15 SHA512 3bf0fb41789529927ff7fff1863a5e745a6a00de4740dc7acbfc3689ebd7201623a189398c4b6d004b303267631341def6484d494f3fff22f5d1e4559db4dc76 WHIRLPOOL 01bbfa867ab0c866872520b8fd800858a9ce11d63d94e70eac5858c24e9be1d4e3924ccf19c6173f760627ab0a359cccd5ed6ceeceb12e0380864efcbf0685b8
|
||||||
|
AUX 8-stable/rsyslog.logrotate 682 SHA256 89cc8f13c1f7a3ae446b40da7b31cdf471e2c9e2d3d5b8f48e524f7a82fbff89 SHA512 6c58abd2f02157177a61695f53eccbf201c514821b0c551a4812621e8d3dd2da9b5cd651d93860cb51ebdbdc7056d0ef0dde99c2a57ac3c43aa968a141805912 WHIRLPOOL 9d29c2c9351252887c3dad78962df942bb1cd7387eb44e3c98764319f82d90c42d255a5642c55bb37811fb903e1c5314ca536bc9d32ccfd0535f0579f4e25ff0
|
||||||
|
DIST rsyslog-8.13.0.tar.gz 2077267 SHA256 b182bd0a7686bef093be570bfb850417191292522fb58e0ad32f2c824f754a33 SHA512 a3245e5b10ae96e6df981291f55a43fa9a8258db213e33a36d7b5a620ea7daaac04a1f93a56304105c4fd10e546f92789831f5b2188b418b4b3b248a4e7795c9 WHIRLPOOL 8473e2c272182d84c629175aafd185cfa6fcafad8a028fd212de118f2e9abf458e062c6065dc5ebb1df27e81546a37387944ad1b3f0d16a38ee25a409b51b1c7
|
||||||
|
DIST rsyslog-8.16.0.tar.gz 2132012 SHA256 4fe4f97c10899086d98b9401d7e8d2bcff61c7c3f7cde8627891e36fc6ec1b76 SHA512 e45acc16078d83937edd7e22f916fe050b62aa057ca4dd980823850f2195213c12db36f759c528b5fe6f1b061a61e2117fca6086245bc248392cc4e61b2383dc WHIRLPOOL 809035873565645cea5896fb19882239a0d70776ea0b948739440f7a28baf6df4bf4e958de7506d289355eadc26e1fba7e9cd8df315339f18f89acaecc462eaa
|
||||||
|
DIST rsyslog-doc-8.13.0.tar.gz 4147364 SHA256 3da9a1446686d1cfa82c123a610f2c30f4dc1cbfa608f44ded2baf168e86b67b SHA512 6676533b1e4884f18e583be19c5a50b8f12017ecc2c6860d54dcc72d64e7eafe20a2af3a22817226df123a7a193c7090097502f287455488dd8806b7aac0a5cd WHIRLPOOL 1231580f2bf8af42a7dd34f0a88315ff56324eb64d1259a281a5266fdbe7a472f596d66a5b6d1f5cbf19fdb6f76a2083753e0de224a07653454178128de4fead
|
||||||
|
DIST rsyslog-doc-8.16.0.tar.gz 4174347 SHA256 03033d264b29fd791299d5d618bd061853c008ac8087f3b6c4870e1b8f6abc39 SHA512 746e4de102f15ea10085ca21eeed74dd8264742ba7029cb54caf87b72070ab6a73e79af46d97717323be1e68d9d1fa78807d5d4446d15524aa4c565650f7b0d0 WHIRLPOOL ff8dfcc3dd7e87a7316f94a3b8f199cd902cbf99772bb97147b9af37b8c6941f13341438450b3dbf3139d5518488e74df6b77c1eec3182e92a9476ccb951ec5b
|
||||||
|
EBUILD rsyslog-8.13.0.ebuild 11500 SHA256 85b5266c250144b8565fffd30e54b5b9ef2d978c5da2da05a804428adc5ffb09 SHA512 7a2398d3e6fdd6bb28b3be4b0b1181955c36caa9767f646976ec1ea9480f2d6cf9e363227fbf8b8ae33b51a0be636866648c5b7087a93e5502dafad84974f9fa WHIRLPOOL 3c16356ab15d0d31cf221d8954e13d8a5562ddeafebaf26bba3fc5aeefc7a6f55036492bda65cf54e949930219deb6418f2a299cd159c494f1d07a79aa0560cc
|
||||||
|
EBUILD rsyslog-8.16.0.ebuild 11629 SHA256 8200ced4edad2045d195d7436fc673aa2c2499653a947d9dc9b8a04293e712f5 SHA512 1033047aeb5e529b8a13ee82af051cf0a22d78d2193212bdf5ef79fa83efbe6aefb6813227191df06ed31a3e2be1d6aa82aeb4ae2abf26cf058ba3932d57a011 WHIRLPOOL b69aaad9debc2bbb1117318fdf2adcc532ec840743ac1d6e6e3c6ac453ccda871c3f28c8ca1a780b0008bafa247e18d500f509e39c546c9bcaa27040c1331a3c
|
||||||
|
MISC ChangeLog 5871 SHA256 c104814723e688ffb2c7ac64605e14088e1311f49f378ff466127483750a3ba1 SHA512 d75b42cd525b80d94fdf7b52cd140cba811ede1f6a7f646445bfe457b9173abc022317843d130f6e6c8b09da20568dea0e5f3bfc349f79daff10c9aa57dbe2c9 WHIRLPOOL ff3fc89391646ce35be92d92366558b2d55560d69d611b818fa57ae4ae1c17bfac0a5c8408aada7581266811e7244ab093be07befb490fd51c110370638ed81c
|
||||||
|
MISC ChangeLog-2015 26836 SHA256 00f62ec24e67a62edb77fa4d17812f6d736ac8ef3a20dce29bb2b78e575ece01 SHA512 bb52b5ffdfcbe0d1fc51a05dcacc042ff876b9669a875eafdd8e4c240c28a2902ef5200c4f8d31815ca45440f602fe85933d059b55b4f940e4b624c8340a6243 WHIRLPOOL 3f9e1c0cede4a17dbe03f1873fecbf0549a863800a80938723dd86214854f0e47c8d092c1ae381ee82644869ef72dd8915f1ceac5dc4676986128dca0e583bbc
|
||||||
|
MISC metadata.xml 2981 SHA256 e2b0c1f877dd92021beb9f2d950cc8d5449e2876808e9731d2d84da15b669d52 SHA512 eabad109334323b6edafb7f7b309e42b48a683a4e13a874efcae5db3403534572b723812a76c209f10b982c8a5987adf700e5d686e1299973c149d694e50f92f WHIRLPOOL 66417c0337f36789e4e1e546e49e8e090b4bf69fdaf60cb0b573165633f7abd65c198931305c214edd5b092e73bb8aa9a762e318badcc82381783afd6cc4c7f9
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
# rsyslog v3: load input modules
|
|
||||||
# If you do not load inputs, nothing happens!
|
|
||||||
# You may need to set the module load path if modules are not found.
|
|
||||||
|
|
||||||
$ModLoad immark.so # provides --MARK-- message capability
|
|
||||||
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
|
|
||||||
$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
|
|
||||||
|
|
||||||
# Log all kernel messages to the console.
|
|
||||||
# Logging much else clutters up the screen.
|
|
||||||
#kern.* /dev/console
|
|
||||||
|
|
||||||
# Log anything (except mail) of level info or higher.
|
|
||||||
# Don't log private authentication messages!
|
|
||||||
*.info;mail.none;authpriv.none;cron.none -/var/log/messages
|
|
||||||
|
|
||||||
# The authpriv file has restricted access.
|
|
||||||
authpriv.* /var/log/secure
|
|
||||||
|
|
||||||
# Log all the mail messages in one place.
|
|
||||||
mail.* -/var/log/maillog
|
|
||||||
|
|
||||||
|
|
||||||
# Log cron stuff
|
|
||||||
cron.* -/var/log/cron
|
|
||||||
|
|
||||||
# Everybody gets emergency messages
|
|
||||||
*.emerg *
|
|
||||||
|
|
||||||
# Save news errors of level crit and higher in a special file.
|
|
||||||
uucp,news.crit -/var/log/spooler
|
|
||||||
|
|
||||||
# Save boot messages also to boot.log
|
|
||||||
local7.* /var/log/boot.log
|
|
||||||
|
|
||||||
# Remote Logging (we use TCP for reliable delivery)
|
|
||||||
# An on-disk queue is created for this action. If the remote host is
|
|
||||||
# down, messages are spooled to disk and sent when it is up again.
|
|
||||||
#$WorkDirectory /rsyslog/spool # where to place spool files
|
|
||||||
#$ActionQueueFileName uniqName # unique name prefix for spool files
|
|
||||||
#$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
|
|
||||||
#$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
|
|
||||||
#$ActionQueueType LinkedList # run asynchronously
|
|
||||||
#$ActionResumeRetryCount -1 # infinety retries if host is down
|
|
||||||
# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
|
|
||||||
#*.* @@remote-host
|
|
||||||
|
|
||||||
|
|
||||||
# ######### Receiving Messages from Remote Hosts ##########
|
|
||||||
# TCP Syslog Server:
|
|
||||||
# provides TCP syslog reception and GSS-API (if compiled to support it)
|
|
||||||
#$ModLoad imtcp.so # load module
|
|
||||||
# Note: as of now, you need to use the -t command line option to
|
|
||||||
# enable TCP reception (e.g. -t514 to run a server at port 514/tcp)
|
|
||||||
# This will change in later v3 releases.
|
|
||||||
|
|
||||||
# UDP Syslog Server:
|
|
||||||
#$ModLoad imudp.so # provides UDP syslog reception
|
|
||||||
#$UDPServerRun 514 # start a UDP syslog server at standard port 514
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
# Config file for /etc/init.d/rsyslog for Gentoo Linux
|
|
||||||
|
|
||||||
CONFIGFILE="/etc/rsyslog.conf"
|
|
||||||
|
|
||||||
PIDFILE="/var/run/rsyslogd.pid"
|
|
||||||
|
|
||||||
# Options to rsyslogd
|
|
||||||
# See rsyslogd(8) for more details
|
|
||||||
# Notes:
|
|
||||||
# * Do not specify another PIDFILE but use the variable above to change the location
|
|
||||||
# * Do not specify another CONFIGFILE but use the variable above to change the location
|
|
||||||
# * "-c3" tells rsyslog to _not_ run in sysklogd compatibility mode
|
|
||||||
|
|
||||||
RSYSLOG_OPTS="-c3"
|
|
@ -1,38 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/3-stable/rsyslog.init,v 1.2 2008/08/14 06:47:38 dev-zero Exp $
|
|
||||||
|
|
||||||
opts="reload"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
provide logger
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting rsyslogd"
|
|
||||||
start-stop-daemon \
|
|
||||||
--start --quiet --exec /usr/sbin/rsyslogd \
|
|
||||||
-- ${RSYSLOG_OPTS} -i "${PIDFILE}" -f "${CONFIGFILE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping rsyslogd"
|
|
||||||
start-stop-daemon \
|
|
||||||
--stop --quiet \
|
|
||||||
--pidfile "${PIDFILE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
if [ ! -f "${PIDFILE}" ]; then
|
|
||||||
eerror "rsyslogd not running"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ebegin "Reloading configuration and re-opening log files"
|
|
||||||
start-stop-daemon --stop --oknodo --signal HUP \
|
|
||||||
--pidfile "${PIDFILE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/3-stable/rsyslog.logrotate,v 1.1 2008/04/09 17:32:56 dev-zero Exp $
|
|
||||||
#
|
|
||||||
# Syslog-ng logrotate snippet for Gentoo Linux
|
|
||||||
#
|
|
||||||
|
|
||||||
/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log {
|
|
||||||
sharedscripts
|
|
||||||
postrotate
|
|
||||||
/etc/init.d/rsyslog reload > /dev/null 2>&1 || true
|
|
||||||
endscript
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# rsyslog v5: load input modules
|
|
||||||
# If you do not load inputs, nothing happens!
|
|
||||||
# You may need to set the module load path if modules are not found.
|
|
||||||
|
|
||||||
$ModLoad immark.so # provides --MARK-- message capability
|
|
||||||
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
|
|
||||||
$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
|
|
||||||
|
|
||||||
# Include configuration files from directory
|
|
||||||
$IncludeConfig /etc/rsyslog.d/*
|
|
||||||
|
|
||||||
# Check config syntax on startup and abort if unclean (default off)
|
|
||||||
#$AbortOnUncleanConfig on
|
|
||||||
|
|
||||||
# Reduce repeating messages (default off)
|
|
||||||
#$RepeatedMsgReduction on
|
|
||||||
|
|
||||||
# Log all kernel messages to the console.
|
|
||||||
# Logging much else clutters up the screen.
|
|
||||||
#kern.* /dev/console
|
|
||||||
|
|
||||||
# Log anything (except mail) of level info or higher.
|
|
||||||
# Don't log private authentication messages!
|
|
||||||
*.info;mail.none;authpriv.none;cron.none -/var/log/messages
|
|
||||||
|
|
||||||
# The authpriv file has restricted access.
|
|
||||||
authpriv.* /var/log/secure
|
|
||||||
|
|
||||||
# Log all the mail messages in one place.
|
|
||||||
mail.* -/var/log/maillog
|
|
||||||
|
|
||||||
# Log cron stuff
|
|
||||||
cron.* -/var/log/cron
|
|
||||||
|
|
||||||
# Everybody gets emergency messages
|
|
||||||
*.emerg *
|
|
||||||
|
|
||||||
# Save news errors of level crit and higher in a special file.
|
|
||||||
uucp,news.crit -/var/log/spooler
|
|
||||||
|
|
||||||
# Save boot messages also to boot.log
|
|
||||||
local7.* /var/log/boot.log
|
|
||||||
|
|
||||||
# More configuration examples:
|
|
||||||
#
|
|
||||||
# Remote Logging (we use TCP for reliable delivery)
|
|
||||||
# An on-disk queue is created for this action. If the remote host is
|
|
||||||
# down, messages are spooled to disk and sent when it is up again.
|
|
||||||
#$WorkDirectory /var/spool/rsyslog # where to place spool files
|
|
||||||
#$ActionQueueFileName uniqName # unique name prefix for spool files
|
|
||||||
#$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
|
|
||||||
#$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
|
|
||||||
#$ActionQueueType LinkedList # run asynchronously
|
|
||||||
#$ActionResumeRetryCount -1 # infinety retries if host is down
|
|
||||||
#$ActionResumeInterval 30 # retry interval
|
|
||||||
# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
|
|
||||||
#*.* @@remote-host
|
|
||||||
|
|
||||||
# Remote Logging with TCP + SSL/TLS
|
|
||||||
#$DefaultNetstreamDriver gtls
|
|
||||||
#$DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/rsyslog_ca.cert.pem
|
|
||||||
#$DefaultNetstreamDriverCertFile /etc/ssl/rsyslog/rsyslog_CLIENT.cert.pem
|
|
||||||
#$DefaultNetstreamDriverKeyFile /etc/ssl/rsyslog/rsyslog_CLIENT.key.pem
|
|
||||||
#$ActionSendStreamDriverAuthMode x509/name # enable peer authentication
|
|
||||||
#$ActionSendStreamDriverPermittedPeer foo # authorize to send encrypted data to server foo
|
|
||||||
#$ActionSendStreamDriverMode 1 # run driver in TLS-only mode
|
|
||||||
|
|
||||||
# ######### Receiving Messages from Remote Hosts ##########
|
|
||||||
# TCP Syslog Server:
|
|
||||||
#$ModLoad imtcp # provides TCP syslog reception
|
|
||||||
#$TCPServerRun 10514 # start a TCP syslog server at port 10514
|
|
||||||
|
|
||||||
# TCP + SSL/TLS Syslog Server:
|
|
||||||
#$ModLoad imtcp # provides TCP syslog reception
|
|
||||||
#$DefaultNetstreamDriver gtls # use gnuTLS for data encryption
|
|
||||||
#$DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/rsyslog_ca.cert.pem
|
|
||||||
#$DefaultNetstreamDriverCertFile /etc/ssl/rsyslog/rsyslog_SERVER.cert.pem
|
|
||||||
#$DefaultNetstreamDriverKeyFile /etc/ssl/rsyslog/rsyslog_SERVER.key.pem
|
|
||||||
#$InputTCPServerStreamDriverMode 1 # run driver in TLS-only mode
|
|
||||||
#$InputTCPServerStreamDriverAuthMode x509/name # enable peer authentication
|
|
||||||
#$InputTCPServerStreamDriverPermittedPeer bar # authorize client named bar (one line per client)
|
|
||||||
#$TCPServerRun 10514 # start a TCP syslog server at port 10514
|
|
||||||
|
|
||||||
# UDP Syslog Server:
|
|
||||||
#$ModLoad imudp.so # provides UDP syslog reception
|
|
||||||
#$UDPServerRun 514 # start a UDP syslog server at standard port 514
|
|
||||||
|
|
||||||
# RELP Syslog Server:
|
|
||||||
#$ModLoad imrelp # provides RELP syslog reception
|
|
||||||
#$InputRELPServerRun 10515 # start a RELP syslog server at port 10515
|
|
@ -1,17 +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/rsyslog/files/5-stable/rsyslog.confd,v 1.1 2010/10/21 07:38:29 dev-zero Exp $
|
|
||||||
|
|
||||||
# Configuration file
|
|
||||||
CONFIGFILE="/etc/rsyslog.conf"
|
|
||||||
|
|
||||||
# PID file
|
|
||||||
PIDFILE="/var/run/rsyslogd.pid"
|
|
||||||
|
|
||||||
# Options to rsyslogd
|
|
||||||
# See rsyslogd(8) for more details
|
|
||||||
# Notes:
|
|
||||||
# * Do not specify another PIDFILE but use the variable above to change the location
|
|
||||||
# * Do not specify another CONFIGFILE but use the variable above to change the location
|
|
||||||
# * "-c5" tells rsyslog to _not_ run in sysklogd compatibility mode
|
|
||||||
RSYSLOG_OPTS="-c5"
|
|
@ -1,43 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/5-stable/rsyslog.initd,v 1.4 2012/08/24 14:40:14 ultrabug Exp $
|
|
||||||
|
|
||||||
extra_started_commands="reload"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
provide logger
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting rsyslogd"
|
|
||||||
start-stop-daemon \
|
|
||||||
--start --quiet --exec /usr/sbin/rsyslogd --pidfile "${PIDFILE}" \
|
|
||||||
-- ${RSYSLOG_OPTS} -i "${PIDFILE}" -f "${CONFIGFILE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping rsyslogd"
|
|
||||||
start-stop-daemon \
|
|
||||||
--stop --quiet \
|
|
||||||
--pidfile "${PIDFILE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
if [ ! -f "${PIDFILE}" ]; then
|
|
||||||
eerror "rsyslogd not running"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Baselayout-1 users still use --stop and --oknodo
|
|
||||||
local USEROPT="--name rsyslogd"
|
|
||||||
if [ ! -f /etc/init.d/sysfs ]; then
|
|
||||||
USEROPT="--stop --oknodo"
|
|
||||||
fi
|
|
||||||
|
|
||||||
ebegin "Re-opening rsyslogd log files"
|
|
||||||
start-stop-daemon --signal HUP --pidfile "${PIDFILE}" ${USEROPT}
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,9 +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/rsyslog/files/5-stable/rsyslog.logrotate,v 1.1 2010/10/21 07:38:29 dev-zero Exp $
|
|
||||||
/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log {
|
|
||||||
sharedscripts
|
|
||||||
postrotate
|
|
||||||
/etc/init.d/rsyslog reload &>/dev/null || true
|
|
||||||
endscript
|
|
||||||
}
|
|
95
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/50-default.conf
vendored
Normal file
95
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/50-default.conf
vendored
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
#######################
|
||||||
|
### DEFAULT ACTIONS ###
|
||||||
|
#######################
|
||||||
|
|
||||||
|
auth,authpriv.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/auth.log"
|
||||||
|
FileCreateMode="0600"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
Sync="off"
|
||||||
|
)
|
||||||
|
|
||||||
|
cron.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/cron.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
daemon.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/daemon.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
kern.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/kern.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
lpr.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/lpr.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
mail.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/mail.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
news.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/news.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
user.* action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/user.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
*.=debug;auth,authpriv,news,mail.none action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/debug.log"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
*.info;auth,authpriv,cron,daemon,lpr,mail,news.none action(
|
||||||
|
type="omfile"
|
||||||
|
File="/var/log/messages"
|
||||||
|
FileOwner="root"
|
||||||
|
FileGroup="adm"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Uncomment the following directive to re-enable the
|
||||||
|
# deprecated "/var/log/syslog" log file (don't forget to re-enable log
|
||||||
|
# rotation in "/etc/logrotate.d/rsyslog" if you do that!)
|
||||||
|
#*.*;auth,authpriv.none action(
|
||||||
|
# type="omfile"
|
||||||
|
# File="/var/log/syslog"
|
||||||
|
# FileOwner="root"
|
||||||
|
# FileGroup="adm"
|
||||||
|
#)
|
||||||
|
|
||||||
|
*.emerg action(
|
||||||
|
type="omusrmsg"
|
||||||
|
Users="*"
|
||||||
|
action.execOnlyOnceEveryInterval="10"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Create an additional socket for the default chroot location
|
||||||
|
# (used by net-misc/openssh[hpn], see https://bugs.gentoo.org/490744)
|
||||||
|
input(type="imuxsock" Socket="/var/empty/dev/log")
|
@ -0,0 +1,130 @@
|
|||||||
|
From a88d67df6e55e0a5f484f6aff8aa6e9813c5c31a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Janmejay Singh <singh.janmejay@gmail.com>
|
||||||
|
Date: Mon, 28 Sep 2015 20:38:05 +0530
|
||||||
|
Subject: [PATCH] fixed re_extract bug, which fails the regex-compile for
|
||||||
|
extract as fn-init fails when fn does not have exactly 2 args
|
||||||
|
|
||||||
|
|
||||||
|
Fixes: https://github.com/rsyslog/rsyslog/issues/499
|
||||||
|
|
||||||
|
---
|
||||||
|
grammar/rainerscript.c | 2 +-
|
||||||
|
tests/Makefile.am | 6 ++++++
|
||||||
|
tests/rscript_re_extract.sh | 14 ++++++++++++++
|
||||||
|
tests/rscript_re_match.sh | 14 ++++++++++++++
|
||||||
|
tests/testsuites/rscript_re_extract.conf | 9 +++++++++
|
||||||
|
tests/testsuites/rscript_re_match.conf | 10 ++++++++++
|
||||||
|
6 files changed, 54 insertions(+), 1 deletion(-)
|
||||||
|
create mode 100755 tests/rscript_re_extract.sh
|
||||||
|
create mode 100755 tests/rscript_re_match.sh
|
||||||
|
create mode 100644 tests/testsuites/rscript_re_extract.conf
|
||||||
|
create mode 100644 tests/testsuites/rscript_re_match.conf
|
||||||
|
|
||||||
|
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c
|
||||||
|
index f02e1fe..17f785e 100644
|
||||||
|
--- a/grammar/rainerscript.c
|
||||||
|
+++ b/grammar/rainerscript.c
|
||||||
|
@@ -3747,7 +3747,7 @@ initFunc_re_match(struct cnffunc *func)
|
||||||
|
regex_t *re;
|
||||||
|
DEFiRet;
|
||||||
|
|
||||||
|
- if(func->nParams != 2) {
|
||||||
|
+ if(func->nParams < 2) {
|
||||||
|
parser_errmsg("rsyslog logic error in line %d of file %s\n",
|
||||||
|
__LINE__, __FILE__);
|
||||||
|
FINALIZE;
|
||||||
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||||
|
index 914d947..d77728a 100644
|
||||||
|
--- a/tests/Makefile.am
|
||||||
|
+++ b/tests/Makefile.am
|
||||||
|
@@ -120,6 +120,8 @@ TESTS += \
|
||||||
|
rscript_replace_complex.sh \
|
||||||
|
rscript_wrap2.sh \
|
||||||
|
rscript_wrap3.sh \
|
||||||
|
+ rscript_re_extract.sh \
|
||||||
|
+ rscript_re_match.sh \
|
||||||
|
rs_optimizer_pri.sh \
|
||||||
|
cee_simple.sh \
|
||||||
|
cee_diskqueue.sh \
|
||||||
|
@@ -854,6 +856,10 @@ EXTRA_DIST= \
|
||||||
|
testsuites/stop_when_array_has_element.conf \
|
||||||
|
key_dereference_on_uninitialized_variable_space.sh \
|
||||||
|
testsuites/key_dereference_on_uninitialized_variable_space.conf \
|
||||||
|
+ rscript_re_extract.sh \
|
||||||
|
+ testsuites/rscript_re_extract.conf \
|
||||||
|
+ rscript_re_match.sh \
|
||||||
|
+ testsuites/rscript_re_match.conf \
|
||||||
|
cfg.sh
|
||||||
|
|
||||||
|
# TODO: re-enable
|
||||||
|
diff --git a/tests/rscript_re_extract.sh b/tests/rscript_re_extract.sh
|
||||||
|
new file mode 100755
|
||||||
|
index 0000000..930448c
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/rscript_re_extract.sh
|
||||||
|
@@ -0,0 +1,14 @@
|
||||||
|
+#!/bin/bash
|
||||||
|
+# added 2015-09-29 by singh.janmejay
|
||||||
|
+# This file is part of the rsyslog project, released under ASL 2.0
|
||||||
|
+echo ===============================================================================
|
||||||
|
+echo \[rscript_re_extract.sh\]: test re_extract rscript-fn
|
||||||
|
+. $srcdir/diag.sh init
|
||||||
|
+. $srcdir/diag.sh startup rscript_re_extract.conf
|
||||||
|
+. $srcdir/diag.sh tcpflood -m 1 -I $srcdir/testsuites/date_time_msg
|
||||||
|
+echo doing shutdown
|
||||||
|
+. $srcdir/diag.sh shutdown-when-empty
|
||||||
|
+echo wait on shutdown
|
||||||
|
+. $srcdir/diag.sh wait-shutdown
|
||||||
|
+. $srcdir/diag.sh content-check "*Number is 19597*"
|
||||||
|
+. $srcdir/diag.sh exit
|
||||||
|
diff --git a/tests/rscript_re_match.sh b/tests/rscript_re_match.sh
|
||||||
|
new file mode 100755
|
||||||
|
index 0000000..d2e212d
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/rscript_re_match.sh
|
||||||
|
@@ -0,0 +1,14 @@
|
||||||
|
+#!/bin/bash
|
||||||
|
+# added 2015-09-29 by singh.janmejay
|
||||||
|
+# This file is part of the rsyslog project, released under ASL 2.0
|
||||||
|
+echo ===============================================================================
|
||||||
|
+echo \[rscript_re_match.sh\]: test re_match rscript-fn
|
||||||
|
+. $srcdir/diag.sh init
|
||||||
|
+. $srcdir/diag.sh startup rscript_re_match.conf
|
||||||
|
+. $srcdir/diag.sh tcpflood -m 1 -I $srcdir/testsuites/date_time_msg
|
||||||
|
+echo doing shutdown
|
||||||
|
+. $srcdir/diag.sh shutdown-when-empty
|
||||||
|
+echo wait on shutdown
|
||||||
|
+. $srcdir/diag.sh wait-shutdown
|
||||||
|
+. $srcdir/diag.sh content-check "*Matched*"
|
||||||
|
+. $srcdir/diag.sh exit
|
||||||
|
diff --git a/tests/testsuites/rscript_re_extract.conf b/tests/testsuites/rscript_re_extract.conf
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..6c71e53
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/testsuites/rscript_re_extract.conf
|
||||||
|
@@ -0,0 +1,9 @@
|
||||||
|
+$IncludeConfig diag-common.conf
|
||||||
|
+template(name="outfmt" type="string" string="*Number is %$.number%*\n")
|
||||||
|
+
|
||||||
|
+module(load="../plugins/imtcp/.libs/imtcp")
|
||||||
|
+input(type="imtcp" port="13514")
|
||||||
|
+
|
||||||
|
+set $.number = re_extract($msg, '.* ([0-9]+)$', 0, 1, 'none');
|
||||||
|
+
|
||||||
|
+action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|
||||||
|
diff --git a/tests/testsuites/rscript_re_match.conf b/tests/testsuites/rscript_re_match.conf
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..3e0f36f
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/testsuites/rscript_re_match.conf
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+$IncludeConfig diag-common.conf
|
||||||
|
+template(name="outfmt" type="string" string="*Matched*\n")
|
||||||
|
+
|
||||||
|
+module(load="../plugins/imtcp/.libs/imtcp")
|
||||||
|
+input(type="imtcp" port="13514")
|
||||||
|
+
|
||||||
|
+if (re_match($msg, '.* ([0-9]+)$')) then {
|
||||||
|
+ action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|
||||||
|
+}
|
||||||
|
+
|
@ -0,0 +1,141 @@
|
|||||||
|
From 3a10a78edeef9725f69a24d633bb394e365145f0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Janmejay Singh <singh.janmejay@gmail.com>
|
||||||
|
Date: Wed, 30 Sep 2015 17:24:38 +0530
|
||||||
|
Subject: [PATCH] Fixed lookup-table reload bug, which ignored table-length of
|
||||||
|
reloaded table, resulting in additional entries being invisible while
|
||||||
|
looking-up (binary-search would work with old-table-length). This would be a
|
||||||
|
security-issue or may cause a crash if reloaded table is actually smaller
|
||||||
|
(memory access beyond table).
|
||||||
|
|
||||||
|
---
|
||||||
|
runtime/lookup.c | 1 +
|
||||||
|
tests/Makefile.am | 5 +++++
|
||||||
|
tests/diag.sh | 4 ++++
|
||||||
|
tests/lookup_table.sh | 24 ++++++++++++++++++++++++
|
||||||
|
tests/testsuites/lookup_table.conf | 9 +++++++++
|
||||||
|
tests/testsuites/xlate.lkp_tbl | 5 +++++
|
||||||
|
tests/testsuites/xlate_more.lkp_tbl | 6 ++++++
|
||||||
|
7 files changed, 55 insertions(+)
|
||||||
|
create mode 100755 tests/lookup_table.sh
|
||||||
|
create mode 100644 tests/testsuites/lookup_table.conf
|
||||||
|
create mode 100644 tests/testsuites/xlate.lkp_tbl
|
||||||
|
create mode 100644 tests/testsuites/xlate_more.lkp_tbl
|
||||||
|
|
||||||
|
diff --git a/runtime/lookup.c b/runtime/lookup.c
|
||||||
|
index 096bf09..5aa00b9 100644
|
||||||
|
--- a/runtime/lookup.c
|
||||||
|
+++ b/runtime/lookup.c
|
||||||
|
@@ -203,6 +203,7 @@ lookupReload(lookup_t *pThis)
|
||||||
|
}
|
||||||
|
free(pThis->d.strtab);
|
||||||
|
pThis->d.strtab = newlu.d.strtab; /* hand table AND ALL STRINGS over! */
|
||||||
|
+ pThis->nmemb = newlu.nmemb;
|
||||||
|
pthread_rwlock_unlock(&pThis->rwlock);
|
||||||
|
errmsg.LogError(0, RS_RET_OK, "lookup table '%s' reloaded from file '%s'",
|
||||||
|
pThis->name, pThis->filename);
|
||||||
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||||
|
index d77728a..49cb641 100644
|
||||||
|
--- a/tests/Makefile.am
|
||||||
|
+++ b/tests/Makefile.am
|
||||||
|
@@ -130,6 +130,7 @@ TESTS += \
|
||||||
|
incltest_dir_wildcard.sh \
|
||||||
|
incltest_dir_empty_wildcard.sh \
|
||||||
|
linkedlistqueue.sh \
|
||||||
|
+ lookup_table.sh \
|
||||||
|
key_dereference_on_uninitialized_variable_space.sh
|
||||||
|
|
||||||
|
|
||||||
|
@@ -860,6 +861,10 @@ EXTRA_DIST= \
|
||||||
|
testsuites/rscript_re_extract.conf \
|
||||||
|
rscript_re_match.sh \
|
||||||
|
testsuites/rscript_re_match.conf \
|
||||||
|
+ lookup_table.sh \
|
||||||
|
+ testsuites/lookup_table.conf \
|
||||||
|
+ testsuites/xlate.lkp_tbl \
|
||||||
|
+ testsuites/xlate_more.lkp_tbl \
|
||||||
|
cfg.sh
|
||||||
|
|
||||||
|
# TODO: re-enable
|
||||||
|
diff --git a/tests/diag.sh b/tests/diag.sh
|
||||||
|
index 95d6adb..c489fff 100755
|
||||||
|
--- a/tests/diag.sh
|
||||||
|
+++ b/tests/diag.sh
|
||||||
|
@@ -195,6 +195,10 @@ case $1 in
|
||||||
|
echo WaitMainQueueEmpty | ./diagtalker || . $srcdir/diag.sh error-exit $?
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
+ 'issue-HUP') # shut rsyslogd down when main queue is empty. $2 is the instance.
|
||||||
|
+ kill -HUP `cat rsyslog$2.pid`
|
||||||
|
+ ./msleep 1000
|
||||||
|
+ ;;
|
||||||
|
'shutdown-when-empty') # shut rsyslogd down when main queue is empty. $2 is the instance.
|
||||||
|
if [ "$2" == "2" ]
|
||||||
|
then
|
||||||
|
diff --git a/tests/lookup_table.sh b/tests/lookup_table.sh
|
||||||
|
new file mode 100755
|
||||||
|
index 0000000..fae2fab
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/lookup_table.sh
|
||||||
|
@@ -0,0 +1,24 @@
|
||||||
|
+#!/bin/bash
|
||||||
|
+# added 2015-09-30 by singh.janmejay
|
||||||
|
+# This file is part of the rsyslog project, released under ASL 2.0
|
||||||
|
+echo ===============================================================================
|
||||||
|
+echo \[lookup_table_reload.sh\]: test for lookup-table and HUP based reloading of it
|
||||||
|
+. $srcdir/diag.sh init
|
||||||
|
+cp $srcdir/testsuites/xlate.lkp_tbl $srcdir/xlate.lkp_tbl
|
||||||
|
+. $srcdir/diag.sh startup lookup_table.conf
|
||||||
|
+. $srcdir/diag.sh injectmsg 0 3
|
||||||
|
+. $srcdir/diag.sh wait-queueempty
|
||||||
|
+. $srcdir/diag.sh content-check "msgnum:00000000: foo_old"
|
||||||
|
+. $srcdir/diag.sh content-check "msgnum:00000001: bar_old"
|
||||||
|
+. $srcdir/diag.sh assert-content-missing "baz"
|
||||||
|
+cp $srcdir/testsuites/xlate_more.lkp_tbl $srcdir/xlate.lkp_tbl
|
||||||
|
+. $srcdir/diag.sh issue-HUP
|
||||||
|
+. $srcdir/diag.sh injectmsg 0 3
|
||||||
|
+echo doing shutdown
|
||||||
|
+. $srcdir/diag.sh shutdown-when-empty
|
||||||
|
+echo wait on shutdown
|
||||||
|
+. $srcdir/diag.sh wait-shutdown
|
||||||
|
+. $srcdir/diag.sh content-check "msgnum:00000000: foo_new"
|
||||||
|
+. $srcdir/diag.sh content-check "msgnum:00000001: bar_new"
|
||||||
|
+. $srcdir/diag.sh content-check "msgnum:00000002: baz"
|
||||||
|
+. $srcdir/diag.sh exit
|
||||||
|
diff --git a/tests/testsuites/lookup_table.conf b/tests/testsuites/lookup_table.conf
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..29bd805
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/testsuites/lookup_table.conf
|
||||||
|
@@ -0,0 +1,9 @@
|
||||||
|
+$IncludeConfig diag-common.conf
|
||||||
|
+
|
||||||
|
+lookup_table(name="xlate" file="xlate.lkp_tbl")
|
||||||
|
+
|
||||||
|
+template(name="outfmt" type="string" string="- %msg% %$.lkp%\n")
|
||||||
|
+
|
||||||
|
+set $.lkp = lookup("xlate", $msg);
|
||||||
|
+
|
||||||
|
+action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|
||||||
|
diff --git a/tests/testsuites/xlate.lkp_tbl b/tests/testsuites/xlate.lkp_tbl
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..30e2796
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/testsuites/xlate.lkp_tbl
|
||||||
|
@@ -0,0 +1,5 @@
|
||||||
|
+{
|
||||||
|
+ "table":[
|
||||||
|
+ {"index":" msgnum:00000000:", "value":"foo_old" },
|
||||||
|
+ {"index":" msgnum:00000001:", "value":"bar_old" }]
|
||||||
|
+}
|
||||||
|
diff --git a/tests/testsuites/xlate_more.lkp_tbl b/tests/testsuites/xlate_more.lkp_tbl
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..2d3f452
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/testsuites/xlate_more.lkp_tbl
|
||||||
|
@@ -0,0 +1,6 @@
|
||||||
|
+{
|
||||||
|
+ "table":[
|
||||||
|
+ {"index":" msgnum:00000000:", "value":"foo_new" },
|
||||||
|
+ {"index":" msgnum:00000001:", "value":"bar_new" },
|
||||||
|
+ {"index":" msgnum:00000002:", "value":"baz" }]
|
||||||
|
+}
|
@ -0,0 +1,30 @@
|
|||||||
|
Workaround for https://github.com/rsyslog/rsyslog/issues/746
|
||||||
|
|
||||||
|
--- rsyslog-9999/tests/imfile-readmode2-vg.sh 2016-01-20 12:35:20.368238216 +0100
|
||||||
|
+++ rsyslog-9999/tests/imfile-readmode2-vg.sh 2016-01-20 12:36:14.357031527 +0100
|
||||||
|
@@ -11,7 +11,7 @@ echo 'msgnum:0
|
||||||
|
echo 'msgnum:2' >> rsyslog.input
|
||||||
|
|
||||||
|
# sleep a little to give rsyslog a chance to begin processing
|
||||||
|
-sleep 1
|
||||||
|
+sleep 10
|
||||||
|
|
||||||
|
# write some more lines (see https://github.com/rsyslog/rsyslog/issues/144)
|
||||||
|
echo 'msgnum:3
|
||||||
|
@@ -19,14 +19,14 @@ echo 'msgnum:3
|
||||||
|
echo 'msgnum:5' >> rsyslog.input # this one shouldn't be written to the output file because of ReadMode 2
|
||||||
|
|
||||||
|
# give it time to finish
|
||||||
|
-sleep 1
|
||||||
|
+sleep 10
|
||||||
|
|
||||||
|
. $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
||||||
|
. $srcdir/diag.sh wait-shutdown-vg # we need to wait until rsyslogd is finished!
|
||||||
|
. $srcdir/diag.sh check-exit-vg
|
||||||
|
|
||||||
|
# give it time to write the output file
|
||||||
|
-sleep 1
|
||||||
|
+sleep 10
|
||||||
|
|
||||||
|
## check if we have the correct number of messages
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
Workaround for https://github.com/rsyslog/rsyslog/issues/688
|
||||||
|
|
||||||
|
--- rsyslog-9999/tests/imtcp-tls-basic-vg.sh 2016-01-20 12:01:44.493617917 +0100
|
||||||
|
+++ rsyslog-9999/tests/imtcp-tls-basic-vg.sh 2016-01-20 12:04:18.394711527 +0100
|
||||||
|
@@ -9,6 +9,7 @@ echo \$DefaultNetstreamDriverCertFile $s
|
||||||
|
echo \$DefaultNetstreamDriverKeyFile $srcdir/tls-certs/key.pem >>rsyslog.conf.tlscert
|
||||||
|
. $srcdir/diag.sh startup-vg-noleak imtcp-tls-basic.conf
|
||||||
|
. $srcdir/diag.sh tcpflood -p13514 -m50000 -Ttls -Z$srcdir/tls-certs/cert.pem -z$srcdir/tls-certs/key.pem
|
||||||
|
+sleep 10
|
||||||
|
. $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
||||||
|
. $srcdir/diag.sh wait-shutdown-vg
|
||||||
|
. $srcdir/diag.sh check-exit-vg
|
@ -0,0 +1,51 @@
|
|||||||
|
From b435f4e7d2ece7f2ea0a7b42826498e224be3f23 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rainer Gerhards <rgerhards@adiscon.com>
|
||||||
|
Date: Wed, 3 Feb 2016 16:32:07 +0100
|
||||||
|
Subject: [PATCH] bugfix: queue engine can loose one message during queue
|
||||||
|
shutdown
|
||||||
|
|
||||||
|
... due to improper checking of return states.
|
||||||
|
|
||||||
|
closes https://github.com/rsyslog/rsyslog/issues/262
|
||||||
|
---
|
||||||
|
runtime/ruleset.c | 17 +++++++++++------
|
||||||
|
1 file changed, 11 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
|
||||||
|
index ae5a9bd..6ca97e8 100644
|
||||||
|
--- a/runtime/ruleset.c
|
||||||
|
+++ b/runtime/ruleset.c
|
||||||
|
@@ -495,6 +495,7 @@ processBatch(batch_t *pBatch, wti_t *pWti)
|
||||||
|
int i;
|
||||||
|
msg_t *pMsg;
|
||||||
|
ruleset_t *pRuleset;
|
||||||
|
+ rsRetVal localRet;
|
||||||
|
DEFiRet;
|
||||||
|
|
||||||
|
DBGPRINTF("processBATCH: batch of %d elements must be processed\n", pBatch->nElem);
|
||||||
|
@@ -506,15 +507,19 @@ processBatch(batch_t *pBatch, wti_t *pWti)
|
||||||
|
pMsg = pBatch->pElem[i].pMsg;
|
||||||
|
DBGPRINTF("processBATCH: next msg %d: %.128s\n", i, pMsg->pszRawMsg);
|
||||||
|
pRuleset = (pMsg->pRuleset == NULL) ? ourConf->rulesets.pDflt : pMsg->pRuleset;
|
||||||
|
- scriptExec(pRuleset->root, pMsg, pWti);
|
||||||
|
- // TODO: think if we need a return state of scriptExec - most probably
|
||||||
|
- // the answer is "no", as we need to process the batch in any case!
|
||||||
|
- // TODO: we must refactor this! flag messages as committed
|
||||||
|
- batchSetElemState(pBatch, i, BATCH_STATE_COMM);
|
||||||
|
+ localRet = scriptExec(pRuleset->root, pMsg, pWti);
|
||||||
|
+ /* the most important case here is that processing may be aborted
|
||||||
|
+ * due to pbShutdownImmediate, in which case we MUST NOT flag this
|
||||||
|
+ * message as committed. If we would do so, the message would
|
||||||
|
+ * potentially be lost.
|
||||||
|
+ */
|
||||||
|
+ if(localRet == RS_RET_OK)
|
||||||
|
+ batchSetElemState(pBatch, i, BATCH_STATE_COMM);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* commit phase */
|
||||||
|
- dbgprintf("END batch execution phase, entering to commit phase\n");
|
||||||
|
+ DBGPRINTF("END batch execution phase, entering to commit phase "
|
||||||
|
+ "[processed %d of %d messages]\n", i, batchNumMsgs(pBatch));
|
||||||
|
actionCommitAllDirect(pWti);
|
||||||
|
|
||||||
|
DBGPRINTF("processBATCH: batch of %d elements has been processed\n", pBatch->nElem);
|
36
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/README.gentoo
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/README.gentoo
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Introduction
|
||||||
|
============
|
||||||
|
|
||||||
|
Since rsyslog version 7.6 we are shipping a new default Gentoo
|
||||||
|
configuration. See bug #501982 to learn more about what we were trying to
|
||||||
|
achieve by rewriting the entire configuration.
|
||||||
|
|
||||||
|
|
||||||
|
Important changes
|
||||||
|
=================
|
||||||
|
|
||||||
|
1. "/var/log/syslog" log file is now deprecated
|
||||||
|
|
||||||
|
Beginning with rsyslog-7.6, the "/var/log/syslog" log file will no
|
||||||
|
longer being written per default. We are considering this file as
|
||||||
|
deprecated/obsolet for the typical user/system.
|
||||||
|
The content from this log file is still availble through other
|
||||||
|
(dedicated) log files, see
|
||||||
|
|
||||||
|
- /var/log/cron.log
|
||||||
|
- /var/log/daemon.log
|
||||||
|
- /var/log/mail.log
|
||||||
|
- /var/log/messages
|
||||||
|
|
||||||
|
If you really need the old "/var/log/syslog" log file, all you have to
|
||||||
|
do is uncommenting the corresponding configuration directive in
|
||||||
|
"/etc/rsyslog.d/50-default.conf".
|
||||||
|
|
||||||
|
If you do so, don't forget to re-enable log rotation in
|
||||||
|
"/etc/logrotate.d/rsyslog", too.
|
||||||
|
|
||||||
|
|
||||||
|
2. An additional input socket in "/var/empty/dev/log" (default chroot
|
||||||
|
location) will be created per default
|
||||||
|
|
||||||
|
See bug #490744 for further details.
|
61
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.conf
vendored
Normal file
61
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.conf
vendored
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# /etc/rsyslog.conf
|
||||||
|
#
|
||||||
|
# This configuration is based on RainerScript, the new recommended syntax
|
||||||
|
# for RSYSLOG. See http://www.rsyslog.com/doc/rainerscript.html for further
|
||||||
|
# details.
|
||||||
|
#
|
||||||
|
# But if you don't want to learn something new at moment, don't worry: The
|
||||||
|
# legacy syntax is still supported.
|
||||||
|
#
|
||||||
|
# You may want to use the new RSYSLOG configuration builder to create your
|
||||||
|
# own more advanced configuration: http://www.rsyslog.com/rsyslog-configuration-builder/
|
||||||
|
|
||||||
|
# Check config syntax on startup and abort if unclean (default: off)
|
||||||
|
#$AbortOnUncleanConfig on
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
### MODULES ###
|
||||||
|
###############
|
||||||
|
|
||||||
|
# Read syslog messages from default Unix socket /dev/log (e.g. via logger command)
|
||||||
|
module(load="imuxsock")
|
||||||
|
|
||||||
|
# Read messages from the kernel log and submits them to the syslog engine
|
||||||
|
module(load="imklog")
|
||||||
|
|
||||||
|
# Inject "--MARK--" messages every $Interval (seconds)
|
||||||
|
#module(load="immark" Interval="600")
|
||||||
|
|
||||||
|
# Read syslog messages from UDP
|
||||||
|
#module(load="imudp")
|
||||||
|
#input(type="imudp" port="514")
|
||||||
|
|
||||||
|
# Read syslog messages from TCP
|
||||||
|
#module(load="imtcp")
|
||||||
|
#input(type="imtcp" port="514")
|
||||||
|
|
||||||
|
|
||||||
|
#########################
|
||||||
|
### GLOBAL DIRECTIVES ###
|
||||||
|
#########################
|
||||||
|
|
||||||
|
# Where to place spool and state files
|
||||||
|
$WorkDirectory /var/spool/rsyslog
|
||||||
|
|
||||||
|
# Reduce repeating messages (default: off)
|
||||||
|
#$RepeatedMsgReduction on
|
||||||
|
|
||||||
|
# Set defaults for every output file
|
||||||
|
$Umask 0022
|
||||||
|
|
||||||
|
module(
|
||||||
|
load="builtin:omfile"
|
||||||
|
Template="RSYSLOG_TraditionalFileFormat"
|
||||||
|
FileCreateMode="0644"
|
||||||
|
DirCreateMode="0755"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# Include all conf files in /etc/rsyslog.d/
|
||||||
|
$IncludeConfig /etc/rsyslog.d/*.conf
|
30
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.confd-r1
vendored
Normal file
30
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.confd-r1
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# /etc/conf.d/rsyslog
|
||||||
|
|
||||||
|
# Configuration file
|
||||||
|
#RSYSLOG_CONFIGFILE="/etc/rsyslog.conf"
|
||||||
|
|
||||||
|
# PID file
|
||||||
|
# If you should ever change this, remember to update
|
||||||
|
# "/etc/logrotate.d/rsyslog", too.
|
||||||
|
#RSYSLOG_PIDFILE="/run/rsyslogd.pid"
|
||||||
|
|
||||||
|
# You can use this configuration option to pass additional options to the
|
||||||
|
# start-stop-daemon, see start-stop-daemon(8) for more details.
|
||||||
|
# Per default we wait 1000ms after we have started the service to ensure
|
||||||
|
# that the daemon is really up and running.
|
||||||
|
#RSYSLOG_SSDARGS="--wait 1000"
|
||||||
|
|
||||||
|
# The termination timeout (start-stop-daemon parameter "retry") ensures
|
||||||
|
# that the service will be terminated within a given time (60 + 5 seconds
|
||||||
|
# per default) when you are stopping the service.
|
||||||
|
# You need to increase the value when you are working with a large queue.
|
||||||
|
# See http://www.rsyslog.com/doc/queues.html for further information.
|
||||||
|
#RSYSLOG_TERMTIMEOUT="TERM/60/KILL/5"
|
||||||
|
|
||||||
|
|
||||||
|
# Options to rsyslogd
|
||||||
|
# See rsyslogd(8) for more details
|
||||||
|
# Notes:
|
||||||
|
# * Do not specify another PIDFILE but use the variable above to change the location
|
||||||
|
# * Do not specify another CONFIGFILE but use the variable above to change the location
|
||||||
|
#RSYSLOG_OPTS=""
|
73
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.initd-r1
vendored
Normal file
73
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.initd-r1
vendored
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
RSYSLOG_CONFIGFILE=${RSYSLOG_CONFIGFILE:-"/etc/rsyslog.conf"}
|
||||||
|
RSYSLOG_PIDFILE=${RSYSLOG_PIDFILE:-"/run/rsyslogd.pid"}
|
||||||
|
RSYSLOG_SSDARGS=${RSYSLOG_SSDARGS:-"--wait 1000"}
|
||||||
|
RSYSLOG_TERMTIMEOUT=${RSYSLOG_TERMTIMEOUT:-"TERM/60/KILL/5"}
|
||||||
|
RSYSLOG_OPTS=${RSYSLOG_OPTS:-""}
|
||||||
|
|
||||||
|
command="/usr/sbin/rsyslogd"
|
||||||
|
command_args="${RSYSLOG_OPTS} -f \"${RSYSLOG_CONFIGFILE}\" -i \"${RSYSLOG_PIDFILE}\""
|
||||||
|
start_stop_daemon_args="${RSYSLOG_SSDARGS}"
|
||||||
|
pidfile="${RSYSLOG_PIDFILE}"
|
||||||
|
retry="${RSYSLOG_TERMTIMEOUT}"
|
||||||
|
|
||||||
|
required_files="${RSYSLOG_CONFIGFILE}"
|
||||||
|
|
||||||
|
description="RSYSLOG is the rocket-fast system for log processing (syslog replacement)."
|
||||||
|
|
||||||
|
extra_commands="configtest"
|
||||||
|
extra_started_commands="rotate"
|
||||||
|
|
||||||
|
description_configtest="Run rsyslogd's internal config check."
|
||||||
|
|
||||||
|
description_rotate="Sends rsyslogd a signal to re-open its log files."
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need clock hostname localmount
|
||||||
|
provide logger
|
||||||
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
if [ "${RC_CMD}" != "restart" ]; then
|
||||||
|
configtest || return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_pre() {
|
||||||
|
if [ "${RC_CMD}" = "restart" ]; then
|
||||||
|
configtest || return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_post() {
|
||||||
|
if [ -f "${RSYSLOG_PIDFILE}" ]; then
|
||||||
|
vebegin "Removing stale PID file"
|
||||||
|
rm --force "${RSYSLOG_PIDFILE}"
|
||||||
|
veend $?
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
configtest() {
|
||||||
|
local _command_args="-N 999 -f \"${RSYSLOG_CONFIGFILE}\""
|
||||||
|
local _retval=0
|
||||||
|
|
||||||
|
ebegin "Checking rsyslogd's configuration"
|
||||||
|
eval ${command} ${_command_args} >/dev/null 2>&1
|
||||||
|
_retval=$?
|
||||||
|
|
||||||
|
if [ ${_retval} -ne 0 ]; then
|
||||||
|
eval ${command} ${_command_args}
|
||||||
|
fi
|
||||||
|
|
||||||
|
eend ${_retval} "failed, please correct errors above"
|
||||||
|
}
|
||||||
|
|
||||||
|
rotate() {
|
||||||
|
ebegin "Re-opening rsyslogd logs"
|
||||||
|
start-stop-daemon --signal SIGHUP --pidfile "${RSYSLOG_PIDFILE}"
|
||||||
|
eend $?
|
||||||
|
}
|
37
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.logrotate
vendored
Normal file
37
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/files/8-stable/rsyslog.logrotate
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Uncomment the following directive if you have re-enabled
|
||||||
|
# "/var/log/syslog" in "/etc/rsyslog.d/50-default.conf"
|
||||||
|
#/var/log/syslog
|
||||||
|
#{
|
||||||
|
# rotate 7
|
||||||
|
# daily
|
||||||
|
# missingok
|
||||||
|
# notifempty
|
||||||
|
# delaycompress
|
||||||
|
# compress
|
||||||
|
# postrotate
|
||||||
|
# test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
|
||||||
|
# endscript
|
||||||
|
#}
|
||||||
|
|
||||||
|
/var/log/auth.log
|
||||||
|
/var/log/cron.log
|
||||||
|
/var/log/daemon.log
|
||||||
|
/var/log/kern.log
|
||||||
|
/var/log/lpr.log
|
||||||
|
/var/log/mail.log
|
||||||
|
/var/log/news.log
|
||||||
|
/var/log/user.log
|
||||||
|
/var/log/debug.log
|
||||||
|
/var/log/messages
|
||||||
|
{
|
||||||
|
rotate 4
|
||||||
|
weekly
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
compress
|
||||||
|
delaycompress
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
|
||||||
|
endscript
|
||||||
|
}
|
41
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/metadata.xml
vendored
Normal file
41
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/metadata.xml
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>ultrabug@gentoo.org</email>
|
||||||
|
<name>Ultrabug</name>
|
||||||
|
<description>Primary Maintainer</description>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>whissi@whissi.de</email>
|
||||||
|
<name>Thomas D. (Whissi)</name>
|
||||||
|
<description>Proxy-Maintainer, CC. bugs</description>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="dbi">Build the general database output module (requires <pkg>dev-db/libdbi</pkg>)</flag>
|
||||||
|
<flag name="elasticsearch">Build the Elasticsearch output module (requires <pkg>net-misc/curl</pkg>)</flag>
|
||||||
|
<flag name="gcrypt">Add support for encrypted log files using <pkg>dev-libs/libgcrypt</pkg></flag>
|
||||||
|
<flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations.</flag>
|
||||||
|
<flag name="kerberos">Build the GSSAPI input and output module (requires <pkg>virtual/krb5</pkg>)</flag>
|
||||||
|
<flag name="libressl">Use <pkg>dev-libs/libressl</pkg> for building the rfc5424hmac modify module (requires rfc5424hmac USE flag)</flag>
|
||||||
|
<flag name="mongodb">Build the MongoDB output module (requires <pkg>dev-libs/libmongo-client</pkg>)</flag>
|
||||||
|
<flag name="mysql">Build the MySQL databse output module (requires <pkg>virtual/mysql</pkg>)</flag>
|
||||||
|
<flag name="normalize">Build the normalize modify module (requires <pkg>dev-libs/libee</pkg> and <pkg>dev-libs/liblognorm</pkg>)</flag>
|
||||||
|
<flag name="omudpspoof">Build the udpspoof output module (requires <pkg>net-libs/libnet</pkg>)</flag>
|
||||||
|
<flag name="postgres">Build the PostgreSQL database output module (requires <pkg>dev-db/postgresql-base</pkg>)</flag>
|
||||||
|
<flag name="rabbitmq">Build the RabbitMQ output module (requires <pkg>net-libs/rabbitmq-c</pkg>)</flag>
|
||||||
|
<flag name="redis">Build the Redis output module using (requires <pkg>dev-libs/hiredis</pkg>)</flag>
|
||||||
|
<flag name="relp">Build the Reliable Event Logging Protocol (RELP) output module (requires <pkg>dev-libs/librelp</pkg>)</flag>
|
||||||
|
<flag name="rfc3195">Build the rfc3195 input module (requires <pkg>dev-libs/liblogging</pkg>)</flag>
|
||||||
|
<flag name="rfc5424hmac">Build the rfc5424hmac modify module (requires <pkg>dev-libs/openssl</pkg> or <pkg>dev-libs/libressl</pkg>)</flag>
|
||||||
|
<flag name="snmp">Build the snmp modify and output module (requires <pkg>net-analyzer/net-snmp</pkg>)</flag>
|
||||||
|
<flag name="ssl">Add support for encrypted client/server communication (requires <pkg>net-libs/gnutls</pkg>)</flag>
|
||||||
|
<flag name="systemd">Build the journal input and output module (requires <pkg>sys-apps/systemd</pkg>)</flag>
|
||||||
|
<flag name="usertools">Installs the user tools (rsgtutil, rscryutil...) corresponding to the set USE flags</flag>
|
||||||
|
<flag name="zeromq">Build the ZeroMQ input and output modules (requires <pkg>net-libs/zeromq</pkg>)</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<bugs-to>https://github.com/rsyslog/rsyslog/issues</bugs-to>
|
||||||
|
<remote-id type="cpe">cpe:/a:rsyslog:rsyslog</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,90 +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/rsyslog/rsyslog-3.22.1.ebuild,v 1.3 2010/01/16 09:31:21 dev-zero Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
inherit versionator
|
|
||||||
|
|
||||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
|
|
||||||
HOMEPAGE="http://www.rsyslog.com/"
|
|
||||||
SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
|
|
||||||
LICENSE="GPL-3 LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
|
|
||||||
IUSE="debug kerberos dbi gnutls mysql postgres relp snmp zlib"
|
|
||||||
|
|
||||||
DEPEND="kerberos? ( virtual/krb5 )
|
|
||||||
dbi? ( dev-db/libdbi )
|
|
||||||
gnutls? ( net-libs/gnutls )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
postgres? ( virtual/postgresql-base )
|
|
||||||
relp? ( >=dev-libs/librelp-0.1.1 )
|
|
||||||
snmp? ( net-analyzer/net-snmp )
|
|
||||||
zlib? ( sys-libs/zlib )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
PROVIDE="virtual/logger"
|
|
||||||
|
|
||||||
BRANCH="3-stable"
|
|
||||||
|
|
||||||
# need access to certain device nodes
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Maintainer notes:
|
|
||||||
# * rsyslog-3 doesn't support single threading anymore
|
|
||||||
# * rfc3195 needs a library and development of that library
|
|
||||||
# is suspended
|
|
||||||
econf \
|
|
||||||
--enable-largefile \
|
|
||||||
--enable-regexp \
|
|
||||||
$(use_enable zlib) \
|
|
||||||
$(use_enable kerberos gssapi-krb5) \
|
|
||||||
--enable-pthreads \
|
|
||||||
--enable-klog \
|
|
||||||
--enable-unix \
|
|
||||||
--enable-inet \
|
|
||||||
--enable-fsstnd \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable debug rtinst) \
|
|
||||||
$(use_enable debug valgrind) \
|
|
||||||
$(use_enable debug diagtools) \
|
|
||||||
$(use_enable mysql) \
|
|
||||||
$(use_enable postgres pgsql) \
|
|
||||||
$(use_enable dbi libdbi) \
|
|
||||||
$(use_enable snmp) \
|
|
||||||
$(use_enable gnutls) \
|
|
||||||
--enable-rsyslogrt \
|
|
||||||
--enable-rsyslogd \
|
|
||||||
--enable-mail \
|
|
||||||
--disable-imdiag \
|
|
||||||
$(use_enable relp) \
|
|
||||||
--disable-rfc3195 \
|
|
||||||
--enable-imfile \
|
|
||||||
--disable-imtemplate
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "emake install failed"
|
|
||||||
|
|
||||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
|
||||||
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
|
|
||||||
|
|
||||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
|
||||||
doins plugins/ompgsql/createDB.sql
|
|
||||||
|
|
||||||
elog "SQL scripts to create the tables for MySQL or PostgreSQL have been installed to:"
|
|
||||||
elog " /usr/share/doc/${PF}/scripts"
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog doc/rsyslog-example.conf
|
|
||||||
dohtml doc/*
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${FILESDIR}/${BRANCH}/rsyslog-gentoo.conf" rsyslog.conf
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${BRANCH}/rsyslog.conf" rsyslog
|
|
||||||
newinitd "${FILESDIR}/${BRANCH}/rsyslog.init" rsyslog
|
|
||||||
}
|
|
@ -1,254 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.11.ebuild,v 1.8 2012/08/19 19:07:06 armin76 Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
AUTOTOOLS_AUTORECONF=yes
|
|
||||||
|
|
||||||
inherit autotools-utils eutils systemd
|
|
||||||
|
|
||||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
|
||||||
HOMEPAGE="http://www.rsyslog.com/"
|
|
||||||
SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
|
||||||
zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> ${PN}-zeromq.tar.gz )"
|
|
||||||
|
|
||||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
|
||||||
KEYWORDS="amd64 arm ~hppa x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib"
|
|
||||||
|
|
||||||
RDEPEND="dbi? ( dev-db/libdbi )
|
|
||||||
extras? ( net-libs/libnet )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
postgres? ( dev-db/postgresql-base )
|
|
||||||
oracle? ( dev-db/oracle-instantclient-basic )
|
|
||||||
relp? ( >=dev-libs/librelp-0.1.3 )
|
|
||||||
snmp? ( net-analyzer/net-snmp )
|
|
||||||
ssl? ( net-libs/gnutls dev-libs/libgcrypt )
|
|
||||||
zeromq? ( net-libs/zeromq )
|
|
||||||
zlib? ( sys-libs/zlib )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
BRANCH="5-stable"
|
|
||||||
|
|
||||||
# need access to certain device nodes
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
# Maitainer note : open a bug to upstream
|
|
||||||
# showing that building in a separate dir fails
|
|
||||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
|
||||||
|
|
||||||
DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Maintainer notes:
|
|
||||||
# ZeroMQ support, for now it is done by hand until upstream process bug.
|
|
||||||
# Bugzilla : http://bugzilla.adiscon.com/show_bug.cgi?id=277
|
|
||||||
if use zeromq; then
|
|
||||||
local ZEROPATH=${WORKDIR}/aggregateknowledge-rsyslog-zeromq-44b551a
|
|
||||||
epatch ${ZEROPATH}/rsyslog-zeromq.patch
|
|
||||||
cp -r ${ZEROPATH}/{i,o}mzeromq "${S}/plugins"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Don't force '-g' CFLAG
|
|
||||||
sed -i 's/CFLAGS="\(.*\) -g"/CFLAGS="\1"/g' configure.ac || die
|
|
||||||
autotools-utils_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Maintainer notes:
|
|
||||||
# * rfc3195 needs a library and development of that library
|
|
||||||
# is suspended, so we disable it
|
|
||||||
# * About the java GUI:
|
|
||||||
# The maintainer says there is no real installation support
|
|
||||||
# for the java GUI, so we disable it for now.
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-gui
|
|
||||||
--disable-rfc3195
|
|
||||||
--enable-largefile
|
|
||||||
--enable-unlimited-select
|
|
||||||
--enable-imdiag
|
|
||||||
--enable-imfile
|
|
||||||
--enable-impstats
|
|
||||||
--enable-imtemplate
|
|
||||||
--enable-imptcp
|
|
||||||
--enable-mail
|
|
||||||
--enable-omprog
|
|
||||||
--enable-omstdout
|
|
||||||
--enable-omtemplate
|
|
||||||
--enable-omdbalerting
|
|
||||||
--enable-omuxsock
|
|
||||||
--enable-pmlastmsg
|
|
||||||
--enable-pmrfc3164sd
|
|
||||||
--enable-pmcisconames
|
|
||||||
--enable-pmaixforwardedfrom
|
|
||||||
--enable-pmsnare
|
|
||||||
$(use_enable extras omudpspoof)
|
|
||||||
$(use_enable zlib)
|
|
||||||
$(use_enable mysql)
|
|
||||||
$(use_enable dbi libdbi)
|
|
||||||
$(use_enable postgres pgsql)
|
|
||||||
$(use_enable oracle oracle)
|
|
||||||
$(use_enable ssl gnutls)
|
|
||||||
$(use_enable kerberos gssapi-krb5)
|
|
||||||
$(use_enable relp)
|
|
||||||
$(use_enable snmp)
|
|
||||||
$(use_enable snmp mmsnmptrapd)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable debug rtinst)
|
|
||||||
$(use_enable debug diagtools)
|
|
||||||
$(use_enable debug memcheck)
|
|
||||||
$(use_enable debug valgrind)
|
|
||||||
)
|
|
||||||
|
|
||||||
use zeromq && myeconfargs=(
|
|
||||||
${myeconfargs[@]-}
|
|
||||||
$(use_enable zeromq imzeromq)
|
|
||||||
$(use_enable zeromq omzeromq)
|
|
||||||
)
|
|
||||||
|
|
||||||
systemd_to_myeconfargs
|
|
||||||
autotools-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
use doc && HTML_DOCS=(doc/)
|
|
||||||
autotools-utils_src_install
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${FILESDIR}/${BRANCH}/${PN}-gentoo.conf" ${PN}.conf
|
|
||||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd" ${PN}
|
|
||||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd" ${PN}
|
|
||||||
keepdir /var/spool/${PN}
|
|
||||||
keepdir /etc/ssl/${PN}
|
|
||||||
keepdir /etc/${PN}.d
|
|
||||||
|
|
||||||
use static-libs || find "${D}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
if use mysql; then
|
|
||||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
|
||||||
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use postgres; then
|
|
||||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
|
||||||
doins plugins/ompgsql/createDB.sql
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use mysql || use postgres; then
|
|
||||||
echo
|
|
||||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
|
||||||
elog " /usr/share/doc/${PF}/scripts"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ssl; then
|
|
||||||
echo
|
|
||||||
elog "To create a default CA and certificates for your server and clients, run:"
|
|
||||||
elog " emerge --config =${PF}"
|
|
||||||
elog "on your logging server. You can run it several times,"
|
|
||||||
elog "once for each logging client. The client certificates will be signed"
|
|
||||||
elog "using the CA certificate generated during the first run."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
if ! use ssl ; then
|
|
||||||
einfo "There is nothing to configure for rsyslog unless you"
|
|
||||||
einfo "used USE=ssl to build it."
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make sure the certificates directory exists
|
|
||||||
CERTDIR="${ROOT}/etc/ssl/${PN}"
|
|
||||||
if [ ! -d "${CERTDIR}" ]; then
|
|
||||||
mkdir "${CERTDIR}" || die
|
|
||||||
fi
|
|
||||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
|
||||||
|
|
||||||
# Create a default CA if needed
|
|
||||||
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
|
||||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
|
||||||
certtool --generate-privkey \
|
|
||||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
|
||||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
|
||||||
|
|
||||||
cat > "${T}/${PF}.$$" <<- _EOF
|
|
||||||
cn = Portage automated CA
|
|
||||||
ca
|
|
||||||
cert_signing_key
|
|
||||||
expiration_days = 3650
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
certtool --generate-self-signed \
|
|
||||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
|
||||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
|
||||||
--template "${T}/${PF}.$$" &>/dev/null
|
|
||||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
|
||||||
|
|
||||||
# Create the server certificate
|
|
||||||
echo
|
|
||||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
|
||||||
read -r CN
|
|
||||||
|
|
||||||
einfo "Creating private key and certificate for server ${CN}..."
|
|
||||||
certtool --generate-privkey \
|
|
||||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
|
||||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
|
||||||
|
|
||||||
cat > "${T}/${PF}.$$" <<- _EOF
|
|
||||||
cn = ${CN}
|
|
||||||
tls_www_server
|
|
||||||
dns_name = ${CN}
|
|
||||||
expiration_days = 3650
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
certtool --generate-certificate \
|
|
||||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
|
||||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
|
||||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
|
||||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
|
||||||
--template "${T}/${PF}.$$" &>/dev/null
|
|
||||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
|
||||||
|
|
||||||
else
|
|
||||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create a client certificate
|
|
||||||
echo
|
|
||||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
|
||||||
read -r CN
|
|
||||||
|
|
||||||
einfo "Creating private key and certificate for client ${CN}..."
|
|
||||||
certtool --generate-privkey \
|
|
||||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
|
||||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
|
||||||
|
|
||||||
cat > "${T}/${PF}.$$" <<- _EOF
|
|
||||||
cn = ${CN}
|
|
||||||
tls_www_client
|
|
||||||
dns_name = ${CN}
|
|
||||||
expiration_days = 3650
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
certtool --generate-certificate \
|
|
||||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
|
||||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
|
||||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
|
||||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
|
||||||
--template "${T}/${PF}.$$" &>/dev/null
|
|
||||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
|
||||||
|
|
||||||
rm -f "${T}/${PF}.$$"
|
|
||||||
|
|
||||||
echo
|
|
||||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
|
||||||
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
|
||||||
}
|
|
423
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/rsyslog-8.13.0.ebuild
vendored
Normal file
423
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/rsyslog-8.13.0.ebuild
vendored
Normal file
@ -0,0 +1,423 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
AUTOTOOLS_AUTORECONF=1
|
||||||
|
|
||||||
|
inherit autotools-utils eutils systemd
|
||||||
|
|
||||||
|
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||||
|
HOMEPAGE="http://www.rsyslog.com/"
|
||||||
|
|
||||||
|
BRANCH="8-stable"
|
||||||
|
|
||||||
|
PATCHES=()
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="
|
||||||
|
git://github.com/rsyslog/${PN}.git
|
||||||
|
https://github.com/rsyslog/${PN}.git
|
||||||
|
"
|
||||||
|
|
||||||
|
DOC_REPO_URI="
|
||||||
|
git://github.com/rsyslog/${PN}-doc.git
|
||||||
|
https://github.com/rsyslog/${PN}-doc.git
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||||
|
doc? ( http://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||||
|
"
|
||||||
|
KEYWORDS="amd64 ~arm hppa x86"
|
||||||
|
|
||||||
|
PATCHES+=( "${FILESDIR}"/${BRANCH}/50-${PN}-8.12.0-fix-re_extract.patch )
|
||||||
|
PATCHES+=( "${FILESDIR}"/${BRANCH}/50-${PN}-8.13.0-lookup-table-reload-bugfix.patch )
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="dbi debug doc elasticsearch +gcrypt jemalloc kerberos libressl mongodb mysql normalize omudpspoof"
|
||||||
|
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/json-c-0.11:=
|
||||||
|
>=dev-libs/libestr-0.1.9
|
||||||
|
>=dev-libs/liblogging-1.0.1:=[stdlog]
|
||||||
|
>=sys-libs/zlib-1.2.5
|
||||||
|
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||||
|
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||||
|
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||||
|
jemalloc? ( >=dev-libs/jemalloc-3.3.1 )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
mongodb? ( >=dev-libs/libmongo-client-0.1.4 )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
normalize? (
|
||||||
|
>=dev-libs/libee-0.4.0
|
||||||
|
>=dev-libs/liblognorm-1.1.2:=
|
||||||
|
)
|
||||||
|
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||||
|
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||||
|
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 )
|
||||||
|
redis? ( >=dev-libs/hiredis-0.11.0 )
|
||||||
|
relp? ( >=dev-libs/librelp-1.2.5 )
|
||||||
|
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||||
|
rfc5424hmac? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.8y:0= )
|
||||||
|
libressl? ( dev-libs/libressl:= )
|
||||||
|
)
|
||||||
|
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||||
|
ssl? ( >=net-libs/gnutls-2.12.23 )
|
||||||
|
systemd? ( >=sys-apps/systemd-208 )
|
||||||
|
zeromq? ( >=net-libs/czmq-1.2.0 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
DEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||||
|
DEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||||
|
DEPEND+=" >=sys-devel/bison-2.4.3"
|
||||||
|
DEPEND+=" >=dev-python/docutils-0.12"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Maitainer note : open a bug to upstream
|
||||||
|
# showing that building in a separate dir fails
|
||||||
|
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
AUTOTOOLS_PRUNE_LIBTOOL_FILES="modules"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
AUTHORS
|
||||||
|
ChangeLog
|
||||||
|
"${FILESDIR}"/${BRANCH}/README.gentoo
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
git-r3_fetch
|
||||||
|
git-r3_checkout
|
||||||
|
else
|
||||||
|
unpack ${P}.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
local _EGIT_BRANCH=
|
||||||
|
if [ -n "${EGIT_BRANCH}" ]; then
|
||||||
|
# Cannot use rsyslog commits/branches for documentation repository
|
||||||
|
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||||
|
unset EGIT_BRANCH
|
||||||
|
fi
|
||||||
|
|
||||||
|
git-r3_fetch "${DOC_REPO_URI}"
|
||||||
|
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||||
|
|
||||||
|
if [ -n "${_EGIT_BRANCH}" ]; then
|
||||||
|
# Restore previous EGIT_BRANCH information
|
||||||
|
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
local doc_tarball="${PN}-doc-${PV}.tar.gz"
|
||||||
|
|
||||||
|
cd "${S}" || die "Cannot change dir into '$S'"
|
||||||
|
mkdir docs || die "Failed to create docs directory"
|
||||||
|
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||||
|
unpack ${doc_tarball}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Maintainer notes:
|
||||||
|
# * Guardtime support is missing because libgt isn't yet available
|
||||||
|
# in portage.
|
||||||
|
# * Hadoop's HDFS file system output module is currently not
|
||||||
|
# supported in Gentoo because nobody is able to test it
|
||||||
|
# (JAVA dependency).
|
||||||
|
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||||
|
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||||
|
# variables because rsyslog's build system depends on pkg-config.
|
||||||
|
|
||||||
|
if use redis; then
|
||||||
|
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||||
|
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-debug-symbols
|
||||||
|
--disable-generate-man-pages
|
||||||
|
--without-valgrind-testbench
|
||||||
|
$(use_enable test testbench)
|
||||||
|
# Input Plugins without depedencies
|
||||||
|
--enable-imdiag
|
||||||
|
--enable-imfile
|
||||||
|
--enable-impstats
|
||||||
|
--enable-imptcp
|
||||||
|
# Message Modificiation Plugins without depedencies
|
||||||
|
--enable-mmanon
|
||||||
|
--enable-mmaudit
|
||||||
|
--enable-mmfields
|
||||||
|
--enable-mmjsonparse
|
||||||
|
--enable-mmpstrucdata
|
||||||
|
--enable-mmsequence
|
||||||
|
--enable-mmutf8fix
|
||||||
|
# Output Modification Plugins without dependencies
|
||||||
|
--enable-mail
|
||||||
|
--enable-omprog
|
||||||
|
--enable-omruleset
|
||||||
|
--enable-omstdout
|
||||||
|
--enable-omuxsock
|
||||||
|
# Misc
|
||||||
|
--enable-pmaixforwardedfrom
|
||||||
|
--enable-pmciscoios
|
||||||
|
--enable-pmcisconames
|
||||||
|
--enable-pmlastmsg
|
||||||
|
--enable-pmsnare
|
||||||
|
# DB
|
||||||
|
$(use_enable dbi libdbi)
|
||||||
|
$(use_enable mongodb ommongodb)
|
||||||
|
$(use_enable mysql)
|
||||||
|
$(use_enable postgres pgsql)
|
||||||
|
$(use_enable redis omhiredis)
|
||||||
|
# Debug
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_enable debug diagtools)
|
||||||
|
$(use_enable debug memcheck)
|
||||||
|
$(use_enable debug rtinst)
|
||||||
|
$(use_enable debug valgrind)
|
||||||
|
# Misc
|
||||||
|
$(use_enable elasticsearch)
|
||||||
|
$(use_enable gcrypt libgcrypt)
|
||||||
|
$(use_enable jemalloc)
|
||||||
|
$(use_enable kerberos gssapi-krb5)
|
||||||
|
$(use_enable normalize mmnormalize)
|
||||||
|
$(use_enable omudpspoof)
|
||||||
|
$(use_enable rabbitmq omrabbitmq)
|
||||||
|
$(use_enable relp)
|
||||||
|
$(use_enable rfc3195)
|
||||||
|
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||||
|
$(use_enable snmp)
|
||||||
|
$(use_enable snmp mmsnmptrapd)
|
||||||
|
$(use_enable ssl gnutls)
|
||||||
|
$(use_enable systemd imjournal)
|
||||||
|
$(use_enable systemd omjournal)
|
||||||
|
$(use_enable usertools)
|
||||||
|
$(use_enable zeromq imzmq3)
|
||||||
|
$(use_enable zeromq omzmq3)
|
||||||
|
"$(systemd_with_unitdir)"
|
||||||
|
)
|
||||||
|
|
||||||
|
autotools-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
autotools-utils_src_compile
|
||||||
|
|
||||||
|
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||||
|
einfo "Building documentation ..."
|
||||||
|
local doc_dir="${S}/docs"
|
||||||
|
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||||
|
sphinx-build -b html source build || die "Building documentation failed!"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local _has_increased_ulimit=
|
||||||
|
|
||||||
|
# When adding new tests via patches we have to make them executable
|
||||||
|
einfo "Adjusting permissions of test scripts ..."
|
||||||
|
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||||
|
die "Failed to adjust test scripts permission"
|
||||||
|
|
||||||
|
if ulimit -n 3072; then
|
||||||
|
_has_increased_ulimit="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! emake --jobs 1 check; then
|
||||||
|
eerror "Test suite failed! :("
|
||||||
|
|
||||||
|
if [ -z "${_has_increased_ulimit}" ]; then
|
||||||
|
eerror "Probably because open file limit couldn't be set to 3072."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has userpriv $FEATURES; then
|
||||||
|
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||||
|
"before you submit a bug report."
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
use doc && HTML_DOCS=( "${S}/docs/build/" )
|
||||||
|
autotools-utils_src_install
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
|
||||||
|
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
|
||||||
|
|
||||||
|
keepdir /var/empty/dev
|
||||||
|
keepdir /var/spool/${PN}
|
||||||
|
keepdir /etc/ssl/${PN}
|
||||||
|
keepdir /etc/${PN}.d
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
|
||||||
|
|
||||||
|
insinto /etc/rsyslog.d/
|
||||||
|
doins "${FILESDIR}/${BRANCH}/50-default.conf"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||||
|
|
||||||
|
if use mysql; then
|
||||||
|
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||||
|
doins plugins/ommysql/createDB.sql
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use postgres; then
|
||||||
|
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||||
|
doins plugins/ompgsql/createDB.sql
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local advertise_readme=0
|
||||||
|
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
# This is a new installation
|
||||||
|
|
||||||
|
advertise_readme=1
|
||||||
|
|
||||||
|
if use mysql || use postgres; then
|
||||||
|
echo
|
||||||
|
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||||
|
elog " /usr/share/doc/${PF}/scripts"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
echo
|
||||||
|
elog "To create a default CA and certificates for your server and clients, run:"
|
||||||
|
elog " emerge --config =${PF}"
|
||||||
|
elog "on your logging server. You can run it several times,"
|
||||||
|
elog "once for each logging client. The client certificates will be signed"
|
||||||
|
elog "using the CA certificate generated during the first run."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 8.0 ]]; then
|
||||||
|
# Show this message until rsyslog-8.x
|
||||||
|
echo
|
||||||
|
elog "Since ${PN}-7.6.3 we no longer use the catch-all log target"
|
||||||
|
elog "\"/var/log/syslog\" due to its redundancy to the other log targets."
|
||||||
|
|
||||||
|
advertise_readme=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||||
|
# We need to show the README file location
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
elog "Please read"
|
||||||
|
elog ""
|
||||||
|
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||||
|
elog ""
|
||||||
|
elog "for more details."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
if ! use ssl ; then
|
||||||
|
einfo "There is nothing to configure for rsyslog unless you"
|
||||||
|
einfo "used USE=ssl to build it."
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure the certificates directory exists
|
||||||
|
CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||||
|
if [ ! -d "${CERTDIR}" ]; then
|
||||||
|
mkdir "${CERTDIR}" || die
|
||||||
|
fi
|
||||||
|
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||||
|
|
||||||
|
# Create a default CA if needed
|
||||||
|
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
||||||
|
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = Portage automated CA
|
||||||
|
ca
|
||||||
|
cert_signing_key
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-self-signed \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||||
|
|
||||||
|
# Create the server certificate
|
||||||
|
echo
|
||||||
|
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||||
|
read -r CN
|
||||||
|
|
||||||
|
einfo "Creating private key and certificate for server ${CN}..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = ${CN}
|
||||||
|
tls_www_server
|
||||||
|
dns_name = ${CN}
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-certificate \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||||
|
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||||
|
|
||||||
|
else
|
||||||
|
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create a client certificate
|
||||||
|
echo
|
||||||
|
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||||
|
read -r CN
|
||||||
|
|
||||||
|
einfo "Creating private key and certificate for client ${CN}..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = ${CN}
|
||||||
|
tls_www_client
|
||||||
|
dns_name = ${CN}
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-certificate \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||||
|
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||||
|
|
||||||
|
rm -f "${T}/${PF}.$$"
|
||||||
|
|
||||||
|
echo
|
||||||
|
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||||
|
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||||
|
}
|
432
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/rsyslog-8.16.0.ebuild
vendored
Normal file
432
sdk_container/src/third_party/portage-stable/app-admin/rsyslog/rsyslog-8.16.0.ebuild
vendored
Normal file
@ -0,0 +1,432 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit autotools eutils systemd
|
||||||
|
|
||||||
|
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||||
|
HOMEPAGE="http://www.rsyslog.com/"
|
||||||
|
|
||||||
|
BRANCH="8-stable"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/8-stable/50-rsyslog-8.15.0-imtcp-tls-basic-vg-test-workaround.patch
|
||||||
|
"${FILESDIR}"/8-stable/50-rsyslog-8.15.0-imfile-readmode2-vg-test-workaround.patch
|
||||||
|
"${FILESDIR}"/8-stable/50-rsyslog-8.16.0-fix-queue-engine-issue-262.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="
|
||||||
|
git://github.com/rsyslog/${PN}.git
|
||||||
|
https://github.com/rsyslog/${PN}.git
|
||||||
|
"
|
||||||
|
|
||||||
|
DOC_REPO_URI="
|
||||||
|
git://github.com/rsyslog/${PN}-doc.git
|
||||||
|
https://github.com/rsyslog/${PN}-doc.git
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||||
|
doc? ( http://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="dbi debug doc elasticsearch +gcrypt jemalloc kerberos libressl mongodb mysql normalize omudpspoof"
|
||||||
|
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/json-c-0.11:=
|
||||||
|
>=dev-libs/libestr-0.1.9
|
||||||
|
>=dev-libs/liblogging-1.0.1:=[stdlog]
|
||||||
|
>=sys-libs/zlib-1.2.5
|
||||||
|
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||||
|
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||||
|
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||||
|
jemalloc? ( >=dev-libs/jemalloc-3.3.1 )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
mongodb? ( >=dev-libs/libmongo-client-0.1.4 )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
normalize? (
|
||||||
|
>=dev-libs/libee-0.4.0
|
||||||
|
>=dev-libs/liblognorm-1.1.2:=
|
||||||
|
)
|
||||||
|
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||||
|
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||||
|
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 )
|
||||||
|
redis? ( >=dev-libs/hiredis-0.11.0 )
|
||||||
|
relp? ( >=dev-libs/librelp-1.2.5 )
|
||||||
|
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||||
|
rfc5424hmac? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.8y:0= )
|
||||||
|
libressl? ( dev-libs/libressl:= )
|
||||||
|
)
|
||||||
|
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||||
|
ssl? ( >=net-libs/gnutls-2.12.23:0= )
|
||||||
|
systemd? ( >=sys-apps/systemd-208 )
|
||||||
|
zeromq? ( >=net-libs/czmq-1.2.0 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
DEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||||
|
DEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||||
|
DEPEND+=" >=sys-devel/bison-2.4.3"
|
||||||
|
DEPEND+=" >=dev-python/docutils-0.12"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Maitainer note : open a bug to upstream
|
||||||
|
# showing that building in a separate dir fails
|
||||||
|
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
AUTOTOOLS_PRUNE_LIBTOOL_FILES="modules"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
AUTHORS
|
||||||
|
ChangeLog
|
||||||
|
"${FILESDIR}"/${BRANCH}/README.gentoo
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
git-r3_fetch
|
||||||
|
git-r3_checkout
|
||||||
|
else
|
||||||
|
unpack ${P}.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
local _EGIT_BRANCH=
|
||||||
|
if [ -n "${EGIT_BRANCH}" ]; then
|
||||||
|
# Cannot use rsyslog commits/branches for documentation repository
|
||||||
|
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||||
|
unset EGIT_BRANCH
|
||||||
|
fi
|
||||||
|
|
||||||
|
git-r3_fetch "${DOC_REPO_URI}"
|
||||||
|
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||||
|
|
||||||
|
if [ -n "${_EGIT_BRANCH}" ]; then
|
||||||
|
# Restore previous EGIT_BRANCH information
|
||||||
|
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
local doc_tarball="${PN}-doc-${PV}.tar.gz"
|
||||||
|
|
||||||
|
cd "${S}" || die "Cannot change dir into '$S'"
|
||||||
|
mkdir docs || die "Failed to create docs directory"
|
||||||
|
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||||
|
unpack ${doc_tarball}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
elibtoolize --patch-only
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Maintainer notes:
|
||||||
|
# * Guardtime support is missing because libgt isn't yet available
|
||||||
|
# in portage.
|
||||||
|
# * Hadoop's HDFS file system output module is currently not
|
||||||
|
# supported in Gentoo because nobody is able to test it
|
||||||
|
# (JAVA dependency).
|
||||||
|
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||||
|
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||||
|
# variables because rsyslog's build system depends on pkg-config.
|
||||||
|
|
||||||
|
if use redis; then
|
||||||
|
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||||
|
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-debug-symbols
|
||||||
|
--disable-generate-man-pages
|
||||||
|
--without-valgrind-testbench
|
||||||
|
$(use_enable test testbench)
|
||||||
|
# Input Plugins without depedencies
|
||||||
|
--enable-imdiag
|
||||||
|
--enable-imfile
|
||||||
|
--enable-impstats
|
||||||
|
--enable-imptcp
|
||||||
|
# Message Modificiation Plugins without depedencies
|
||||||
|
--enable-mmanon
|
||||||
|
--enable-mmaudit
|
||||||
|
--enable-mmfields
|
||||||
|
--enable-mmjsonparse
|
||||||
|
--enable-mmpstrucdata
|
||||||
|
--enable-mmsequence
|
||||||
|
--enable-mmutf8fix
|
||||||
|
# Output Modification Plugins without dependencies
|
||||||
|
--enable-mail
|
||||||
|
--enable-omprog
|
||||||
|
--enable-omruleset
|
||||||
|
--enable-omstdout
|
||||||
|
--enable-omuxsock
|
||||||
|
# Misc
|
||||||
|
--disable-omkafka
|
||||||
|
--enable-pmaixforwardedfrom
|
||||||
|
--enable-pmciscoios
|
||||||
|
--enable-pmcisconames
|
||||||
|
--enable-pmlastmsg
|
||||||
|
--enable-pmsnare
|
||||||
|
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
# DB
|
||||||
|
$(use_enable dbi libdbi)
|
||||||
|
$(use_enable mongodb ommongodb)
|
||||||
|
$(use_enable mysql)
|
||||||
|
$(use_enable postgres pgsql)
|
||||||
|
$(use_enable redis omhiredis)
|
||||||
|
# Debug
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_enable debug diagtools)
|
||||||
|
$(use_enable debug memcheck)
|
||||||
|
$(use_enable debug rtinst)
|
||||||
|
$(use_enable debug valgrind)
|
||||||
|
# Misc
|
||||||
|
$(use_enable elasticsearch)
|
||||||
|
$(use_enable gcrypt libgcrypt)
|
||||||
|
$(use_enable jemalloc)
|
||||||
|
$(use_enable kerberos gssapi-krb5)
|
||||||
|
$(use_enable normalize mmnormalize)
|
||||||
|
$(use_enable omudpspoof)
|
||||||
|
$(use_enable rabbitmq omrabbitmq)
|
||||||
|
$(use_enable relp)
|
||||||
|
$(use_enable rfc3195)
|
||||||
|
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||||
|
$(use_enable snmp)
|
||||||
|
$(use_enable snmp mmsnmptrapd)
|
||||||
|
$(use_enable ssl gnutls)
|
||||||
|
$(use_enable systemd imjournal)
|
||||||
|
$(use_enable systemd omjournal)
|
||||||
|
$(use_enable usertools)
|
||||||
|
$(use_enable zeromq imzmq3)
|
||||||
|
$(use_enable zeromq omzmq3)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf ${myeconfargs[@]}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||||
|
einfo "Building documentation ..."
|
||||||
|
local doc_dir="${S}/docs"
|
||||||
|
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||||
|
sphinx-build -b html source build || die "Building documentation failed!"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local _has_increased_ulimit=
|
||||||
|
|
||||||
|
# When adding new tests via patches we have to make them executable
|
||||||
|
einfo "Adjusting permissions of test scripts ..."
|
||||||
|
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||||
|
die "Failed to adjust test scripts permission"
|
||||||
|
|
||||||
|
if ulimit -n 3072; then
|
||||||
|
_has_increased_ulimit="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! emake --jobs 1 check; then
|
||||||
|
eerror "Test suite failed! :("
|
||||||
|
|
||||||
|
if [ -z "${_has_increased_ulimit}" ]; then
|
||||||
|
eerror "Probably because open file limit couldn't be set to 3072."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has userpriv $FEATURES; then
|
||||||
|
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||||
|
"before you submit a bug report."
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
|
||||||
|
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
|
||||||
|
|
||||||
|
keepdir /var/empty/dev
|
||||||
|
keepdir /var/spool/${PN}
|
||||||
|
keepdir /etc/ssl/${PN}
|
||||||
|
keepdir /etc/${PN}.d
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
|
||||||
|
|
||||||
|
insinto /etc/rsyslog.d/
|
||||||
|
doins "${FILESDIR}/${BRANCH}/50-default.conf"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||||
|
|
||||||
|
if use mysql; then
|
||||||
|
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||||
|
doins plugins/ommysql/createDB.sql
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use postgres; then
|
||||||
|
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||||
|
doins plugins/ompgsql/createDB.sql
|
||||||
|
fi
|
||||||
|
|
||||||
|
use doc && dohtml -r "${S}/docs/build/"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local advertise_readme=0
|
||||||
|
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
# This is a new installation
|
||||||
|
|
||||||
|
advertise_readme=1
|
||||||
|
|
||||||
|
if use mysql || use postgres; then
|
||||||
|
echo
|
||||||
|
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||||
|
elog " /usr/share/doc/${PF}/scripts"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
echo
|
||||||
|
elog "To create a default CA and certificates for your server and clients, run:"
|
||||||
|
elog " emerge --config =${PF}"
|
||||||
|
elog "on your logging server. You can run it several times,"
|
||||||
|
elog "once for each logging client. The client certificates will be signed"
|
||||||
|
elog "using the CA certificate generated during the first run."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 8.0 ]]; then
|
||||||
|
# Show this message until rsyslog-8.x
|
||||||
|
echo
|
||||||
|
elog "Since ${PN}-7.6.3 we no longer use the catch-all log target"
|
||||||
|
elog "\"/var/log/syslog\" due to its redundancy to the other log targets."
|
||||||
|
|
||||||
|
advertise_readme=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||||
|
# We need to show the README file location
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
elog "Please read"
|
||||||
|
elog ""
|
||||||
|
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||||
|
elog ""
|
||||||
|
elog "for more details."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
if ! use ssl ; then
|
||||||
|
einfo "There is nothing to configure for rsyslog unless you"
|
||||||
|
einfo "used USE=ssl to build it."
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure the certificates directory exists
|
||||||
|
CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||||
|
if [ ! -d "${CERTDIR}" ]; then
|
||||||
|
mkdir "${CERTDIR}" || die
|
||||||
|
fi
|
||||||
|
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||||
|
|
||||||
|
# Create a default CA if needed
|
||||||
|
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
||||||
|
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = Portage automated CA
|
||||||
|
ca
|
||||||
|
cert_signing_key
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-self-signed \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||||
|
|
||||||
|
# Create the server certificate
|
||||||
|
echo
|
||||||
|
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||||
|
read -r CN
|
||||||
|
|
||||||
|
einfo "Creating private key and certificate for server ${CN}..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = ${CN}
|
||||||
|
tls_www_server
|
||||||
|
dns_name = ${CN}
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-certificate \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||||
|
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||||
|
|
||||||
|
else
|
||||||
|
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create a client certificate
|
||||||
|
echo
|
||||||
|
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||||
|
read -r CN
|
||||||
|
|
||||||
|
einfo "Creating private key and certificate for client ${CN}..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = ${CN}
|
||||||
|
tls_www_client
|
||||||
|
dns_name = ${CN}
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-certificate \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||||
|
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||||
|
|
||||||
|
rm -f "${T}/${PF}.$$"
|
||||||
|
|
||||||
|
echo
|
||||||
|
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||||
|
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||||
|
}
|
@ -1,15 +0,0 @@
|
|||||||
DEFINED_PHASES=configure install
|
|
||||||
DEPEND=kerberos? ( virtual/krb5 ) dbi? ( dev-db/libdbi ) gnutls? ( net-libs/gnutls ) mysql? ( virtual/mysql ) postgres? ( virtual/postgresql-base ) relp? ( >=dev-libs/librelp-0.1.1 ) snmp? ( net-analyzer/net-snmp ) zlib? ( sys-libs/zlib )
|
|
||||||
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more.
|
|
||||||
EAPI=2
|
|
||||||
HOMEPAGE=http://www.rsyslog.com/
|
|
||||||
IUSE=debug kerberos dbi gnutls mysql postgres relp snmp zlib
|
|
||||||
KEYWORDS=~amd64 ~arm ~hppa ~sparc ~x86
|
|
||||||
LICENSE=GPL-3 LGPL-3
|
|
||||||
PROVIDE=virtual/logger
|
|
||||||
RDEPEND=kerberos? ( virtual/krb5 ) dbi? ( dev-db/libdbi ) gnutls? ( net-libs/gnutls ) mysql? ( virtual/mysql ) postgres? ( virtual/postgresql-base ) relp? ( >=dev-libs/librelp-0.1.1 ) snmp? ( net-analyzer/net-snmp ) zlib? ( sys-libs/zlib )
|
|
||||||
RESTRICT=test
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://download.rsyslog.com/rsyslog/rsyslog-3.22.1.tar.gz
|
|
||||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
|
||||||
_md5_=6f1f6d0204325399230da12d411ef033
|
|
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile config configure install postinst prepare test
|
|
||||||
DEPEND=dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls dev-libs/libgcrypt ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
|
||||||
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=http://www.rsyslog.com/
|
|
||||||
IUSE=dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib
|
|
||||||
KEYWORDS=amd64 arm ~hppa x86
|
|
||||||
LICENSE=GPL-3 LGPL-3 Apache-2.0
|
|
||||||
RDEPEND=dbi? ( dev-db/libdbi ) extras? ( net-libs/libnet ) kerberos? ( virtual/krb5 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) oracle? ( dev-db/oracle-instantclient-basic ) relp? ( >=dev-libs/librelp-0.1.3 ) snmp? ( net-analyzer/net-snmp ) ssl? ( net-libs/gnutls dev-libs/libgcrypt ) zeromq? ( net-libs/zeromq ) zlib? ( sys-libs/zlib )
|
|
||||||
RESTRICT=test
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://www.rsyslog.com/files/download/rsyslog/rsyslog-5.8.11.tar.gz zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> rsyslog-zeromq.tar.gz )
|
|
||||||
_eclasses_=autotools 199350adb9ae3c85e275b1409e43c90d autotools-utils dbce0f7913bd240fdf0ef428149855c0 eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4
|
|
||||||
_md5_=05d5a9f41a21bc9c0ec0c7233f165bc9
|
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/rsyslog-8.13.0
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/rsyslog-8.13.0
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile config configure install postinst prepare test unpack
|
||||||
|
DEPEND=>=dev-libs/json-c-0.11:= >=dev-libs/libestr-0.1.9 >=dev-libs/liblogging-1.0.1:=[stdlog] >=sys-libs/zlib-1.2.5 dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) jemalloc? ( >=dev-libs/jemalloc-3.3.1 ) kerberos? ( virtual/krb5 ) mongodb? ( >=dev-libs/libmongo-client-0.1.4 ) mysql? ( virtual/mysql ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-1.1.2:= ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 ) redis? ( >=dev-libs/hiredis-0.11.0 ) relp? ( >=dev-libs/librelp-1.2.5 ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( !libressl? ( >=dev-libs/openssl-0.9.8y:0= ) libressl? ( dev-libs/libressl:= ) ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( >=net-libs/gnutls-2.12.23 ) systemd? ( >=sys-apps/systemd-208 ) zeromq? ( >=net-libs/czmq-1.2.0 ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||||
|
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.rsyslog.com/
|
||||||
|
IUSE=dbi debug doc elasticsearch +gcrypt jemalloc kerberos libressl mongodb mysql normalize omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq
|
||||||
|
KEYWORDS=amd64 ~arm hppa x86
|
||||||
|
LICENSE=GPL-3 LGPL-3 Apache-2.0
|
||||||
|
RDEPEND=>=dev-libs/json-c-0.11:= >=dev-libs/libestr-0.1.9 >=dev-libs/liblogging-1.0.1:=[stdlog] >=sys-libs/zlib-1.2.5 dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) jemalloc? ( >=dev-libs/jemalloc-3.3.1 ) kerberos? ( virtual/krb5 ) mongodb? ( >=dev-libs/libmongo-client-0.1.4 ) mysql? ( virtual/mysql ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-1.1.2:= ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 ) redis? ( >=dev-libs/hiredis-0.11.0 ) relp? ( >=dev-libs/librelp-1.2.5 ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( !libressl? ( >=dev-libs/openssl-0.9.8y:0= ) libressl? ( dev-libs/libressl:= ) ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( >=net-libs/gnutls-2.12.23 ) systemd? ( >=sys-apps/systemd-208 ) zeromq? ( >=net-libs/czmq-1.2.0 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.rsyslog.com/files/download/rsyslog/rsyslog-8.13.0.tar.gz doc? ( http://www.rsyslog.com/files/download/rsyslog/rsyslog-doc-8.13.0.tar.gz )
|
||||||
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c autotools-utils 419811142edf3516b0d0cf1a254d93cb eutils 9d81603248f2ba3ec59124320d123e5e libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||||
|
_md5_=5cad272488884aff888d12ca02ed3300
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/rsyslog-8.16.0
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/rsyslog-8.16.0
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile config configure install postinst prepare test unpack
|
||||||
|
DEPEND=>=dev-libs/json-c-0.11:= >=dev-libs/libestr-0.1.9 >=dev-libs/liblogging-1.0.1:=[stdlog] >=sys-libs/zlib-1.2.5 dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) jemalloc? ( >=dev-libs/jemalloc-3.3.1 ) kerberos? ( virtual/krb5 ) mongodb? ( >=dev-libs/libmongo-client-0.1.4 ) mysql? ( virtual/mysql ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-1.1.2:= ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 ) redis? ( >=dev-libs/hiredis-0.11.0 ) relp? ( >=dev-libs/librelp-1.2.5 ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( !libressl? ( >=dev-libs/openssl-0.9.8y:0= ) libressl? ( dev-libs/libressl:= ) ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( >=net-libs/gnutls-2.12.23:0= ) systemd? ( >=sys-apps/systemd-208 ) zeromq? ( >=net-libs/czmq-1.2.0 ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||||
|
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://www.rsyslog.com/
|
||||||
|
IUSE=dbi debug doc elasticsearch +gcrypt jemalloc kerberos libressl mongodb mysql normalize omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq
|
||||||
|
KEYWORDS=~amd64 ~arm ~hppa ~x86
|
||||||
|
LICENSE=GPL-3 LGPL-3 Apache-2.0
|
||||||
|
RDEPEND=>=dev-libs/json-c-0.11:= >=dev-libs/libestr-0.1.9 >=dev-libs/liblogging-1.0.1:=[stdlog] >=sys-libs/zlib-1.2.5 dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) jemalloc? ( >=dev-libs/jemalloc-3.3.1 ) kerberos? ( virtual/krb5 ) mongodb? ( >=dev-libs/libmongo-client-0.1.4 ) mysql? ( virtual/mysql ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-1.1.2:= ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 ) redis? ( >=dev-libs/hiredis-0.11.0 ) relp? ( >=dev-libs/librelp-1.2.5 ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( !libressl? ( >=dev-libs/openssl-0.9.8y:0= ) libressl? ( dev-libs/libressl:= ) ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( >=net-libs/gnutls-2.12.23:0= ) systemd? ( >=sys-apps/systemd-208 ) zeromq? ( >=net-libs/czmq-1.2.0 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.rsyslog.com/files/download/rsyslog/rsyslog-8.16.0.tar.gz doc? ( http://www.rsyslog.com/files/download/rsyslog/rsyslog-doc-8.16.0.tar.gz )
|
||||||
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||||
|
_md5_=f8aaf4498ceed5bc5d855e5eca94b381
|
Loading…
x
Reference in New Issue
Block a user