commit:     472b2c654c64e7e0d273982d668aada4aeee6531
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 22 19:37:09 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr 22 19:37:09 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=472b2c65

net-libs/signond: Add pkg_postinst warning

Bug: https://bugs.gentoo.org/642420
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/signond/signond-9999.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/net-libs/signond/signond-9999.ebuild 
b/net-libs/signond/signond-9999.ebuild
index c5d62f6a87..c138192e2b 100644
--- a/net-libs/signond/signond-9999.ebuild
+++ b/net-libs/signond/signond-9999.ebuild
@@ -132,3 +132,11 @@ src_install() {
 
        multibuild_foreach_variant my_src_install
 }
+
+pkg_postinst() {
+       if [[ -z "${REPLACING_VERSIONS}" ]] && \
+               ! has_version "kde-apps/signon-kwallet-extension:*"; then
+               ewarn "Without kde-apps/signon-kwallet-extension installed, 
passwords"
+               ewarn "will be saved in plaintext!"
+       fi
+}

Reply via email to