blob: 6b537112c73f7a21c7c510ae5d57eb14ec73bcae [file] [log] [blame]
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05001SUMMARY = "OpenDNSSEC is a policy-based zone signer that automates the process of keeping track of DNSSEC keys and the signing of zones"
2
Andrew Geissler5199d832021-09-24 16:47:35 -05003LICENSE = "BSD-2-Clause"
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05004LIC_FILES_CHKSUM = "file://LICENSE;md5=b041dbe2da80d4efd951393fbba90937"
5
6DEPENDS = "libxml2 openssl ldns libmicrohttpd jansson libyaml "
7
Andrew Geissler8b139282021-03-05 15:22:30 -06008SRC_URI = "https://dist.opendnssec.org/source/opendnssec-${PV}.tar.gz \
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05009 file://libxml2_conf.patch \
10 file://libdns_conf_fix.patch \
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050011 "
12
Patrick Williams53961c22022-01-20 11:06:23 -060013SRC_URI[sha256sum] = "c0a8427de241118dccbf7abc508e4dd53fb75b45e9f386addbadae7ecc092756"
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050014
15inherit autotools pkgconfig perlnative
16
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050017EXTRA_OECONF = " --with-libxml2=${STAGING_DIR_HOST}/usr --with-ldns=${STAGING_DIR_HOST}/usr \
18 --with-ssl=${STAGING_DIR_HOST}/usr "
19
20CFLAGS += "-fcommon"
21
22PACKAGECONFIG ?= "sqlite3"
23
24PACKAGECONFIG[cunit] = "--with-cunit=${STAGING_DIR_HOST}/usr, --without-cunit,"
25PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_DIR_HOST}/usr, ,sqlite3, sqlite3"
26PACKAGECONFIG[mysql] = "--with-mysql=yes, , mariadb, mariadb"
27PACKAGECONFIG[readline] = "--with-readline, --without-readline, readline"
28PACKAGECONFIG[unwind] = "--with-libunwind, --without-libunwind"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030do_install:append () {
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050031 rm -rf ${D}${localstatedir}/run
32}
33
Patrick Williams213cb262021-08-07 19:21:33 -050034RDEPENDS:${PN} = "softhsm"
Patrick Williams53961c22022-01-20 11:06:23 -060035
36PNBLACKLIST[opendnssec] ?= "Needs porting to openssl 3.x"