summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-08-03 02:44:02 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-08-03 03:19:36 +0200
commit8831b442e3d08fdc39011c1906edfa071a9af219 (patch)
tree1b6862064263e2cd334f50c766055fc02ed9a2ce /app-admin/rsyslog/files
parentapp-admin/rsyslog: hppa stable (bug #660258) (diff)
downloadgentoo-8831b442e3d08fdc39011c1906edfa071a9af219.tar.gz
gentoo-8831b442e3d08fdc39011c1906edfa071a9af219.tar.bz2
gentoo-8831b442e3d08fdc39011c1906edfa071a9af219.zip
app-admin/rsyslog: drop old
Bug: https://bugs.gentoo.org/627912 Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'app-admin/rsyslog/files')
-rw-r--r--app-admin/rsyslog/files/8-stable/50-default.conf95
-rw-r--r--app-admin/rsyslog/files/8-stable/rsyslog-8.27.0-fix-mmnormalize-tests.patch23
-rw-r--r--app-admin/rsyslog/files/8-stable/rsyslog-8.32.0-fix-building-without-curl-r3.patch137
-rw-r--r--app-admin/rsyslog/files/8-stable/rsyslog-8.34.0-fix-issue2612.patch13
-rw-r--r--app-admin/rsyslog/files/8-stable/rsyslog.logrotate37
5 files changed, 0 insertions, 305 deletions
diff --git a/app-admin/rsyslog/files/8-stable/50-default.conf b/app-admin/rsyslog/files/8-stable/50-default.conf
deleted file mode 100644
index 9ae8578215bb..000000000000
--- a/app-admin/rsyslog/files/8-stable/50-default.conf
+++ /dev/null
@@ -1,95 +0,0 @@
-#######################
-### 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")
diff --git a/app-admin/rsyslog/files/8-stable/rsyslog-8.27.0-fix-mmnormalize-tests.patch b/app-admin/rsyslog/files/8-stable/rsyslog-8.27.0-fix-mmnormalize-tests.patch
deleted file mode 100644
index 6ef7e6426287..000000000000
--- a/app-admin/rsyslog/files/8-stable/rsyslog-8.27.0-fix-mmnormalize-tests.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://github.com/rsyslog/rsyslog/pull/1791
----
- tests/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -498,7 +498,6 @@ TESTS += msgvar-concurrency-array.sh \
- mmnormalize_processing_test2.sh \
- mmnormalize_processing_test3.sh \
- mmnormalize_processing_test4.sh
--endif
-
- if ENABLE_IMPTCP
- TESTS += \
-@@ -512,6 +511,7 @@ if LOGNORM_REGEX_SUPPORTED
- TESTS += \
- mmnormalize_regex.sh
- endif
-+endif
-
- if ENABLE_MMJSONPARSE
- TESTS += \
diff --git a/app-admin/rsyslog/files/8-stable/rsyslog-8.32.0-fix-building-without-curl-r3.patch b/app-admin/rsyslog/files/8-stable/rsyslog-8.32.0-fix-building-without-curl-r3.patch
deleted file mode 100644
index 534183a8ca29..000000000000
--- a/app-admin/rsyslog/files/8-stable/rsyslog-8.32.0-fix-building-without-curl-r3.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-https://github.com/rsyslog/rsyslog/commit/d9475f133e3c79875a7c4ccd92038b7123c1f155
-https://github.com/rsyslog/rsyslog/commit/468eeb79b8da91fb71dfef6bfb25476b2a37f446
-https://github.com/rsyslog/rsyslog/commit/50205ced0fc22e74f26f2a07b557b69c5d30e168
-
---- a/grammar/rainerscript.c
-+++ b/grammar/rainerscript.c
-@@ -1935,6 +1935,7 @@ num2ipv4(struct svar *__restrict__ const sourceVal) {
- return(estr);
- }
-
-+#ifdef HAVE_LIBCURL
- /* curl callback for doFunc_http_request */
- static size_t
- curlResult(void *ptr, size_t size, size_t nmemb, void *userdata)
-@@ -2010,6 +2011,7 @@ doFunc_http_request(struct cnffunc *__restrict__ const func,
- }
- RETiRet;
- }
-+#endif
-
- static int ATTR_NONNULL(1,3,4)
- doFunc_is_time(const char *__restrict__ const str,
-@@ -2513,11 +2515,16 @@ doFuncCall(struct cnffunc *__restrict__ const func, struct svar *__restrict__ co
- if(bMustFree2) free(str2);
- break;
- case CNFFUNC_HTTP_REQUEST:
-+#ifdef HAVE_LIBCURL
- cnfexprEval(func->expr[0], &r[0], usrptr, pWti);
- str = (char*) var2CString(&r[0], &bMustFree);
- doFunc_http_request(func, ret, str);
- if(bMustFree) free(str);
- varFreeMembers(&r[0]);
-+#else
-+ LogError(0, RS_RET_INTERNAL_ERROR,
-+ "rainerscript: internal error: HTTP_Fetch not supported, not built with libcurl support");
-+#endif
- break;
- default:
- if(Debug) {
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -454,6 +454,8 @@ if test "$enable_libcurl" = "yes"; then
- )
- fi
-
-+AM_CONDITIONAL(ENABLE_LIBCURL, test "x${enable_libcurl}" = "xyes")
-+
- # klog
- AC_ARG_ENABLE(klog,
- [AS_HELP_STRING([--enable-klog],[Integrated klog functionality @<:@default=yes@:>@])],
-
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -226,7 +226,6 @@ TESTS += \
- rscript_contains.sh \
- rscript_bare_var_root.sh \
- rscript_bare_var_root-empty.sh \
-- rscript_http_request.sh \
- rscript_ipv42num.sh \
- rscript_field.sh \
- rscript_stop.sh \
-@@ -305,7 +304,11 @@ TESTS += \
- lookup_table_rscript_reload.sh \
- lookup_table_rscript_reload_without_stub.sh \
- multiple_lookup_tables.sh
--endif
-+if ENABLE_LIBCURL
-+TESTS += \
-+ rscript_http_request.sh
-+endif # ENABLE_LIBCURL
-+endif # ENABLE_TESTBENCH2
-
- if HAVE_VALGRIND
- TESTS += \
-@@ -313,7 +316,6 @@ TESTS += \
- mmexternal-InvldProg-vg.sh \
- internal-errmsg-memleak-vg.sh \
- rscript_set_memleak-vg.sh \
-- rscript_http_request-vg.sh \
- no-parser-vg.sh \
- discard-rptdmsg-vg.sh \
- discard-allmark-vg.sh \
-@@ -338,6 +340,10 @@ TESTS += \
- multiple_lookup_tables-vg.sh \
- fac_local0-vg.sh \
- rscript_trim-vg.sh
-+if ENABLE_LIBCURL
-+TESTS += \
-+ rscript_http_request-vg.sh
-+endif # ENABLE_LIBCURL
- endif # HAVE_VALGRIND
-
- if ENABLE_ROOT_TESTS
-
---- a/grammar/Makefile.am
-+++ b/grammar/Makefile.am
-@@ -12,8 +12,11 @@ libgrammar_la_SOURCES = \
- parserif.h \
- grammar.h
- libgrammar_la_CPPFLAGS = $(RSRT_CFLAGS) $(LIBLOGGING_STDLOG_CFLAGS)
--#libgrammar_la_LIBADD = $(CURL_LIBS) $(RSRT_LIBS) $(SOL_LIBS)
--libgrammar_la_LIBADD = $(CURL_LIBS)
-+libgrammar_la_LIBADD =
-+if ENABLE_LIBCURL
-+libgrammar_la_CPPFLAGS += $(CURL_CFLAGS)
-+libgrammar_la_LIBADD += $(CURL_LIBS)
-+endif
-
- #testdriver_SOURCES = testdriver.c libgrammar.la
- #testdriver_CPPFLAGS = $(RSRT_CFLAGS)
-
---- a/plugins/omelasticsearch/Makefile.am
-+++ b/plugins/omelasticsearch/Makefile.am
-@@ -1,7 +1,7 @@
- pkglib_LTLIBRARIES = omelasticsearch.la
-
- omelasticsearch_la_SOURCES = omelasticsearch.c
--omelasticsearch_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS)
-+omelasticsearch_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(CURL_CFLAGS)
- omelasticsearch_la_LDFLAGS = -module -avoid-version
- omelasticsearch_la_LIBADD = $(CURL_LIBS) $(LIBM)
-
---- a/grammar/rainerscript.c
-+++ b/grammar/rainerscript.c
-@@ -36,7 +36,11 @@
- #include <sys/types.h>
- #include <libestr.h>
- #include <time.h>
-+
-+#ifdef HAVE_LIBCURL
- #include <curl/curl.h>
-+#endif
-+
- #include "rsyslog.h"
- #include "rainerscript.h"
- #include "conf.h"
diff --git a/app-admin/rsyslog/files/8-stable/rsyslog-8.34.0-fix-issue2612.patch b/app-admin/rsyslog/files/8-stable/rsyslog-8.34.0-fix-issue2612.patch
deleted file mode 100644
index 4e9e566e84c7..000000000000
--- a/app-admin/rsyslog/files/8-stable/rsyslog-8.34.0-fix-issue2612.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/rsyslog/rsyslog/issues/2612
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -254,7 +254,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM(, return __builtin_expect(main != 0, 1))],
- # speeds up processig.
- # note that when automic operations are enabled but not available, they
- # will silently NOT be used!
--AC_ARG_ENABLE(regexp,
-+AC_ARG_ENABLE(atomic_operations,
- [AS_HELP_STRING([--enable-atomic-operations],[Enable atomic operation support @<:@default=yes@:>@])],
- [case "${enableval}" in
- yes) enable_atomic_operations="yes" ;;
diff --git a/app-admin/rsyslog/files/8-stable/rsyslog.logrotate b/app-admin/rsyslog/files/8-stable/rsyslog.logrotate
deleted file mode 100644
index 1eae30e0d741..000000000000
--- a/app-admin/rsyslog/files/8-stable/rsyslog.logrotate
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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
-}