diff options
Diffstat (limited to 'meta-moblin/packages/monit/monit_4.10.1.bb')
-rw-r--r-- | meta-moblin/packages/monit/monit_4.10.1.bb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta-moblin/packages/monit/monit_4.10.1.bb b/meta-moblin/packages/monit/monit_4.10.1.bb deleted file mode 100644 index 84a6231a2a..0000000000 --- a/meta-moblin/packages/monit/monit_4.10.1.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | LICENSE = "GPL" | ||
2 | DEPENDS = "openssl" | ||
3 | |||
4 | SRC_URI = "http://www.tildeslash.com/monit/dist/monit-${PV}.tar.gz \ | ||
5 | file://nostrip.patch;patch=1 \ | ||
6 | file://init" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | INITSCRIPT_NAME = "monit" | ||
11 | INITSCRIPT_PARAMS = "defaults 99" | ||
12 | |||
13 | inherit autotools update-rc.d | ||
14 | |||
15 | EXTRA_OECONF = "--with-ssl-lib-dir=${STAGING_LIBDIR} --with-ssl-incl-dir=${STAGING_INCDIR}" | ||
16 | |||
17 | do_install_append() { | ||
18 | install -d ${D}${sysconfdir}/init.d/ | ||
19 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/monit | ||
20 | sed -i 's:# set daemon 120:set daemon 120:' ${S}/monitrc | ||
21 | sed -i 's:include /etc/monit.d/:include /${sysconfdir}/monit.d/:' ${S}/monitrc | ||
22 | install -m 600 ${S}/monitrc ${D}${sysconfdir}/monitrc | ||
23 | install -m 700 -d ${D}${sysconfdir}/monit.d/ | ||
24 | } | ||
25 | |||
26 | CONFFILES_${PN} += "${sysconfdir}/monitrc" | ||
27 | |||