From owner-svn-ports-all@freebsd.org Sat Feb 23 17:36:10 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23763151E48E; Sat, 23 Feb 2019 17:36:10 +0000 (UTC) (envelope-from tcberner@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B99FF95540; Sat, 23 Feb 2019 17:36:09 +0000 (UTC) (envelope-from tcberner@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AEE7D208DC; Sat, 23 Feb 2019 17:36:09 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1NHa90b071175; Sat, 23 Feb 2019 17:36:09 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1NHa8TI071168; Sat, 23 Feb 2019 17:36:08 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201902231736.x1NHa8TI071168@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 23 Feb 2019 17:36:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493721 - in head/net: . libcoap libcoap/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/net: . libcoap libcoap/files X-SVN-Commit-Revision: 493721 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B99FF95540 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 17:36:10 -0000 Author: tcberner Date: Sat Feb 23 17:36:07 2019 New Revision: 493721 URL: https://svnweb.freebsd.org/changeset/ports/493721 Log: New port: net/libcoap -- A CoAP (RFC 7252) implementation in C libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwidth, or network packet sizes. This protocol, CoAP, is standardized by the IETF as RFC 7252. For further information related to CoAP, see http://coap.technology. WWW: https://github.com/obgm/libcoap Added: head/net/libcoap/ head/net/libcoap/Makefile (contents, props changed) head/net/libcoap/distinfo (contents, props changed) head/net/libcoap/files/ head/net/libcoap/files/patch-configure.ac (contents, props changed) head/net/libcoap/files/patch-doc_Makefile.am (contents, props changed) head/net/libcoap/pkg-descr (contents, props changed) head/net/libcoap/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sat Feb 23 17:35:07 2019 (r493720) +++ head/net/Makefile Sat Feb 23 17:36:07 2019 (r493721) @@ -361,6 +361,7 @@ SUBDIR += libbgpdump SUBDIR += libcapn SUBDIR += libcmis + SUBDIR += libcoap SUBDIR += libdmapsharing SUBDIR += libdnet SUBDIR += libexosip2 Added: head/net/libcoap/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcoap/Makefile Sat Feb 23 17:36:07 2019 (r493721) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= libcoap +DISTVERSIONPREFIX= v +DISTVERSION= 4.2.0-rc4 +CATEGORIES= net + +MAINTAINER= tcberner@FreeBSD.org +COMMENT= C implementation of the Constrained Application Protocol + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= a2x:textproc/asciidoc +LIB_DEPENDS= libgnutls.so:security/gnutls + +USES= autoreconf gmake libtool pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= obgm + +GNU_CONFIGURE= yes + +OPTIONS_DEFINE= DOCS DOXYGEN +OPTIONS_DEFAULT= DOXYGEN +PORTDOCS= * + +DOXYGEN_IMPLIES= DOCS +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ + dot:graphics/graphviz +DOXYGEN_CONFIGURE_ENABLE= doxygen + +INSTALL_TARGET= install-strip + +.include Added: head/net/libcoap/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcoap/distinfo Sat Feb 23 17:36:07 2019 (r493721) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550938917 +SHA256 (obgm-libcoap-v4.2.0-rc4_GH0.tar.gz) = 8aa70c11fb1f1f443a9565c855f98027a50e8e0040310da86933770193e73b24 +SIZE (obgm-libcoap-v4.2.0-rc4_GH0.tar.gz) = 320596 Added: head/net/libcoap/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcoap/files/patch-configure.ac Sat Feb 23 17:36:07 2019 (r493721) @@ -0,0 +1,11 @@ +--- configure.ac.orig 2019-02-23 16:30:54 UTC ++++ configure.ac +@@ -616,7 +616,7 @@ case $host in + #AC_SUBST(OS_MACOS) + ;; + +- *-freebsd1*) ++ *freebsd*) + AC_MSG_RESULT([FreeBSD-1x]) + ADDITIONAL_CFLAGS="-D_GNU_SOURCE" + ;; Added: head/net/libcoap/files/patch-doc_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcoap/files/patch-doc_Makefile.am Sat Feb 23 17:36:07 2019 (r493721) @@ -0,0 +1,33 @@ +--- doc/Makefile.am.orig 2019-02-23 16:40:11 UTC ++++ doc/Makefile.am +@@ -68,8 +68,8 @@ man-page-build: man-page-start + echo ' ' >> $(top_builddir)/doc/insert_file ;\ + ## Create and Update the DoxygenLayout.xml file + $(DOXYGEN) -l ;\ +- $(SED) -i 's/Name^

NAME

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ +- $(SED) -i 's^

Synopsis

^

SYNOPSIS

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ ++ $(SED) -i '' 's^

Name

^

NAME

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ ++ $(SED) -i '' 's^

Synopsis

^

SYNOPSIS

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ + else \ + echo "ERROR: $(top_builddir)/man/$${BASE}.html not found!";\ + exit 1 ;\ +@@ -87,7 +87,7 @@ man-page-build: man-page-start + EBASE=`basename $${ENTRY} | cut -d . -f1` ;\ + MANUAL=`egrep -B 1 "^====" $${ENTRY} | head -1` ;\ + SECTION=`echo $${MANUAL} | cut -d\( -f2 | cut -d\) -f1` ;\ +- $(SED) -i "s^$${EBASE}($${SECTION})^$${EBASE}($${SECTION})^g" $(top_builddir)/doc/man_html/$${BASE}.html ;\ ++ $(SED) -i '' "s^$${EBASE}($${SECTION})^$${EBASE}($${SECTION})^g" $(top_builddir)/doc/man_html/$${BASE}.html ;\ + done ;\ + echo "finalized addition $${BASE}.html" ;\ + done Added: head/net/libcoap/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcoap/pkg-descr Sat Feb 23 17:36:07 2019 (r493721) @@ -0,0 +1,9 @@ +libcoap is a C implementation of a lightweight application-protocol for devices +that are constrained their resources such as computing power, RF range, memory, +bandwidth, or network packet sizes. This protocol, CoAP, is standardized by the +IETF as RFC 7252. For further information related to CoAP, see +http://coap.technology. + +You might want to check out libcoap-minimal for usage examples. + +WWW: https://github.com/obgm/libcoap Added: head/net/libcoap/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcoap/pkg-plist Sat Feb 23 17:36:07 2019 (r493721) @@ -0,0 +1,119 @@ +bin/coap-client +bin/coap-rd +bin/coap-server +include/coap2/address.h +include/coap2/async.h +include/coap2/bits.h +include/coap2/block.h +include/coap2/coap.h +include/coap2/coap_debug.h +include/coap2/coap_dtls.h +include/coap2/coap_event.h +include/coap2/coap_hashkey.h +include/coap2/coap_io.h +include/coap2/coap_session.h +include/coap2/coap_time.h +include/coap2/encode.h +include/coap2/libcoap.h +include/coap2/mem.h +include/coap2/net.h +include/coap2/option.h +include/coap2/pdu.h +include/coap2/prng.h +include/coap2/resource.h +include/coap2/str.h +include/coap2/subscribe.h +include/coap2/uri.h +include/coap2/uthash.h +lib/libcoap-2-gnutls.a +lib/libcoap-2-gnutls.so +lib/libcoap-2-gnutls.so.0 +lib/libcoap-2-gnutls.so.0.1.0 +libdata/pkgconfig/libcoap-2-gnutls.pc +man/man3/coap_add_attr.3.gz +man/man3/coap_add_data.3.gz +man/man3/coap_add_data_blocked_response.3.gz +man/man3/coap_add_option.3.gz +man/man3/coap_add_optlist_pdu.3.gz +man/man3/coap_add_resource.3.gz +man/man3/coap_add_token.3.gz +man/man3/coap_attribute.3.gz +man/man3/coap_context.3.gz +man/man3/coap_context_set_pki.3.gz +man/man3/coap_context_set_pki_root_cas.3.gz +man/man3/coap_context_set_psk.3.gz +man/man3/coap_debug_set_packet_loss.3.gz +man/man3/coap_delete_all_resources.3.gz +man/man3/coap_delete_observer.3.gz +man/man3/coap_delete_observers.3.gz +man/man3/coap_delete_optlist.3.gz +man/man3/coap_delete_resource.3.gz +man/man3/coap_dtls_is_supported.3.gz +man/man3/coap_dtls_pki_t.3.gz +man/man3/coap_encode_var_bytes.3.gz +man/man3/coap_encryption.3.gz +man/man3/coap_endpoint_set_default_mtu.3.gz +man/man3/coap_endpoint_str.3.gz +man/man3/coap_find_attr.3.gz +man/man3/coap_find_observer.3.gz +man/man3/coap_free_context.3.gz +man/man3/coap_free_endpoint.3.gz +man/man3/coap_get_log_level.3.gz +man/man3/coap_get_tls_library_version.3.gz +man/man3/coap_handler.3.gz +man/man3/coap_insert_optlist.3.gz +man/man3/coap_log.3.gz +man/man3/coap_logging.3.gz +man/man3/coap_new_client_session.3.gz +man/man3/coap_new_client_session_pki.3.gz +man/man3/coap_new_client_session_psk.3.gz +man/man3/coap_new_context.3.gz +man/man3/coap_new_endpoint.3.gz +man/man3/coap_new_optlist.3.gz +man/man3/coap_observe.3.gz +man/man3/coap_package_name.3.gz +man/man3/coap_package_version.3.gz +man/man3/coap_pdu_init.3.gz +man/man3/coap_pdu_setup.3.gz +man/man3/coap_recovery.3.gz +man/man3/coap_register_event_handler.3.gz +man/man3/coap_register_handler.3.gz +man/man3/coap_register_nack_handler.3.gz +man/man3/coap_register_ping_handler.3.gz +man/man3/coap_register_pong_handler.3.gz +man/man3/coap_register_response_handler.3.gz +man/man3/coap_resource.3.gz +man/man3/coap_resource_get_uri_path.3.gz +man/man3/coap_resource_init.3.gz +man/man3/coap_resource_notify_observers.3.gz +man/man3/coap_resource_set_get_observable.3.gz +man/man3/coap_resource_set_mode.3.gz +man/man3/coap_resource_unknown_init.3.gz +man/man3/coap_session.3.gz +man/man3/coap_session_get_ack_random_factor.3.gz +man/man3/coap_session_get_ack_timeout.3.gz +man/man3/coap_session_get_app_data.3.gz +man/man3/coap_session_get_max_transmit.3.gz +man/man3/coap_session_max_pdu_size.3.gz +man/man3/coap_session_reference.3.gz +man/man3/coap_session_release.3.gz +man/man3/coap_session_set_ack_random_factor.3.gz +man/man3/coap_session_set_ack_timeout.3.gz +man/man3/coap_session_set_app_data.3.gz +man/man3/coap_session_set_max_retransmit.3.gz +man/man3/coap_session_set_mtu.3.gz +man/man3/coap_session_str.3.gz +man/man3/coap_set_log_handler.3.gz +man/man3/coap_set_log_level.3.gz +man/man3/coap_set_show_pdu_output.3.gz +man/man3/coap_show_pdu.3.gz +man/man3/coap_show_tls_version.3.gz +man/man3/coap_split_path.3.gz +man/man3/coap_split_query.3.gz +man/man3/coap_string_tls_version.3.gz +man/man3/coap_tls_is_supported.3.gz +man/man3/coap_tls_library.3.gz +man/man5/coap-client.5.gz +man/man5/coap-rd.5.gz +man/man5/coap-server.5.gz +man/man7/coap.7.gz