blob: 2b79609faec0f1fd855e6000eaa8a62950b0fbd6 [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 Geisslera1a6aef2021-06-25 14:23:58 -050013SRC_URI[sha256sum] = "6d1d466c8d7f507f3e665f4bfe4d16a68d6bff9d7c2ab65f852e2b2a821c28b5"
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"