commit:     7be914d238d7bba1728477547008e4efdf9bb8d4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 01:52:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr  7 01:57:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be914d2

app-arch/rpm: add note about NSS deprecation to ebuild

4.16.0 warns:
"configure: WARNING: Using the nss library with rpm is deprecated and
support will be removed in a future release!"

Only libgcrypt (default) and openssl are not deprecated. Need to consider
this for a revbump or future releases.

Bug: https://bugs.gentoo.org/780684
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/rpm/rpm-4.16.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-arch/rpm/rpm-4.16.0.ebuild b/app-arch/rpm/rpm-4.16.0.ebuild
index 071d60b3c1d..af422db8c46 100644
--- a/app-arch/rpm/rpm-4.16.0.ebuild
+++ b/app-arch/rpm/rpm-4.16.0.ebuild
@@ -83,6 +83,10 @@ src_prepare() {
 
 src_configure() {
        append-cppflags -I"${EPREFIX}/usr/include/nss" 
-I"${EPREFIX}/usr/include/nspr"
+       # NOTE: 4.16.0 warns:
+       # "configure: WARNING: Using the nss library with rpm is deprecated and 
support will be removed in a future release!"
+       # Only libgcrypt (default) and openssl are not deprecated. We should 
consider this.
+       # bug #780684
        econf \
                --without-selinux \
                --with-crypto=nss \

Reply via email to