summaryrefslogtreecommitdiff
path: root/recipes-connectivity/mosquitto/mosquitto_1.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/mosquitto/mosquitto_1.4.bb')
-rw-r--r--recipes-connectivity/mosquitto/mosquitto_1.4.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-connectivity/mosquitto/mosquitto_1.4.bb b/recipes-connectivity/mosquitto/mosquitto_1.4.bb
index e3e1449..319ca49 100644
--- a/recipes-connectivity/mosquitto/mosquitto_1.4.bb
+++ b/recipes-connectivity/mosquitto/mosquitto_1.4.bb
@@ -7,12 +7,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=62ddc846179e908dc0c8efec4a42ef20"
DEPENDS = "c-ares openssl"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://mosquitto.org/files/source/${PN}-${PV}.tar.gz \
file://mosquitto.init \
file://mosquitto.conf \
file://mosquitto.default \
+ file://mosquitto.logrotate.conf \
file://nostrip.patch \
"
@@ -33,6 +34,9 @@ do_install() {
install -m 0755 ${WORKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto
install -m 0644 ${WORKDIR}/mosquitto.conf ${D}${sysconfdir}/mosquitto/
install -m 0644 ${WORKDIR}/mosquitto.default ${D}${sysconfdir}/default/mosquitto
+
+ install -d ${D}${sysconfdir}/logrotate.d
+ install -m 0644 ${WORKDIR}/mosquitto.logrotate.conf ${D}${sysconfdir}/logrotate.d/mosquitto.conf
}
PACKAGES += "libmosquitto1 libmosquittopp1 ${PN}-clients ${PN}-python"