pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
add kea to pkgsrc-wip
Module Name: pkgsrc-wip
Committed By: Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By: nros
Date: Mon Dec 2 19:06:42 2019 +0000
Changeset: 3c793f0bc181f6fee521e407d5815abd5a6f0baa
Added Files:
kea/DESCR
kea/Makefile
kea/PLIST
kea/TODO
kea/distinfo
kea/files/kea.sh
kea/options.mk
kea/patches/patch-configure
kea/patches/patch-src_bin_keactrl_Makefile.in
kea/patches/patch-src_hooks_dhcp_high__availability_Makefile.in
kea/patches/patch-src_hooks_dhcp_lease__cmds_Makefile.in
kea/patches/patch-src_hooks_dhcp_mysql__cb_Makefile.in
kea/patches/patch-src_hooks_dhcp_stat__cmds_Makefile.in
kea/patches/patch-src_hooks_dhcp_user__chk_Makefile.in
Log Message:
add kea to pkgsrc-wip
kea is a collection dhcp servers from ISC.
forgot to add the kes directory in the former commit.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3c793f0bc181f6fee521e407d5815abd5a6f0baa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
kea/DESCR | 1 +
kea/Makefile | 41 ++
kea/PLIST | 541 +++++++++++++++++++++
kea/TODO | 2 +
kea/distinfo | 13 +
kea/files/kea.sh | 25 +
kea/options.mk | 24 +
kea/patches/patch-configure | 22 +
kea/patches/patch-src_bin_keactrl_Makefile.in | 23 +
...h-src_hooks_dhcp_high__availability_Makefile.in | 24 +
.../patch-src_hooks_dhcp_lease__cmds_Makefile.in | 26 +
.../patch-src_hooks_dhcp_mysql__cb_Makefile.in | 26 +
.../patch-src_hooks_dhcp_stat__cmds_Makefile.in | 26 +
.../patch-src_hooks_dhcp_user__chk_Makefile.in | 26 +
14 files changed, 820 insertions(+)
diffs:
diff --git a/kea/DESCR b/kea/DESCR
new file mode 100644
index 0000000000..691e337275
--- /dev/null
+++ b/kea/DESCR
@@ -0,0 +1 @@
+kea is a collection of dhcp servers from the Internet consortium.
diff --git a/kea/Makefile b/kea/Makefile
new file mode 100644
index 0000000000..ad9d37f32a
--- /dev/null
+++ b/kea/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD$
+
+DISTNAME= kea-1.6.1
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.isc.org/isc/kea/${PKGVERSION_NOREV}/
+MASTER_SITES+= https://downloads.isc.org/isc/kea/${PKGVERSION_NOREV}/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.isc.org/kea/
+COMMENT= DHCP server from ISC
+LICENSE= mpl-2.0
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+=--with-openssl --enable-shell
+PY_PATCHPLIST= yes
+
+RCD_SCRIPTS+= kea
+
+PKG_SYSCONFSUBDIR=kea
+EGDIR= share/examples/kea
+KEA_CONF= kea-ctrl-agent.conf
+KEA_CONF+= kea-dhcp-ddns.conf
+KEA_CONF+= kea-dhcp4.conf
+KEA_CONF+= kea-dhcp6.conf
+KEA_CONF+= keactrl.conf
+
+.for cf in ${KEA_CONF}
+CONF_FILES+= ${EGDIR}/${cf} ${PKG_SYSCONFDIR}/${cf}
+.endfor
+
+.include "options.mk"
+
+.include "../../devel/log4cplus/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/kea/PLIST b/kea/PLIST
new file mode 100644
index 0000000000..1d34cc16a8
--- /dev/null
+++ b/kea/PLIST
@@ -0,0 +1,541 @@
+@comment $NetBSD$
+include/kea/asiodns/asiodns_messages.h
+include/kea/asiodns/io_fetch.h
+include/kea/asiodns/logger.h
+include/kea/asiolink/addr_utilities.h
+include/kea/asiolink/asio_wrapper.h
+include/kea/asiolink/asiolink.h
+include/kea/asiolink/dummy_io_cb.h
+include/kea/asiolink/interval_timer.h
+include/kea/asiolink/io_acceptor.h
+include/kea/asiolink/io_address.h
+include/kea/asiolink/io_asio_socket.h
+include/kea/asiolink/io_endpoint.h
+include/kea/asiolink/io_error.h
+include/kea/asiolink/io_service.h
+include/kea/asiolink/io_socket.h
+include/kea/asiolink/tcp_acceptor.h
+include/kea/asiolink/tcp_endpoint.h
+include/kea/asiolink/tcp_socket.h
+include/kea/asiolink/udp_endpoint.h
+include/kea/asiolink/udp_socket.h
+include/kea/asiolink/unix_domain_socket.h
+include/kea/asiolink/unix_domain_socket_acceptor.h
+include/kea/asiolink/unix_domain_socket_endpoint.h
+include/kea/cc/base_stamped_element.h
+include/kea/cc/cfg_to_element.h
+include/kea/cc/command_interpreter.h
+include/kea/cc/data.h
+include/kea/cc/dhcp_config_error.h
+include/kea/cc/element_value.h
+include/kea/cc/json_feed.h
+include/kea/cc/server_tag.h
+include/kea/cc/simple_parser.h
+include/kea/cc/stamped_element.h
+include/kea/cc/stamped_value.h
+include/kea/cc/user_context.h
+include/kea/cfgrpt/config_report.h
+include/kea/config.h
+include/kea/config/base_command_mgr.h
+include/kea/config/client_connection.h
+include/kea/config/cmds_impl.h
+include/kea/config/command_mgr.h
+include/kea/config/config_log.h
+include/kea/config/config_messages.h
+include/kea/config/hooked_command_mgr.h
+include/kea/config/timeouts.h
+include/kea/config_backend/base_config_backend.h
+include/kea/config_backend/base_config_backend_mgr.h
+include/kea/config_backend/base_config_backend_pool.h
+include/kea/config_backend/constants.h
+include/kea/cryptolink/crypto_hash.h
+include/kea/cryptolink/crypto_hmac.h
+include/kea/cryptolink/crypto_rng.h
+include/kea/cryptolink/cryptolink.h
+include/kea/cryptolink/openssl_common.h
+include/kea/cryptolink/openssl_compat.h
+include/kea/database/audit_entry.h
+include/kea/database/backend_selector.h
+include/kea/database/database_connection.h
+include/kea/database/db_exceptions.h
+include/kea/database/db_log.h
+include/kea/database/db_messages.h
+include/kea/database/dbaccess_parser.h
+include/kea/database/server.h
+include/kea/database/server_collection.h
+include/kea/database/server_selector.h
+include/kea/dhcp/classify.h
+include/kea/dhcp/dhcp4.h
+include/kea/dhcp/dhcp6.h
+include/kea/dhcp/docsis3_option_defs.h
+include/kea/dhcp/duid.h
+include/kea/dhcp/duid_factory.h
+include/kea/dhcp/hwaddr.h
+include/kea/dhcp/iface_mgr.h
+include/kea/dhcp/iface_mgr_error_handler.h
+include/kea/dhcp/libdhcp++.h
+include/kea/dhcp/opaque_data_tuple.h
+include/kea/dhcp/option.h
+include/kea/dhcp/option4_addrlst.h
+include/kea/dhcp/option4_client_fqdn.h
+include/kea/dhcp/option6_addrlst.h
+include/kea/dhcp/option6_auth.h
+include/kea/dhcp/option6_client_fqdn.h
+include/kea/dhcp/option6_ia.h
+include/kea/dhcp/option6_iaaddr.h
+include/kea/dhcp/option6_iaprefix.h
+include/kea/dhcp/option6_pdexclude.h
+include/kea/dhcp/option6_status_code.h
+include/kea/dhcp/option_custom.h
+include/kea/dhcp/option_data_types.h
+include/kea/dhcp/option_definition.h
+include/kea/dhcp/option_int.h
+include/kea/dhcp/option_int_array.h
+include/kea/dhcp/option_opaque_data_tuples.h
+include/kea/dhcp/option_space.h
+include/kea/dhcp/option_space_container.h
+include/kea/dhcp/option_string.h
+include/kea/dhcp/option_vendor.h
+include/kea/dhcp/option_vendor_class.h
+include/kea/dhcp/packet_queue.h
+include/kea/dhcp/packet_queue_mgr.h
+include/kea/dhcp/packet_queue_mgr4.h
+include/kea/dhcp/packet_queue_mgr6.h
+include/kea/dhcp/packet_queue_ring.h
+include/kea/dhcp/pkt.h
+include/kea/dhcp/pkt4.h
+include/kea/dhcp/pkt4o6.h
+include/kea/dhcp/pkt6.h
+include/kea/dhcp/pkt_filter.h
+include/kea/dhcp/pkt_filter6.h
+include/kea/dhcp/pkt_filter_bpf.h
+include/kea/dhcp/pkt_filter_inet.h
+include/kea/dhcp/pkt_filter_inet6.h
+include/kea/dhcp/protocol_util.h
+include/kea/dhcp/socket_info.h
+include/kea/dhcp/std_option_defs.h
+include/kea/dhcp_ddns/dhcp_ddns_log.h
+include/kea/dhcp_ddns/dhcp_ddns_messages.h
+include/kea/dhcp_ddns/ncr_io.h
+include/kea/dhcp_ddns/ncr_msg.h
+include/kea/dhcp_ddns/ncr_udp.h
+include/kea/dhcpsrv/alloc_engine.h
+include/kea/dhcpsrv/alloc_engine_log.h
+include/kea/dhcpsrv/alloc_engine_messages.h
+include/kea/dhcpsrv/base_host_data_source.h
+include/kea/dhcpsrv/cache_host_data_source.h
+include/kea/dhcpsrv/callout_handle_store.h
+include/kea/dhcpsrv/cb_ctl_dhcp.h
+include/kea/dhcpsrv/cb_ctl_dhcp4.h
+include/kea/dhcpsrv/cb_ctl_dhcp6.h
+include/kea/dhcpsrv/cfg_4o6.h
+include/kea/dhcpsrv/cfg_consistency.h
+include/kea/dhcpsrv/cfg_db_access.h
+include/kea/dhcpsrv/cfg_duid.h
+include/kea/dhcpsrv/cfg_expiration.h
+include/kea/dhcpsrv/cfg_host_operations.h
+include/kea/dhcpsrv/cfg_hosts.h
+include/kea/dhcpsrv/cfg_hosts_util.h
+include/kea/dhcpsrv/cfg_iface.h
+include/kea/dhcpsrv/cfg_mac_source.h
+include/kea/dhcpsrv/cfg_option.h
+include/kea/dhcpsrv/cfg_option_def.h
+include/kea/dhcpsrv/cfg_rsoo.h
+include/kea/dhcpsrv/cfg_shared_networks.h
+include/kea/dhcpsrv/cfg_subnets4.h
+include/kea/dhcpsrv/cfg_subnets6.h
+include/kea/dhcpsrv/cfgmgr.h
+include/kea/dhcpsrv/client_class_def.h
+include/kea/dhcpsrv/config_backend_dhcp4.h
+include/kea/dhcpsrv/config_backend_dhcp4_mgr.h
+include/kea/dhcpsrv/config_backend_dhcp6.h
+include/kea/dhcpsrv/config_backend_dhcp6_mgr.h
+include/kea/dhcpsrv/config_backend_pool_dhcp4.h
+include/kea/dhcpsrv/config_backend_pool_dhcp6.h
+include/kea/dhcpsrv/csv_lease_file4.h
+include/kea/dhcpsrv/csv_lease_file6.h
+include/kea/dhcpsrv/d2_client_cfg.h
+include/kea/dhcpsrv/d2_client_mgr.h
+include/kea/dhcpsrv/db_type.h
+include/kea/dhcpsrv/dhcp4o6_ipc.h
+include/kea/dhcpsrv/dhcpsrv_exceptions.h
+include/kea/dhcpsrv/dhcpsrv_log.h
+include/kea/dhcpsrv/dhcpsrv_messages.h
+include/kea/dhcpsrv/host.h
+include/kea/dhcpsrv/host_container.h
+include/kea/dhcpsrv/host_data_source_factory.h
+include/kea/dhcpsrv/host_mgr.h
+include/kea/dhcpsrv/hosts_log.h
+include/kea/dhcpsrv/hosts_messages.h
+include/kea/dhcpsrv/key_from_key.h
+include/kea/dhcpsrv/lease.h
+include/kea/dhcpsrv/lease_file_loader.h
+include/kea/dhcpsrv/lease_file_stats.h
+include/kea/dhcpsrv/lease_mgr.h
+include/kea/dhcpsrv/lease_mgr_factory.h
+include/kea/dhcpsrv/memfile_lease_mgr.h
+include/kea/dhcpsrv/memfile_lease_storage.h
+${PLIST.mysql}include/kea/dhcpsrv/mysql_host_data_source.h
+${PLIST.mysql}include/kea/dhcpsrv/mysql_lease_mgr.h
+include/kea/dhcpsrv/ncr_generator.h
+include/kea/dhcpsrv/network.h
+include/kea/dhcpsrv/network_state.h
+include/kea/dhcpsrv/parsers/base_network_parser.h
+include/kea/dhcpsrv/parsers/client_class_def_parser.h
+include/kea/dhcpsrv/parsers/dhcp_parsers.h
+include/kea/dhcpsrv/parsers/dhcp_queue_control_parser.h
+include/kea/dhcpsrv/parsers/duid_config_parser.h
+include/kea/dhcpsrv/parsers/expiration_config_parser.h
+include/kea/dhcpsrv/parsers/host_reservation_parser.h
+include/kea/dhcpsrv/parsers/host_reservations_list_parser.h
+include/kea/dhcpsrv/parsers/ifaces_config_parser.h
+include/kea/dhcpsrv/parsers/option_data_parser.h
+include/kea/dhcpsrv/parsers/sanity_checks_parser.h
+include/kea/dhcpsrv/parsers/shared_network_parser.h
+include/kea/dhcpsrv/parsers/shared_networks_list_parser.h
+include/kea/dhcpsrv/parsers/simple_parser4.h
+include/kea/dhcpsrv/parsers/simple_parser6.h
+${PLIST.pgsql}include/kea/dhcpsrv/pgsql_host_data_source.h
+${PLIST.pgsql}include/kea/dhcpsrv/pgsql_lease_mgr.h
+include/kea/dhcpsrv/pool.h
+include/kea/dhcpsrv/sanity_checker.h
+include/kea/dhcpsrv/shared_network.h
+include/kea/dhcpsrv/srv_config.h
+include/kea/dhcpsrv/subnet.h
+include/kea/dhcpsrv/subnet_id.h
+include/kea/dhcpsrv/subnet_selector.h
+include/kea/dhcpsrv/timer_mgr.h
+include/kea/dhcpsrv/triplet.h
+include/kea/dhcpsrv/utils.h
+include/kea/dhcpsrv/writable_host_data_source.h
+include/kea/dns/dns_fwd.h
+include/kea/dns/edns.h
+include/kea/dns/exceptions.h
+include/kea/dns/labelsequence.h
+include/kea/dns/master_lexer.h
+include/kea/dns/master_lexer_inputsource.h
+include/kea/dns/master_lexer_state.h
+include/kea/dns/master_loader.h
+include/kea/dns/master_loader_callbacks.h
+include/kea/dns/masterload.h
+include/kea/dns/message.h
+include/kea/dns/messagerenderer.h
+include/kea/dns/name.h
+include/kea/dns/nsec3hash.h
+include/kea/dns/opcode.h
+include/kea/dns/question.h
+include/kea/dns/rcode.h
+include/kea/dns/rdata.h
+include/kea/dns/rdata_pimpl_holder.h
+include/kea/dns/rdataclass.h
+include/kea/dns/rdatafields.h
+include/kea/dns/rrclass.h
+include/kea/dns/rrcollator.h
+include/kea/dns/rrparamregistry.h
+include/kea/dns/rrset.h
+include/kea/dns/rrset_collection.h
+include/kea/dns/rrset_collection_base.h
+include/kea/dns/rrttl.h
+include/kea/dns/rrtype.h
+include/kea/dns/serial.h
+include/kea/dns/tsig.h
+include/kea/dns/tsigerror.h
+include/kea/dns/tsigkey.h
+include/kea/dns/tsigrecord.h
+include/kea/dns/zone_checker.h
+include/kea/eval/dependency.h
+include/kea/eval/eval_context.h
+include/kea/eval/eval_context_decl.h
+include/kea/eval/eval_log.h
+include/kea/eval/eval_messages.h
+include/kea/eval/evaluate.h
+include/kea/eval/parser.h
+include/kea/eval/token.h
+include/kea/exceptions/exceptions.h
+include/kea/exceptions/isc_assert.h
+include/kea/hooks/callout_handle.h
+include/kea/hooks/callout_handle_associate.h
+include/kea/hooks/callout_manager.h
+include/kea/hooks/hooks.h
+include/kea/hooks/hooks_config.h
+include/kea/hooks/hooks_log.h
+include/kea/hooks/hooks_manager.h
+include/kea/hooks/hooks_messages.h
+include/kea/hooks/hooks_parser.h
+include/kea/hooks/libinfo.h
+include/kea/hooks/library_handle.h
+include/kea/hooks/library_manager.h
+include/kea/hooks/library_manager_collection.h
+include/kea/hooks/parking_lots.h
+include/kea/hooks/pointer_converter.h
+include/kea/hooks/server_hooks.h
+include/kea/http/client.h
+include/kea/http/connection.h
+include/kea/http/connection_pool.h
+include/kea/http/date_time.h
+include/kea/http/header_context.h
+include/kea/http/http_acceptor.h
+include/kea/http/http_header.h
+include/kea/http/http_log.h
+include/kea/http/http_message.h
+include/kea/http/http_message_parser_base.h
+include/kea/http/http_messages.h
+include/kea/http/http_types.h
+include/kea/http/listener.h
+include/kea/http/listener_impl.h
+include/kea/http/post_request.h
+include/kea/http/post_request_json.h
+include/kea/http/request.h
+include/kea/http/request_context.h
+include/kea/http/request_parser.h
+include/kea/http/response.h
+include/kea/http/response_context.h
+include/kea/http/response_creator.h
+include/kea/http/response_creator_factory.h
+include/kea/http/response_json.h
+include/kea/http/response_parser.h
+include/kea/http/url.h
+include/kea/kea_version.h
+include/kea/log/buffer_appender_impl.h
+include/kea/log/interprocess/interprocess_sync.h
+include/kea/log/interprocess/interprocess_sync_file.h
+include/kea/log/interprocess/interprocess_sync_null.h
+include/kea/log/log_dbglevels.h
+include/kea/log/log_formatter.h
+include/kea/log/log_messages.h
+include/kea/log/logger.h
+include/kea/log/logger_impl.h
+include/kea/log/logger_level.h
+include/kea/log/logger_level_impl.h
+include/kea/log/logger_manager.h
+include/kea/log/logger_manager_impl.h
+include/kea/log/logger_name.h
+include/kea/log/logger_specification.h
+include/kea/log/logger_support.h
+include/kea/log/logger_unittest_support.h
+include/kea/log/logimpl_messages.h
+include/kea/log/macros.h
+include/kea/log/message_dictionary.h
+include/kea/log/message_exception.h
+include/kea/log/message_initializer.h
+include/kea/log/message_reader.h
+include/kea/log/message_types.h
+include/kea/log/output_option.h
+${PLIST.mysql}include/kea/mysql/mysql_binding.h
+${PLIST.mysql}include/kea/mysql/mysql_connection.h
+${PLIST.mysql}include/kea/mysql/mysql_constants.h
+${PLIST.pgsql}include/kea/pgsql/pgsql_connection.h
+${PLIST.pgsql}include/kea/pgsql/pgsql_exchange.h
+include/kea/process/cb_ctl_base.h
+include/kea/process/config_base.h
+include/kea/process/config_ctl_info.h
+include/kea/process/config_ctl_parser.h
+include/kea/process/d_cfg_mgr.h
+include/kea/process/d_controller.h
+include/kea/process/d_log.h
+include/kea/process/d_process.h
+include/kea/process/daemon.h
+include/kea/process/io_service_signal.h
+include/kea/process/log_parser.h
+include/kea/process/logging_info.h
+include/kea/process/process_messages.h
+include/kea/stats/context.h
+include/kea/stats/observation.h
+include/kea/stats/stats_mgr.h
+include/kea/util/boost_time_utils.h
+include/kea/util/buffer.h
+include/kea/util/csv_file.h
+include/kea/util/doubles.h
+include/kea/util/encode/base16_from_binary.h
+include/kea/util/encode/base32hex.h
+include/kea/util/encode/base32hex_from_binary.h
+include/kea/util/encode/base64.h
+include/kea/util/encode/binary_from_base16.h
+include/kea/util/encode/binary_from_base32hex.h
+include/kea/util/encode/hex.h
+include/kea/util/filename.h
+include/kea/util/hash.h
+include/kea/util/io/fd.h
+include/kea/util/io/fd_share.h
+include/kea/util/io/pktinfo_utilities.h
+include/kea/util/io/sockaddr_util.h
+include/kea/util/io_utilities.h
+include/kea/util/labeled_value.h
+include/kea/util/memory_segment.h
+include/kea/util/memory_segment_local.h
+include/kea/util/optional.h
+include/kea/util/pid_file.h
+include/kea/util/pointer_util.h
+include/kea/util/process_spawn.h
+include/kea/util/random/qid_gen.h
+include/kea/util/random/random_number_generator.h
+include/kea/util/range_utilities.h
+include/kea/util/signal_set.h
+include/kea/util/staged_value.h
+include/kea/util/state_model.h
+include/kea/util/stopwatch.h
+include/kea/util/stopwatch_impl.h
+include/kea/util/strutil.h
+include/kea/util/threads/sync.h
+include/kea/util/threads/thread.h
+include/kea/util/threads/watched_thread.h
+include/kea/util/time_utilities.h
+include/kea/util/versioned_csv_file.h
+include/kea/util/watch_socket.h
+lib/kea/hooks/libdhcp_ha.la
+lib/kea/hooks/libdhcp_lease_cmds.la
+${PLIST.mysql}lib/kea/hooks/libdhcp_mysql_cb.la
+lib/kea/hooks/libdhcp_stat_cmds.la
+lib/libkea-asiodns.la
+lib/libkea-asiolink.la
+lib/libkea-cc.la
+lib/libkea-cfgclient.la
+lib/libkea-cryptolink.la
+lib/libkea-database.la
+lib/libkea-dhcp++.la
+lib/libkea-dhcp_ddns.la
+lib/libkea-dhcpsrv.la
+lib/libkea-dns++.la
+lib/libkea-eval.la
+lib/libkea-exceptions.la
+lib/libkea-hooks.la
+lib/libkea-http.la
+lib/libkea-log.la
+${PLIST.mysql}lib/libkea-mysql.la
+${PLIST.pgsql}lib/libkea-pgsql.la
+lib/libkea-process.la
+lib/libkea-stats.la
+lib/libkea-threads.la
+lib/libkea-util-io.la
+lib/libkea-util.la
+${PYSITELIB}/kea/kea_conn.pyo
+${PYSITELIB}/kea/kea_conn.pyc
+${PYSITELIB}/kea/kea_connector2.pyo
+${PYSITELIB}/kea/kea_connector2.pyc
+${PYSITELIB}/kea/kea_connector3.pyo
+${PYSITELIB}/kea/kea_connector3.pyc
+${PYSITELIB}/kea/kea_conn.py
+${PYSITELIB}/kea/kea_connector2.py
+${PYSITELIB}/kea/kea_connector3.py
+sbin/kea-admin
+sbin/kea-ctrl-agent
+sbin/kea-dhcp-ddns
+sbin/kea-dhcp4
+sbin/kea-dhcp6
+sbin/kea-lfc
+sbin/kea-shell
+sbin/keactrl
+share/doc/kea/AUTHORS
+share/doc/kea/CONTRIBUTING.md
+share/doc/kea/COPYING
+share/doc/kea/ChangeLog
+share/doc/kea/README
+share/doc/kea/examples/agent/comments.json
+share/doc/kea/examples/agent/simple.json
+share/doc/kea/examples/ddns/comments.json
+share/doc/kea/examples/ddns/sample1.json
+share/doc/kea/examples/ddns/template.json
+share/doc/kea/examples/https/httpd2/kea-httpd2.conf
+share/doc/kea/examples/https/nginx/kea-nginx.conf
+share/doc/kea/examples/https/shell/kea-stunnel.conf
+share/doc/kea/examples/kea4/advanced.json
+share/doc/kea/examples/kea4/all-keys-netconf.json
+share/doc/kea/examples/kea4/all-keys.json
+share/doc/kea/examples/kea4/backends.json
+share/doc/kea/examples/kea4/cassandra.json
+share/doc/kea/examples/kea4/classify.json
+share/doc/kea/examples/kea4/classify2.json
+share/doc/kea/examples/kea4/comments.json
+share/doc/kea/examples/kea4/config-backend.json
+share/doc/kea/examples/kea4/dhcpv4-over-dhcpv6.json
+share/doc/kea/examples/kea4/global-reservations.json
+share/doc/kea/examples/kea4/ha-load-balancing-primary.json
+share/doc/kea/examples/kea4/hooks-radius.json
+share/doc/kea/examples/kea4/hooks.json
+share/doc/kea/examples/kea4/leases-expiration.json
+share/doc/kea/examples/kea4/multiple-options.json
+share/doc/kea/examples/kea4/mysql-reservations.json
+share/doc/kea/examples/kea4/pgsql-reservations.json
+share/doc/kea/examples/kea4/reservations.json
+share/doc/kea/examples/kea4/several-subnets.json
+share/doc/kea/examples/kea4/shared-network.json
+share/doc/kea/examples/kea4/single-subnet.json
+share/doc/kea/examples/kea4/with-ddns.json
+share/doc/kea/examples/kea6/advanced.json
+share/doc/kea/examples/kea6/all-keys-netconf.json
+share/doc/kea/examples/kea6/all-keys.json
+share/doc/kea/examples/kea6/backends.json
+share/doc/kea/examples/kea6/cassandra.json
+share/doc/kea/examples/kea6/classify.json
+share/doc/kea/examples/kea6/classify2.json
+share/doc/kea/examples/kea6/comments.json
+share/doc/kea/examples/kea6/config-backend.json
+share/doc/kea/examples/kea6/dhcpv4-over-dhcpv6.json
+share/doc/kea/examples/kea6/duid.json
+share/doc/kea/examples/kea6/global-reservations.json
+share/doc/kea/examples/kea6/ha-hot-standby.json
+share/doc/kea/examples/kea6/hooks.json
+share/doc/kea/examples/kea6/iPXE.json
+share/doc/kea/examples/kea6/leases-expiration.json
+share/doc/kea/examples/kea6/multiple-options.json
+share/doc/kea/examples/kea6/mysql-reservations.json
+share/doc/kea/examples/kea6/pgsql-reservations.json
+share/doc/kea/examples/kea6/reservations.json
+share/doc/kea/examples/kea6/several-subnets.json
+share/doc/kea/examples/kea6/shared-network.json
+share/doc/kea/examples/kea6/simple.json
+share/doc/kea/examples/kea6/softwire46.json
+share/doc/kea/examples/kea6/stateless.json
+share/doc/kea/examples/kea6/tee-times.json
+share/doc/kea/examples/kea6/with-ddns.json
+share/doc/kea/examples/netconf/comments.json
+share/doc/kea/examples/netconf/kea-dhcp6-operations/boot.json
+share/doc/kea/examples/netconf/kea-dhcp6-operations/logging.xml
+share/doc/kea/examples/netconf/kea-dhcp6-operations/netconf.json
+share/doc/kea/examples/netconf/kea-dhcp6-operations/startup.xml
+share/doc/kea/examples/netconf/kea-dhcp6-operations/twopools.xml
+share/doc/kea/examples/netconf/kea-dhcp6-operations/twosubnets.xml
+share/doc/kea/examples/netconf/simple-dhcp4.json
+share/doc/kea/examples/netconf/simple-dhcp6.json
+share/examples/kea/kea-ctrl-agent.conf
+share/examples/kea/kea-dhcp-ddns.conf
+share/examples/kea/kea-dhcp4.conf
+share/examples/kea/kea-dhcp6.conf
+share/examples/kea/keactrl.conf
+share/examples/rc.d/kea
+share/kea/scripts/admin-utils.sh
+share/kea/scripts/cql/dhcpdb_create.cql
+share/kea/scripts/cql/dhcpdb_drop.cql
+share/kea/scripts/cql/upgrade_1.0_to_2.0.sh
+share/kea/scripts/cql/upgrade_2.0_to_3.0.sh
+share/kea/scripts/cql/upgrade_3.0_to_4.0.sh
+share/kea/scripts/cql/wipe_data.sh
+share/kea/scripts/mysql/dhcpdb_create.mysql
+share/kea/scripts/mysql/dhcpdb_drop.mysql
+share/kea/scripts/mysql/upgrade_1.0_to_2.0.sh
+share/kea/scripts/mysql/upgrade_2.0_to_3.0.sh
+share/kea/scripts/mysql/upgrade_3.0_to_4.0.sh
+share/kea/scripts/mysql/upgrade_4.0_to_4.1.sh
+share/kea/scripts/mysql/upgrade_4.1_to_5.0.sh
+share/kea/scripts/mysql/upgrade_5.0_to_5.1.sh
+share/kea/scripts/mysql/upgrade_5.1_to_5.2.sh
+share/kea/scripts/mysql/upgrade_5.2_to_6.0.sh
+share/kea/scripts/mysql/upgrade_6.0_to_7.0.sh
+share/kea/scripts/mysql/upgrade_7.0_to_8.0.sh
+share/kea/scripts/mysql/upgrade_8.0_to_8.1.sh
+share/kea/scripts/mysql/upgrade_8.1_to_8.2.sh
+share/kea/scripts/mysql/wipe_data.sh
+share/kea/scripts/pgsql/dhcpdb_create.pgsql
+share/kea/scripts/pgsql/dhcpdb_drop.pgsql
+share/kea/scripts/pgsql/upgrade_1.0_to_2.0.sh
+share/kea/scripts/pgsql/upgrade_2.0_to_3.0.sh
+share/kea/scripts/pgsql/upgrade_3.0_to_3.1.sh
+share/kea/scripts/pgsql/upgrade_3.1_to_3.2.sh
+share/kea/scripts/pgsql/upgrade_3.2_to_3.3.sh
+share/kea/scripts/pgsql/upgrade_3.3_to_4.0.sh
+share/kea/scripts/pgsql/upgrade_4.0_to_5.0.sh
+share/kea/scripts/pgsql/upgrade_5.0_to_5.1.sh
+share/kea/scripts/pgsql/wipe_data.sh
+@pkgdir var/run/kea
+@pkgdir var/log
+@pkgdir var/lib/kea
diff --git a/kea/TODO b/kea/TODO
new file mode 100644
index 0000000000..e8523e89ef
--- /dev/null
+++ b/kea/TODO
@@ -0,0 +1,2 @@
+install users to run kea with ??
+fix files in varbase
diff --git a/kea/distinfo b/kea/distinfo
new file mode 100644
index 0000000000..440da9462b
--- /dev/null
+++ b/kea/distinfo
@@ -0,0 +1,13 @@
+$NetBSD$
+
+SHA1 (kea-1.6.1.tar.gz) = 165ee499c40a1033d733e8a5197522562804a19b
+RMD160 (kea-1.6.1.tar.gz) = 261b0ea1bca0a70034532112011c64ad809c37ec
+SHA512 (kea-1.6.1.tar.gz) = 4220f46fc185f4434ad01886d2d43ba1f9dcca57f5afa33235c8593269220a79e2dcb4ad71298dec868444c29e7cb6febe66a1456fdc116a2d9fd3f019f740d8
+Size (kea-1.6.1.tar.gz) = 7155604 bytes
+SHA1 (patch-configure) = 53270e1f31426557781705b272dc8b9a3b7b3d62
+SHA1 (patch-src_bin_keactrl_Makefile.in) = 5dbf9e096f7da3edd497876c665c3d5b14399cf5
+SHA1 (patch-src_hooks_dhcp_high__availability_Makefile.in) = 1158d793f0511d2f5121bfc8396c54a842f63794
+SHA1 (patch-src_hooks_dhcp_lease__cmds_Makefile.in) = 7440ac8d8e657703c87b704b11451f2615b75883
+SHA1 (patch-src_hooks_dhcp_mysql__cb_Makefile.in) = 2bef7d52a8d7c8390400ae02c8ecc230aefa6e83
+SHA1 (patch-src_hooks_dhcp_stat__cmds_Makefile.in) = dc5dafedc2f743946806f9d4e62e510b804be6c9
+SHA1 (patch-src_hooks_dhcp_user__chk_Makefile.in) = 581c12c11c4dfc524d8b5ca1e0ab91a9ee799486
diff --git a/kea/files/kea.sh b/kea/files/kea.sh
new file mode 100644
index 0000000000..21e5ba7ac4
--- /dev/null
+++ b/kea/files/kea.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# $NetBSD$
+#
+# PROVIDE: kea
+# REQUIRE: LOGIN
+#
+. /etc/rc.subr
+
+name="kea"
+rcvar=$name
+keactrl="@PREFIX@/sbin/keactrl"
+start_cmd="keactrl_exec"
+stop_cmd="keactrl_exec"
+reload_cmd="keactrl_exec"
+status_cmd="keactrl_exec"
+extra_commands="reload status"
+
+keactrl_exec()
+{
+ ${keactrl} ${rc_arg}
+}
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/kea/options.mk b/kea/options.mk
new file mode 100644
index 0000000000..06ca40e594
--- /dev/null
+++ b/kea/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.kea
+PKG_SUPPORTED_OPTIONS= mysql pgsql
+PKG_SUGGESTED_OPTIONS= mysql pgsql
+PLIST_VARS+= mysql pgsql
+
+.include "../../mk/bsd.options.mk"
+
+###
+### database support
+###
+
+.if !empty(PKG_OPTIONS:Mmysql)
+. include "../../mk/mysql.buildlink3.mk"
+CONFIGURE_ARGS+=--with-mysql=${PREFIX}/bin/mysql_config
+PLIST.mysql=yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+. include "../../mk/pgsql.buildlink3.mk"
+CONFIGURE_ARGS+=--with-pgsql=${PGSQL_PREFIX}/bin/pg_config
+PLIST.pgsql=yes
+.endif
diff --git a/kea/patches/patch-configure b/kea/patches/patch-configure
new file mode 100644
index 0000000000..f59adf9ba1
--- /dev/null
+++ b/kea/patches/patch-configure
@@ -0,0 +1,22 @@
+$NetBSD$
+* fix compatability errors
+--- configure.orig 2019-11-19 14:50:55.000000000 +0000
++++ configure
+@@ -20878,7 +20878,7 @@ if test "x$enable_generate_parser" != "x
+ as_fn_error $? "Flex is required for enable-generate-parser, but was not found" "$LINENO" 5
+ fi
+
+- if test "x$YACC" == "x"; then
++ if test "x$YACC" = "x"; then
+ as_fn_error $? "Bison is required for enable-generate-parser, but was not found" "$LINENO" 5
+ fi
+
+@@ -21377,7 +21377,7 @@ fi
+
+ if test -z "$PDFLATEX"; then
+ PDFLATEX=no
+- elif test "x$PDFLATEX" == "xno"; then
++ elif test "x$PDFLATEX" = "xno"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pdflatex" >&5
+ $as_echo_n "checking for pdflatex... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (disabled)" >&5
diff --git a/kea/patches/patch-src_bin_keactrl_Makefile.in b/kea/patches/patch-src_bin_keactrl_Makefile.in
new file mode 100644
index 0000000000..dc3b0ed0eb
--- /dev/null
+++ b/kea/patches/patch-src_bin_keactrl_Makefile.in
@@ -0,0 +1,23 @@
+$NetBSD$
+* install conf files in exemples heirarcy
+--- src/bin/keactrl/Makefile.in.orig 2019-11-24 09:44:41.003245379 +0000
++++ src/bin/keactrl/Makefile.in
+@@ -824,15 +824,15 @@ kea-netconf.conf: kea-netconf.conf.pre
+ # To preserve any user modifications to the old version of the file,
+ # this old file is backed up as keactrl.conf.bak.
+ @INSTALL_CONFIGURATIONS_TRUE@install-data-local:
+-@INSTALL_CONFIGURATIONS_TRUE@ $(mkinstalldirs) $(DESTDIR)/@sysconfdir@/@PACKAGE@
++@INSTALL_CONFIGURATIONS_TRUE@ $(mkinstalldirs) $(DESTDIR)/@datarootdir@/examples/@PACKAGE@
+ @INSTALL_CONFIGURATIONS_TRUE@ for f in $(CONFIGFILES) ; do \
+ @INSTALL_CONFIGURATIONS_TRUE@ if test -f $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f && \
+ @INSTALL_CONFIGURATIONS_TRUE@ test $$f = "keactrl.conf"; then \
+ @INSTALL_CONFIGURATIONS_TRUE@ mv $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f \
+ @INSTALL_CONFIGURATIONS_TRUE@ $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f.bak; \
+ @INSTALL_CONFIGURATIONS_TRUE@ fi; \
+-@INSTALL_CONFIGURATIONS_TRUE@ if test ! -f $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f; then \
+-@INSTALL_CONFIGURATIONS_TRUE@ ${INSTALL_DATA} $$f $(DESTDIR)$(sysconfdir)/@PACKAGE@/; \
++@INSTALL_CONFIGURATIONS_TRUE@ if test ! -f $(DESTDIR)$(datarootdir)/@PACKAGE@/$$f; then \
++@INSTALL_CONFIGURATIONS_TRUE@ ${INSTALL_DATA} $$f $(DESTDIR)$(datarootdir)/examples/@PACKAGE@/; \
+ @INSTALL_CONFIGURATIONS_TRUE@ fi; \
+ @INSTALL_CONFIGURATIONS_TRUE@ done
+
diff --git a/kea/patches/patch-src_hooks_dhcp_high__availability_Makefile.in b/kea/patches/patch-src_hooks_dhcp_high__availability_Makefile.in
new file mode 100644
index 0000000000..58930fed19
--- /dev/null
+++ b/kea/patches/patch-src_hooks_dhcp_high__availability_Makefile.in
@@ -0,0 +1,24 @@
+$NetBSD$
+* use c++ for linking c++ code
+--- src/hooks/dhcp/high_availability/Makefile.in.orig 2019-11-19 14:50:58.000000000 +0000
++++ src/hooks/dhcp/high_availability/Makefile.in
+@@ -160,8 +160,8 @@ AM_V_lt = $(am__v_lt_@AM_V@)
+ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+ am__v_lt_0 = --silent
+ am__v_lt_1 =
+-libdhcp_ha_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++libdhcp_ha_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
++ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
+ $(libdhcp_ha_la_LDFLAGS) $(LDFLAGS) -o $@
+ libha_la_LIBADD =
+ am_libha_la_OBJECTS = libha_la-command_creator.lo \
+@@ -615,7 +615,7 @@ clean-noinstLTLIBRARIES:
+ }
+
+ libdhcp_ha.la: $(libdhcp_ha_la_OBJECTS) $(libdhcp_ha_la_DEPENDENCIES) $(EXTRA_libdhcp_ha_la_DEPENDENCIES)
+- $(AM_V_CCLD)$(libdhcp_ha_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_ha_la_OBJECTS) $(libdhcp_ha_la_LIBADD) $(LIBS)
++ $(AM_V_CXXLD)$(libdhcp_ha_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_ha_la_OBJECTS) $(libdhcp_ha_la_LIBADD) $(LIBS)
+
+ libha.la: $(libha_la_OBJECTS) $(libha_la_DEPENDENCIES) $(EXTRA_libha_la_DEPENDENCIES)
+ $(AM_V_CXXLD)$(libha_la_LINK) $(libha_la_OBJECTS) $(libha_la_LIBADD) $(LIBS)
diff --git a/kea/patches/patch-src_hooks_dhcp_lease__cmds_Makefile.in b/kea/patches/patch-src_hooks_dhcp_lease__cmds_Makefile.in
new file mode 100644
index 0000000000..f79ce2245b
--- /dev/null
+++ b/kea/patches/patch-src_hooks_dhcp_lease__cmds_Makefile.in
@@ -0,0 +1,26 @@
+$NetBSD$
+* use c++ for linking c++ code
+--- src/hooks/dhcp/lease_cmds/Makefile.in.orig 2019-11-19 14:50:58.000000000 +0000
++++ src/hooks/dhcp/lease_cmds/Makefile.in
+@@ -162,9 +162,9 @@ AM_V_lt = $(am__v_lt_@AM_V@)
+ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+ am__v_lt_0 = --silent
+ am__v_lt_1 =
+-libdhcp_lease_cmds_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+- $(AM_CFLAGS) $(CFLAGS) $(libdhcp_lease_cmds_la_LDFLAGS) \
++libdhcp_lease_cmds_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
++ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
++ $(AM_CXXFLAGS) $(CXXFLAGS) $(libdhcp_lease_cmds_la_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ liblease_cmds_la_LIBADD =
+ am_liblease_cmds_la_OBJECTS = liblease_cmds_la-lease_cmds.lo \
+@@ -617,7 +617,7 @@ clean-noinstLTLIBRARIES:
+ }
+
+ libdhcp_lease_cmds.la: $(libdhcp_lease_cmds_la_OBJECTS) $(libdhcp_lease_cmds_la_DEPENDENCIES) $(EXTRA_libdhcp_lease_cmds_la_DEPENDENCIES)
+- $(AM_V_CCLD)$(libdhcp_lease_cmds_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_lease_cmds_la_OBJECTS) $(libdhcp_lease_cmds_la_LIBADD) $(LIBS)
++ $(AM_V_CXXLD)$(libdhcp_lease_cmds_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_lease_cmds_la_OBJECTS) $(libdhcp_lease_cmds_la_LIBADD) $(LIBS)
+
+ liblease_cmds.la: $(liblease_cmds_la_OBJECTS) $(liblease_cmds_la_DEPENDENCIES) $(EXTRA_liblease_cmds_la_DEPENDENCIES)
+ $(AM_V_CXXLD)$(liblease_cmds_la_LINK) $(liblease_cmds_la_OBJECTS) $(liblease_cmds_la_LIBADD) $(LIBS)
diff --git a/kea/patches/patch-src_hooks_dhcp_mysql__cb_Makefile.in b/kea/patches/patch-src_hooks_dhcp_mysql__cb_Makefile.in
new file mode 100644
index 0000000000..34117aceac
--- /dev/null
+++ b/kea/patches/patch-src_hooks_dhcp_mysql__cb_Makefile.in
@@ -0,0 +1,26 @@
+$NetBSD$
+* use c++ for linking c++ code
+--- src/hooks/dhcp/mysql_cb/Makefile.in.orig 2019-11-19 14:50:58.000000000 +0000
++++ src/hooks/dhcp/mysql_cb/Makefile.in
+@@ -161,9 +161,9 @@ AM_V_lt = $(am__v_lt_@AM_V@)
+ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+ am__v_lt_0 = --silent
+ am__v_lt_1 =
+-libdhcp_mysql_cb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+- $(AM_CFLAGS) $(CFLAGS) $(libdhcp_mysql_cb_la_LDFLAGS) \
++libdhcp_mysql_cb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
++ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
++ $(AM_CXXFLAGS) $(CXXFLAGS) $(libdhcp_mysql_cb_la_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ libmysqlcb_la_LIBADD =
+ am_libmysqlcb_la_OBJECTS = libmysqlcb_la-mysql_cb_callouts.lo \
+@@ -616,7 +616,7 @@ clean-noinstLTLIBRARIES:
+ }
+
+ libdhcp_mysql_cb.la: $(libdhcp_mysql_cb_la_OBJECTS) $(libdhcp_mysql_cb_la_DEPENDENCIES) $(EXTRA_libdhcp_mysql_cb_la_DEPENDENCIES)
+- $(AM_V_CCLD)$(libdhcp_mysql_cb_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_mysql_cb_la_OBJECTS) $(libdhcp_mysql_cb_la_LIBADD) $(LIBS)
++ $(AM_V_CXXLD)$(libdhcp_mysql_cb_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_mysql_cb_la_OBJECTS) $(libdhcp_mysql_cb_la_LIBADD) $(LIBS)
+
+ libmysqlcb.la: $(libmysqlcb_la_OBJECTS) $(libmysqlcb_la_DEPENDENCIES) $(EXTRA_libmysqlcb_la_DEPENDENCIES)
+ $(AM_V_CXXLD)$(libmysqlcb_la_LINK) $(libmysqlcb_la_OBJECTS) $(libmysqlcb_la_LIBADD) $(LIBS)
diff --git a/kea/patches/patch-src_hooks_dhcp_stat__cmds_Makefile.in b/kea/patches/patch-src_hooks_dhcp_stat__cmds_Makefile.in
new file mode 100644
index 0000000000..9f3d812bce
--- /dev/null
+++ b/kea/patches/patch-src_hooks_dhcp_stat__cmds_Makefile.in
@@ -0,0 +1,26 @@
+$NetBSD$
+* use c++ for linking c++ code
+--- src/hooks/dhcp/stat_cmds/Makefile.in.orig 2019-11-19 14:50:58.000000000 +0000
++++ src/hooks/dhcp/stat_cmds/Makefile.in
+@@ -161,9 +161,9 @@ AM_V_lt = $(am__v_lt_@AM_V@)
+ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+ am__v_lt_0 = --silent
+ am__v_lt_1 =
+-libdhcp_stat_cmds_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+- $(AM_CFLAGS) $(CFLAGS) $(libdhcp_stat_cmds_la_LDFLAGS) \
++libdhcp_stat_cmds_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
++ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
++ $(AM_CXXFLAGS) $(CXXFLAGS) $(libdhcp_stat_cmds_la_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ libstat_cmds_la_LIBADD =
+ am_libstat_cmds_la_OBJECTS = libstat_cmds_la-stat_cmds.lo \
+@@ -613,7 +613,7 @@ clean-noinstLTLIBRARIES:
+ }
+
+ libdhcp_stat_cmds.la: $(libdhcp_stat_cmds_la_OBJECTS) $(libdhcp_stat_cmds_la_DEPENDENCIES) $(EXTRA_libdhcp_stat_cmds_la_DEPENDENCIES)
+- $(AM_V_CCLD)$(libdhcp_stat_cmds_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_stat_cmds_la_OBJECTS) $(libdhcp_stat_cmds_la_LIBADD) $(LIBS)
++ $(AM_V_CXXLD)$(libdhcp_stat_cmds_la_LINK) -rpath $(lib_hooksdir) $(libdhcp_stat_cmds_la_OBJECTS) $(libdhcp_stat_cmds_la_LIBADD) $(LIBS)
+
+ libstat_cmds.la: $(libstat_cmds_la_OBJECTS) $(libstat_cmds_la_DEPENDENCIES) $(EXTRA_libstat_cmds_la_DEPENDENCIES)
+ $(AM_V_CXXLD)$(libstat_cmds_la_LINK) $(libstat_cmds_la_OBJECTS) $(libstat_cmds_la_LIBADD) $(LIBS)
diff --git a/kea/patches/patch-src_hooks_dhcp_user__chk_Makefile.in b/kea/patches/patch-src_hooks_dhcp_user__chk_Makefile.in
new file mode 100644
index 0000000000..93698f6378
--- /dev/null
+++ b/kea/patches/patch-src_hooks_dhcp_user__chk_Makefile.in
@@ -0,0 +1,26 @@
+$NetBSD$
+* use c++ for linking c++ code
+--- src/hooks/dhcp/user_chk/Makefile.in.orig 2019-11-19 14:50:58.000000000 +0000
++++ src/hooks/dhcp/user_chk/Makefile.in
+@@ -122,9 +122,9 @@ AM_V_lt = $(am__v_lt_@AM_V@)
+ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+ am__v_lt_0 = --silent
+ am__v_lt_1 =
+-libdhcp_user_chk_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+- $(AM_CFLAGS) $(CFLAGS) $(libdhcp_user_chk_la_LDFLAGS) \
++libdhcp_user_chk_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
++ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
++ $(AM_CXXFLAGS) $(CXXFLAGS) $(libdhcp_user_chk_la_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ libduc_la_LIBADD =
+ am_libduc_la_OBJECTS = libduc_la-load_unload.lo \
+@@ -527,7 +527,7 @@ clean-noinstLTLIBRARIES:
+ }
+
+ libdhcp_user_chk.la: $(libdhcp_user_chk_la_OBJECTS) $(libdhcp_user_chk_la_DEPENDENCIES) $(EXTRA_libdhcp_user_chk_la_DEPENDENCIES)
+- $(AM_V_CCLD)$(libdhcp_user_chk_la_LINK) $(libdhcp_user_chk_la_OBJECTS) $(libdhcp_user_chk_la_LIBADD) $(LIBS)
++ $(AM_V_CXXLD)$(libdhcp_user_chk_la_LINK) $(libdhcp_user_chk_la_OBJECTS) $(libdhcp_user_chk_la_LIBADD) $(LIBS)
+
+ libduc.la: $(libduc_la_OBJECTS) $(libduc_la_DEPENDENCIES) $(EXTRA_libduc_la_DEPENDENCIES)
+ $(AM_V_CXXLD)$(libduc_la_LINK) $(libduc_la_OBJECTS) $(libduc_la_LIBADD) $(LIBS)
Home |
Main Index |
Thread Index |
Old Index