opendnssec: add recipe
PATCH 1/1 opendnssec: add recipe
Signed-off-by Armin Kuster <[email protected]>
--- .../opendnssec/files/fix_fprint.patch | 25 ++ .../opendnssec/files/libdns_conf_fix.patch | 217 ++++++++++++++++++ .../opendnssec/files/libxml2_conf.patch | 112 +++++++++ .../opendnssec/opendnssec_2.1.6.bb | 37 +++ 4 files changed, 391 insertions(+) create mode 100644 recipes-security/opendnssec/files/fix_fprint.patch create mode 100644 recipes-security/opendnssec/files/libdns_conf_fix.patch create mode 100644 recipes-security/opendnssec/files/libxml2_conf.patch create mode 100644 recipes-security/opendnssec/opendnssec_2.1.6.bb
recipes-security/opendnssec/files/fix_fprint.patch new file +25 -0
@@ -0,0 +1,25 @@ +format not a string literal and no format arguments + +missing module_str in call + +Upstream-Status: Pending +Signed-off-by: Armin Kuster <[email protected]> + +../../../git/enforcer/src/keystate/keystate_ds.c:192:7: error: format not a string literal and no format arguments [-Werror=format-security] +| 192 | ods_log_error_and_printf(sockfd, "Failed to run %s", cp_ds); +| | ^~~~~~~~~~~~~~~~~~~~~~~~ + + +Index: git/enforcer/src/keystate/keystate_ds.c +=================================================================== +--- git.orig/enforcer/src/keystate/keystate_ds.c ++++ git/enforcer/src/keystate/keystate_ds.c +@@ -189,7 +189,7 @@ exec_dnskey_by_id(int sockfd, struct dbw + status = 0; + } + else { +- ods_log_error_and_printf(sockfd, "Failed to run %s", cp_ds); ++ ods_log_error_and_printf(sockfd, module_str, "Failed to run %s", cp_ds); + status = 7; + } + }
recipes-security/opendnssec/files/libdns_conf_fix.patch new file +217 -0
217 lines not on this page · raw message
recipes-security/opendnssec/files/libxml2_conf.patch new file +112 -0
112 lines not on this page · raw message
recipes-security/opendnssec/opendnssec_2.1.6.bb new file +37 -0
@@ -0,0 +1,37 @@ +SUMMARY = "OpenDNSSEC is a policy-based zone signer that automates the process of keeping track of DNSSEC keys and the signing of zones" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b041dbe2da80d4efd951393fbba90937" + +DEPENDS = "libxml2 openssl ldns libmicrohttpd jansson libyaml " + +SRC_URI = "git://github.com/opendnssec/opendnssec;branch=develop \ + file://libxml2_conf.patch \ + file://libdns_conf_fix.patch \ + file://fix_fprint.patch \ + " + +SRCREV = "5876bccb38428790e2e9afc806ca68b029879874" + +inherit autotools pkgconfig perlnative + +S = "${WORKDIR}/git" + +EXTRA_OECONF = " --with-libxml2=${STAGING_DIR_HOST}/usr --with-ldns=${STAGING_DIR_HOST}/usr \ + --with-ssl=${STAGING_DIR_HOST}/usr " + +CFLAGS += "-fcommon" + +PACKAGECONFIG ?= "sqlite3" + +PACKAGECONFIG[cunit] = "--with-cunit=${STAGING_DIR_HOST}/usr, --without-cunit," +PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_DIR_HOST}/usr, ,sqlite3, sqlite3" +PACKAGECONFIG[mysql] = "--with-mysql=yes, , mariadb, mariadb" +PACKAGECONFIG[readline] = "--with-readline, --without-readline, readline" +PACKAGECONFIG[unwind] = "--with-libunwind, --without-libunwind" + +do_install_append () { + rm -rf ${D}${localstatedir}/run +} + +RDEPENDS_${PN} = "softhsm"
Signature · 1 line
2.17.1