diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2020-06-06 01:59:17 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-06-06 02:11:09 +0300 |
commit | eafcbb8a73edfad32d50070982300335b553e28e (patch) | |
tree | a5f04eb03300cc0b1a959c024e40720f6e8252bd /meta-openembedded/meta-oe/recipes-extended/logwatch/logwatch_7.5.3.bb | |
parent | ccb96fccef02f3812b232a8a1d105925d1ea2458 (diff) | |
download | openbmc-eafcbb8a73edfad32d50070982300335b553e28e.tar.xz |
meta-openembedded: subtree update:713e70bd25..5caca0f7bd
Andreas Müller (1):
fluidsynth: upgrade 2.1.2 -> 2.1.3
Domarys Correa (6):
python3-pytest: Update 5.3.5 -> 5.4.2
python3-pytest-html: Update 1.6 -> 2.1.1
python3-pytest-metadata: Update 1.8.0 -> 1.9.0
python3-pytest-asyncio: Update 0.10.0 -> 0.12.0
python3-pyudev: Update 0.21.0 -> 0.22.0
python3-pyyaml: Update 5.3 -> 5.3.1
Hongxu Jia (1):
multipath-tools: fix compiling parallel issue
Kai Kang (1):
plymouth: disable systemd-integration for sysvinit
Khem Raj (1):
dfu-util-native: Remove DEPLOY_DIR_TOOLS from sstate-outputdirs
Konrad Weihmann (14):
pugixml: fix typo for homepage
distuils-extra: fix typo for DESCRIPTION
brotli: fix typo for DESCRIPTION
wxwidgets: fix typo for DESCRIPTION
passwdqc: remove double modify operation
zbar: fix typo for DESCRIPTION
sound-theme-freedesktop: remove double depends
python3-cmd2: remove double colorama in RDEPENDS
python3-smbus2: remove duplicate RDEPENDS settings
python3-twisted: remove double var modification
spawn-fcgi: fix typo in SUMMARY
physfs: fix typo for HOMEPAGE
rest: fix typo for HOMEPAGE
proftpd: Fix typo for SRC_URI[md5sum]
Leon Anavi (4):
python3-click: Upgrade 7.0 -> 7.1.2
python3-dbussy: Upgrade 1.2.1 -> 1.3
python3-imageio: Upgrade 2.6.0 -> 2.8.0
python3-colorama: Upgrade 0.4.1 -> 0.4.3
Maciej Pijanowski (1):
qpdf: fix typo in RDEPENDS
Martin Jansa (1):
irssi: package libirc_proxy.a in PN-staticdev
Michael Haener (1):
cockpit: 219 -> 220
Patrick Williams (1):
net-snmp: refresh patches
Pierre-Jean Texier (2):
libuv: upgrade 1.36.0 -> 1.38.0
uftp: upgrade 4.10.2 -> 5.0
Robert P. J. Day (1):
use weak assignments for PNBLACKLIST in recipe files
Shlomi Vaknin (1):
add python bitstring package
Zang Ruochen (6):
libgphoto2: upgrade 2.5.24 -> 2.5.25
rsyslog: upgrade 8.2002 -> 8.2004
mosquitto: upgrade 1.6.9 -> 1.6.10
snort: upgrade 2.9.15 -> 2.9.16
wireshark: upgrade 3.2.2 -> 3.2.4
cpuid: upgrade 20200211 -> 20200427
Zheng Ruoqin (5):
nano: upgrade 4.9.2 -> 4.9.3
gsoap: upgrade 2.8.100 -> 2.8.103
logwatch: upgrade 7.5.1 -> 7.5.3
mcelog: upgrade 168 -> 170
libnet-dns-perl: upgrade 1.23 -> 1.24
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I697f91df13d9e8d8cb15620aeccd644cdfe53a43
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-extended/logwatch/logwatch_7.5.3.bb')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-extended/logwatch/logwatch_7.5.3.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-extended/logwatch/logwatch_7.5.3.bb b/meta-openembedded/meta-oe/recipes-extended/logwatch/logwatch_7.5.3.bb new file mode 100644 index 000000000..644e42071 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-extended/logwatch/logwatch_7.5.3.bb @@ -0,0 +1,58 @@ +SUMMARY = "A log file analysis program" +DESCRIPTION = "\ +Logwatch is a customizable, pluggable log-monitoring system. It will go \ +through your logs for a given period of time and make a report in the areas \ +that you wish with the detail that you wish. Easy to use - works right out of \ +the package on many systems.\ +" +SECTION = "devel" +HOMEPAGE = "http://www.logwatch.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ad199c8aca74e70f296f731ad9a1521c" +RDEPENDS_${PN} = "perl" + +SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BP}/${BP}.tar.gz" +SRC_URI[md5sum] = "8bcf3edc5a4687c8aad1b9c01e2be54b" +SRC_URI[sha256sum] = "1b2b96879dec01cd02754fe00f8989b11ff16158c3dc7c4aff0faa4b1d34974b" + +do_install() { + install -m 0755 -d ${D}${sysconfdir}/logwatch/scripts + install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/logfiles + install -m 0755 -d ${D}${datadir}/logwatch/dist.conf/services + install -m 0755 -d ${D}${localstatedir}/cache/logwatch + cp -r -f conf/ ${D}${datadir}/logwatch/default.conf + cp -r -f scripts/ ${D}${datadir}/logwatch/scripts + cp -r -f lib ${D}${datadir}/logwatch/lib + chown -R root:root ${D}${datadir}/logwatch + + install -m 0755 -d ${D}${mandir}/man1 + install -m 0755 -d ${D}${mandir}/man5 + install -m 0755 -d ${D}${mandir}/man8 + install -m 0644 amavis-logwatch.1 ${D}${mandir}/man1 + install -m 0644 postfix-logwatch.1 ${D}${mandir}/man1 + install -m 0644 ignore.conf.5 ${D}${mandir}/man5 + install -m 0644 override.conf.5 ${D}${mandir}/man5 + install -m 0644 logwatch.conf.5 ${D}${mandir}/man5 + install -m 0644 logwatch.8 ${D}${mandir}/man8 + + install -m 0755 -d ${D}${sysconfdir}/cron.daily + install -m 0755 -d ${D}${sbindir} + ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch + cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF + DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\` + if [ "\$DailyReport" != "No" ] && [ "\$DailyReport" != "no" ] + then + logwatch + fi +EOF + chmod 755 ${D}${sysconfdir}/cron.daily/0logwatch + + install -m 0755 -d ${D}${sysconfdir}/logwatch/conf/logfiles + install -m 0755 -d ${D}${sysconfdir}/logwatch/conf/services + touch ${D}${sysconfdir}/logwatch/conf/logwatch.conf + touch ${D}${sysconfdir}/logwatch/conf/ignore.conf + touch ${D}${sysconfdir}/logwatch/conf/override.conf + echo "# Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf)" > ${D}${sysconfdir}/logwatch/conf/logwatch.conf + echo "###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####" > ${D}${sysconfdir}/logwatch/conf/ignore.conf + echo "# Configuration overrides for specific logfiles/services may be placed here." > ${D}${sysconfdir}/logwatch/conf/override.conf +} |