From nobody Wed Oct 25 20:30:20 2023 X-Original-To: dev-commits-ports-main@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 4SG0t50bFGz4y0sf; Wed, 25 Oct 2023 20:30:21 +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 4SG0t473Qkz3X1r; Wed, 25 Oct 2023 20:30:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698265821; 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=gY7gwJxA8U/IukgQxOP/XyKUrbHgaSRoZOBTMx1X7oc=; b=FTgy9jTVxRk9+zZn2KJtWImSgzgJB9ijl530yTzgOWf89aSc32eSrbFIYC2K6Bdf/8BLnS UR0SsRiTl+Sr7zYs/mV/i9SKKhXZ17QyYWZ2LoRVRzNz1DW0Kj2oPhjDRvHMWVeTs00QQS HF4GGNuFOKfqDz/AZDT9E+Hx90f80dBzqSZ/Zcsu+UZ0viH3tau+XrwmLWH8wMicTMJnfe xoHYlslK6OWbmwMW39F8lRX79+AwQaPeb9DWP/+FEBzLaDVjQcSt5jTeztzhoBmi9UbDoU sDV/Jd2M0HnFjXnpxl9t4SvdgIMCcYs6GgogyJ0+l0cC7zCx1Mr6J4lRJemkQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698265821; a=rsa-sha256; cv=none; b=f5PPI1v2+zeh1Yywpgn0QnPH4xXjXuCtxoSu5XYNEt5BKngmAgmYcYtZYf28ft3WYYxy2f xqSIWdgV2QM7rWiqEMMrLd02zP1WYYSAgaPTHtipBlKHgMBLerpN3q3Mkk6AuWKTFldVvu p5sDs6iL/M1wCJC/HlB+GHAXZFREx9Ad9JhLMzOPbWisCJSK/pzRTkQZ4+QOxibjgP3kRK 6brh4Qo8yWoQ5QHeeJxuHFiUARZiyh9P05BU53JgBB+Poq+L+HlXDdlOFIx69PvD9OHxea wLgFR2qqMVeH7s5ptUxiLiLVmqd8m7WVUT7yIb3aRQcWyK+S8mgjlRpx8cspog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698265821; 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=gY7gwJxA8U/IukgQxOP/XyKUrbHgaSRoZOBTMx1X7oc=; b=Rx2TNMsRfzX62O3z6sXLEIZGW4tz3P9C77J7THQ4aDeJOpmekw9U1NMs7SZ3X8c++hZ1oW 7ZZ6ymb1uJWRtqRtfCAu9ZG7K6AyaTsSGaTExJyN0/xNUatEMdQGTGJqlz+uG6d8Hqq+Mq P/hRbFDZ8hO6oq4pIDALObksEpE3inSLIn3Xo31S8mHA4PkTvygPRlXqr3CkTXhg/ajlB1 VuPNrzQH2R2N5npln/nhc70Pjtnt+nZ6g8dbCEzSgVjsJmc4kZUKelZlDOuLrybwciTL9d k34e0aBdZJHAX0mstBxFDE4xxa3T4XO47nKiER2Vw0IB/0JM/htmlgdyMMu3mg== 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 4SG0t465n6z1J6Q; Wed, 25 Oct 2023 20:30:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39PKUKBI082831; Wed, 25 Oct 2023 20:30:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39PKUKsV082828; Wed, 25 Oct 2023 20:30:20 GMT (envelope-from git) Date: Wed, 25 Oct 2023 20:30:20 GMT Message-Id: <202310252030.39PKUKsV082828@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: 5b4847e1ba01 - main - devel/bacnet-stack: New port: open source protocol stack for embedded systems List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 5b4847e1ba01b9fc75ba392bf124bceedd0cf6f8 Auto-Submitted: auto-generated The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b4847e1ba01b9fc75ba392bf124bceedd0cf6f8 commit 5b4847e1ba01b9fc75ba392bf124bceedd0cf6f8 Author: Jose Alonso Cardenas Marquez AuthorDate: 2023-10-25 20:25:53 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2023-10-25 20:25:53 +0000 devel/bacnet-stack: New port: open source protocol stack for embedded systems BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services. --- devel/Makefile | 1 + devel/bacnet-stack/Makefile | 19 +++ devel/bacnet-stack/distinfo | 3 + devel/bacnet-stack/files/patch-CMakeLists.txt | 19 +++ devel/bacnet-stack/pkg-descr | 2 + devel/bacnet-stack/pkg-plist | 209 ++++++++++++++++++++++++++ 6 files changed, 253 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bb4bc4ba1957..6820881b8167 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -268,6 +268,7 @@ SUBDIR += b2 SUBDIR += babelflow SUBDIR += babeltrace + SUBDIR += bacnet-stack SUBDIR += bacon SUBDIR += bam SUBDIR += bashdb diff --git a/devel/bacnet-stack/Makefile b/devel/bacnet-stack/Makefile new file mode 100644 index 000000000000..96f4abeed136 --- /dev/null +++ b/devel/bacnet-stack/Makefile @@ -0,0 +1,19 @@ +PORTNAME= bacnet-stack +PORTVERSION= 1.3.1 +CATEGORIES= devel + +MAINTAINER= acm@FreeBSD.org +COMMENT= open source protocol stack for embedded systems +WWW= https://github.com/bacnet-stack/bacnet-stack + +LICENSE= GPLv2+ +LICENSE_FILE= license/readme.txt + +USES= cmake compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= bacnet-stack +GH_TAGNAME= 934761d + +LDFLAGS= -lm + +.include diff --git a/devel/bacnet-stack/distinfo b/devel/bacnet-stack/distinfo new file mode 100644 index 000000000000..8c357ebe9dd8 --- /dev/null +++ b/devel/bacnet-stack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696361556 +SHA256 (bacnet-stack-bacnet-stack-1.3.1-934761d_GH0.tar.gz) = 7696a2e5896fe1a2c2ec321b9524bb1ba07e23b6f1b6d0bad6246981ffcabfff +SIZE (bacnet-stack-bacnet-stack-1.3.1-934761d_GH0.tar.gz) = 31214388 diff --git a/devel/bacnet-stack/files/patch-CMakeLists.txt b/devel/bacnet-stack/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..69f004052602 --- /dev/null +++ b/devel/bacnet-stack/files/patch-CMakeLists.txt @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2023-09-29 19:56:28.400665000 -0500 ++++ CMakeLists.txt 2023-09-29 19:57:28.695265000 -0500 +@@ -562,6 +562,16 @@ + ports/bsd/datetime-init.c + ports/bsd/mstimer-init.c + ports/bsd/stdbool.h) ++elseif(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") ++ message(STATUS "BACNET: building for FreeBSD") ++ set(BACNET_PORT_DIRECTORY_PATH ${CMAKE_CURRENT_LIST_DIR}/ports/bsd) ++ ++ target_sources(${PROJECT_NAME} PRIVATE ++ ports/bsd/bacport.h ++ ports/bsd/bip-init.c ++ ports/bsd/datetime-init.c ++ ports/bsd/mstimer-init.c ++ ports/bsd/stdbool.h) + endif() + + target_include_directories(${PROJECT_NAME} PUBLIC diff --git a/devel/bacnet-stack/pkg-descr b/devel/bacnet-stack/pkg-descr new file mode 100644 index 000000000000..2626334224ab --- /dev/null +++ b/devel/bacnet-stack/pkg-descr @@ -0,0 +1,2 @@ +BACnet Protocol Stack library provides a BACnet application layer, network +layer and media access (MAC) layer communications services. diff --git a/devel/bacnet-stack/pkg-plist b/devel/bacnet-stack/pkg-plist new file mode 100644 index 000000000000..37805a5d8a99 --- /dev/null +++ b/devel/bacnet-stack/pkg-plist @@ -0,0 +1,209 @@ +include/bacnet/abort.h +include/bacnet/access_rule.h +include/bacnet/alarm_ack.h +include/bacnet/apdu.h +include/bacnet/arf.h +include/bacnet/assigned_access_rights.h +include/bacnet/authentication_factor.h +include/bacnet/authentication_factor_format.h +include/bacnet/awf.h +include/bacnet/bacaddr.h +include/bacnet/bacapp.h +include/bacnet/bacdcode.h +include/bacnet/bacdef.h +include/bacnet/bacdest.h +include/bacnet/bacdevobjpropref.h +include/bacnet/bacenum.h +include/bacnet/bacerror.h +include/bacnet/bacint.h +include/bacnet/bacnet_stack_exports.h +include/bacnet/bacprop.h +include/bacnet/bacpropstates.h +include/bacnet/bacreal.h +include/bacnet/bacstr.h +include/bacnet/bactext.h +include/bacnet/bactimevalue.h +include/bacnet/basic/bbmd/h_bbmd.h +include/bacnet/basic/bbmd6/h_bbmd6.h +include/bacnet/basic/bbmd6/vmac.h +include/bacnet/basic/binding/address.h +include/bacnet/basic/client/bac-data.h +include/bacnet/basic/client/bac-rw.h +include/bacnet/basic/client/bac-task.h +include/bacnet/basic/npdu/h_npdu.h +include/bacnet/basic/npdu/h_routed_npdu.h +include/bacnet/basic/npdu/s_router.h +include/bacnet/basic/object/acc.h +include/bacnet/basic/object/access_credential.h +include/bacnet/basic/object/access_door.h +include/bacnet/basic/object/access_point.h +include/bacnet/basic/object/access_rights.h +include/bacnet/basic/object/access_user.h +include/bacnet/basic/object/access_zone.h +include/bacnet/basic/object/ai.h +include/bacnet/basic/object/ao.h +include/bacnet/basic/object/av.h +include/bacnet/basic/object/bacfile.h +include/bacnet/basic/object/bi.h +include/bacnet/basic/object/bo.h +include/bacnet/basic/object/bv.h +include/bacnet/basic/object/channel.h +include/bacnet/basic/object/color_object.h +include/bacnet/basic/object/color_temperature.h +include/bacnet/basic/object/command.h +include/bacnet/basic/object/credential_data_input.h +include/bacnet/basic/object/csv.h +include/bacnet/basic/object/device.h +include/bacnet/basic/object/iv.h +include/bacnet/basic/object/lc.h +include/bacnet/basic/object/lo.h +include/bacnet/basic/object/lsp.h +include/bacnet/basic/object/ms-input.h +include/bacnet/basic/object/mso.h +include/bacnet/basic/object/msv.h +include/bacnet/basic/object/nc.h +include/bacnet/basic/object/netport.h +include/bacnet/basic/object/objects.h +include/bacnet/basic/object/osv.h +include/bacnet/basic/object/piv.h +include/bacnet/basic/object/schedule.h +include/bacnet/basic/object/trendlog.h +include/bacnet/basic/service/h_alarm_ack.h +include/bacnet/basic/service/h_apdu.h +include/bacnet/basic/service/h_arf.h +include/bacnet/basic/service/h_arf_a.h +include/bacnet/basic/service/h_awf.h +include/bacnet/basic/service/h_ccov.h +include/bacnet/basic/service/h_cov.h +include/bacnet/basic/service/h_create_object.h +include/bacnet/basic/service/h_dcc.h +include/bacnet/basic/service/h_delete_object.h +include/bacnet/basic/service/h_gas_a.h +include/bacnet/basic/service/h_get_alarm_sum.h +include/bacnet/basic/service/h_getevent.h +include/bacnet/basic/service/h_getevent_a.h +include/bacnet/basic/service/h_iam.h +include/bacnet/basic/service/h_ihave.h +include/bacnet/basic/service/h_list_element.h +include/bacnet/basic/service/h_lso.h +include/bacnet/basic/service/h_noserv.h +include/bacnet/basic/service/h_rd.h +include/bacnet/basic/service/h_rp.h +include/bacnet/basic/service/h_rp_a.h +include/bacnet/basic/service/h_rpm.h +include/bacnet/basic/service/h_rpm_a.h +include/bacnet/basic/service/h_rr.h +include/bacnet/basic/service/h_rr_a.h +include/bacnet/basic/service/h_ts.h +include/bacnet/basic/service/h_ucov.h +include/bacnet/basic/service/h_upt.h +include/bacnet/basic/service/h_whohas.h +include/bacnet/basic/service/h_whois.h +include/bacnet/basic/service/h_wp.h +include/bacnet/basic/service/h_wpm.h +include/bacnet/basic/service/s_abort.h +include/bacnet/basic/service/s_ack_alarm.h +include/bacnet/basic/service/s_arfs.h +include/bacnet/basic/service/s_awfs.h +include/bacnet/basic/service/s_cevent.h +include/bacnet/basic/service/s_cov.h +include/bacnet/basic/service/s_create_object.h +include/bacnet/basic/service/s_dcc.h +include/bacnet/basic/service/s_delete_object.h +include/bacnet/basic/service/s_error.h +include/bacnet/basic/service/s_get_alarm_sum.h +include/bacnet/basic/service/s_get_event.h +include/bacnet/basic/service/s_getevent.h +include/bacnet/basic/service/s_iam.h +include/bacnet/basic/service/s_ihave.h +include/bacnet/basic/service/s_list_element.h +include/bacnet/basic/service/s_lso.h +include/bacnet/basic/service/s_rd.h +include/bacnet/basic/service/s_readrange.h +include/bacnet/basic/service/s_rp.h +include/bacnet/basic/service/s_rpm.h +include/bacnet/basic/service/s_ts.h +include/bacnet/basic/service/s_uevent.h +include/bacnet/basic/service/s_upt.h +include/bacnet/basic/service/s_whohas.h +include/bacnet/basic/service/s_whois.h +include/bacnet/basic/service/s_wp.h +include/bacnet/basic/service/s_wpm.h +include/bacnet/basic/services.h +include/bacnet/basic/sys/bigend.h +include/bacnet/basic/sys/color_rgb.h +include/bacnet/basic/sys/days.h +include/bacnet/basic/sys/debug.h +include/bacnet/basic/sys/fifo.h +include/bacnet/basic/sys/filename.h +include/bacnet/basic/sys/key.h +include/bacnet/basic/sys/keylist.h +include/bacnet/basic/sys/linear.h +include/bacnet/basic/sys/mstimer.h +include/bacnet/basic/sys/platform.h +include/bacnet/basic/sys/ringbuf.h +include/bacnet/basic/sys/sbuf.h +include/bacnet/basic/tsm/tsm.h +include/bacnet/basic/ucix/ucix.h +include/bacnet/bits.h +include/bacnet/bytes.h +include/bacnet/config.h +include/bacnet/cov.h +include/bacnet/create_object.h +include/bacnet/credential_authentication_factor.h +include/bacnet/dailyschedule.h +include/bacnet/datalink/arcnet.h +include/bacnet/datalink/bacsec.h +include/bacnet/datalink/bip.h +include/bacnet/datalink/bip6.h +include/bacnet/datalink/bvlc.h +include/bacnet/datalink/bvlc6.h +include/bacnet/datalink/cobs.h +include/bacnet/datalink/crc.h +include/bacnet/datalink/datalink.h +include/bacnet/datalink/dlenv.h +include/bacnet/datalink/dlmstp.h +include/bacnet/datalink/ethernet.h +include/bacnet/datalink/mstp.h +include/bacnet/datalink/mstpdef.h +include/bacnet/datalink/mstptext.h +include/bacnet/datetime.h +include/bacnet/dcc.h +include/bacnet/delete_object.h +include/bacnet/event.h +include/bacnet/get_alarm_sum.h +include/bacnet/getevent.h +include/bacnet/hostnport.h +include/bacnet/iam.h +include/bacnet/ihave.h +include/bacnet/indtext.h +include/bacnet/lighting.h +include/bacnet/list_element.h +include/bacnet/lso.h +include/bacnet/memcopy.h +include/bacnet/npdu.h +include/bacnet/property.h +include/bacnet/proplist.h +include/bacnet/ptransfer.h +include/bacnet/rd.h +include/bacnet/readrange.h +include/bacnet/reject.h +include/bacnet/rp.h +include/bacnet/rpm.h +include/bacnet/timestamp.h +include/bacnet/timesync.h +include/bacnet/version.h +include/bacnet/weeklyschedule.h +include/bacnet/whohas.h +include/bacnet/whois.h +include/bacnet/wp.h +include/bacnet/wpm.h +include/bacport.h +include/stdbool.h +lib/cmake/bacnet-stack/bacnet-stackConfig.cmake +lib/cmake/bacnet-stack/bacnet-stackConfigVersion.cmake +lib/cmake/bacnet-stack/bacnet-stackTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/bacnet-stack/bacnet-stackTargets.cmake +lib/libbacnet-stack.a +@dir include/bacnet/basic/object/client +@dir include/bacnet/basic/object/gateway