commit: 83f1ca506ece6040cfc937738bdbc928ba909372 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: Thu Apr 25 20:42:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f1ca50
net-libs/signond: Add pkg_postinst warning Closes: https://bugs.gentoo.org/642420 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> net-libs/signond/signond-8.61-r100.ebuild | 8 ++++++++ net-libs/signond/signond-8.61.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/net-libs/signond/signond-8.61-r100.ebuild b/net-libs/signond/signond-8.61-r100.ebuild index 3a6494c050a6..1c3cc37a6396 100644 --- a/net-libs/signond/signond-8.61-r100.ebuild +++ b/net-libs/signond/signond-8.61-r100.ebuild @@ -143,3 +143,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 +} diff --git a/net-libs/signond/signond-8.61.ebuild b/net-libs/signond/signond-8.61.ebuild index e1079e2ed2f8..6f21b1bec048 100644 --- a/net-libs/signond/signond-8.61.ebuild +++ b/net-libs/signond/signond-8.61.ebuild @@ -70,3 +70,11 @@ src_configure() { src_install() { emake INSTALL_ROOT="${D}" 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 +}