summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2021-11-27 14:40:15 -1000
committerMarc Schiffbauer <mschiff@gentoo.org>2021-11-27 14:40:55 -1000
commita93883869c71373646f69d6fd5c70fd8052c65c4 (patch)
tree884eade6cb51c2956e32e853c90868d47ccba62a /net-dns/opendnssec/files
parentnet-misc/batctl: Remove outdated ebuild (diff)
downloadgentoo-a93883869c71373646f69d6fd5c70fd8052c65c4.tar.gz
gentoo-a93883869c71373646f69d6fd5c70fd8052c65c4.tar.bz2
gentoo-a93883869c71373646f69d6fd5c70fd8052c65c4.zip
net-dns/opendnssec: add 2.1.10, drop 2.0.3-r2
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'net-dns/opendnssec/files')
-rw-r--r--net-dns/opendnssec/files/opendnssec-drop-privileges-2.0.x.patch29
-rw-r--r--net-dns/opendnssec/files/opendnssec-fix-localstatedir-2.0.x.patch22
-rw-r--r--net-dns/opendnssec/files/opendnssec-fix-run-dir-2.0.x.patch24
-rw-r--r--net-dns/opendnssec/files/opendnssec-fix-run-dir-2.1.x.patch24
-rw-r--r--net-dns/opendnssec/files/opendnssec-openssl1.1.patch55
5 files changed, 24 insertions, 130 deletions
diff --git a/net-dns/opendnssec/files/opendnssec-drop-privileges-2.0.x.patch b/net-dns/opendnssec/files/opendnssec-drop-privileges-2.0.x.patch
deleted file mode 100644
index f3adc487dee9..000000000000
--- a/net-dns/opendnssec/files/opendnssec-drop-privileges-2.0.x.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -ur opendnssec-2.0.1.orig/conf/conf.xml.in opendnssec-2.0.1/conf/conf.xml.in
---- opendnssec-2.0.1.orig/conf/conf.xml.in 2016-07-21 16:15:27.000000000 +0200
-+++ opendnssec-2.0.1/conf/conf.xml.in 2016-08-23 15:21:09.633384446 +0200
-@@ -36,12 +36,10 @@
- </Common>
-
- <Enforcer>
--<!--
- <Privileges>
- <User>opendnssec</User>
- <Group>opendnssec</Group>
- </Privileges>
---->
-
- <Datastore><SQLite>@OPENDNSSEC_STATE_DIR@/kasp.db</SQLite></Datastore>
- <!--The enforcer interval parameter is no long used in 2.0 and will be deprecated in 2.1 -->
-@@ -60,12 +58,10 @@
- </Enforcer>
-
- <Signer>
--<!--
- <Privileges>
- <User>opendnssec</User>
- <Group>opendnssec</Group>
- </Privileges>
---->
-
- <WorkingDirectory>@OPENDNSSEC_STATE_DIR@/signer</WorkingDirectory>
- <WorkerThreads>4</WorkerThreads>
diff --git a/net-dns/opendnssec/files/opendnssec-fix-localstatedir-2.0.x.patch b/net-dns/opendnssec/files/opendnssec-fix-localstatedir-2.0.x.patch
deleted file mode 100644
index 5940c2f050e6..000000000000
--- a/net-dns/opendnssec/files/opendnssec-fix-localstatedir-2.0.x.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ur opendnssec-2.0.1.orig/Makefile.am opendnssec-2.0.1/Makefile.am
---- opendnssec-2.0.1.orig/Makefile.am 2016-07-21 16:15:00.000000000 +0200
-+++ opendnssec-2.0.1/Makefile.am 2016-08-23 14:01:50.618393034 +0200
-@@ -30,12 +30,12 @@
-
- install-data-hook:
- $(INSTALL) -d $(DESTDIR)$(localstatedir)
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec/signer
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec/enforcer
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec/signconf
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec/unsigned
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec/signed
-+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec
-+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signer
-+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/enforcer
-+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signconf
-+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/unsigned
-+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signed
- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run
- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run/opendnssec
-
diff --git a/net-dns/opendnssec/files/opendnssec-fix-run-dir-2.0.x.patch b/net-dns/opendnssec/files/opendnssec-fix-run-dir-2.0.x.patch
deleted file mode 100644
index 5ea9c80f2ba7..000000000000
--- a/net-dns/opendnssec/files/opendnssec-fix-run-dir-2.0.x.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur opendnssec-2.0.1.orig/m4/opendnssec_common.m4 opendnssec-2.0.1/m4/opendnssec_common.m4
---- opendnssec-2.0.1.orig/m4/opendnssec_common.m4 2016-07-21 16:15:00.000000000 +0200
-+++ opendnssec-2.0.1/m4/opendnssec_common.m4 2016-08-23 14:42:35.033460972 +0200
-@@ -17,7 +17,7 @@
- OPENDNSSEC_DATA_DIR=$full_datadir/opendnssec
- OPENDNSSEC_SYSCONF_DIR=$full_sysconfdir/opendnssec
- OPENDNSSEC_LOCALSTATE_DIR="$full_localstatedir/opendnssec"
--OPENDNSSEC_PID_DIR="$full_localstatedir/run/opendnssec"
-+OPENDNSSEC_PID_DIR="${destdir}/run/opendnssec"
-
- AC_SUBST([OPENDNSSEC_BIN_DIR])
- AC_SUBST([OPENDNSSEC_SBIN_DIR])
-diff -ur opendnssec-2.0.1.orig/Makefile.am opendnssec-2.0.1/Makefile.am
---- opendnssec-2.0.1.orig/Makefile.am 2016-08-23 14:40:10.009951791 +0200
-+++ opendnssec-2.0.1/Makefile.am 2016-08-23 14:43:20.377870776 +0200
-@@ -36,8 +36,6 @@
- $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signconf
- $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/unsigned
- $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signed
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run
-- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run/opendnssec
-
- docs:
- (cd libhsm; $(MAKE) doxygen)
diff --git a/net-dns/opendnssec/files/opendnssec-fix-run-dir-2.1.x.patch b/net-dns/opendnssec/files/opendnssec-fix-run-dir-2.1.x.patch
new file mode 100644
index 000000000000..87560e090e82
--- /dev/null
+++ b/net-dns/opendnssec/files/opendnssec-fix-run-dir-2.1.x.patch
@@ -0,0 +1,24 @@
+diff -ur opendnssec-2.1.10.orig/m4/opendnssec_common.m4 opendnssec-2.1.10/m4/opendnssec_common.m4
+--- opendnssec-2.1.10.orig/m4/opendnssec_common.m4 2021-09-10 09:11:17.000000000 -1000
++++ opendnssec-2.1.10/m4/opendnssec_common.m4 2021-11-27 14:18:26.430202347 -1000
+@@ -17,7 +17,7 @@
+ OPENDNSSEC_DATA_DIR=$full_datadir/opendnssec
+ OPENDNSSEC_SYSCONF_DIR=$full_sysconfdir/opendnssec
+ OPENDNSSEC_LOCALSTATE_DIR="$full_localstatedir/opendnssec"
+-OPENDNSSEC_PID_DIR="$full_localstatedir/run/opendnssec"
++OPENDNSSEC_PID_DIR="${destdir}/run/opendnssec"
+
+ AC_SUBST([OPENDNSSEC_BIN_DIR])
+ AC_SUBST([OPENDNSSEC_SBIN_DIR])
+diff -ur opendnssec-2.1.10.orig/Makefile.am opendnssec-2.1.10/Makefile.am
+--- opendnssec-2.1.10.orig/Makefile.am 2021-09-10 09:11:17.000000000 -1000
++++ opendnssec-2.1.10/Makefile.am 2021-11-27 14:19:02.685418411 -1000
+@@ -38,8 +38,6 @@
+ $(INSTALL) @INSTALLATIONUSERARG@ @INSTALLATIONGROUPARG@ -d $(DESTDIR)$(localstatedir)/opendnssec/signconf
+ $(INSTALL) @INSTALLATIONUSERARG@ @INSTALLATIONGROUPARG@ -d $(DESTDIR)$(localstatedir)/opendnssec/unsigned
+ $(INSTALL) @INSTALLATIONUSERARG@ @INSTALLATIONGROUPARG@ -d $(DESTDIR)$(localstatedir)/opendnssec/signed
+- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run
+- $(INSTALL) @INSTALLATIONUSERARG@ @INSTALLATIONGROUPARG@ -d $(DESTDIR)$(localstatedir)/run/opendnssec
+
+ docs:
+ (cd libhsm; $(MAKE) doxygen)
diff --git a/net-dns/opendnssec/files/opendnssec-openssl1.1.patch b/net-dns/opendnssec/files/opendnssec-openssl1.1.patch
deleted file mode 100644
index b81068c4b9fd..000000000000
--- a/net-dns/opendnssec/files/opendnssec-openssl1.1.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- a/signer/src/wire/tsig-openssl.c
-+++ b/signer/src/wire/tsig-openssl.c
-@@ -126,7 +126,11 @@ static void
- cleanup_context(void *data)
- {
- HMAC_CTX* context = (HMAC_CTX*) data;
-+#ifdef HAVE_SSL_NEW_HMAC
-+ HMAC_CTX_free(context);
-+#else
- HMAC_CTX_cleanup(context);
-+#endif
- }
-
- static void
-@@ -146,8 +150,13 @@ static void*
- create_context()
- {
- HMAC_CTX* context;
-+#ifdef HAVE_SSL_NEW_HMAC
-+ CHECKALLOC(context = HMAC_CTX_new());
-+ HMAC_CTX_reset(context);
-+#else
- CHECKALLOC(context = (HMAC_CTX*) malloc(sizeof(HMAC_CTX)));
- HMAC_CTX_init(context);
-+#endif
- context_add_cleanup(context);
- return context;
- }
---- a/m4/acx_ssl.m4 2016-10-14 09:40:13.000000000 -0400
-+++ b/m4/acx_ssl.m4 2019-02-18 13:52:49.861127549 -0500
-@@ -35,12 +35,21 @@
- if test x_$ssldir = x_/usr/sfw; then
- SSL_LIBS="$SSL_LIBS -R$ssldir/lib";
- fi
-- AC_CHECK_LIB(crypto, HMAC_CTX_init,, [
-- AC_MSG_ERROR([OpenSSL found in $ssldir, but version 0.9.7 or higher is required])
-- ])
-+ save_LIBS=$LIBS
-+ AC_CHECK_LIB(crypto, HMAC_CTX_reset, [
-+ AC_DEFINE_UNQUOTED([HAVE_SSL_NEW_HMAC], [], [Define if you have the SSL libraries with new HMAC related functions.])
-+ ], [
-+ AC_CHECK_LIB(crypto, HMAC_CTX_init,, [
-+ AC_MSG_ERROR([OpenSSL found in $ssldir, but version 0.9.7 or higher is required])
-+ ])
-+ ] )
-+ SSL_LIBS="$SSL_LIBS -lcrypto";
-+ LIBS="$SSL_LIBS $LIBS"
- AC_CHECK_FUNCS([EVP_sha1 EVP_sha256])
-+ LIBS=$saveLIBS
- fi
- AC_SUBST(HAVE_SSL)
-+ AC_SUBST(HAVE_SSL_NEW_HMAC)
- AC_SUBST(SSL_INCLUDES)
- AC_SUBST(SSL_LIBS)
- fi