Port of getdns and Stubby DNS resolver
Stubby is an application that acts as a local DNS stub resolver. https://getdnsapi.net/ https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby Ref #2682
This commit is contained in:
committed by
Christian Helmuth
parent
60eeddf639
commit
3faf7aab8f
2
repos/ports/lib/import/import-libgetdns.mk
Normal file
2
repos/ports/lib/import/import-libgetdns.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
GETDNS_PORT_DIR := $(call select_from_ports,getdns)
|
||||
INC_DIR += $(GETDNS_PORT_DIR)/include
|
||||
12
repos/ports/lib/mk/getdns-gldns.mk
Normal file
12
repos/ports/lib/mk/getdns-gldns.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
include $(REP_DIR)/lib/import/import-libgetdns.mk
|
||||
|
||||
GLDNS_SRC_DIR := $(GETDNS_PORT_DIR)/src/lib/getdns/src/gldns
|
||||
|
||||
LIBS += libc libssl
|
||||
|
||||
INC_DIR += $(GLDNS_SRC_DIR)/..
|
||||
INC_DIR += $(REP_DIR)/src/lib/getdns
|
||||
|
||||
SRC_C += $(notdir $(wildcard $(GLDNS_SRC_DIR)/*.c))
|
||||
|
||||
vpath %.c $(GLDNS_SRC_DIR)
|
||||
31
repos/ports/lib/mk/libgetdns.mk
Normal file
31
repos/ports/lib/mk/libgetdns.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
include $(REP_DIR)/lib/import/import-libgetdns.mk
|
||||
|
||||
GETDNS_SRC_DIR := $(GETDNS_PORT_DIR)/src/lib/getdns/src
|
||||
|
||||
LIBS += libc libcrypto libssl libyaml
|
||||
|
||||
INC_DIR += $(GETDNS_SRC_DIR)
|
||||
INC_DIR += $(GETDNS_SRC_DIR)/../stubby/src
|
||||
INC_DIR += $(GETDNS_SRC_DIR)/util/auxiliary
|
||||
INC_DIR += $(REP_DIR)/src/lib/getdns
|
||||
|
||||
SRC_C += \
|
||||
const-info.c convert.c dict.c dnssec.c general.c \
|
||||
list.c request-internal.c platform.c pubkey-pinning.c rr-dict.c \
|
||||
rr-iter.c server.c stub.c sync.c ub_loop.c util-internal.c \
|
||||
mdns.c context.c rbtree.c select_eventloop.c version.c \
|
||||
|
||||
CC_OPT += -D_BSD_SOURCE -D_DEFAULT_SOURCE
|
||||
|
||||
SRC_C += $(notdir $(wildcard $(GETDNS_SRC_DIR)/gldns/*.c))
|
||||
SRC_C += $(notdir $(wildcard $(GETDNS_SRC_DIR)/jsmn/*.c))
|
||||
SRC_C += $(notdir $(wildcard $(GETDNS_SRC_DIR)/ssl_dane/*.c))
|
||||
|
||||
vpath %.c $(GETDNS_SRC_DIR)
|
||||
vpath %.c $(GETDNS_SRC_DIR)/extension
|
||||
vpath %.c $(GETDNS_SRC_DIR)/gldns
|
||||
vpath %.c $(GETDNS_SRC_DIR)/jsmn
|
||||
vpath %.c $(GETDNS_SRC_DIR)/ssl_dane
|
||||
vpath %.c $(GETDNS_SRC_DIR)/util
|
||||
|
||||
SHARED_LIB = 1
|
||||
182
repos/ports/lib/symbols/libgetdns
Normal file
182
repos/ports/lib/symbols/libgetdns
Normal file
@@ -0,0 +1,182 @@
|
||||
getdns_address T
|
||||
getdns_address_sync T
|
||||
getdns_cancel_callback T
|
||||
getdns_context_config T
|
||||
getdns_context_create T
|
||||
getdns_context_create_with_extended_memory_functions T
|
||||
getdns_context_create_with_memory_functions T
|
||||
getdns_context_destroy T
|
||||
getdns_context_detach_eventloop T
|
||||
getdns_context_get_api_information T
|
||||
getdns_context_get_append_name T
|
||||
getdns_context_get_dns_root_servers T
|
||||
getdns_context_get_dns_transport T
|
||||
getdns_context_get_dns_transport_list T
|
||||
getdns_context_get_dnssec_allowed_skew T
|
||||
getdns_context_get_dnssec_trust_anchors T
|
||||
getdns_context_get_edns_client_subnet_private T
|
||||
getdns_context_get_edns_do_bit T
|
||||
getdns_context_get_edns_extended_rcode T
|
||||
getdns_context_get_edns_maximum_udp_payload_size T
|
||||
getdns_context_get_edns_version T
|
||||
getdns_context_get_eventloop T
|
||||
getdns_context_get_follow_redirects T
|
||||
getdns_context_get_hosts T
|
||||
getdns_context_get_idle_timeout T
|
||||
getdns_context_get_limit_outstanding_queries T
|
||||
getdns_context_get_namespaces T
|
||||
getdns_context_get_num_pending_requests T
|
||||
getdns_context_get_resolution_type T
|
||||
getdns_context_get_resolvconf T
|
||||
getdns_context_get_round_robin_upstreams T
|
||||
getdns_context_get_suffix T
|
||||
getdns_context_get_timeout T
|
||||
getdns_context_get_tls_authentication T
|
||||
getdns_context_get_tls_backoff_time T
|
||||
getdns_context_get_tls_ca_file T
|
||||
getdns_context_get_tls_ca_path T
|
||||
getdns_context_get_tls_cipher_list T
|
||||
getdns_context_get_tls_connection_retries T
|
||||
getdns_context_get_tls_curves_list T
|
||||
getdns_context_get_tls_query_padding_blocksize T
|
||||
getdns_context_get_trust_anchors_url T
|
||||
getdns_context_get_trust_anchors_verify_CA T
|
||||
getdns_context_get_trust_anchors_verify_email T
|
||||
getdns_context_get_update_callback T
|
||||
getdns_context_get_upstream_recursive_servers T
|
||||
getdns_context_process_async T
|
||||
getdns_context_run T
|
||||
getdns_context_set_appdata_dir T
|
||||
getdns_context_set_append_name T
|
||||
getdns_context_set_context_update_callback T
|
||||
getdns_context_set_dns_root_servers T
|
||||
getdns_context_set_dns_transport T
|
||||
getdns_context_set_dns_transport_list T
|
||||
getdns_context_set_dnssec_allowed_skew T
|
||||
getdns_context_set_dnssec_trust_anchors T
|
||||
getdns_context_set_edns_client_subnet_private T
|
||||
getdns_context_set_edns_do_bit T
|
||||
getdns_context_set_edns_extended_rcode T
|
||||
getdns_context_set_edns_maximum_udp_payload_size T
|
||||
getdns_context_set_edns_version T
|
||||
getdns_context_set_eventloop T
|
||||
getdns_context_set_extended_memory_functions T
|
||||
getdns_context_set_follow_redirects T
|
||||
getdns_context_set_hosts T
|
||||
getdns_context_set_idle_timeout T
|
||||
getdns_context_set_limit_outstanding_queries T
|
||||
getdns_context_set_listen_addresses T
|
||||
getdns_context_set_logfunc T
|
||||
getdns_context_set_memory_functions T
|
||||
getdns_context_set_namespaces T
|
||||
getdns_context_set_resolution_type T
|
||||
getdns_context_set_resolvconf T
|
||||
getdns_context_set_return_dnssec_status T
|
||||
getdns_context_set_round_robin_upstreams T
|
||||
getdns_context_set_suffix T
|
||||
getdns_context_set_timeout T
|
||||
getdns_context_set_tls_authentication T
|
||||
getdns_context_set_tls_backoff_time T
|
||||
getdns_context_set_tls_ca_file T
|
||||
getdns_context_set_tls_ca_path T
|
||||
getdns_context_set_tls_cipher_list T
|
||||
getdns_context_set_tls_connection_retries T
|
||||
getdns_context_set_tls_curves_list T
|
||||
getdns_context_set_tls_query_padding_blocksize T
|
||||
getdns_context_set_trust_anchors_url T
|
||||
getdns_context_set_trust_anchors_verify_CA T
|
||||
getdns_context_set_trust_anchors_verify_email T
|
||||
getdns_context_set_update_callback T
|
||||
getdns_context_set_upstream_recursive_servers T
|
||||
getdns_context_set_use_threads T
|
||||
getdns_context_unset_edns_maximum_udp_payload_size T
|
||||
getdns_convert_alabel_to_ulabel T
|
||||
getdns_convert_dns_name_to_fqdn T
|
||||
getdns_convert_fqdn_to_dns_name T
|
||||
getdns_convert_ulabel_to_alabel T
|
||||
getdns_dict_create T
|
||||
getdns_dict_create_with_context T
|
||||
getdns_dict_create_with_extended_memory_functions T
|
||||
getdns_dict_create_with_memory_functions T
|
||||
getdns_dict_destroy T
|
||||
getdns_dict_get_bindata T
|
||||
getdns_dict_get_data_type T
|
||||
getdns_dict_get_dict T
|
||||
getdns_dict_get_int T
|
||||
getdns_dict_get_list T
|
||||
getdns_dict_get_names T
|
||||
getdns_dict_remove_name T
|
||||
getdns_dict_set_bindata T
|
||||
getdns_dict_set_dict T
|
||||
getdns_dict_set_int T
|
||||
getdns_dict_set_list T
|
||||
getdns_dict_util_get_string T
|
||||
getdns_dict_util_set_string T
|
||||
getdns_display_ip_address T
|
||||
getdns_fp2rr_list T
|
||||
getdns_general T
|
||||
getdns_general_sync T
|
||||
getdns_get_api_version T
|
||||
getdns_get_api_version_number T
|
||||
getdns_get_errorstr_by_id T
|
||||
getdns_get_version T
|
||||
getdns_get_version_number T
|
||||
getdns_hostname T
|
||||
getdns_hostname_sync T
|
||||
getdns_list_create T
|
||||
getdns_list_create_with_context T
|
||||
getdns_list_create_with_extended_memory_functions T
|
||||
getdns_list_create_with_memory_functions T
|
||||
getdns_list_destroy T
|
||||
getdns_list_get_bindata T
|
||||
getdns_list_get_data_type T
|
||||
getdns_list_get_dict T
|
||||
getdns_list_get_int T
|
||||
getdns_list_get_length T
|
||||
getdns_list_get_list T
|
||||
getdns_list_set_bindata T
|
||||
getdns_list_set_dict T
|
||||
getdns_list_set_int T
|
||||
getdns_list_set_list T
|
||||
getdns_msg_dict2str T
|
||||
getdns_msg_dict2str_buf T
|
||||
getdns_msg_dict2str_scan T
|
||||
getdns_msg_dict2wire T
|
||||
getdns_msg_dict2wire_buf T
|
||||
getdns_msg_dict2wire_scan T
|
||||
getdns_pretty_print_dict T
|
||||
getdns_pretty_print_list T
|
||||
getdns_pretty_snprint_dict T
|
||||
getdns_pretty_snprint_list T
|
||||
getdns_print_json_dict T
|
||||
getdns_print_json_list T
|
||||
getdns_pubkey_pin_create_from_string T
|
||||
getdns_pubkey_pinset_sanity_check T
|
||||
getdns_reply T
|
||||
getdns_root_trust_anchor T
|
||||
getdns_rr_dict2str T
|
||||
getdns_rr_dict2str_buf T
|
||||
getdns_rr_dict2str_scan T
|
||||
getdns_rr_dict2wire T
|
||||
getdns_rr_dict2wire_buf T
|
||||
getdns_rr_dict2wire_scan T
|
||||
getdns_service T
|
||||
getdns_service_sync T
|
||||
getdns_snprint_json_dict T
|
||||
getdns_snprint_json_list T
|
||||
getdns_str2bindata T
|
||||
getdns_str2dict T
|
||||
getdns_str2int T
|
||||
getdns_str2list T
|
||||
getdns_str2rr_dict T
|
||||
getdns_strerror T
|
||||
getdns_validate_dnssec T
|
||||
getdns_validate_dnssec2 T
|
||||
getdns_wire2msg_dict T
|
||||
getdns_wire2msg_dict_buf T
|
||||
getdns_wire2msg_dict_scan T
|
||||
getdns_wire2rr_dict T
|
||||
getdns_wire2rr_dict_buf T
|
||||
getdns_wire2rr_dict_scan T
|
||||
plain_mem_funcs_user_arg T
|
||||
priv_getdns_context_mf T
|
||||
Reference in New Issue
Block a user