diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-27 12:38:07 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-28 08:14:40 -0800 |
| commit | d5b5f267df0cffc4322b80c5bf40d9ff04f7fd00 (patch) | |
| tree | 142648d76d04b9f32bf7d6f86030f99b9eabc496 /meta-oe/recipes-extended/logwatch | |
| parent | 60f8a3cd1020c115f50bf399cdaf901885a072a9 (diff) | |
| download | meta-openembedded-d5b5f267df0cffc4322b80c5bf40d9ff04f7fd00.tar.gz | |
logwatch: upgrade 7.11 -> 7.13
Update SRC_URI because the previous one became inaccessible.
Slightly update do_install - now it is in line with the installation
script from the project's own RPM file (previous some files were not
installed)
Shortlog:
[logwatch] Preparation for Release 7.13
[rsyslogd] De-duplicate lines with time calculations
[sendmail] Removed invalid commented-out code.
[logstash] Remove script - needs update to Logwatph.pm
[sendmail] Improved detection of "Command unrecognized" strings.
[rsyslogd] Ignore "GnuTLS error: Error in the push function" - paired with other errors
[omsa] Handle peak power and new Unexpected sense messages
[systemd] Add ignore_messages option to ignore messages matching a regex
[kernel] Fix EDAC regex
[rsyslogd] Ignore additional rate-limiting message paired with other messages
[rsyslogd] Ignore additional omfwd messages paired with other messages
[nut] Ignore upsnotify message about tech that we already know about
[pam_unix] Add nx to services; Allow for username in session opened by messages for cron
[pam_unix] Add kde to dektop services; Hande "User info message"
[systemd] Update for newer systemd
[logstash] Initial version
[systemd] Ignore "Unnecessary job was removed for .*" - appears informational
[systemd] Ignore State timed out messages - followed by a failed message
[named] No need for unconfineds variable, not used
[clam-update] Added comments about syslog format.
[logwatch.8] Clarified use of debug.
Fix Dir glob issue Iridos2 bug report.
[postfix] Added support for postfix version 3.10
[zypp] Added support for patch statements; reported by leithh.
[dovecot] Added better detail granularity, and support logformat 2.3
[systemd] Relax LSM BPF program attached regex
[dirsrv] Relax ACL target does not exist regex; Ignore schema-compat-plugin info messages that are at ERR level
[dovecot] Script and configuration file updated with granular detail options and improved report grouping
[clam-update] Fixed typo.
[clam-update] Check for empty LogFile strings and adjust error messages
[onlyservice,removeheaders] Allow RFC 3164 Log Format with named facility.severity
[http] Setting default http_rc code for when not specified in LogFormat
[logwatch.pl,syslog-ng] Removed HTML Entity encoding for xml, as all strings are now UTF-8
(tag: 7.12) [logwatch] Updating release version
[http] Replace hyphen with "Unidentified agent,"
[named] Handle "zone not loaded due to errors; Handle "journal file is out of date; removed" separately; Ignore "New key observered for zone"
[named] handle "TCP client quota reached" messages; Expand limit regex
Remove trailing whitespace
[nut] Handle battery needs to be replaced message
[nut] Update for 2.8.2
[postfix] Support for aliased mailboxes
[zz-zfs] Added 'Cap' column header
[sudo] Add sudo_detail
[omsa] Ignored Administrator stopped message
[omsa] Update Patrol Read regex
[sssd] Ignore "exec_child_ex command" messages
[secure] relax regex around "gkr-pam: no password is available for user"
[secure] Ignore sshd-session messages
[sendmail] Added filter for new pre-greeting message.
[postfix] Added DNSBL rank display
[sshd] Added 'drop connection' counter.
[rsyslogd] Handle stdout/stderr sent to journal which ends up with an extra prefix
[named] Add option to ignore denied zone trasfter; Move limit reporting to detail >= 1
[systemd] Handle new Watchdog and Reexecuting requested messages
[dnf-automatic] New script contributed by Clive Lin.
[mdadm] Check if hash of 'good devices' is undefined or empty.
[sshd,secure] Added support for OpenSSH 9.8 (sshd-session, port number), per tomop.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/logwatch')
| -rw-r--r-- | meta-oe/recipes-extended/logwatch/logwatch_7.13.bb (renamed from meta-oe/recipes-extended/logwatch/logwatch_7.11.bb) | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/meta-oe/recipes-extended/logwatch/logwatch_7.11.bb b/meta-oe/recipes-extended/logwatch/logwatch_7.13.bb index 89012f8852..13897590be 100644 --- a/meta-oe/recipes-extended/logwatch/logwatch_7.11.bb +++ b/meta-oe/recipes-extended/logwatch/logwatch_7.13.bb | |||
| @@ -11,17 +11,17 @@ LICENSE = "MIT" | |||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ba882fa9b4b6b217a51780be3f4db9c8" | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ba882fa9b4b6b217a51780be3f4db9c8" |
| 12 | RDEPENDS:${PN} = "perl" | 12 | RDEPENDS:${PN} = "perl" |
| 13 | 13 | ||
| 14 | SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BP}/${BP}.tar.gz" | 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz" |
| 15 | SRC_URI[sha256sum] = "5eb42d983a9667003368b572149fce788c0d7e13daaf1f28ad1bf3a140b865cf" | 15 | SRC_URI[sha256sum] = "0c9a10c2d8e5bc0cb10e16dc86c83be60d71d8a52b97bca785c64a30ed642839" |
| 16 | 16 | ||
| 17 | do_install() { | 17 | do_install() { |
| 18 | install -m 0755 -d ${D}${sysconfdir}/logwatch/scripts | 18 | install -m 0755 -d ${D}${sysconfdir}/logwatch/scripts/services |
| 19 | install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/logfiles | 19 | install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/logfiles |
| 20 | install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/services | 20 | install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/services |
| 21 | install -m 0755 -d ${D}${localstatedir}/cache/logwatch | 21 | install -m 0755 -d ${D}${localstatedir}/cache/logwatch |
| 22 | cp -r -f conf/ ${D}${datadir}/logwatch/default.conf | 22 | cp -r conf/ ${D}${datadir}/logwatch/default.conf |
| 23 | cp -r -f scripts/ ${D}${datadir}/logwatch/scripts | 23 | cp -r scripts/ ${D}${datadir}/logwatch/scripts |
| 24 | cp -r -f lib ${D}${datadir}/logwatch/lib | 24 | cp -r lib ${D}${datadir}/logwatch/lib |
| 25 | chown -R root:root ${D}${datadir}/logwatch | 25 | chown -R root:root ${D}${datadir}/logwatch |
| 26 | 26 | ||
| 27 | install -m 0755 -d ${D}${mandir}/man1 | 27 | install -m 0755 -d ${D}${mandir}/man1 |
| @@ -36,7 +36,7 @@ do_install() { | |||
| 36 | 36 | ||
| 37 | install -m 0755 -d ${D}${sysconfdir}/cron.daily | 37 | install -m 0755 -d ${D}${sysconfdir}/cron.daily |
| 38 | install -m 0755 -d ${D}${sbindir} | 38 | install -m 0755 -d ${D}${sbindir} |
| 39 | ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch | 39 | ln -sr ${D}${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch |
| 40 | cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF | 40 | cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF |
| 41 | DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\` | 41 | DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\` |
| 42 | if [ "\$DailyReport" != "No" ] && [ "\$DailyReport" != "no" ] | 42 | if [ "\$DailyReport" != "No" ] && [ "\$DailyReport" != "no" ] |
| @@ -46,6 +46,13 @@ do_install() { | |||
| 46 | EOF | 46 | EOF |
| 47 | chmod 755 ${D}${sysconfdir}/cron.daily/0logwatch | 47 | chmod 755 ${D}${sysconfdir}/cron.daily/0logwatch |
| 48 | 48 | ||
| 49 | for i in scripts/logfiles/*; do | ||
| 50 | if [ $(ls $i | wc -l) -ne 0 ]; then | ||
| 51 | install -d ${D}${datadir}/logwatch/$i | ||
| 52 | install -m 0644 $i/* ${D}${datadir}/logwatch/$i | ||
| 53 | fi | ||
| 54 | done | ||
| 55 | |||
| 49 | install -m 0755 -d ${D}${sysconfdir}/logwatch/conf/logfiles | 56 | install -m 0755 -d ${D}${sysconfdir}/logwatch/conf/logfiles |
| 50 | install -m 0755 -d ${D}${sysconfdir}/logwatch/conf/services | 57 | install -m 0755 -d ${D}${sysconfdir}/logwatch/conf/services |
| 51 | touch ${D}${sysconfdir}/logwatch/conf/logwatch.conf | 58 | touch ${D}${sysconfdir}/logwatch/conf/logwatch.conf |
