* [oe][meta-oe][PATCH 1/3] Mosquitto add a mosquitto conf and logging to the default mosquitto recipe
@ 2018-05-25 14:14 nick83ola
2018-05-25 19:19 ` Randy MacLeod
0 siblings, 1 reply; 3+ messages in thread
From: nick83ola @ 2018-05-25 14:14 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1.1: Type: text/plain, Size: 240 bytes --]
The openembedded recipe for mosquitto doesn't provide a default
configuration file.
Also it install a bunch of examples.
This series of patches provide a "default" configuration file and setup
logging.
Cheers
Nicola Lunghi
[-- Attachment #1.2: Type: text/html, Size: 555 bytes --]
[-- Attachment #2: 0001-mosquitto-remove-example-files-from-installation.patch --]
[-- Type: text/x-patch, Size: 2957 bytes --]
From 1e62b706ce335194680782b4e5f200a0123718fe Mon Sep 17 00:00:00 2001
From: Nicola Lunghi <nicola.lunghi@jci.com>
Date: Fri, 25 May 2018 14:20:08 +0100
Subject: [PATCH 1/3] mosquitto: remove example files from installation
The mosquitto makefile install a lot of example configuration files
on the image: remove those
Change-Id: I4d8af864f955ea5dc34a34ff11a7d3013aefbeda
Signed-off-by: Nicola Lunghi <nicola.lunghi@jci.com>
---
.../files/0003-remove-example-files.patch | 35 +++++++++++++++++++
.../mosquitto/mosquitto_1.4.14.bb | 1 +
2 files changed, 36 insertions(+)
create mode 100644 meta-oe/recipes-connectivity/mosquitto/files/0003-remove-example-files.patch
diff --git a/meta-oe/recipes-connectivity/mosquitto/files/0003-remove-example-files.patch b/meta-oe/recipes-connectivity/mosquitto/files/0003-remove-example-files.patch
new file mode 100644
index 000000000..a5566a074
--- /dev/null
+++ b/meta-oe/recipes-connectivity/mosquitto/files/0003-remove-example-files.patch
@@ -0,0 +1,35 @@
+From f0e97c16fe0d49f61e5da0aa884f4f7d5a911e90 Mon Sep 17 00:00:00 2001
+From: Nicola Lunghi <nicola.lunghi@jci.com>
+Date: Mon, 26 Mar 2018 12:21:43 +0100
+Subject: [PATCH] removed example files
+
+---
+ Makefile | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 1fc0805..76f81b1 100644
+--- a/Makefile
++++ b/Makefile
+@@ -39,18 +39,9 @@ install : mosquitto
+ ifeq ($(WITH_DOCS),yes)
+ set -e; for d in ${DOCDIRS}; do $(MAKE) -C $${d} install; done
+ endif
+- $(INSTALL) -d ${DESTDIR}/etc/mosquitto
+- $(INSTALL) -m 644 mosquitto.conf ${DESTDIR}/etc/mosquitto/mosquitto.conf.example
+- $(INSTALL) -m 644 aclfile.example ${DESTDIR}/etc/mosquitto/aclfile.example
+- $(INSTALL) -m 644 pwfile.example ${DESTDIR}/etc/mosquitto/pwfile.example
+- $(INSTALL) -m 644 pskfile.example ${DESTDIR}/etc/mosquitto/pskfile.example
+
+ uninstall :
+ set -e; for d in ${DIRS}; do $(MAKE) -C $${d} uninstall; done
+- rm -f ${DESTDIR}/etc/mosquitto/mosquitto.conf
+- rm -f ${DESTDIR}/etc/mosquitto/aclfile.example
+- rm -f ${DESTDIR}/etc/mosquitto/pwfile.example
+- rm -f ${DESTDIR}/etc/mosquitto/pskfile.example
+
+ dist : reallyclean
+ set -e; for d in ${DISTDIRS}; do $(MAKE) -C $${d} dist; done
+--
+2.14.1
+
diff --git a/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb b/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb
index 13ce3811d..76eb79b9f 100644
--- a/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb
+++ b/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb
@@ -13,6 +13,7 @@ DEPENDS = "uthash"
SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
file://0001-config.mk-allow-prefix-mandir-localedir-from-environ.patch \
file://0002-uthash-remove-in-tree-version.patch \
+ file://0003-remove-example-files.patch \
file://mosquitto.service \
file://mosquitto.init \
"
--
2.17.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe][meta-oe][PATCH 1/3] Mosquitto add a mosquitto conf and logging to the default mosquitto recipe
2018-05-25 14:14 [oe][meta-oe][PATCH 1/3] Mosquitto add a mosquitto conf and logging to the default mosquitto recipe nick83ola
@ 2018-05-25 19:19 ` Randy MacLeod
2018-06-01 9:39 ` nick83ola
0 siblings, 1 reply; 3+ messages in thread
From: Randy MacLeod @ 2018-05-25 19:19 UTC (permalink / raw)
To: nick83ola, openembedded-core
On 05/25/2018 10:14 AM, nick83ola wrote:
> The openembedded recipe for mosquitto doesn't provide a default
> configuration file.
>
> Also it install a bunch of examples.
>
> This series of patches provide a "default" configuration file and setup
> logging.
The mosquitto recipe is part of meta-openembedded:
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb?h=master
so send a patch to:
openembedded-devel@lists.openembedded.org
Also, patches in email attachments are not the right format, see:
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
Thanks for working on the patch and good luck,
../Randy
>
>
> Cheers
>
> Nicola Lunghi
>
>
>
>
--
# Randy MacLeod
# Wind River Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe][meta-oe][PATCH 1/3] Mosquitto add a mosquitto conf and logging to the default mosquitto recipe
2018-05-25 19:19 ` Randy MacLeod
@ 2018-06-01 9:39 ` nick83ola
0 siblings, 0 replies; 3+ messages in thread
From: nick83ola @ 2018-06-01 9:39 UTC (permalink / raw)
To: Randy MacLeod; +Cc: openembedded-core
Thanks
Sorry for that I will submit everything to the right mailing list :-)
Nick
On 25 May 2018 at 20:19, Randy MacLeod <randy.macleod@windriver.com> wrote:
> On 05/25/2018 10:14 AM, nick83ola wrote:
>>
>> The openembedded recipe for mosquitto doesn't provide a default
>> configuration file.
>>
>> Also it install a bunch of examples.
>>
>> This series of patches provide a "default" configuration file and setup
>> logging.
>
>
> The mosquitto recipe is part of meta-openembedded:
> http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-connectivity/mosquitto/mosquitto_1.4.14.bb?h=master
>
> so send a patch to:
> openembedded-devel@lists.openembedded.org
>
> Also, patches in email attachments are not the right format, see:
> https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>
>
> Thanks for working on the patch and good luck,
>
> ../Randy
>
>>
>>
>> Cheers
>>
>> Nicola Lunghi
>>
>>
>>
>>
>
>
> --
> # Randy MacLeod
> # Wind River Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-01 9:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-25 14:14 [oe][meta-oe][PATCH 1/3] Mosquitto add a mosquitto conf and logging to the default mosquitto recipe nick83ola
2018-05-25 19:19 ` Randy MacLeod
2018-06-01 9:39 ` nick83ola
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.