From e8999041b5857b81fac18299c9a1c569124834c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Wed, 25 Feb 2015 14:04:53 -0300 Subject: mosquitto: upgrade --- pcr/mosquitto/usr_move.patch | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'pcr/mosquitto/usr_move.patch') diff --git a/pcr/mosquitto/usr_move.patch b/pcr/mosquitto/usr_move.patch index 961ab8a36..4a5bb2e13 100644 --- a/pcr/mosquitto/usr_move.patch +++ b/pcr/mosquitto/usr_move.patch @@ -1,13 +1,21 @@ ---- a/src/Makefile 2013-06-03 03:03:05.321690000 +0200 -+++ b/src/Makefile 2013-06-04 03:45:13.514436898 +0200 -@@ -96,8 +96,8 @@ - ${CC} $(CFLAGS) ${CPPFLAGS} -c $< -o $@ +--- a/src/Makefile 2015-02-18 02:44:09.000000000 +0100 ++++ a/src/Makefile 2015-02-20 17:15:30.180477359 +0100 +@@ -102,15 +102,15 @@ + ${CROSS_COMPILE}${CC} $(CFLAGS) ${CPPFLAGS} -c $< -o $@ install : all - $(INSTALL) -d ${DESTDIR}$(prefix)/sbin -- $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/sbin/mosquitto +- $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} mosquitto ${DESTDIR}${prefix}/sbin/mosquitto + $(INSTALL) -d ${DESTDIR}$(prefix)/bin -+ $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/bin/mosquitto ++ $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} mosquitto ${DESTDIR}${prefix}/bin/mosquitto $(INSTALL) mosquitto_plugin.h ${DESTDIR}${prefix}/include/mosquitto_plugin.h ifeq ($(WITH_TLS),yes) - $(INSTALL) -s mosquitto_passwd ${DESTDIR}${prefix}/bin/mosquitto_passwd + $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} mosquitto_passwd ${DESTDIR}${prefix}/bin/mosquitto_passwd + endif + + uninstall : +- -rm -f ${DESTDIR}${prefix}/sbin/mosquitto ++ -rm -f ${DESTDIR}${prefix}/bin/mosquitto + -rm -f ${DESTDIR}${prefix}/include/mosquitto_plugin.h + -rm -f ${DESTDIR}${prefix}/bin/mosquitto_passwd + -- cgit v1.2.3-2-g168b