Index: dns/yadifa/files/patch-lib_dnscore_src_dnskey__dsa.c =================================================================== --- dns/yadifa/files/patch-lib_dnscore_src_dnskey__dsa.c (nonexistent) +++ dns/yadifa/files/patch-lib_dnscore_src_dnskey__dsa.c (working copy) @@ -0,0 +1,20 @@ +--- lib/dnscore/src/dnskey_dsa.c.orig 2016-12-16 11:52:17 UTC ++++ lib/dnscore/src/dnskey_dsa.c +@@ -70,7 +70,7 @@ + #error "OPENSSL_VERSION_NUMBER not defined" + #endif + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + /* + * Backward-compatible interface for 0.9.x +@@ -226,7 +226,7 @@ dnskey_dsa_genkey(u32 size) + int err; + DSA* dsa; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + dsa = DSA_generate_parameters(size, NULL,0, NULL, NULL, NULL, NULL); + #else + dsa = DSA_new(); Property changes on: dns/yadifa/files/patch-lib_dnscore_src_dnskey__dsa.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: dns/yadifa/files/patch-lib_dnscore_src_dnskey__ecdsa.c =================================================================== --- dns/yadifa/files/patch-lib_dnscore_src_dnskey__ecdsa.c (nonexistent) +++ dns/yadifa/files/patch-lib_dnscore_src_dnskey__ecdsa.c (working copy) @@ -0,0 +1,11 @@ +--- lib/dnscore/src/dnskey_ecdsa.c.orig 2016-12-16 11:52:17 UTC ++++ lib/dnscore/src/dnskey_ecdsa.c +@@ -79,7 +79,7 @@ + #define DNSKEY_ALGORITHM_ECDSAP256SHA256_NID NID_X9_62_prime256v1 + #define DNSKEY_ALGORITHM_ECDSAP384SHA384_NID NID_secp384r1 + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + #define SSL_FIELD_GET(st_,f_) if(f_ != NULL) { *f_ = st_->f_; } + #define SSL_FIELD_SET(st_,f_) if(f_ != NULL) { BN_free(st_->f_); st_->f_ = f_; } Property changes on: dns/yadifa/files/patch-lib_dnscore_src_dnskey__ecdsa.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: dns/yadifa/files/patch-lib_dnscore_src_dnskey__rsa.c =================================================================== --- dns/yadifa/files/patch-lib_dnscore_src_dnskey__rsa.c (nonexistent) +++ dns/yadifa/files/patch-lib_dnscore_src_dnskey__rsa.c (working copy) @@ -0,0 +1,11 @@ +--- lib/dnscore/src/dnskey_rsa.c.orig 2016-12-16 11:52:17 UTC ++++ lib/dnscore/src/dnskey_rsa.c +@@ -64,7 +64,7 @@ + + #define MODULE_MSG_HANDLE g_system_logger + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + #define SSL_FIELD_GET(st_,f_) if(f_ != NULL) { *f_ = st_->f_; } + #define SSL_FIELD_SET(st_,f_) if(f_ != NULL) { BN_free(st_->f_); st_->f_ = f_; } Property changes on: dns/yadifa/files/patch-lib_dnscore_src_dnskey__rsa.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: dns/yadifa/files/patch-lib_dnscore_src_tsig.c =================================================================== --- dns/yadifa/files/patch-lib_dnscore_src_tsig.c (nonexistent) +++ dns/yadifa/files/patch-lib_dnscore_src_tsig.c (working copy) @@ -0,0 +1,29 @@ +--- lib/dnscore/src/tsig.c.orig 2016-12-16 11:52:17 UTC ++++ lib/dnscore/src/tsig.c +@@ -233,7 +233,7 @@ + tsig_hmac_t + tsig_hmac_allocate() + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L // ie: 0.9.x ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) // ie: 0.9.x + HMAC_CTX *hmac; + ZALLOC_OR_DIE(HMAC_CTX*, hmac, HMAC_CTX, GENERIC_TAG); + HMAC_CTX_init(hmac); +@@ -257,7 +257,7 @@ tsig_hmac_free(tsig_hmac_t t) + { + HMAC_CTX *hmac = (HMAC_CTX*)t; + yassert(hmac != NULL); +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + HMAC_CTX_cleanup(hmac); + ZFREE(t, HMAC_CTX); + #else +@@ -268,7 +268,7 @@ tsig_hmac_free(tsig_hmac_t t) + void tsig_hmac_reset(tsig_hmac_t t) + { + HMAC_CTX *hmac = (HMAC_CTX*)t; +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + HMAC_CTX_cleanup(hmac); + HMAC_CTX_init(hmac); + #else Property changes on: dns/yadifa/files/patch-lib_dnscore_src_tsig.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: dns/yadifa/files/yadifad.in =================================================================== --- dns/yadifa/files/yadifad.in (revision 434792) +++ dns/yadifa/files/yadifad.in (working copy) @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD$ +# $FreeBSD: head/dns/yadifa/files/yadifad.in 340872 2014-01-24 00:14:07Z mat $ # # PROVIDE: yadifad # REQUIRE: SERVERS cleanvar Property changes on: dns/yadifa/files/yadifad.in ___________________________________________________________________ Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property