import ports/net/kea, from Patrik Lundin, ok landry

Kea is a new open source DHCPv4/DHCPv6 server being developed by Internet
Systems Consortium. The objective of this project is to provide a very
high-performance, extensible DHCP server engine for use by enterprises and
service providers, either as is or with extensions and modifications.

Kea provides DHCPv4 and DHCPv6 servers, a dynamic DNS update module, a portable
DHCP library, libdhcp++, and a DHCP benchmarking tool, perfdhcp.
This commit is contained in:
sthen 2015-12-23 13:40:53 +00:00
parent fb9197ada0
commit d91324ab74
5 changed files with 626 additions and 0 deletions

75
net/kea/Makefile Normal file
View File

@ -0,0 +1,75 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/12/23 13:40:53 sthen Exp $
SHARED_ONLY= Yes
COMMENT= high-performance and extensible DHCP server engine from ISC
VERSION= 0.9.2-P1
DISTNAME= kea-${VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
SHARED_LIBS += kea-asiodns 0.0 # 0.0
SHARED_LIBS += kea-asiolink 0.0 # 2.0
SHARED_LIBS += kea-cc 0.0 # 1.0
SHARED_LIBS += kea-cfgclient 0.0 # 2.0
SHARED_LIBS += kea-cryptolink 0.0 # 1.0
SHARED_LIBS += kea-dhcp++ 0.0 # 3.0
SHARED_LIBS += kea-dhcp_ddns 0.0 # 1.0
SHARED_LIBS += kea-dhcpsrv 0.0 # 4.0
SHARED_LIBS += kea-dns++ 0.0 # 2.0
SHARED_LIBS += kea-exceptions 0.0 # 0.0
SHARED_LIBS += kea-hooks 0.0 # 1.0
SHARED_LIBS += kea-log 0.0 # 1.0
SHARED_LIBS += kea-stats 0.0 # 1.0
SHARED_LIBS += kea-threads 0.0 # 0.0
SHARED_LIBS += kea-util-io 0.0 # 0.0
SHARED_LIBS += kea-util 0.0 # 1.0
CATEGORIES= net
HOMEPAGE= http://kea.isc.org/
MAINTAINER= Patrik Lundin <patrik@sigterm.se>
# ISC (XXX Kea 1.0 changes to Apache license)
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c crypto log4cplus m pthread stdc++
MASTER_SITES= ${MASTER_SITE_ISC:=kea/${VERSION}/}
BUILD_DEPENDS= devel/boost
LIB_DEPENDS= devel/log4cplus
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-openssl=/usr
LIBTOOL_FLAGS= --tag=disable-static
FLAVORS= mysql postgresql
FLAVOR?=
.if ${FLAVOR:Mmysql}
WANTLIB += mysqlclient ssl z
LIB_DEPENDS+= databases/mariadb
CONFIGURE_ARGS+= --with-dhcp-mysql=${LOCALBASE}/bin/mysql_config
.endif
.if ${FLAVOR:Mpostgresql}
WANTLIB += pq ssl
BUILD_DEPENDS+= databases/postgresql,-server
LIB_DEPENDS+= databases/postgresql
CONFIGURE_ARGS+= --with-dhcp-pgsql=${LOCALBASE}/bin/pg_config
.endif
pre-install:
mkdir -p ${PREFIX}/share/examples/kea
.include <bsd.port.mk>

2
net/kea/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (kea-0.9.2-P1.tar.gz) = Ne4gqNW0/FCU6d7d2YnuJ3TXIcCdU9/WS2QIr2P3md4=
SIZE (kea-0.9.2-P1.tar.gz) = 4436468

7
net/kea/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
Kea is a new open source DHCPv4/DHCPv6 server being developed by Internet
Systems Consortium. The objective of this project is to provide a very
high-performance, extensible DHCP server engine for use by enterprises and
service providers, either as is or with extensions and modifications.
Kea provides DHCPv4 and DHCPv6 servers, a dynamic DNS update module, a portable
DHCP library, libdhcp++, and a DHCP benchmarking tool, perfdhcp.

509
net/kea/pkg/PLIST Normal file
View File

@ -0,0 +1,509 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/12/23 13:40:53 sthen Exp $
@newgroup _kea:763
@newuser _kea:763:_kea:daemon:Kea user:/nonexistent:/sbin/nologin
@bin bin/message
include/kea/
include/kea/asio/
include/kea/asio/LICENSE_1_0.txt
include/kea/asio/README
include/kea/asio/basic_datagram_socket.hpp
include/kea/asio/basic_deadline_timer.hpp
include/kea/asio/basic_io_object.hpp
include/kea/asio/basic_raw_socket.hpp
include/kea/asio/basic_serial_port.hpp
include/kea/asio/basic_socket.hpp
include/kea/asio/basic_socket_acceptor.hpp
include/kea/asio/basic_socket_iostream.hpp
include/kea/asio/basic_socket_streambuf.hpp
include/kea/asio/basic_stream_socket.hpp
include/kea/asio/basic_streambuf.hpp
include/kea/asio/basic_streambuf_fwd.hpp
include/kea/asio/buffer.hpp
include/kea/asio/buffered_read_stream.hpp
include/kea/asio/buffered_read_stream_fwd.hpp
include/kea/asio/buffered_stream.hpp
include/kea/asio/buffered_stream_fwd.hpp
include/kea/asio/buffered_write_stream.hpp
include/kea/asio/buffered_write_stream_fwd.hpp
include/kea/asio/buffers_iterator.hpp
include/kea/asio/completion_condition.hpp
include/kea/asio/datagram_socket_service.hpp
include/kea/asio/deadline_timer.hpp
include/kea/asio/deadline_timer_service.hpp
include/kea/asio/detail/
include/kea/asio/detail/array_fwd.hpp
include/kea/asio/detail/base_from_completion_cond.hpp
include/kea/asio/detail/bind_handler.hpp
include/kea/asio/detail/buffer_resize_guard.hpp
include/kea/asio/detail/buffer_sequence_adapter.hpp
include/kea/asio/detail/buffered_stream_storage.hpp
include/kea/asio/detail/call_stack.hpp
include/kea/asio/detail/completion_handler.hpp
include/kea/asio/detail/config.hpp
include/kea/asio/detail/consuming_buffers.hpp
include/kea/asio/detail/deadline_timer_service.hpp
include/kea/asio/detail/descriptor_ops.hpp
include/kea/asio/detail/descriptor_read_op.hpp
include/kea/asio/detail/descriptor_write_op.hpp
include/kea/asio/detail/dev_poll_reactor.hpp
include/kea/asio/detail/dev_poll_reactor_fwd.hpp
include/kea/asio/detail/epoll_reactor.hpp
include/kea/asio/detail/epoll_reactor_fwd.hpp
include/kea/asio/detail/event.hpp
include/kea/asio/detail/eventfd_select_interrupter.hpp
include/kea/asio/detail/fd_set_adapter.hpp
include/kea/asio/detail/fenced_block.hpp
include/kea/asio/detail/gcc_arm_fenced_block.hpp
include/kea/asio/detail/gcc_fenced_block.hpp
include/kea/asio/detail/gcc_hppa_fenced_block.hpp
include/kea/asio/detail/gcc_sync_fenced_block.hpp
include/kea/asio/detail/gcc_x86_fenced_block.hpp
include/kea/asio/detail/handler_alloc_helpers.hpp
include/kea/asio/detail/handler_invoke_helpers.hpp
include/kea/asio/detail/hash_map.hpp
include/kea/asio/detail/impl/
include/kea/asio/detail/impl/descriptor_ops.ipp
include/kea/asio/detail/impl/dev_poll_reactor.hpp
include/kea/asio/detail/impl/dev_poll_reactor.ipp
include/kea/asio/detail/impl/epoll_reactor.hpp
include/kea/asio/detail/impl/epoll_reactor.ipp
include/kea/asio/detail/impl/eventfd_select_interrupter.ipp
include/kea/asio/detail/impl/kqueue_reactor.hpp
include/kea/asio/detail/impl/kqueue_reactor.ipp
include/kea/asio/detail/impl/pipe_select_interrupter.ipp
include/kea/asio/detail/impl/posix_event.ipp
include/kea/asio/detail/impl/posix_mutex.ipp
include/kea/asio/detail/impl/posix_thread.ipp
include/kea/asio/detail/impl/posix_tss_ptr.ipp
include/kea/asio/detail/impl/reactive_descriptor_service.ipp
include/kea/asio/detail/impl/reactive_serial_port_service.ipp
include/kea/asio/detail/impl/reactive_socket_service_base.ipp
include/kea/asio/detail/impl/resolver_service_base.ipp
include/kea/asio/detail/impl/select_reactor.hpp
include/kea/asio/detail/impl/select_reactor.ipp
include/kea/asio/detail/impl/service_registry.hpp
include/kea/asio/detail/impl/service_registry.ipp
include/kea/asio/detail/impl/socket_ops.ipp
include/kea/asio/detail/impl/socket_select_interrupter.ipp
include/kea/asio/detail/impl/strand_service.hpp
include/kea/asio/detail/impl/strand_service.ipp
include/kea/asio/detail/impl/task_io_service.hpp
include/kea/asio/detail/impl/task_io_service.ipp
include/kea/asio/detail/impl/throw_error.ipp
include/kea/asio/detail/impl/timer_queue.ipp
include/kea/asio/detail/impl/timer_queue_set.ipp
include/kea/asio/detail/impl/win_event.ipp
include/kea/asio/detail/impl/win_iocp_handle_service.ipp
include/kea/asio/detail/impl/win_iocp_io_service.hpp
include/kea/asio/detail/impl/win_iocp_io_service.ipp
include/kea/asio/detail/impl/win_iocp_serial_port_service.ipp
include/kea/asio/detail/impl/win_iocp_socket_service_base.ipp
include/kea/asio/detail/impl/win_mutex.ipp
include/kea/asio/detail/impl/win_thread.ipp
include/kea/asio/detail/impl/win_tss_ptr.ipp
include/kea/asio/detail/impl/winsock_init.ipp
include/kea/asio/detail/io_control.hpp
include/kea/asio/detail/kqueue_reactor.hpp
include/kea/asio/detail/kqueue_reactor_fwd.hpp
include/kea/asio/detail/local_free_on_block_exit.hpp
include/kea/asio/detail/macos_fenced_block.hpp
include/kea/asio/detail/mutex.hpp
include/kea/asio/detail/noncopyable.hpp
include/kea/asio/detail/null_buffers_op.hpp
include/kea/asio/detail/null_event.hpp
include/kea/asio/detail/null_fenced_block.hpp
include/kea/asio/detail/null_mutex.hpp
include/kea/asio/detail/null_signal_blocker.hpp
include/kea/asio/detail/null_thread.hpp
include/kea/asio/detail/null_tss_ptr.hpp
include/kea/asio/detail/object_pool.hpp
include/kea/asio/detail/old_win_sdk_compat.hpp
include/kea/asio/detail/op_queue.hpp
include/kea/asio/detail/operation.hpp
include/kea/asio/detail/pipe_select_interrupter.hpp
include/kea/asio/detail/pop_options.hpp
include/kea/asio/detail/posix_event.hpp
include/kea/asio/detail/posix_fd_set_adapter.hpp
include/kea/asio/detail/posix_mutex.hpp
include/kea/asio/detail/posix_signal_blocker.hpp
include/kea/asio/detail/posix_thread.hpp
include/kea/asio/detail/posix_tss_ptr.hpp
include/kea/asio/detail/push_options.hpp
include/kea/asio/detail/reactive_descriptor_service.hpp
include/kea/asio/detail/reactive_null_buffers_op.hpp
include/kea/asio/detail/reactive_serial_port_service.hpp
include/kea/asio/detail/reactive_socket_accept_op.hpp
include/kea/asio/detail/reactive_socket_connect_op.hpp
include/kea/asio/detail/reactive_socket_recv_op.hpp
include/kea/asio/detail/reactive_socket_recvfrom_op.hpp
include/kea/asio/detail/reactive_socket_send_op.hpp
include/kea/asio/detail/reactive_socket_sendto_op.hpp
include/kea/asio/detail/reactive_socket_service.hpp
include/kea/asio/detail/reactive_socket_service_base.hpp
include/kea/asio/detail/reactor.hpp
include/kea/asio/detail/reactor_fwd.hpp
include/kea/asio/detail/reactor_op.hpp
include/kea/asio/detail/reactor_op_queue.hpp
include/kea/asio/detail/regex_fwd.hpp
include/kea/asio/detail/resolve_endpoint_op.hpp
include/kea/asio/detail/resolve_op.hpp
include/kea/asio/detail/resolver_service.hpp
include/kea/asio/detail/resolver_service_base.hpp
include/kea/asio/detail/scoped_lock.hpp
include/kea/asio/detail/select_interrupter.hpp
include/kea/asio/detail/select_reactor.hpp
include/kea/asio/detail/select_reactor_fwd.hpp
include/kea/asio/detail/service_base.hpp
include/kea/asio/detail/service_id.hpp
include/kea/asio/detail/service_registry.hpp
include/kea/asio/detail/service_registry_fwd.hpp
include/kea/asio/detail/shared_ptr.hpp
include/kea/asio/detail/signal_blocker.hpp
include/kea/asio/detail/signal_init.hpp
include/kea/asio/detail/socket_holder.hpp
include/kea/asio/detail/socket_ops.hpp
include/kea/asio/detail/socket_option.hpp
include/kea/asio/detail/socket_select_interrupter.hpp
include/kea/asio/detail/socket_types.hpp
include/kea/asio/detail/solaris_fenced_block.hpp
include/kea/asio/detail/strand_service.hpp
include/kea/asio/detail/task_io_service.hpp
include/kea/asio/detail/task_io_service_fwd.hpp
include/kea/asio/detail/task_io_service_operation.hpp
include/kea/asio/detail/thread.hpp
include/kea/asio/detail/throw_error.hpp
include/kea/asio/detail/timer_op.hpp
include/kea/asio/detail/timer_queue.hpp
include/kea/asio/detail/timer_queue_base.hpp
include/kea/asio/detail/timer_queue_fwd.hpp
include/kea/asio/detail/timer_queue_set.hpp
include/kea/asio/detail/timer_scheduler.hpp
include/kea/asio/detail/timer_scheduler_fwd.hpp
include/kea/asio/detail/tss_ptr.hpp
include/kea/asio/detail/wait_handler.hpp
include/kea/asio/detail/weak_ptr.hpp
include/kea/asio/detail/win_event.hpp
include/kea/asio/detail/win_fd_set_adapter.hpp
include/kea/asio/detail/win_fenced_block.hpp
include/kea/asio/detail/win_iocp_handle_read_op.hpp
include/kea/asio/detail/win_iocp_handle_service.hpp
include/kea/asio/detail/win_iocp_handle_write_op.hpp
include/kea/asio/detail/win_iocp_io_service.hpp
include/kea/asio/detail/win_iocp_io_service_fwd.hpp
include/kea/asio/detail/win_iocp_null_buffers_op.hpp
include/kea/asio/detail/win_iocp_operation.hpp
include/kea/asio/detail/win_iocp_overlapped_op.hpp
include/kea/asio/detail/win_iocp_overlapped_ptr.hpp
include/kea/asio/detail/win_iocp_serial_port_service.hpp
include/kea/asio/detail/win_iocp_socket_accept_op.hpp
include/kea/asio/detail/win_iocp_socket_recv_op.hpp
include/kea/asio/detail/win_iocp_socket_recvfrom_op.hpp
include/kea/asio/detail/win_iocp_socket_send_op.hpp
include/kea/asio/detail/win_iocp_socket_service.hpp
include/kea/asio/detail/win_iocp_socket_service_base.hpp
include/kea/asio/detail/win_mutex.hpp
include/kea/asio/detail/win_signal_blocker.hpp
include/kea/asio/detail/win_thread.hpp
include/kea/asio/detail/win_tss_ptr.hpp
include/kea/asio/detail/wince_thread.hpp
include/kea/asio/detail/winsock_init.hpp
include/kea/asio/detail/wrapped_handler.hpp
include/kea/asio/error.hpp
include/kea/asio/error_code.hpp
include/kea/asio/handler_alloc_hook.hpp
include/kea/asio/handler_invoke_hook.hpp
include/kea/asio/impl/
include/kea/asio/impl/error.ipp
include/kea/asio/impl/error_code.ipp
include/kea/asio/impl/io_service.hpp
include/kea/asio/impl/io_service.ipp
include/kea/asio/impl/read.hpp
include/kea/asio/impl/read.ipp
include/kea/asio/impl/read_at.hpp
include/kea/asio/impl/read_at.ipp
include/kea/asio/impl/read_until.hpp
include/kea/asio/impl/read_until.ipp
include/kea/asio/impl/serial_port_base.hpp
include/kea/asio/impl/serial_port_base.ipp
include/kea/asio/impl/src.cpp
include/kea/asio/impl/src.hpp
include/kea/asio/impl/write.hpp
include/kea/asio/impl/write.ipp
include/kea/asio/impl/write_at.hpp
include/kea/asio/impl/write_at.ipp
include/kea/asio/io_service.hpp
include/kea/asio/ip/
include/kea/asio/ip/address.hpp
include/kea/asio/ip/address_v4.hpp
include/kea/asio/ip/address_v6.hpp
include/kea/asio/ip/basic_endpoint.hpp
include/kea/asio/ip/basic_resolver.hpp
include/kea/asio/ip/basic_resolver_entry.hpp
include/kea/asio/ip/basic_resolver_iterator.hpp
include/kea/asio/ip/basic_resolver_query.hpp
include/kea/asio/ip/detail/
include/kea/asio/ip/detail/endpoint.hpp
include/kea/asio/ip/detail/impl/
include/kea/asio/ip/detail/impl/endpoint.ipp
include/kea/asio/ip/detail/socket_option.hpp
include/kea/asio/ip/host_name.hpp
include/kea/asio/ip/icmp.hpp
include/kea/asio/ip/impl/
include/kea/asio/ip/impl/address.hpp
include/kea/asio/ip/impl/address.ipp
include/kea/asio/ip/impl/address_v4.hpp
include/kea/asio/ip/impl/address_v4.ipp
include/kea/asio/ip/impl/address_v6.hpp
include/kea/asio/ip/impl/address_v6.ipp
include/kea/asio/ip/impl/basic_endpoint.hpp
include/kea/asio/ip/impl/host_name.ipp
include/kea/asio/ip/multicast.hpp
include/kea/asio/ip/resolver_query_base.hpp
include/kea/asio/ip/resolver_service.hpp
include/kea/asio/ip/tcp.hpp
include/kea/asio/ip/udp.hpp
include/kea/asio/ip/unicast.hpp
include/kea/asio/ip/v6_only.hpp
include/kea/asio/is_read_buffered.hpp
include/kea/asio/is_write_buffered.hpp
include/kea/asio/local/
include/kea/asio/local/basic_endpoint.hpp
include/kea/asio/local/connect_pair.hpp
include/kea/asio/local/datagram_protocol.hpp
include/kea/asio/local/detail/
include/kea/asio/local/detail/endpoint.hpp
include/kea/asio/local/detail/impl/
include/kea/asio/local/detail/impl/endpoint.ipp
include/kea/asio/local/stream_protocol.hpp
include/kea/asio/placeholders.hpp
include/kea/asio/posix/
include/kea/asio/posix/basic_descriptor.hpp
include/kea/asio/posix/basic_stream_descriptor.hpp
include/kea/asio/posix/descriptor_base.hpp
include/kea/asio/posix/stream_descriptor.hpp
include/kea/asio/posix/stream_descriptor_service.hpp
include/kea/asio/raw_socket_service.hpp
include/kea/asio/read.hpp
include/kea/asio/read_at.hpp
include/kea/asio/read_until.hpp
include/kea/asio/serial_port.hpp
include/kea/asio/serial_port_base.hpp
include/kea/asio/serial_port_service.hpp
include/kea/asio/socket_acceptor_service.hpp
include/kea/asio/socket_base.hpp
include/kea/asio/ssl/
include/kea/asio/ssl.hpp
include/kea/asio/ssl/basic_context.hpp
include/kea/asio/ssl/context.hpp
include/kea/asio/ssl/context_base.hpp
include/kea/asio/ssl/context_service.hpp
include/kea/asio/ssl/detail/
include/kea/asio/ssl/detail/openssl_context_service.hpp
include/kea/asio/ssl/detail/openssl_init.hpp
include/kea/asio/ssl/detail/openssl_operation.hpp
include/kea/asio/ssl/detail/openssl_stream_service.hpp
include/kea/asio/ssl/detail/openssl_types.hpp
include/kea/asio/ssl/stream.hpp
include/kea/asio/ssl/stream_base.hpp
include/kea/asio/ssl/stream_service.hpp
include/kea/asio/strand.hpp
include/kea/asio/stream_socket_service.hpp
include/kea/asio/streambuf.hpp
include/kea/asio/system_error.hpp
include/kea/asio/thread.hpp
include/kea/asio/time_traits.hpp
include/kea/asio/version.hpp
include/kea/asio/windows/
include/kea/asio/windows/basic_handle.hpp
include/kea/asio/windows/basic_random_access_handle.hpp
include/kea/asio/windows/basic_stream_handle.hpp
include/kea/asio/windows/overlapped_ptr.hpp
include/kea/asio/windows/random_access_handle.hpp
include/kea/asio/windows/random_access_handle_service.hpp
include/kea/asio/windows/stream_handle.hpp
include/kea/asio/windows/stream_handle_service.hpp
include/kea/asio/write.hpp
include/kea/asio/write_at.hpp
include/kea/asiolink/
include/kea/asiolink/io_address.h
include/kea/config.h
include/kea/dhcp/
include/kea/dhcp/classify.h
include/kea/dhcp/dhcp4.h
include/kea/dhcp/dhcp6.h
include/kea/dhcp/duid.h
include/kea/dhcp/hwaddr.h
include/kea/dhcp/iface_mgr.h
include/kea/dhcp/libdhcp++.h
include/kea/dhcp/option.h
include/kea/dhcp/option4_addrlst.h
include/kea/dhcp/option6_addrlst.h
include/kea/dhcp/option6_ia.h
include/kea/dhcp/option6_iaaddr.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_space.h
include/kea/dhcp/option_string.h
include/kea/dhcp/pkt.h
include/kea/dhcp/pkt4.h
include/kea/dhcp/pkt6.h
include/kea/dhcp/pkt_filter.h
include/kea/dhcp/pkt_filter_inet.h
include/kea/dhcp/pkt_filter_lpf.h
include/kea/dhcp/protocol_util.h
include/kea/dhcp/std_option_defs.h
include/kea/dns/
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_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/opcode.h
include/kea/dns/question.h
include/kea/dns/rcode.h
include/kea/dns/rdata.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/tsigkey.h
include/kea/dns/zone_checker.h
include/kea/exceptions/
include/kea/exceptions/exceptions.h
include/kea/hooks/
include/kea/hooks/callout_handle.h
include/kea/hooks/callout_manager.h
include/kea/hooks/hooks.h
include/kea/hooks/library_handle.h
include/kea/hooks/server_hooks.h
include/kea/log/
include/kea/log/log_dbglevels.h
include/kea/log/log_formatter.h
include/kea/log/logger.h
include/kea/log/logger_level.h
include/kea/log/macros.h
include/kea/log/message_initializer.h
include/kea/log/message_types.h
include/kea/stats/
include/kea/stats/stats_mgr.h
include/kea/util/
include/kea/util/buffer.h
include/kea/util/io_utilities.h
lib/libkea-asiodns.la
@lib lib/libkea-asiodns.so.${LIBkea-asiodns_VERSION}
lib/libkea-asiolink.la
@lib lib/libkea-asiolink.so.${LIBkea-asiolink_VERSION}
lib/libkea-cc.la
@lib lib/libkea-cc.so.${LIBkea-cc_VERSION}
lib/libkea-cfgclient.la
@lib lib/libkea-cfgclient.so.${LIBkea-cfgclient_VERSION}
lib/libkea-cryptolink.la
@lib lib/libkea-cryptolink.so.${LIBkea-cryptolink_VERSION}
lib/libkea-dhcp++.la
@lib lib/libkea-dhcp++.so.${LIBkea-dhcp++_VERSION}
lib/libkea-dhcp_ddns.la
@lib lib/libkea-dhcp_ddns.so.${LIBkea-dhcp_ddns_VERSION}
lib/libkea-dhcpsrv.la
@lib lib/libkea-dhcpsrv.so.${LIBkea-dhcpsrv_VERSION}
lib/libkea-dns++.la
@lib lib/libkea-dns++.so.${LIBkea-dns++_VERSION}
lib/libkea-exceptions.la
@lib lib/libkea-exceptions.so.${LIBkea-exceptions_VERSION}
lib/libkea-hooks.la
@lib lib/libkea-hooks.so.${LIBkea-hooks_VERSION}
lib/libkea-log.la
@lib lib/libkea-log.so.${LIBkea-log_VERSION}
lib/libkea-stats.la
@lib lib/libkea-stats.so.${LIBkea-stats_VERSION}
lib/libkea-threads.la
@lib lib/libkea-threads.so.${LIBkea-threads_VERSION}
lib/libkea-util-io.la
@lib lib/libkea-util-io.so.${LIBkea-util-io_VERSION}
lib/libkea-util.la
@lib lib/libkea-util.so.${LIBkea-util_VERSION}
lib/pkgconfig/dns++.pc
@man man/man8/kea-admin.8
@man man/man8/kea-dhcp-ddns.8
@man man/man8/kea-dhcp4.8
@man man/man8/kea-dhcp6.8
@man man/man8/kea-lfc.8
@man man/man8/keactrl.8
@man man/man8/perfdhcp.8
sbin/kea-admin
@bin sbin/kea-dhcp-ddns
@bin sbin/kea-dhcp4
@bin sbin/kea-dhcp6
@bin sbin/kea-lfc
sbin/keactrl
@bin sbin/perfdhcp
share/doc/kea/
share/doc/kea/AUTHORS
share/doc/kea/COPYING
share/doc/kea/ChangeLog
share/doc/kea/README
share/doc/kea/examples/
share/doc/kea/examples/ddns/
share/doc/kea/examples/ddns/sample1.json
share/doc/kea/examples/ddns/template.json
share/doc/kea/examples/kea4/
share/doc/kea/examples/kea4/multiple-options.json
share/doc/kea/examples/kea4/reservations.json
share/doc/kea/examples/kea4/several-subnets.json
share/doc/kea/examples/kea4/single-subnet.json
share/doc/kea/examples/kea6/
share/doc/kea/examples/kea6/advanced.json
share/doc/kea/examples/kea6/multiple-options.json
share/doc/kea/examples/kea6/reservations.json
share/doc/kea/examples/kea6/several-subnets.json
share/doc/kea/examples/kea6/simple.json
share/doc/kea/examples/kea6/stateless.json
share/doc/kea/kea-guide.css
share/doc/kea/kea-guide.html
share/doc/kea/kea-guide.txt
share/doc/kea/kea-messages.html
@mode 0750
@group _kea
@sample /${SYSCONFDIR}/kea/
@mode
@group
share/examples/kea/
share/examples/kea/kea.conf
@mode 0640
@group _kea
@sample ${SYSCONFDIR}/kea/kea.conf
@mode
@group
share/examples/kea/keactrl.conf
@mode 0640
@group _kea
@sample ${SYSCONFDIR}/kea/keactrl.conf
@mode
@group
share/kea/
share/kea/dhcp-ddns.spec
share/kea/dhcp4.spec
share/kea/dhcp6.spec
share/kea/scripts/
share/kea/scripts/admin-utils.sh
share/kea/scripts/mysql/
share/kea/scripts/mysql/dhcpdb_create.mysql
share/kea/scripts/mysql/lease_dump_1.0.sh
share/kea/scripts/mysql/lease_dump_2.0.sh
share/kea/scripts/mysql/lease_dump_3.0.sh
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/pgsql/
share/kea/scripts/pgsql/dhcpdb_create.pgsql
share/kea/scripts/pgsql/lease_dump_1.0.sh
@sample ${LOCALSTATEDIR}/kea/
@rcscript ${RCDIR}/kea

33
net/kea/pkg/kea.rc Normal file
View File

@ -0,0 +1,33 @@
#!/bin/sh
#
# $OpenBSD: kea.rc,v 1.1.1.1 2015/12/23 13:40:53 sthen Exp $
daemon="${TRUEPREFIX}/sbin/keactrl"
. /etc/rc.d/rc.subr
pexp="${TRUEPREFIX}/sbin/kea-dhcp(4|6|-ddns)"
rc_pre() {
if ! [ -d ${LOCALSTATEDIR}/run/kea ]; then
install -d -o root -g _kea -m 775 ${LOCALSTATEDIR}/run/kea
fi
}
rc_start() {
${rcexec} "${daemon} start"
}
rc_reload() {
${daemon} reload
}
rc_check() {
pgrep -q -f "${pexp}"
}
rc_stop() {
${daemon} stop
}
rc_cmd $1