commit: b8a6e7fb47a3944c0ebb72efd37b84330fd8d635
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 17 17:52:43 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 21:07:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a6e7fb
kde-plasma/plasma-vault: Add elog about unsupported backends
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/plasma-vault/plasma-vault-6.4.3.ebuild | 25 +++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/kde-plasma/plasma-vault/plasma-vault-6.4.3.ebuild
b/kde-plasma/plasma-vault/plasma-vault-6.4.3.ebuild
index b4ddc51cb8f1..c8c055532d45 100644
--- a/kde-plasma/plasma-vault/plasma-vault-6.4.3.ebuild
+++ b/kde-plasma/plasma-vault/plasma-vault-6.4.3.ebuild
@@ -51,3 +51,28 @@ src_configure() {
ecm_src_configure
}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ local has_deprecated_backend
+ dropping_backend() {
+ if has_version ${2}; then
+ elog "${CATEGORY}/${PN} will drop support for ${1} in
the future."
+ elog "Migrate away from any ${2} vaults before that
happens."
+ elog
+ has_deprecated_backend=1
+ fi
+ }
+
+ dropping_backend CryFS sys-fs/cryfs
+ dropping_backend EncFS sys-fs/encfs
+
+ if [[ has_deprecated_backend ]]; then
+ elog "The only supported backend going forward will be
app-crypt/gocryptfs."
+ elog
+ elog "See also:"
+ elog
"https://invent.kde.org/plasma/plasma-vault/-/merge_requests/57"
+ elog
"https://invent.kde.org/plasma/plasma-vault/-/merge_requests/62"
+ fi
+}