diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb | 38 |
1 files changed, 38 insertions, 0 deletions
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 000000000..ba4c2ab9a --- /dev/null +++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Analyzes log files and sends noticeable events as email" | ||
2 | DESCRIPTION = "\ | ||
3 | Logcheck is a simple utility which is designed to allow a system administrator \ | ||
4 | to view the log-files which are produced upon hosts under their control. \ | ||
5 | It does this by mailing summaries of the log-files to them, after first \ | ||
6 | filtering out "normal" entries. \ | ||
7 | Normal entries are entries which match one of the many included regular \ | ||
8 | expression files contain in the database." | ||
9 | SECTION = "Applications/System" | ||
10 | LICENSE = "GPLv2" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" | ||
12 | |||
13 | SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git" | ||
14 | SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | do_install() { | ||
19 | # Fix QA Issue | ||
20 | sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile | ||
21 | |||
22 | # "make install" do not install the manpages. Install them manually. | ||
23 | install -m 755 -d ${D}${mandir}/man1 | ||
24 | install -m 755 -d ${D}${mandir}/man8 | ||
25 | install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/ | ||
26 | install -m 644 docs/logtail.8 ${D}${mandir}/man8/ | ||
27 | install -m 644 docs/logtail2.8 ${D}${mandir}/man8/ | ||
28 | sed -i "s/syslog/messages/" etc/logcheck.logfiles | ||
29 | sed -i "s/auth\.log/secure/" etc/logcheck.logfiles | ||
30 | install -m 755 -d ${D}${sysconfdir}/cron.d | ||
31 | install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck | ||
32 | install -m 755 -d ${D}/var/lib/logcheck | ||
33 | oe_runmake install DESTDIR=${D} | ||
34 | } | ||
35 | |||
36 | RDEPENDS_${PN} = "perl" | ||
37 | |||
38 | FILES_${PN} += "${datadir}/logtail" | ||