diff options
author | Jesse Gilles <jgilles@multitech.com> | 2015-04-29 10:41:27 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2015-04-29 10:41:27 -0500 |
commit | 069036707bb987959d1cbe96ee5e04d48bb5a3b5 (patch) | |
tree | 483f5a28bf48d5fb4cc21592b378d58fcc384b74 /recipes-connectivity/mosquitto/mosquitto_1.4.bb | |
parent | 369241fd7426c083ab76efac874d2ab31249d23f (diff) | |
download | meta-mlinux-069036707bb987959d1cbe96ee5e04d48bb5a3b5.tar.gz meta-mlinux-069036707bb987959d1cbe96ee5e04d48bb5a3b5.tar.bz2 meta-mlinux-069036707bb987959d1cbe96ee5e04d48bb5a3b5.zip |
mosquitto: add logrotate config
Diffstat (limited to 'recipes-connectivity/mosquitto/mosquitto_1.4.bb')
-rw-r--r-- | recipes-connectivity/mosquitto/mosquitto_1.4.bb | 6 |
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" |