Patchwork monit: enable include from /etc/monit.d

login
register
mail settings
Submitter Vitus Jensen
Date Dec. 22, 2010, 2:52 p.m.
Message ID <1293029561-32081-1-git-send-email-vjensen@gmx.de>
Download mbox | patch
Permalink /patch/109/
State Accepted
Headers show

Comments

Vitus Jensen - Dec. 22, 2010, 2:52 p.m.
---
 .../enable-include-from-etc-monit.d.patch          |   10 ++++++++++
 recipes/monit/monit_4.10.1.bb                      |    3 ++-
 2 files changed, 12 insertions(+), 1 deletions(-)
 create mode 100644 recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch
Khem Raj - Dec. 22, 2010, 7:47 p.m.
On Wed, Dec 22, 2010 at 6:52 AM, Vitus Jensen <vjensen@gmx.de> wrote:
> ---
>  .../enable-include-from-etc-monit.d.patch          |   10 ++++++++++
>  recipes/monit/monit_4.10.1.bb                      |    3 ++-
>  2 files changed, 12 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch
>
> diff --git a/recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch b/recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch
> new file mode 100644
> index 0000000..3370921
> --- /dev/null
> +++ b/recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch
> @@ -0,0 +1,10 @@
> +--- a/monitrc
> ++++ b/monitrc
> +@@ -212,6 +212,6 @@
> + ## It is possible to include additional configuration parts from other files or
> + ## directories.
> + #
> +-#  include /etc/monit.d/*
> ++include /etc/monit.d/*
> + #
> + #
> diff --git a/recipes/monit/monit_4.10.1.bb b/recipes/monit/monit_4.10.1.bb
> index 4bdeeb8..ebdeb8e 100644
> --- a/recipes/monit/monit_4.10.1.bb
> +++ b/recipes/monit/monit_4.10.1.bb
> @@ -1,9 +1,10 @@
>  LICENSE = "GPL"
>  DEPENDS = "openssl"
> -PR = "r1"
> +PR = "r2"
>
>  SRC_URI = "http://www.tildeslash.com/monit/dist/monit-${PV}.tar.gz\
>        file://no-strip-in-makefile.patch \
> +       file://enable-include-from-etc-monit.d.patch \
>        file://init"
>
>  INITSCRIPT_NAME = "monit"
> --
> 1.7.2.3

looks ok. Can you also make the lincense more specific which version
of GPL it is ?
and also add yout signed-off-by

Acked-by: Khem Raj <raj.khem@gmail.com>


>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch b/recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch
new file mode 100644
index 0000000..3370921
--- /dev/null
+++ b/recipes/monit/monit-4.10.1/enable-include-from-etc-monit.d.patch
@@ -0,0 +1,10 @@ 
+--- a/monitrc
++++ b/monitrc
+@@ -212,6 +212,6 @@
+ ## It is possible to include additional configuration parts from other files or
+ ## directories.
+ #
+-#  include /etc/monit.d/*
++include /etc/monit.d/*
+ #
+ #
diff --git a/recipes/monit/monit_4.10.1.bb b/recipes/monit/monit_4.10.1.bb
index 4bdeeb8..ebdeb8e 100644
--- a/recipes/monit/monit_4.10.1.bb
+++ b/recipes/monit/monit_4.10.1.bb
@@ -1,9 +1,10 @@ 
 LICENSE = "GPL"
 DEPENDS = "openssl"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.tildeslash.com/monit/dist/monit-${PV}.tar.gz\
 	file://no-strip-in-makefile.patch \
+	file://enable-include-from-etc-monit.d.patch \
 	file://init"
 
 INITSCRIPT_NAME = "monit"