From 4b95dbbfb999fadffbf359882009228906a12767 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 11 Mar 2025 08:08:24 +0000 Subject: [PATCH] import CS rsyslog-8.2412.0-1.el9 --- .gitignore | 4 +- .rsyslog.metadata | 6 +- SOURCES/imfile-deleteStateOnFileMove.patch | 28 +++++ ...rhbz1659898-imjournal-default-tag-v2.patch | 83 ------------- ...0-rhbz1886400-reduce-default-timeout.patch | 21 ---- ...-preserve-statefile-on-file-move-doc.patch | 42 ------- ...-not-preserve-statefile-on-file-move.patch | 115 ------------------ .../rsyslog-8.2310.0-omprog-binary-path.patch | 41 ------- ...8.2310.0-remove-state-on-file-delete.patch | 11 -- SPECS/rsyslog.spec | 33 ++--- 10 files changed, 51 insertions(+), 333 deletions(-) create mode 100644 SOURCES/imfile-deleteStateOnFileMove.patch delete mode 100644 SOURCES/rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag-v2.patch delete mode 100644 SOURCES/rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch delete mode 100644 SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move-doc.patch delete mode 100644 SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move.patch delete mode 100644 SOURCES/rsyslog-8.2310.0-omprog-binary-path.patch delete mode 100644 SOURCES/rsyslog-8.2310.0-remove-state-on-file-delete.patch diff --git a/.gitignore b/.gitignore index 7903c69..c8548c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ SOURCES/qpid-proton-0.39.0.tar.gz -SOURCES/rsyslog-8.2310.0.tar.gz -SOURCES/rsyslog-doc-8.2310.0.tar.gz +SOURCES/rsyslog-8.2412.0.tar.gz +SOURCES/rsyslog-doc-8.2412.0.tar.gz diff --git a/.rsyslog.metadata b/.rsyslog.metadata index 5aa1760..41fee07 100644 --- a/.rsyslog.metadata +++ b/.rsyslog.metadata @@ -1,3 +1,3 @@ -e2fe5aada26415aeb1902435a8acf5ee388cb2cf SOURCES/qpid-proton-0.39.0.tar.gz -702012a5ed36fe2a07bed78f80de1915787aac75 SOURCES/rsyslog-8.2310.0.tar.gz -9016da3bc06acdbde78ad83d129582c22fe444a1 SOURCES/rsyslog-doc-8.2310.0.tar.gz +de593ff72792d70b9027dd67aaa2b830dc148574 SOURCES/qpid-proton-0.39.0.tar.gz +d2b48451c525a76a554acc3232605b67ee270aa9 SOURCES/rsyslog-8.2412.0.tar.gz +9b9e0379f368781b4bee17b2b117bf8234c4e9e6 SOURCES/rsyslog-doc-8.2412.0.tar.gz diff --git a/SOURCES/imfile-deleteStateOnFileMove.patch b/SOURCES/imfile-deleteStateOnFileMove.patch new file mode 100644 index 0000000..1c24241 --- /dev/null +++ b/SOURCES/imfile-deleteStateOnFileMove.patch @@ -0,0 +1,28 @@ +diff -up rsyslog-8.2412.0/plugins/imfile/imfile.c.orig rsyslog-8.2412.0/plugins/imfile/imfile.c +--- rsyslog-8.2412.0/plugins/imfile/imfile.c.orig 2024-12-06 13:42:53.855126447 +0100 ++++ rsyslog-8.2412.0/plugins/imfile/imfile.c 2024-12-06 13:44:43.990211090 +0100 +@@ -264,6 +264,7 @@ struct modConfData_s { + Must be manually reset to 0 if desired. Helper for + polling mode. + */ ++ sbool deleteStateOnFileMove; + }; + static modConfData_t *loadModConf = NULL;/* modConf ptr to use for the current load process */ + static modConfData_t *runModConf = NULL;/* modConf ptr to use for run process */ +@@ -2094,6 +2095,7 @@ CODESTARTbeginCnfLoad + loadModConf->timeoutGranularity = 1000; /* default: 1 second */ + loadModConf->haveReadTimeouts = 0; /* default: no timeout */ + loadModConf->normalizePath = 1; ++ loadModConf->deleteStateOnFileMove = 0; + loadModConf->sortFiles = GLOB_NOSORT; + loadModConf->stateFileDirectory = NULL; + loadModConf->conf_tree = calloc(1, sizeof(fs_node_t)); +@@ -2153,6 +2155,8 @@ CODESTARTsetModCnf + loadModConf->stateFileDirectory = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL); + } else if(!strcmp(modpblk.descr[i].name, "normalizepath")) { + loadModConf->normalizePath = (sbool) pvals[i].val.d.n; ++ } else if(!strcmp(modpblk.descr[i].name, "deletestateonfilemove")) { ++ loadModConf->deleteStateOnFileMove = (sbool) pvals[i].val.d.n; + } else if(!strcmp(modpblk.descr[i].name, "mode")) { + if(!es_strconstcmp(pvals[i].val.d.estr, "polling")) + loadModConf->opMode = OPMODE_POLLING; diff --git a/SOURCES/rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag-v2.patch b/SOURCES/rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag-v2.patch deleted file mode 100644 index 2d0d51d..0000000 --- a/SOURCES/rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag-v2.patch +++ /dev/null @@ -1,83 +0,0 @@ -diff -up rsyslog-8.2310.0/plugins/imjournal/imjournal.c.orig rsyslog-8.2310.0/plugins/imjournal/imjournal.c ---- rsyslog-8.2310.0/plugins/imjournal/imjournal.c.orig 2023-10-10 16:42:39.771369418 +0200 -+++ rsyslog-8.2310.0/plugins/imjournal/imjournal.c 2023-10-10 16:51:39.839133580 +0200 -@@ -87,6 +87,7 @@ static struct configSettings_s { - int bWorkAroundJournalBug; /* deprecated, left for backwards compatibility only */ - int bFsync; - int bRemote; -+ char *dfltTag; - } cs; - - static rsRetVal facilityHdlr(uchar **pp, void *pVal); -@@ -106,7 +107,8 @@ static struct cnfparamdescr modpdescr[] - { "usepid", eCmdHdlrString, 0 }, - { "workaroundjournalbug", eCmdHdlrBinary, 0 }, - { "fsync", eCmdHdlrBinary, 0 }, -- { "remote", eCmdHdlrBinary, 0 } -+ { "remote", eCmdHdlrBinary, 0 }, -+ { "defaulttag", eCmdHdlrGetWord, 0 } - }; - static struct cnfparamblk modpblk = - { CNFPARAMBLK_VERSION, -@@ -117,6 +119,7 @@ static struct cnfparamblk modpblk = - #define DFLT_persiststateinterval 10 - #define DFLT_SEVERITY pri2sev(LOG_NOTICE) - #define DFLT_FACILITY pri2fac(LOG_USER) -+#define DFLT_TAG "journal" - - static int bLegacyCnfModGlobalsPermitted = 1;/* are legacy module-global config parameters permitted? */ - -@@ -458,7 +461,7 @@ readjournal(void) - } else if (journalGetData("_COMM", &get, &length) >= 0) { - CHKiRet(sanitizeValue(((const char *)get) + 6, length - 6, &sys_iden)); - } else { -- CHKmalloc(sys_iden = strdup("journal")); -+ CHKmalloc(sys_iden = strdup(cs.dfltTag)); - } - - /* trying to get PID, default is "SYSLOG_PID" property */ -@@ -826,6 +829,10 @@ CODESTARTrunInput - "\"usepidfromsystem\" is deprecated, use \"usepid\" instead"); - } - -+ if (cs.dfltTag == NULL) { -+ cs.dfltTag = strdup(DFLT_TAG); -+ } -+ - if (cs.usePid && (strcmp(cs.usePid, "system") == 0)) { - pidFieldName = "_PID"; - bPidFallBack = 0; -@@ -914,6 +921,7 @@ CODESTARTbeginCnfLoad - cs.bWorkAroundJournalBug = 1; - cs.bFsync = 0; - cs.bRemote = 0; -+ cs.dfltTag = NULL; - ENDbeginCnfLoad - - -@@ -983,6 +991,7 @@ BEGINfreeCnf - CODESTARTfreeCnf - free(cs.stateFile); - free(cs.usePid); -+ free(cs.dfltTag); - free(journalContext.cursor); - statsobj.Destruct(&(statsCounter.stats)); - ENDfreeCnf -@@ -1077,6 +1086,8 @@ CODESTARTsetModCnf - cs.bFsync = (int) pvals[i].val.d.n; - } else if (!strcmp(modpblk.descr[i].name, "remote")) { - cs.bRemote = (int) pvals[i].val.d.n; -+ } else if (!strcmp(modpblk.descr[i].name, "defaulttag")) { -+ cs.dfltTag = (char *)es_str2cstr(pvals[i].val.d.estr, NULL); - } else { - dbgprintf("imjournal: program error, non-handled " - "param '%s' in beginCnfLoad\n", modpblk.descr[i].name); -@@ -1144,6 +1155,8 @@ CODEmodInit_QueryRegCFSLineHdlr - facilityHdlr, &cs.iDfltFacility, STD_LOADABLE_MODULE_ID)); - CHKiRet(omsdRegCFSLineHdlr((uchar *)"imjournalusepidfromsystem", 0, eCmdHdlrBinary, - NULL, &cs.bUseJnlPID, STD_LOADABLE_MODULE_ID)); -+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"imjournaldefaulttag", 0, eCmdHdlrGetWord, -+ NULL, &cs.dfltTag, STD_LOADABLE_MODULE_ID)); - ENDmodInit - /* vim:set ai: - */ diff --git a/SOURCES/rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch b/SOURCES/rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch deleted file mode 100644 index a847084..0000000 --- a/SOURCES/rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up rsyslog-8.2102.0/plugins/omrelp/omrelp.c.orig rsyslog-8.2102.0/plugins/omrelp/omrelp.c ---- rsyslog-8.2102.0/plugins/omrelp/omrelp.c.orig 2021-06-15 12:46:14.758589030 +0200 -+++ rsyslog-8.2102.0/plugins/omrelp/omrelp.c 2021-06-15 12:47:08.130516632 +0200 -@@ -303,7 +303,7 @@ ENDfreeCnf - BEGINcreateInstance - CODESTARTcreateInstance - pData->sizeWindow = 0; -- pData->timeout = 90; -+ pData->timeout = 5; - pData->connTimeout = 10; - pData->rebindInterval = 0; - pData->bEnableTLS = DFLT_ENABLE_TLS; -@@ -365,7 +365,7 @@ setInstParamDefaults(instanceData *pData - pData->target = NULL; - pData->port = NULL; - pData->tplName = NULL; -- pData->timeout = 90; -+ pData->timeout = 5; - pData->connTimeout = 10; - pData->sizeWindow = 0; - pData->rebindInterval = 0; diff --git a/SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move-doc.patch b/SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move-doc.patch deleted file mode 100644 index 16c8e5c..0000000 --- a/SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move-doc.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -up rsyslog-8.2310.0/doc/configuration/modules/imfile.html.orig rsyslog-8.2310.0/doc/configuration/modules/imfile.html ---- rsyslog-8.2310.0/doc/configuration/modules/imfile.html.orig 2023-11-06 09:34:00.022802039 +0100 -+++ rsyslog-8.2310.0/doc/configuration/modules/imfile.html 2023-11-06 09:37:02.086613055 +0100 -@@ -293,6 +293,30 @@ rsyslog needs write permissions to work - also might require SELinux definitions (or similar for other enhanced security - systems).

- -+ -+
-+

deleteStateOnFileMove

-+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+
typedefaultmandatoryobsolete legacy directive
binaryoffnonone
-+

This parameter controls if state files are deleted if their associated main file is rotated via move. Usually, this is a good idea, because otherwise state files are not deleted when log rotation occurs.

-+ -+

However, there is one situation where not deleting associated state file after log rotation makes sense: this is the case if a monitored file is later moved back to the same location as it was before.

-+
-+ - -
-

Input Parameters

-@@ -1237,6 +1261,7 @@ and Others.

-
  • sortFiles
  • -
  • PollingInterval
  • -
  • statefile.directory
  • -+
  • deleteStateOnFileMove
  • - - -
  • Input Parameters
      diff --git a/SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move.patch b/SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move.patch deleted file mode 100644 index 4e534d9..0000000 --- a/SOURCES/rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move.patch +++ /dev/null @@ -1,115 +0,0 @@ -From 0de0c4b274e7e33ed4a27b02d6046b62d612e29b Mon Sep 17 00:00:00 2001 -From: alakatos -Date: Tue, 24 Oct 2023 15:43:19 +0200 -Subject: [PATCH] Do not preserve statefile on file move - ---- - plugins/imfile/imfile.c | 45 ++++++++++++++++++++++++++++++----------- - 1 file changed, 33 insertions(+), 12 deletions(-) - -diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c -index 5febd6db6..8769a185f 100644 ---- a/plugins/imfile/imfile.c -+++ b/plugins/imfile/imfile.c -@@ -264,6 +264,7 @@ struct modConfData_s { - Must be manually reset to 0 if desired. Helper for - polling mode. - */ -+ sbool deleteStateOnFileMove; - }; - static modConfData_t *loadModConf = NULL;/* modConf ptr to use for the current load process */ - static modConfData_t *runModConf = NULL;/* modConf ptr to use for run process */ -@@ -310,7 +311,8 @@ static struct cnfparamdescr modpdescr[] = { - { "sortfiles", eCmdHdlrBinary, 0 }, - { "statefile.directory", eCmdHdlrString, 0 }, - { "normalizepath", eCmdHdlrBinary, 0 }, -- { "mode", eCmdHdlrGetWord, 0 } -+ { "mode", eCmdHdlrGetWord, 0 }, -+ { "deletestateonfilemove", eCmdHdlrBinary, 0 } - }; - static struct cnfparamblk modpblk = - { CNFPARAMBLK_VERSION, -@@ -551,11 +553,18 @@ static int - in_setupWatch(act_obj_t *const act, const int is_file) - { - int wd = -1; -+ int flags; - if(runModConf->opMode != OPMODE_INOTIFY) - goto done; - -- wd = inotify_add_watch(ino_fd, act->name, -- (is_file) ? IN_MODIFY|IN_DONT_FOLLOW : IN_CREATE|IN_DELETE|IN_MOVED_FROM|IN_MOVED_TO); -+ if (is_file) -+ flags = IN_MODIFY|IN_DONT_FOLLOW; -+ else if (runModConf->deleteStateOnFileMove) -+ flags = IN_CREATE|IN_DELETE|IN_MOVED_TO; -+ else -+ flags = IN_CREATE|IN_DELETE|IN_MOVED_FROM|IN_MOVED_TO; -+ -+ wd = inotify_add_watch(ino_fd, act->name, flags); - if(wd < 0) { - if (errno == EACCES) { /* There is high probability of selinux denial on top-level paths */ - DBGPRINTF("imfile: permission denied when adding watch for '%s'\n", act->name); -@@ -1059,7 +1068,7 @@ act_obj_destroy(act_obj_t *const act, const int is_deleted) - persistStrmState(act); - strm.Destruct(&act->pStrm); - /* we delete state file after destruct in case strm obj initiated a write */ -- if(is_deleted && !act->in_move && inst->bRMStateOnDel) { -+ if(is_deleted && inst->bRMStateOnDel && (!act->in_move || runModConf->deleteStateOnFileMove)) { - DBGPRINTF("act_obj_destroy: deleting state file %s\n", statefn); - unlink((char*)statefn); - } -@@ -2090,6 +2099,7 @@ CODESTARTbeginCnfLoad - loadModConf->timeoutGranularity = 1000; /* default: 1 second */ - loadModConf->haveReadTimeouts = 0; /* default: no timeout */ - loadModConf->normalizePath = 1; -+ loadModConf->deleteStateOnFileMove = 0; - loadModConf->sortFiles = GLOB_NOSORT; - loadModConf->stateFileDirectory = NULL; - loadModConf->conf_tree = calloc(sizeof(fs_node_t), 1); -@@ -2149,6 +2159,8 @@ CODESTARTsetModCnf - loadModConf->stateFileDirectory = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL); - } else if(!strcmp(modpblk.descr[i].name, "normalizepath")) { - loadModConf->normalizePath = (sbool) pvals[i].val.d.n; -+ } else if(!strcmp(modpblk.descr[i].name, "deletestateonfilemove")) { -+ loadModConf->deleteStateOnFileMove = (sbool) pvals[i].val.d.n; - } else if(!strcmp(modpblk.descr[i].name, "mode")) { - if(!es_strconstcmp(pvals[i].val.d.estr, "polling")) - loadModConf->opMode = OPMODE_POLLING; -@@ -2452,16 +2464,25 @@ in_processEvent(struct inotify_event *ev) - DBGPRINTF("in_processEvent process Event %x is_file %d, act->name '%s'\n", - ev->mask, etry->act->edge->is_file, etry->act->name); - -- if((ev->mask & IN_MOVED_FROM)) { -- flag_in_move(etry->act->edge->node->edges, ev->name); -- } -- if(ev->mask & (IN_MOVED_FROM | IN_MOVED_TO)) { -- fs_node_walk(etry->act->edge->node, poll_tree); -- } else if(etry->act->edge->is_file && !(etry->act->is_symlink)) { -- in_handleFileEvent(ev, etry); // esentially poll_file()! -+ if (!runModConf->deleteStateOnFileMove) { -+ if((ev->mask & IN_MOVED_FROM)) { -+ flag_in_move(etry->act->edge->node->edges, ev->name); -+ } -+ if(ev->mask & (IN_MOVED_FROM | IN_MOVED_TO)) { -+ fs_node_walk(etry->act->edge->node, poll_tree); -+ } else if(etry->act->edge->is_file && !(etry->act->is_symlink)) { -+ in_handleFileEvent(ev, etry); // esentially poll_file()! -+ } else { -+ fs_node_walk(etry->act->edge->node, poll_tree); -+ } - } else { -- fs_node_walk(etry->act->edge->node, poll_tree); -+ if((ev->mask & IN_MODIFY) && etry->act->edge->is_file && !(etry->act->is_symlink)) { -+ in_handleFileEvent(ev, etry); // esentially poll_file()! -+ } else { -+ fs_node_walk(etry->act->edge->node, poll_tree); -+ } - } -+ - done: return; - } - --- -2.41.0 - diff --git a/SOURCES/rsyslog-8.2310.0-omprog-binary-path.patch b/SOURCES/rsyslog-8.2310.0-omprog-binary-path.patch deleted file mode 100644 index fccef4d..0000000 --- a/SOURCES/rsyslog-8.2310.0-omprog-binary-path.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -up rsyslog-8.2310.0/doc/configuration/modules/omprog.html.orig rsyslog-8.2310.0/doc/configuration/modules/omprog.html ---- rsyslog-8.2310.0/doc/configuration/modules/omprog.html.orig 2024-01-05 13:21:14.474252913 +0100 -+++ rsyslog-8.2310.0/doc/configuration/modules/omprog.html 2024-01-05 13:25:09.128562192 +0100 -@@ -144,8 +144,11 @@ passed to the external program.

      - - - --

      Full path and command line parameters of the external program to execute.

      --

      In legacy config, it is not possible to specify command line parameters.

      -+

      Full path and command line parameters of the external program to execute. -+ Arbitrary external programs should be placed under the /usr/libexec/rsyslog directory. -+ That is, the binaries put in this namespaced directory are meant for the consumption -+ of rsyslog, and are not intended to be executed by users. -+ In legacy config, it is not possible to specify command line parameters.

      -
  • -
    -

    confirmMessages

    -@@ -587,12 +590,12 @@ multiple processes.

    -
    -

    Example: command line arguments

    -

    In the following example, logs will be sent to a program log.sh located --in /path/to. The program will receive the command line arguments -+in /usr/libexec/rsyslog. The program will receive the command line arguments - p1, p2 and --param3="value 3".

    -
    module(load="omprog")
    - 
    - action(type="omprog"
    --       binary="/path/to/log.sh p1 p2 --param3=\"value 3\""
    -+       binary="/usr/libexec/rsyslog/log.sh p1 p2 --param3=\"value 3\""
    -        template="RSYSLOG_TraditionalFileFormat")
    - 
    -
    -@@ -618,7 +621,7 @@ rsyslog will kill and restart it.

    - - action(type="omprog" - name="db_forward" -- binary="/usr/share/logging/db_forward.py" -+ binary="/usr/libexec/rsyslog/db_forward.py" - confirmMessages="on" - confirmTimeout="30000" - queue.type="LinkedList" diff --git a/SOURCES/rsyslog-8.2310.0-remove-state-on-file-delete.patch b/SOURCES/rsyslog-8.2310.0-remove-state-on-file-delete.patch deleted file mode 100644 index 3a26f4b..0000000 --- a/SOURCES/rsyslog-8.2310.0-remove-state-on-file-delete.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up rsyslog-8.2310.0/plugins/imfile/imfile.c.orig rsyslog-8.2310.0/plugins/imfile/imfile.c ---- rsyslog-8.2310.0/plugins/imfile/imfile.c.orig 2023-11-03 12:19:39.179103408 +0100 -+++ rsyslog-8.2310.0/plugins/imfile/imfile.c 2023-11-03 12:19:54.228237199 +0100 -@@ -1162,6 +1162,7 @@ fs_node_destroy(fs_node_t *const node) - DBGPRINTF("node destroy: %p edges:\n", node); - - for(edge = node->edges ; edge != NULL ; ) { -+ detect_updates(edge); - fs_node_destroy(edge->node); - fs_edge_t *const toDel = edge; - edge = edge->next; diff --git a/SPECS/rsyslog.spec b/SPECS/rsyslog.spec index d09e5d4..dc660e9 100644 --- a/SPECS/rsyslog.spec +++ b/SPECS/rsyslog.spec @@ -4,8 +4,8 @@ Summary: Enhanced system logging and kernel message trapping daemon Name: rsyslog -Version: 8.2310.0 -Release: 4%{?dist} +Version: 8.2412.0 +Release: 1%{?dist} License: (GPLv3+ and ASL 2.0) URL: http://www.rsyslog.com/ Source0: http://www.rsyslog.com/files/download/rsyslog/%{name}-%{version}.tar.gz @@ -18,12 +18,7 @@ Source5: rsyslog.service # separatae sub-package with it statically linked(see rhbz#1713427) Source6: qpid-proton-0.39.0.tar.gz -Patch1: rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag-v2.patch -Patch2: rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch -Patch3: rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move.patch -Patch4: rsyslog-8.2310.0-do-not-preserve-statefile-on-file-move-doc.patch -Patch5: rsyslog-8.2310.0-remove-state-on-file-delete.patch -Patch6: rsyslog-8.2310.0-omprog-binary-path.patch +Patch0: imfile-deleteStateOnFileMove.patch BuildRequires: make BuildRequires: gcc @@ -257,16 +252,11 @@ rm -r LICENSE README.md source build/objects.inv mv build doc # set up rsyslog sources %setup -q -D +%patch -P 0 -p1 + # Unpack qpid-proton for rhel %setup -q -D -T -b 6 -%patch -P 1 -p1 -%patch -P 2 -p1 -%patch -P 3 -p1 -%patch -P 4 -p1 -%patch -P 5 -p1 -%patch -P 6 -p1 - %build # Add additional flags as per https://one.redhat.com/rhel-developer-guide/#_what_are_the_required_flags %ifarch aarch64 @@ -529,6 +519,19 @@ done %changelog +* Fri Dec 06 2024 Attila Lakatos - 8.2412.0-1 +- Rebase to 8.2412.0 + Resolves: RHEL-65177 +- Fix segfault when $ControlCharacterEscapePrefix is set + Resolves: RHEL-38222 + Resolves: RHEL-70099 +- Fix segfault due to processing malform queue message + Resolves: RHEL-70100 +- Fix $ActionQueueDiscardMark default value to 80% queue size + Resolves: RHEL-70109 +- Fix crash on startup when an invalid function is specified + Resolves: RHEL-70111 + * Tue Dec 12 2023 Attila Lakatos - 8.2310.0-4 - new directory for arbitrary external programs needed by omprog module Resolves: RHEL-8676