From 7a683bf95ac5301de587a1dee910444ff822a80a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 6 Aug 2024 16:45:56 +0800 Subject: logwarn: upgrade 1.0.14 -> 1.0.17 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb | 55 ----------------------- meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb | 54 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 55 deletions(-) delete mode 100644 meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb create mode 100644 meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb diff --git a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb deleted file mode 100644 index 0738b50bde..0000000000 --- a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb +++ /dev/null @@ -1,55 +0,0 @@ -SUMMARY = "A utility for finding interesting messages in log files" -DESCRIPTION = "Logwarn searches for interesting messages in log files, \ - where 'interesting' is defined by a user-supplied list of positive and \ - negative extended regular expressions. \ -" -HOMEPAGE = "https://github.com/archiecobbs/logwarn/wiki" -SECTION = "console/utils" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "https://s3.amazonaws.com/archie-public/${BPN}/${BP}.tar.gz" - -SRC_URI[md5sum] = "e544a6230673ea54f7430bf817bb39d8" -SRC_URI[sha256sum] = "8dbfcf9b28c782ab3bddd6a620d4fb95d1b0ffcbe93276996cdc4800aa9aebd1" - -UPSTREAM_CHECK_URI = "https://github.com/archiecobbs/logwarn/tags" -UPSTREAM_CHECK_REGEX = "releases/tag/(?P\d+(\.\d+)+)" - -inherit autotools-brokensep - -# This directory is NOT volatile. -# -lcl_default_state_dir = "${localstatedir}/lib/logwarn" - -CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""' - -CACHED_CONFIGUREVARS += " \ - ac_cv_path_BASH_SHELL=${base_bindir}/bash \ - ac_cv_path_CAT=${base_bindir}/cat \ - ac_cv_path_RM=${base_bindir}/rm \ - ac_cv_path_SED=${base_bindir}/sed \ -" - -# Make sure some files exist for autoreconf. -# -do_configure:prepend () { - touch ${S}/NEWS - touch ${S}/ChangeLog - touch ${S}/README -} - -# Create a directory for logfile state info, usually under /var/lib. -# -do_install:append () { - install -d ${D}${lcl_default_state_dir} -} - -# Make a package for the nagios plug-in (script). -# -PACKAGES += "${PN}-nagios" - -FILES:${PN}-nagios = "${nonarch_libdir}/nagios" - -RDEPENDS:${PN}-nagios += "bash coreutils sed" diff --git a/meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb b/meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb new file mode 100644 index 0000000000..6be82979a4 --- /dev/null +++ b/meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb @@ -0,0 +1,54 @@ +SUMMARY = "A utility for finding interesting messages in log files" +DESCRIPTION = "Logwarn searches for interesting messages in log files, \ + where 'interesting' is defined by a user-supplied list of positive and \ + negative extended regular expressions. \ +" +HOMEPAGE = "https://github.com/archiecobbs/logwarn/wiki" +SECTION = "console/utils" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "https://s3.amazonaws.com/archie-public/${BPN}/${BP}.tar.gz" + +SRC_URI[sha256sum] = "062d197349f4a43d8f69887fc642cb58b59a8e2cc54cc951d5c1c6abc4809a9a" + +UPSTREAM_CHECK_URI = "https://github.com/archiecobbs/logwarn/tags" +UPSTREAM_CHECK_REGEX = "releases/tag/(?P\d+(\.\d+)+)" + +inherit autotools-brokensep + +# This directory is NOT volatile. +# +lcl_default_state_dir = "${localstatedir}/lib/logwarn" + +CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""' + +CACHED_CONFIGUREVARS += " \ + ac_cv_path_BASH_SHELL=${base_bindir}/bash \ + ac_cv_path_CAT=${base_bindir}/cat \ + ac_cv_path_RM=${base_bindir}/rm \ + ac_cv_path_SED=${base_bindir}/sed \ +" + +# Make sure some files exist for autoreconf. +# +do_configure:prepend () { + touch ${S}/NEWS + touch ${S}/ChangeLog + touch ${S}/README +} + +# Create a directory for logfile state info, usually under /var/lib. +# +do_install:append () { + install -d ${D}${lcl_default_state_dir} +} + +# Make a package for the nagios plug-in (script). +# +PACKAGES += "${PN}-nagios" + +FILES:${PN}-nagios = "${nonarch_libdir}/nagios" + +RDEPENDS:${PN}-nagios += "bash coreutils sed" -- cgit v1.2.3-54-g00ecf