Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 18:27:21 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418845 - in head/net/mosquitto: . files
Message-ID:  <201607201827.u6KIRLit044358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Wed Jul 20 18:27:21 2016
New Revision: 418845
URL: https://svnweb.freebsd.org/changeset/ports/418845

Log:
  - update to 1.4.9
  - add optional websocket support
  
  Changelog:
  https://raw.githubusercontent.com/eclipse/mosquitto/master/ChangeLog.txt
  
  PR:		211190
  Submitted by:	Iblis Lin (iblis_at_hs.ntnu.edu.tw)
  Approved by:	maintainer (joe_at_thrallingpenguin.com)

Modified:
  head/net/mosquitto/Makefile
  head/net/mosquitto/distinfo
  head/net/mosquitto/files/patch-CMakeLists.txt

Modified: head/net/mosquitto/Makefile
==============================================================================
--- head/net/mosquitto/Makefile	Wed Jul 20 17:44:10 2016	(r418844)
+++ head/net/mosquitto/Makefile	Wed Jul 20 18:27:21 2016	(r418845)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mosquitto
-PORTVERSION=	1.4.4
-PORTREVISION=	1
+PORTVERSION=	1.4.9
 CATEGORIES=	net
 MASTER_SITES=	http://mosquitto.org/files/source/
 
@@ -15,7 +14,7 @@ LICENSE=	BSD3CLAUSE
 LIB_DEPENDS=	libcares.so:dns/c-ares
 BUILD_DEPENDS=	xsltproc:textproc/libxslt
 
-USES=		cmake python:2
+USES=		cmake ssl
 NOCONFIGURE=	yes
 USE_RC_SUBR=	mosquitto
 USE_LDCONFIG=	yes
@@ -23,6 +22,12 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 USERS=		nobody
 
+OPTIONS_DEFINE=	WS
+
+WS_DESC=	MQTT over Websockets support
+WS_LIB_DEPENDS=	libwebsockets.so:net/libwebsockets
+WS_CMAKE_ON=	-DWITH_WEBSOCKETS=ON
+
 post-patch:
 # do not run ldconfig in stage dir
 	${REINPLACE_CMD} -e '/ldconfig/d' ${WRKSRC}/src/CMakeLists.txt \

Modified: head/net/mosquitto/distinfo
==============================================================================
--- head/net/mosquitto/distinfo	Wed Jul 20 17:44:10 2016	(r418844)
+++ head/net/mosquitto/distinfo	Wed Jul 20 18:27:21 2016	(r418845)
@@ -1,2 +1,3 @@
-SHA256 (mosquitto-1.4.4.tar.gz) = c643c7123708aadcd29287dda7b5ce7c910f75b02956a8fc4fe65ad2ea767a5f
-SIZE (mosquitto-1.4.4.tar.gz) = 325077
+TIMESTAMP = 1468823152
+SHA256 (mosquitto-1.4.9.tar.gz) = 1df3ae07de40b80a74cd37a7b026895c544cdd3b42c9e0719ae91623aa98c58b
+SIZE (mosquitto-1.4.9.tar.gz) = 325712

Modified: head/net/mosquitto/files/patch-CMakeLists.txt
==============================================================================
--- head/net/mosquitto/files/patch-CMakeLists.txt	Wed Jul 20 17:44:10 2016	(r418844)
+++ head/net/mosquitto/files/patch-CMakeLists.txt	Wed Jul 20 18:27:21 2016	(r418845)
@@ -1,8 +1,8 @@
---- CMakeLists.txt.orig	2015-05-07 13:21:22 UTC
+--- CMakeLists.txt.orig	2016-06-02 21:20:22 UTC
 +++ CMakeLists.txt
 @@ -13,6 +13,9 @@ cmake_minimum_required(VERSION 2.8)
  
- set (VERSION 1.4.2)
+ set (VERSION 1.4.9)
  
 +include_directories(/usr/local/include)
 +link_directories(/usr/local/lib)
@@ -14,8 +14,8 @@
  	set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}")
  	set (INCLUDEDIR include)
  	set (DATAROOTDIR share)
--	set (MANDIR ${DATAROOTDIR}/man)
-+	set (MANDIR man)
- 	set (SHAREDIR ${DATAROOTDIR}/mosquitto)
+-	set (MANDIR "${DATAROOTDIR}/man")
++	set (MANDIR "man")
+ 	set (SHAREDIR "${DATAROOTDIR}/mosquitto")
  endif (WIN32)
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607201827.u6KIRLit044358>