From nobody Wed Jul 20 14:44:53 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lnz4k0lTdz4XBNs; Wed, 20 Jul 2022 14:44:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lnz4k0G9mz3m09; Wed, 20 Jul 2022 14:44:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658328294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LoubUrs281q6SAX4sKHdRIq5K4PAnkPQD8A6HJAKrDE=; b=EhH/u7PPJ17eHPmUWgQ5lPCslYeOHWM+8eXcX2qrH+c7FefDrQHVv8/UvdVU1ZgjHo2T9h yReGG43NZyy34AWBBQ2qO5cNNNCkHyMIOqn9HKH/s0/Vv7kkUguYebHG9pCroKvwkH7MV7 Fd5YSBZKeSMPlafGij78oZXdxHxYLkWl2qUkvV2pm2TjBxthTBXKztyuarTmJJV4OLYfmS GKgU2hnK0NcGCBWDUKoO9ciHksaDYDrEqdrX3+S6OGLZ3nYCOuS+3tJPgnmCF8E4BRn+uF EABb03biVaS5DcNQL1RfO/zc6Hqea+CuCz0nDtFjmiV9sKxtU8joIDq/O6tp6g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lnz4j6Rnqz12Qj; Wed, 20 Jul 2022 14:44:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26KEirKU031585; Wed, 20 Jul 2022 14:44:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26KEir4A031584; Wed, 20 Jul 2022 14:44:53 GMT (envelope-from git) Date: Wed, 20 Jul 2022 14:44:53 GMT Message-Id: <202207201444.26KEir4A031584@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 5f0856f00ae7 - main - net/libpaho-mqtt3: New port: Eclipse Paho C Client Library for the MQTT Protocol List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5f0856f00ae7b2bbc82c9da2e0497705b827079d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658328294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LoubUrs281q6SAX4sKHdRIq5K4PAnkPQD8A6HJAKrDE=; b=Zm9wG5dZu2/px4XqSYFzqqnXqCOwRHGUQ4+vBcnPuWoSPb0i8cCFZTaC/HyV57Nd0crW4N Sx74DNsimIbS0gdCpq7rxi/S3ta4BDWmSZUg9LZE4XdFqMgNVwsOrJcEYv1xjR0KQJzJcF I3cGox5o9HIUf9WPjLkGPHdvQjm+vPMW7gYfslAMrjh6ztLovx437hHNNS4J6uyVNdggEx tVG/RREQF18egN4gPzF5XkLlqb5RFBw3zHfljybftJ1LE3ntXQt94g+0DI92zQSdkaxuNx b8cf5leeS2HznEFpgYbPR0fv67ebyhTqUPXckabn0vUq2YTAKwkssazX/By5tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658328294; a=rsa-sha256; cv=none; b=gcb+EXFCthkF0CJr/cklrXutAp7JMe6pU7TbeI+88qtQZXbFUVtAiwl8Jb0Qh1xcCo3DQy SQKHiBXtU5CZ3IaEX0YferrUjVCsTEGFVKpj30kaB2MetQfhhR5RZpM25ZbQvIYZe2Ed3N T+vFbBErvPnuXrTBbd3UEDXYbGWuYCzrCabB97bq6BUbmHNBeG9/ATSIEbsutN1A1pnKOv MetUqJjCawljPzpkAFbczmSVRJk5NtDx9M650oQ3vhLE9pyqg06BZS1L6KmsResN5fEMEY L5ITfCvlDGf9JrJy4mNpAh2nZJfWHu3nYzjk/tBQkVi/H0iX5FQEc5Odn3ZqHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f0856f00ae7b2bbc82c9da2e0497705b827079d commit 5f0856f00ae7b2bbc82c9da2e0497705b827079d Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-07-20 14:43:45 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2022-07-20 14:44:45 +0000 net/libpaho-mqtt3: New port: Eclipse Paho C Client Library for the MQTT Protocol Eclipse Paho C Client Library for the MQTT Protocol The Paho C client comprises four variant libraries, shared or static: paho-mqtt3a - asynchronous (MQTTAsync) paho-mqtt3as - asynchronous with SSL (MQTTAsync) paho-mqtt3c - "classic" / synchronous (MQTTClient) paho-mqtt3cs - "classic" / synchronous with SSL (MQTTClient) Which Paho C API to use, with some history, for context WWW: https://github.com/eclipse/paho.mqtt.c --- net/Makefile | 1 + net/libpaho-mqtt3/Makefile | 23 ++++++++++++++++++++ net/libpaho-mqtt3/distinfo | 3 +++ net/libpaho-mqtt3/pkg-descr | 11 ++++++++++ net/libpaho-mqtt3/pkg-plist | 53 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+) diff --git a/net/Makefile b/net/Makefile index d3aecc8c2a11..8ad763b67768 100644 --- a/net/Makefile +++ b/net/Makefile @@ -391,6 +391,7 @@ SUBDIR += libopennet SUBDIR += liboping SUBDIR += libosip2 + SUBDIR += libpaho-mqtt3 SUBDIR += libpcap SUBDIR += libpcapnav SUBDIR += libpfctl diff --git a/net/libpaho-mqtt3/Makefile b/net/libpaho-mqtt3/Makefile new file mode 100644 index 000000000000..2a29d344fc13 --- /dev/null +++ b/net/libpaho-mqtt3/Makefile @@ -0,0 +1,23 @@ +PORTNAME= libpaho-mqtt3 +PORTVERSION= 1.3.10 +DISTVERSIONPREFIX= v +CATEGORIES= net devel + +MAINTAINER= acm@FreeBSD.org +COMMENT= Eclipse Paho C Client Library for the MQTT Protocol + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake ssl + +USE_GITHUB= yes +GH_ACCOUNT= eclipse +GH_PROJECT= paho.mqtt.c + +CMAKE_ARGS+= -DPAHO_WITH_SSL=BOOL:TRUE + +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include diff --git a/net/libpaho-mqtt3/distinfo b/net/libpaho-mqtt3/distinfo new file mode 100644 index 000000000000..6726b52e7a27 --- /dev/null +++ b/net/libpaho-mqtt3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1658302121 +SHA256 (eclipse-paho.mqtt.c-v1.3.10_GH0.tar.gz) = c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 +SIZE (eclipse-paho.mqtt.c-v1.3.10_GH0.tar.gz) = 3615593 diff --git a/net/libpaho-mqtt3/pkg-descr b/net/libpaho-mqtt3/pkg-descr new file mode 100644 index 000000000000..db0a23848b12 --- /dev/null +++ b/net/libpaho-mqtt3/pkg-descr @@ -0,0 +1,11 @@ +Eclipse Paho C Client Library for the MQTT Protocol + +The Paho C client comprises four variant libraries, shared or static: + +paho-mqtt3a - asynchronous (MQTTAsync) +paho-mqtt3as - asynchronous with SSL (MQTTAsync) +paho-mqtt3c - "classic" / synchronous (MQTTClient) +paho-mqtt3cs - "classic" / synchronous with SSL (MQTTClient) +Which Paho C API to use, with some history, for context + +WWW: https://github.com/eclipse/paho.mqtt.c diff --git a/net/libpaho-mqtt3/pkg-plist b/net/libpaho-mqtt3/pkg-plist new file mode 100644 index 000000000000..116d0e85401e --- /dev/null +++ b/net/libpaho-mqtt3/pkg-plist @@ -0,0 +1,53 @@ +bin/MQTTAsync_publish +bin/MQTTAsync_publish_time +bin/MQTTAsync_subscribe +bin/MQTTClient_publish +bin/MQTTClient_publish_async +bin/MQTTClient_subscribe +bin/MQTTVersion +bin/paho_c_pub +bin/paho_c_sub +bin/paho_cs_pub +bin/paho_cs_sub +include/MQTTAsync.h +include/MQTTClient.h +include/MQTTClientPersistence.h +include/MQTTExportDeclarations.h +include/MQTTProperties.h +include/MQTTReasonCodes.h +include/MQTTSubscribeOpts.h +lib/cmake/eclipse-paho-mqtt-c/eclipse-paho-mqtt-cConfig-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/eclipse-paho-mqtt-c/eclipse-paho-mqtt-cConfig.cmake +lib/cmake/eclipse-paho-mqtt-c/eclipse-paho-mqtt-cConfigVersion.cmake +lib/libpaho-mqtt3a.so +lib/libpaho-mqtt3a.so.1 +lib/libpaho-mqtt3a.so.1.3.10 +lib/libpaho-mqtt3as.so +lib/libpaho-mqtt3as.so.1 +lib/libpaho-mqtt3as.so.1.3.10 +lib/libpaho-mqtt3c.so +lib/libpaho-mqtt3c.so.1 +lib/libpaho-mqtt3c.so.1.3.10 +lib/libpaho-mqtt3cs.so +lib/libpaho-mqtt3cs.so.1 +lib/libpaho-mqtt3cs.so.1.3.10 +man/man1/paho_c_pub.1.gz +man/man1/paho_c_sub.1.gz +man/man1/paho_cs_pub.1.gz +man/man1/paho_cs_sub.1.gz +share/doc/Eclipse Paho C/CONTRIBUTING.md +share/doc/Eclipse Paho C/README.md +share/doc/Eclipse Paho C/edl-v10 +share/doc/Eclipse Paho C/epl-v20 +share/doc/Eclipse Paho C/notice.html +share/doc/Eclipse Paho C/samples/MQTTAsync_publish.c +share/doc/Eclipse Paho C/samples/MQTTAsync_publish_time.c +share/doc/Eclipse Paho C/samples/MQTTAsync_subscribe.c +share/doc/Eclipse Paho C/samples/MQTTClient_publish.c +share/doc/Eclipse Paho C/samples/MQTTClient_publish_async.c +share/doc/Eclipse Paho C/samples/MQTTClient_subscribe.c +share/doc/Eclipse Paho C/samples/paho_c_pub.c +share/doc/Eclipse Paho C/samples/paho_c_sub.c +share/doc/Eclipse Paho C/samples/paho_cs_pub.c +share/doc/Eclipse Paho C/samples/paho_cs_sub.c +share/doc/Eclipse Paho C/samples/pubsub_opts.c