From owner-svn-ports-head@freebsd.org Wed Jul 20 18:27:22 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2CDBB9F9FE; Wed, 20 Jul 2016 18:27:22 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EA3615A4; Wed, 20 Jul 2016 18:27:22 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6KIRL9L044361; Wed, 20 Jul 2016 18:27:21 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6KIRLit044358; Wed, 20 Jul 2016 18:27:21 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201607201827.u6KIRLit044358@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Wed, 20 Jul 2016 18:27:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418845 - in head/net/mosquitto: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 18:27:23 -0000 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)