rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / pdns-recursor / Makefile
bloba835bfcc6a38e7a2de9261e11ba71088f24cf707
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 # Copyright 2023 Klaus Ziegler
14 # Copyright 2023 Niklas Poslovski
17 OPENSSL_VERSION= 3.1
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= pdns-recursor
21 COMPONENT_VERSION= 4.9.6
22 COMPONENT_SUMMARY= Non-authoritative/recursing DNS server
23 COMPONENT_PROJECT_URL= https://www.powerdns.com/powerdns-recursor
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
26 COMPONENT_ARCHIVE_HASH= sha256:27f7c5c9ee3d371dcde2ec8c4a3979d191fc842e9843ff49a82a3f29187bc385
27 COMPONENT_ARCHIVE_URL= https://downloads.powerdns.com/releases/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= service/network/dns/powerdns-recursor
29 COMPONENT_CLASSIFICATION= System/Services
30 COMPONENT_LICENSE= GPLv2
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_MAKE_RULES)/common.mk
35 CXXFLAGS += -g -pthread
37 COMPONENT_PREP_ACTION += ( cd $(@D) && autoreconf -fi )
39 COMPONENT_PRE_CONFIGURE_ACTION = ( $(CLONEY) $(SOURCE_DIR) $(@D) )
41 CONFIGURE_SCRIPT = $(@D)/configure
43 CONFIGURE_OPTIONS += ac_cv_func_EVP_MD_CTX_new=yes
44 CONFIGURE_OPTIONS += ac_cv_func_EVP_MD_CTX_free=yes
45 CONFIGURE_OPTIONS += --sysconfdir=/etc/powerdns
46 CONFIGURE_OPTIONS += --with-lua
47 CONFIGURE_OPTIONS += --enable-reproducible
48 CONFIGURE_OPTIONS += --enable-unit-tests
50 COMPONENT_TEST_TRANSFORMS = $(CONFIGURE_TEST_TRANSFORMS)
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
54 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
55 REQUIRED_PACKAGES += $(OPENSSL_PKG)
56 REQUIRED_PACKAGES += SUNWcs
57 REQUIRED_PACKAGES += library/security/libsodium
58 REQUIRED_PACKAGES += runtime/lua-53
59 REQUIRED_PACKAGES += shell/ksh93
60 REQUIRED_PACKAGES += system/library
61 REQUIRED_PACKAGES += system/library/boost
62 REQUIRED_PACKAGES += system/library/math
63 REQUIRED_PACKAGES += system/management/snmp/net-snmp
64 REQUIRED_PACKAGES += web/curl