summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-02-03 20:36:14 -0500
committerMike Gilbert <floppym@gentoo.org>2023-02-03 20:36:14 -0500
commit1cb751e862be780084c4d9a1ae09bc19c783b55d (patch)
tree7876ca96bc320b4a719b49f1bb2b7019b8453471 /dev-libs
parentx11-terms/kitty: generate kitty.conf in 0.27.0 too (diff)
downloadgentoo-1cb751e862be780084c4d9a1ae09bc19c783b55d.tar.gz
gentoo-1cb751e862be780084c4d9a1ae09bc19c783b55d.tar.bz2
gentoo-1cb751e862be780084c4d9a1ae09bc19c783b55d.zip
dev-libs/openssl: replace c_rehash with openssl rehash
Bug: https://bugs.gentoo.org/855494 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openssl/openssl-1.1.1s-r2.ebuild (renamed from dev-libs/openssl/openssl-1.1.1s-r1.ebuild)6
-rw-r--r--dev-libs/openssl/openssl-3.0.7-r3.ebuild (renamed from dev-libs/openssl/openssl-3.0.7-r2.ebuild)5
2 files changed, 5 insertions, 6 deletions
diff --git a/dev-libs/openssl/openssl-1.1.1s-r1.ebuild b/dev-libs/openssl/openssl-1.1.1s-r2.ebuild
index 910d8fcfbda4..e9c80f3f1ea3 100644
--- a/dev-libs/openssl/openssl-1.1.1s-r1.ebuild
+++ b/dev-libs/openssl/openssl-1.1.1s-r2.ebuild
@@ -22,7 +22,7 @@ fi
IUSE="+asm rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test tls-compression tls-heartbeat vanilla verify-sig weak-ssl-ciphers"
RESTRICT="!test? ( test )"
-RDEPEND=">=app-misc/c_rehash-1.7-r1
+RDEPEND="
tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
BDEPEND="
@@ -334,7 +334,7 @@ multilib_src_install_all() {
}
pkg_postinst() {
- ebegin "Running 'c_rehash ${EROOT}${SSL_CNF_DIR}/certs/' to rebuild hashes (bug #333069)"
- c_rehash "${EROOT}${SSL_CNF_DIR}/certs" >/dev/null
+ ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)"
+ openssl rehash "${EROOT}${SSL_CNF_DIR}/certs"
eend $?
}
diff --git a/dev-libs/openssl/openssl-3.0.7-r2.ebuild b/dev-libs/openssl/openssl-3.0.7-r3.ebuild
index e83dd0df830b..4c45fff5299e 100644
--- a/dev-libs/openssl/openssl-3.0.7-r2.ebuild
+++ b/dev-libs/openssl/openssl-3.0.7-r3.ebuild
@@ -30,7 +30,6 @@ IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compre
RESTRICT="!test? ( test )"
COMMON_DEPEND="
- >=app-misc/c_rehash-1.7-r1
tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
"
BDEPEND="
@@ -320,7 +319,7 @@ multilib_src_install_all() {
}
pkg_postinst() {
- ebegin "Running 'c_rehash ${EROOT}${SSL_CNF_DIR}/certs/' to rebuild hashes (bug #333069)"
- c_rehash "${EROOT}${SSL_CNF_DIR}/certs" >/dev/null
+ ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)"
+ openssl rehash "${EROOT}${SSL_CNF_DIR}/certs"
eend $?
}