blob: cf6bdbdabbf104ac1803ef350fcd25ab5aa886fc [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
3LICENSE = "BSD"
4LIC_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
Andrew Geissler8b139282021-03-05 15:22:30 -060013SRC_URI[sha256sum] = "900a213103ff19a405e446327fbfcea9ec13e405283d87b6ffc24a10d9a268f5"
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
30do_install_append () {
31 rm -rf ${D}${localstatedir}/run
32}
33
34RDEPENDS_${PN} = "softhsm"