summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/monit
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/monit')
-rw-r--r--meta-moblin/packages/monit/monit-4.10.1/init42
-rw-r--r--meta-moblin/packages/monit/monit-4.10.1/nostrip.patch13
-rw-r--r--meta-moblin/packages/monit/monit_4.10.1.bb27
3 files changed, 0 insertions, 82 deletions
diff --git a/meta-moblin/packages/monit/monit-4.10.1/init b/meta-moblin/packages/monit/monit-4.10.1/init
deleted file mode 100644
index 325a552b28..0000000000
--- a/meta-moblin/packages/monit/monit-4.10.1/init
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-#
-# This is an init script for openembedded
-# Copy it to /etc/init.d/monit and type
-# > update-rc.d monit defaults 99
-#
-monit=/usr/bin/monit
-pidfile=/var/run/monit.pid
-monit_args="-c /etc/monitrc"
-
-test -x "$monit" || exit 0
-
-case "$1" in
- start)
- echo -n "Starting Monit"
- start-stop-daemon --start --quiet --exec $monit -- $monit_args
- RETVAL=$?
- echo "."
- ;;
- stop)
- echo -n "Stopping Monit"
- start-stop-daemon --stop --quiet --pidfile $pidfile
- RETVAL=$?
- echo "."
- ;;
- restart)
- $0 stop
- $0 start
- RETVAL=$?
- ;;
- status)
- $monit $monit_args status
- RETVAL=$?
- echo "."
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|status}"
- exit 1
-esac
-
-exit $RETVAL
-
diff --git a/meta-moblin/packages/monit/monit-4.10.1/nostrip.patch b/meta-moblin/packages/monit/monit-4.10.1/nostrip.patch
deleted file mode 100644
index 95e7eb0f10..0000000000
--- a/meta-moblin/packages/monit/monit-4.10.1/nostrip.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: monit-4.10.1/Makefile.in
-===================================================================
---- monit-4.10.1.orig/Makefile.in 2009-05-24 15:49:03.000000000 +0100
-+++ monit-4.10.1/Makefile.in 2009-05-24 15:49:12.000000000 +0100
-@@ -39,7 +39,7 @@
- MODE_DIRS = 755
-
- INSTALL = @INSTALL@
--INSTALL_PROG = $(INSTALL) -m $(MODE_PROGS) -s
-+INSTALL_PROG = $(INSTALL) -m $(MODE_PROGS)
- INSTALL_FILE = $(INSTALL) -m $(MODE_FILES)
- INSTALL_DIR = $(INSTALL) -m $(MODE_DIRS) -d
-
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 @@
-LICENSE = "GPL"
-DEPENDS = "openssl"
-
-SRC_URI = "http://www.tildeslash.com/monit/dist/monit-${PV}.tar.gz \
- file://nostrip.patch;patch=1 \
- file://init"
-
-PR = "r1"
-
-INITSCRIPT_NAME = "monit"
-INITSCRIPT_PARAMS = "defaults 99"
-
-inherit autotools update-rc.d
-
-EXTRA_OECONF = "--with-ssl-lib-dir=${STAGING_LIBDIR} --with-ssl-incl-dir=${STAGING_INCDIR}"
-
-do_install_append() {
- install -d ${D}${sysconfdir}/init.d/
- install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/monit
- sed -i 's:# set daemon 120:set daemon 120:' ${S}/monitrc
- sed -i 's:include /etc/monit.d/:include /${sysconfdir}/monit.d/:' ${S}/monitrc
- install -m 600 ${S}/monitrc ${D}${sysconfdir}/monitrc
- install -m 700 -d ${D}${sysconfdir}/monit.d/
-}
-
-CONFFILES_${PN} += "${sysconfdir}/monitrc"
-