net/libcoap 4.3.5 FreeBSD
C implementation of the Constrained Application Protocol
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
a994aba5f5- License
- BSD2CLAUSE
- Categories
- net
- Package size
- 16751.1 KiB, 179816.7 KiB installed
Description
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 https://coap.space/
You might want to check out libcoap-minimal for usage examples.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net/libcoap | 4.3.5 |
| OpenBSD | devel/libcoap | 4.3.5pl1 |
| DragonFly | net/libcoap | 4.3.5 |
Install
Binary package:
pkg install libcoap
From the ports tree:
cd /usr/ports/net/libcoap/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libcoap>0:net/libcoap
LIB_DEPENDS= libcoap-3-gnutls.so:net/libcoap
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.3.5 | 4.3.5 | - | 4.3.5 | 4.3.5 |
| FreeBSD:14:quarterly | 4.3.5 | 4.3.5 | n/a | 4.3.5 | 4.3.5 |
| FreeBSD:15:latest | 4.3.5 | 4.3.5 | n/a | 4.3.5 | 4.3.5 |
| FreeBSD:15:quarterly | 4.3.5 | 4.3.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.3.5 | 4.3.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
a2x: textproc/asciidocgsed: textproc/gsed
Library 1
libgnutls.so: security/gnutls
The full lists below include those, and their dependencies in turn.
Build dependencies 88
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/fribidi
- converters/libiconv
- databases/sqlite3
- devel/autoconf
- devel/autoconf-switch
- devel/automake
- devel/doxygen
- devel/gettext-runtime
- devel/glib20
- devel/gmake
- devel/libdatrie
- devel/libedit
- devel/libffi
- devel/libfmt
- devel/libinotify
- devel/libltdl
- devel/libthai
- devel/libtool
- devel/libunistring
- devel/m4
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- devel/spdlog
- dns/libidn2
- graphics/cairo
- graphics/gd
- graphics/giflib
- graphics/graphite2
- graphics/graphviz
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/png
- graphics/tiff
- graphics/webp
- lang/perl5.42
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- security/gnutls
- security/libgcrypt
- security/libgpg-error
- security/libtasn1
- security/nettle
- security/p11-kit
- textproc/asciidoc
- textproc/docbook
- textproc/docbook-sgml
- textproc/docbook-xml
- textproc/docbook-xsl
- textproc/expat2
- textproc/gsed
- textproc/iso8879
- textproc/libxml2
- textproc/libxslt
- textproc/sdocbook-xml
- textproc/xmlcatmgr
- textproc/xmlcharent
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/libXaw
- x11-toolkits/libXmu
- x11-toolkits/libXt
- x11-toolkits/pango
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXpm
- x11/libXrender
- x11/libxcb
- x11/pixman
- x11/xorgproto
Run dependencies 13
No port depends on this one.
Configuration
Options name: net_libcoap
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| DOXYGEN | on | Build documentation with Doxygen |
- USES
- autoreconf cpe gmake libtool pkgconfig
- Service scripts
- none
Files
Manual pages 356
- coap(7)
- coap-client(5)
- coap-client-gnutls(5)
- coap-client-mbedtls(5)
- coap-client-notls(5)
- coap-client-openssl(5)
- coap-oscore-conf(5)
- coap-rd(5)
- coap-rd-gnutls(5)
- coap-rd-mbedtls(5)
- coap-rd-notls(5)
- coap-rd-openssl(5)
- coap-server(5)
- coap-server-gnutls(5)
- coap-server-mbedtls(5)
- coap-server-notls(5)
- coap-server-openssl(5)
- coap-tls-engine-conf(5)
- coap_add_attr(3)
- coap_add_data(3)
- coap_add_data_blocked_response(3)
- coap_add_data_large_request(3)
- coap_add_data_large_response(3)
- coap_add_option(3)
- coap_add_optlist_pdu(3)
- coap_add_resource(3)
- coap_add_token(3)
- coap_addr_info_t(3)
- coap_address(3)
- coap_address_copy(3)
- coap_address_equals(3)
- coap_address_get_port(3)
- coap_address_init(3)
- coap_address_set_port(3)
- coap_address_set_unix_domain(3)
- coap_address_t(3)
- coap_af_unix_is_supported(3)
- coap_async(3)
- coap_async_get_app_data(3)
- coap_async_is_supported(3)
- coap_async_set_app_data(3)
- coap_async_set_delay(3)
- coap_async_trigger(3)
- coap_attr_get_value(3)
- coap_attribute(3)
- coap_binary_equal(3)
- coap_block(3)
- coap_block_build_body(3)
- coap_cache(3)
- coap_cache_derive_key(3)
- coap_cache_derive_key_w_ignore(3)
- coap_cache_get_app_data(3)
- coap_cache_get_by_key(3)
- coap_cache_get_by_pdu(3)
- coap_cache_get_pdu(3)
- coap_cache_ignore_options(3)
- coap_cache_set_app_data(3)
- coap_can_exit(3)
- coap_cancel_observe(3)
- coap_check_option(3)
- coap_cleanup(3)
- coap_clear_event_handler(3)
- coap_client_is_supported(3)
- coap_clone_uri(3)
- coap_context(3)
- coap_context_get_app_data(3)
- coap_context_get_coap_fd(3)
- coap_context_get_csm_timeout(3)
- coap_context_get_csm_timeout_ms(3)
- coap_context_get_max_handshake_sessions(3)
- coap_context_get_max_idle_sessions(3)
- coap_context_get_session_timeout(3)
- coap_context_oscore_server(3)
- coap_context_set_app_data(3)
- coap_context_set_block_mode(3)
- coap_context_set_cid_tuple_change(3)
- coap_context_set_csm_timeout(3)
- coap_context_set_csm_timeout_ms(3)
- coap_context_set_keepalive(3)
- coap_context_set_max_block_size(3)
- coap_context_set_max_handshake_sessions(3)
- coap_context_set_max_idle_sessions(3)
- coap_context_set_max_token_size(3)
- coap_context_set_pki(3)
- coap_context_set_pki_root_cas(3)
- coap_context_set_psk(3)
- coap_context_set_psk2(3)
- coap_context_set_session_timeout(3)
- coap_debug_set_packet_loss(3)
- coap_decode_var_bytes(3)
- coap_decode_var_bytes8(3)
- coap_delete_bin_const(3)
- coap_delete_binary(3)
- coap_delete_cache_entry(3)
- coap_delete_cache_key(3)
- coap_delete_optlist(3)
- coap_delete_oscore_conf(3)
- coap_delete_oscore_recipient(3)
- coap_delete_resource(3)
- coap_delete_str_const(3)
- coap_delete_string(3)
- coap_delete_uri(3)
- coap_deprecated(3)
- coap_dtls_cid_is_supported(3)
- coap_dtls_cpsk_t(3)
- coap_dtls_get_log_level(3)
- coap_dtls_is_supported(3)
- coap_dtls_log(3)
- coap_dtls_pkcs11_is_supported(3)
- coap_dtls_pki_is_supported(3)
- coap_dtls_pki_t(3)
- coap_dtls_psk_is_supported(3)
- coap_dtls_rpk_is_supported(3)
- coap_dtls_set_log_level(3)
- coap_dtls_spsk_t(3)
- coap_encode_var_bytes(3)
- coap_encode_var_safe(3)
- coap_encode_var_safe8(3)
- coap_encryption(3)
- coap_endpoint_client(3)
- coap_endpoint_server(3)
- coap_endpoint_set_default_mtu(3)
- coap_endpoint_str(3)
- coap_epoll_is_supported(3)
- coap_find_async(3)
- coap_find_attr(3)
- coap_free_address_info(3)
- coap_free_async(3)
- coap_free_context(3)
- coap_free_endpoint(3)
- coap_get_app_data(3)
- coap_get_available_scheme_hint_bits(3)
- coap_get_data(3)
- coap_get_data_large(3)
- coap_get_log_level(3)
- coap_get_resource_from_uri_path(3)
- coap_get_tls_library_version(3)
- coap_get_uri_path(3)
- coap_handler(3)
- coap_host_is_unix_domain(3)
- coap_init(3)
- coap_insert_optlist(3)
- coap_io(3)
- coap_io_do_epoll(3)
- coap_io_do_io(3)
- coap_io_pending(3)
- coap_io_prepare_epoll(3)
- coap_io_prepare_io(3)
- coap_io_process(3)
- coap_io_process_with_fds(3)
- coap_ipv4_is_supported(3)
- coap_ipv6_is_supported(3)
- coap_is_af_unix(3)
- coap_is_bcast(3)
- coap_is_mcast(3)
- coap_join_mcast_group_intf(3)
- coap_keepalive(3)
- coap_lock_callback(3)
- coap_lock_callback_release(3)
- coap_lock_callback_ret(3)
- coap_lock_callback_ret_release(3)
- coap_lock_check_locked(3)
- coap_lock_init(3)
- coap_lock_invert(3)
- coap_lock_lock(3)
- coap_lock_unlock(3)
- coap_locking(3)
- coap_log(3)
- coap_log_alert(3)
- coap_log_crit(3)
- coap_log_debug(3)
- coap_log_emerg(3)
- coap_log_err(3)
- coap_log_info(3)
- coap_log_level_desc(3)
- coap_log_notice(3)
- coap_log_oscore(3)
- coap_log_warn(3)
- coap_logging(3)
- coap_lwip(3)
- coap_lwip_dump_memory_pools(3)
- coap_lwip_set_input_wait_handler(3)
- coap_make_str_const(3)
- coap_mcast_per_resource(3)
- coap_mcast_set_hops(3)
- coap_new_bin_const(3)
- coap_new_binary(3)
- coap_new_cache_entry(3)
- coap_new_client_session(3)
- coap_new_client_session_oscore(3)
- coap_new_client_session_oscore_pki(3)
- coap_new_client_session_oscore_psk(3)
- coap_new_client_session_pki(3)
- coap_new_client_session_psk(3)
- coap_new_client_session_psk2(3)
- coap_new_context(3)
- coap_new_endpoint(3)
- coap_new_message_id(3)
- coap_new_optlist(3)
- coap_new_oscore_conf(3)
- coap_new_oscore_recipient(3)
- coap_new_pdu(3)
- coap_new_str_const(3)
- coap_new_string(3)
- coap_new_uri(3)
- coap_observe(3)
- coap_observe_persist_is_supported(3)
- coap_opt_length(3)
- coap_opt_value(3)
- coap_option_clrb(3)
- coap_option_filter_clear(3)
- coap_option_filter_get(3)
- coap_option_filter_set(3)
- coap_option_filter_unset(3)
- coap_option_getb(3)
- coap_option_iterator_init(3)
- coap_option_next(3)
- coap_option_setb(3)
- coap_oscore(3)
- coap_oscore_is_supported(3)
- coap_package_build(3)
- coap_package_name(3)
- coap_package_version(3)
- coap_path_into_optlist(3)
- coap_pdu_access(3)
- coap_pdu_get_code(3)
- coap_pdu_get_mid(3)
- coap_pdu_get_token(3)
- coap_pdu_get_type(3)
- coap_pdu_init(3)
- coap_pdu_set_code(3)
- coap_pdu_set_mid(3)
- coap_pdu_set_type(3)
- coap_pdu_setup(3)
- coap_persist(3)
- coap_persist_observe_add(3)
- coap_persist_set_observe_num(3)
- coap_persist_startup(3)
- coap_persist_stop(3)
- coap_persist_track_funcs(3)
- coap_print_addr(3)
- coap_print_ip_addr(3)
- coap_print_wellknown(3)
- coap_proxy(3)
- coap_proxy_forward_request(3)
- coap_proxy_forward_response(3)
- coap_proxy_is_supported(3)
- coap_q_block_is_supported(3)
- coap_query_into_optlist(3)
- coap_read(3)
- coap_recovery(3)
- coap_register_async(3)
- coap_register_event_handler(3)
- coap_register_handler(3)
- coap_register_nack_handler(3)
- coap_register_ping_handler(3)
- coap_register_pong_handler(3)
- coap_register_request_handler(3)
- coap_register_response_handler(3)
- coap_resize_binary(3)
- coap_resolve_address_info(3)
- coap_resource(3)
- coap_resource_get_uri_path(3)
- coap_resource_get_userdata(3)
- coap_resource_init(3)
- coap_resource_notify_observers(3)
- coap_resource_proxy_uri_init(3)
- coap_resource_proxy_uri_init2(3)
- coap_resource_release_userdata_handler(3)
- coap_resource_reverse_proxy_init(3)
- coap_resource_set_dirty(3)
- coap_resource_set_get_observable(3)
- coap_resource_set_mode(3)
- coap_resource_set_userdata(3)
- coap_resource_unknown_init(3)
- coap_resource_unknown_init2(3)
- coap_run_once(3)
- coap_send(3)
- coap_server_is_supported(3)
- coap_session(3)
- coap_session_disconnected(3)
- coap_session_get_ack_random_factor(3)
- coap_session_get_ack_timeout(3)
- coap_session_get_addr_local(3)
- coap_session_get_addr_mcast(3)
- coap_session_get_addr_remote(3)
- coap_session_get_app_data(3)
- coap_session_get_context(3)
- coap_session_get_default_leisure(3)
- coap_session_get_ifindex(3)
- coap_session_get_max_payloads(3)
- coap_session_get_max_retransmit(3)
- coap_session_get_non_max_retransmit(3)
- coap_session_get_non_receive_timeout(3)
- coap_session_get_non_timeout(3)
- coap_session_get_nstart(3)
- coap_session_get_probing_rate(3)
- coap_session_get_proto(3)
- coap_session_get_psk_hint(3)
- coap_session_get_psk_key(3)
- coap_session_get_state(3)
- coap_session_get_tls(3)
- coap_session_get_type(3)
- coap_session_init_token(3)
- coap_session_max_pdu_size(3)
- coap_session_new_token(3)
- coap_session_reference(3)
- coap_session_release(3)
- coap_session_set_ack_random_factor(3)
- coap_session_set_ack_timeout(3)
- coap_session_set_app_data(3)
- coap_session_set_default_leisure(3)
- coap_session_set_max_payloads(3)
- coap_session_set_max_retransmit(3)
- coap_session_set_mtu(3)
- coap_session_set_no_observe_cancel(3)
- coap_session_set_non_max_retransmit(3)
- coap_session_set_non_receive_timeout(3)
- coap_session_set_non_timeout(3)
- coap_session_set_nstart(3)
- coap_session_set_probing_rate(3)
- coap_session_set_type_client(3)
- coap_session_str(3)
- coap_set_app_data(3)
- coap_set_event_handler(3)
- coap_set_log_handler(3)
- coap_set_log_level(3)
- coap_set_show_pdu_output(3)
- coap_show_pdu(3)
- coap_show_tls_version(3)
- coap_sockaddr_un(3)
- coap_split_path(3)
- coap_split_proxy_uri(3)
- coap_split_query(3)
- coap_split_uri(3)
- coap_startup(3)
- coap_string(3)
- coap_string_equal(3)
- coap_string_tls_support(3)
- coap_string_tls_version(3)
- coap_supported(3)
- coap_tcp_is_supported(3)
- coap_threadsafe_is_supported(3)
- coap_tls_engine_configure(3)
- coap_tls_engine_remove(3)
- coap_tls_is_supported(3)
- coap_tls_library(3)
- coap_uri(3)
- coap_uri_into_options(3)
- coap_uri_into_optlist(3)
- coap_verify_proxy_scheme_supported(3)
- coap_websockets(3)
- coap_write(3)
- coap_ws_is_supported(3)
- coap_ws_set_host_request(3)
- coap_wss_is_supported(3)
pkg-plist 404
- bin/coap-client
- bin/coap-client-gnutls
- bin/coap-rd
- bin/coap-rd-gnutls
- bin/coap-server
- bin/coap-server-gnutls
- include/coap3/coap.h
- include/coap3/coap_address.h
- include/coap3/coap_async.h
- include/coap3/coap_block.h
- include/coap3/coap_cache.h
- include/coap3/coap_debug.h
- include/coap3/coap_defines.h
- include/coap3/coap_dtls.h
- include/coap3/coap_encode.h
- include/coap3/coap_event.h
- include/coap3/coap_forward_decls.h
- include/coap3/coap_io.h
- include/coap3/coap_mem.h
- include/coap3/coap_net.h
- include/coap3/coap_option.h
- include/coap3/coap_oscore.h
- include/coap3/coap_pdu.h
- include/coap3/coap_prng.h
- include/coap3/coap_proxy.h
- include/coap3/coap_resource.h
- include/coap3/coap_session.h
- include/coap3/coap_str.h
- include/coap3/coap_subscribe.h
- include/coap3/coap_supported.h
- include/coap3/coap_time.h
- include/coap3/coap_uri.h
- include/coap3/coap_ws.h
- include/coap3/libcoap.h
- lib/libcoap-3-gnutls.a
- lib/libcoap-3-gnutls.so
- lib/libcoap-3-gnutls.so.3
- lib/libcoap-3-gnutls.so.3.2.0
- lib/libcoap-3.a
- lib/libcoap-3.so
- libdata/pkgconfig/libcoap-3-gnutls.pc
- libdata/pkgconfig/libcoap-3.pc
- share/libcoap/examples/COPYING
- share/libcoap/examples/LICENSE
- share/libcoap/examples/Makefile
- share/libcoap/examples/README
- share/libcoap/examples/coap-client.c
- share/libcoap/examples/coap-server.c
- share/man/man3/coap_add_attr.3.gz
- share/man/man3/coap_add_data.3.gz
- share/man/man3/coap_add_data_blocked_response.3.gz
- share/man/man3/coap_add_data_large_request.3.gz
- share/man/man3/coap_add_data_large_response.3.gz
- share/man/man3/coap_add_option.3.gz
- share/man/man3/coap_add_optlist_pdu.3.gz
- share/man/man3/coap_add_resource.3.gz
- share/man/man3/coap_add_token.3.gz
- share/man/man3/coap_addr_info_t.3.gz
- share/man/man3/coap_address.3.gz
- share/man/man3/coap_address_copy.3.gz
- share/man/man3/coap_address_equals.3.gz
- share/man/man3/coap_address_get_port.3.gz
- share/man/man3/coap_address_init.3.gz
- share/man/man3/coap_address_set_port.3.gz
- share/man/man3/coap_address_set_unix_domain.3.gz
- share/man/man3/coap_address_t.3.gz
- share/man/man3/coap_af_unix_is_supported.3.gz
- share/man/man3/coap_async.3.gz
- share/man/man3/coap_async_get_app_data.3.gz
- share/man/man3/coap_async_is_supported.3.gz
- share/man/man3/coap_async_set_app_data.3.gz
- share/man/man3/coap_async_set_delay.3.gz
- share/man/man3/coap_async_trigger.3.gz
- share/man/man3/coap_attr_get_value.3.gz
- share/man/man3/coap_attribute.3.gz
- share/man/man3/coap_binary_equal.3.gz
- share/man/man3/coap_block.3.gz
- share/man/man3/coap_block_build_body.3.gz
- share/man/man3/coap_cache.3.gz
- share/man/man3/coap_cache_derive_key.3.gz
- share/man/man3/coap_cache_derive_key_w_ignore.3.gz
- share/man/man3/coap_cache_get_app_data.3.gz
- share/man/man3/coap_cache_get_by_key.3.gz
- share/man/man3/coap_cache_get_by_pdu.3.gz
- share/man/man3/coap_cache_get_pdu.3.gz
- share/man/man3/coap_cache_ignore_options.3.gz
- share/man/man3/coap_cache_set_app_data.3.gz
- share/man/man3/coap_can_exit.3.gz
- share/man/man3/coap_cancel_observe.3.gz
- share/man/man3/coap_check_option.3.gz
- share/man/man3/coap_cleanup.3.gz
- share/man/man3/coap_clear_event_handler.3.gz
- share/man/man3/coap_client_is_supported.3.gz
- share/man/man3/coap_clone_uri.3.gz
- share/man/man3/coap_context.3.gz
- share/man/man3/coap_context_get_app_data.3.gz
- share/man/man3/coap_context_get_coap_fd.3.gz
- share/man/man3/coap_context_get_csm_timeout.3.gz
- share/man/man3/coap_context_get_csm_timeout_ms.3.gz
- share/man/man3/coap_context_get_max_handshake_sessions.3.gz
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| obgm-libcoap-v4.3.5_GH0.tar.gz | 772396 | a417ed26ec6c95c041b42353b5b6fad1602e2bf42a6e26c09863450e227b7b5f |