summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/monit/monit_4.10.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/monit/monit_4.10.1.bb')
-rw-r--r--meta-moblin/packages/monit/monit_4.10.1.bb27
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 @@
1LICENSE = "GPL"
2DEPENDS = "openssl"
3
4SRC_URI = "http://www.tildeslash.com/monit/dist/monit-${PV}.tar.gz \
5 file://nostrip.patch;patch=1 \
6 file://init"
7
8PR = "r1"
9
10INITSCRIPT_NAME = "monit"
11INITSCRIPT_PARAMS = "defaults 99"
12
13inherit autotools update-rc.d
14
15EXTRA_OECONF = "--with-ssl-lib-dir=${STAGING_LIBDIR} --with-ssl-incl-dir=${STAGING_INCDIR}"
16
17do_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
26CONFFILES_${PN} += "${sysconfdir}/monitrc"
27