All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] logcheck: Add new recipe
@ 2014-12-02  2:58 Qian Lei
  2014-12-09 10:23 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Qian Lei @ 2014-12-02  2:58 UTC (permalink / raw)
  To: openembedded-devel

Logcheck is a simple utility which is designed to allow a system administrator
to view the log-files which are produced upon hosts under their control.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
 .../recipes-extended/logcheck/logcheck_1.3.17.bb   | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb

diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
new file mode 100644
index 0000000..c1cb069
--- /dev/null
+++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Analyzes log files and sends noticeable events as email"
+DESCRIPTION = "\
+Logcheck is a simple utility which is designed to allow a system administrator \
+to view the log-files which are produced upon hosts under their control. \
+It does this by mailing summaries of the log-files to them, after first \
+filtering out "normal" entries. \
+Normal entries are entries which match one of the many included regular \
+expression files contain in the database."
+SECTION = "Applications/System"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b"
+
+SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git"
+SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN} += "${datadir}/logtail"
+
+do_install() {
+    # Fix QA Issue
+    sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile
+
+    # "make install" do not install the manpage. Install them manually.
+    install -m 755 -d ${D}${mandir}/man1
+    install -m 755 -d ${D}${mandir}/man8
+    install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/
+    install -m 644 docs/logtail.8 ${D}${mandir}/man8/
+    install -m 644 docs/logtail2.8 ${D}${mandir}/man8/
+
+    sed -i "s/syslog/messages/" etc/logcheck.logfiles
+    sed -i "s/auth\.log/secure/" etc/logcheck.logfiles
+    install -m 755 -d ${D}${sysconfdir}/cron.d
+    install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck
+    install -m 755 -d ${D}/var/lib/logcheck
+
+    oe_runmake install DESTDIR=${D}
+}
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] logcheck: Add new recipe
  2014-12-02  2:58 [meta-oe][PATCH] logcheck: Add new recipe Qian Lei
@ 2014-12-09 10:23 ` Martin Jansa
  2014-12-10  7:23   ` [meta-oe][PATCH v2] " Qian Lei
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2014-12-09 10:23 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2834 bytes --]

On Tue, Dec 02, 2014 at 10:58:46AM +0800, Qian Lei wrote:
> Logcheck is a simple utility which is designed to allow a system administrator
> to view the log-files which are produced upon hosts under their control.

Causes new QA warning:
logcheck-1.3.17: logcheck requires /usr/bin/perl, but no providers in
its RDEPENDS [file-rdeps]

> 
> Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
> ---
>  .../recipes-extended/logcheck/logcheck_1.3.17.bb   | 38 ++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
> 
> diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
> new file mode 100644
> index 0000000..c1cb069
> --- /dev/null
> +++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "Analyzes log files and sends noticeable events as email"
> +DESCRIPTION = "\
> +Logcheck is a simple utility which is designed to allow a system administrator \
> +to view the log-files which are produced upon hosts under their control. \
> +It does this by mailing summaries of the log-files to them, after first \
> +filtering out "normal" entries. \
> +Normal entries are entries which match one of the many included regular \
> +expression files contain in the database."
> +SECTION = "Applications/System"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b"
> +
> +SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git"
> +SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd"
> +
> +S = "${WORKDIR}/git"
> +
> +FILES_${PN} += "${datadir}/logtail"
> +
> +do_install() {
> +    # Fix QA Issue
> +    sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile
> +
> +    # "make install" do not install the manpage. Install them manually.
> +    install -m 755 -d ${D}${mandir}/man1
> +    install -m 755 -d ${D}${mandir}/man8
> +    install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/
> +    install -m 644 docs/logtail.8 ${D}${mandir}/man8/
> +    install -m 644 docs/logtail2.8 ${D}${mandir}/man8/
> +
> +    sed -i "s/syslog/messages/" etc/logcheck.logfiles
> +    sed -i "s/auth\.log/secure/" etc/logcheck.logfiles
> +    install -m 755 -d ${D}${sysconfdir}/cron.d
> +    install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck
> +    install -m 755 -d ${D}/var/lib/logcheck
> +
> +    oe_runmake install DESTDIR=${D}
> +}
> -- 
> 1.8.3.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH v2] logcheck: Add new recipe
  2014-12-09 10:23 ` Martin Jansa
@ 2014-12-10  7:23   ` Qian Lei
  0 siblings, 0 replies; 3+ messages in thread
From: Qian Lei @ 2014-12-10  7:23 UTC (permalink / raw)
  To: openembedded-devel

Logcheck is a simple utility which is designed to allow a system administrator
to view the log-files which are produced upon hosts under their control.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
 .../recipes-extended/logcheck/logcheck_1.3.17.bb   | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb

diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
new file mode 100644
index 0000000..ba4c2ab
--- /dev/null
+++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Analyzes log files and sends noticeable events as email"
+DESCRIPTION = "\
+Logcheck is a simple utility which is designed to allow a system administrator \
+to view the log-files which are produced upon hosts under their control. \
+It does this by mailing summaries of the log-files to them, after first \
+filtering out "normal" entries. \
+Normal entries are entries which match one of the many included regular \
+expression files contain in the database."
+SECTION = "Applications/System"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b"
+
+SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git"
+SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    # Fix QA Issue
+    sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile
+
+    # "make install" do not install the manpages. Install them manually.
+    install -m 755 -d ${D}${mandir}/man1
+    install -m 755 -d ${D}${mandir}/man8
+    install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/
+    install -m 644 docs/logtail.8 ${D}${mandir}/man8/
+    install -m 644 docs/logtail2.8 ${D}${mandir}/man8/
+    sed -i "s/syslog/messages/" etc/logcheck.logfiles
+    sed -i "s/auth\.log/secure/" etc/logcheck.logfiles
+    install -m 755 -d ${D}${sysconfdir}/cron.d
+    install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck
+    install -m 755 -d ${D}/var/lib/logcheck
+    oe_runmake install DESTDIR=${D}
+}
+
+RDEPENDS_${PN} = "perl"
+
+FILES_${PN} += "${datadir}/logtail"
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-10  7:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02  2:58 [meta-oe][PATCH] logcheck: Add new recipe Qian Lei
2014-12-09 10:23 ` Martin Jansa
2014-12-10  7:23   ` [meta-oe][PATCH v2] " Qian Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.