commit: 8f8e748c8941bc27b0c783d752ff83f9de7d4f5b Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net> AuthorDate: Sat Nov 22 11:38:38 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 10 12:55:51 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8e748c
app-admin/passwordsafe: add 1.23.0 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net> Part-of: https://github.com/gentoo/gentoo/pull/44724 Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/passwordsafe/Manifest | 1 + app-admin/passwordsafe/passwordsafe-1.23.0.ebuild | 70 +++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest index 7ec52392100a..eb0bbe5662e0 100644 --- a/app-admin/passwordsafe/Manifest +++ b/app-admin/passwordsafe/Manifest @@ -1,2 +1,3 @@ DIST passwordsafe-1.20.0.tar.gz 15752332 BLAKE2B 519437928d402790b4db72e251355479341fdf0fb49f2dd5705357cce7051f12ab952d7da7c23b5b304b7ab0da0cbd9a0a26c2a13a18db8e5472c834026a5e3d SHA512 5cfc2f497747fbdf69f6d7a1b96b0309ff87e9ca32a92d012de68d51b1e93df527b11968466c1834a17a815917023fe3e36b7ec7ae1aeb372070f86af96e782d DIST passwordsafe-1.22.0.tar.gz 17674235 BLAKE2B af9adf2040c42a853aad18d2e9bcf7216f0a7f5364c730b2d7bcbcabcc762fc31f82d52d898a326efdb67d86069b6dfa6229101d51e8d82f40338ef7daf6efaa SHA512 ff787b08653a923b6f542754e1d9cadc60fb37892a428ac5206cf05ab5a8f29e66c8c2791c826f40c2f27cabcdd704f54a4fbdd330177b7b1825e3e72698860e +DIST passwordsafe-1.23.0.tar.gz 26471858 BLAKE2B a5dd7be4f81a3fccdc155d4d5acf72093b873f10bcad43021ede92e5f1778b38435d921ddd0448ac72c21e77de41b732bdba13463d8d3d5f60aef6eb7dc54a0e SHA512 8fe2ee5603ab2c7287d8bc1ff4a16e79ed7fbdd703d235ac1533e7d236658cba5812e6d8a402ad318188128cb76640d396874889328fa9388fb371cdb7f6a145 diff --git a/app-admin/passwordsafe/passwordsafe-1.23.0.ebuild b/app-admin/passwordsafe/passwordsafe-1.23.0.ebuild new file mode 100644 index 000000000000..21533d09d83e --- /dev/null +++ b/app-admin/passwordsafe/passwordsafe-1.23.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.2-gtk3" + +inherit cmake optfeature wxwidgets xdg + +MY_PV="${PV/_beta/BETA}" +DESCRIPTION="Password manager with wxGTK based frontend" +HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/" +SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/pwsafe-${MY_PV}" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="qr test +xml yubikey" +RESTRICT="!test? ( test )" + +RDEPEND=" + net-misc/curl + sys-apps/file + sys-apps/util-linux + x11-libs/libX11 + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER}=[X] + qr? ( media-gfx/qrencode:= ) + xml? ( dev-libs/xerces-c:= ) + yubikey? ( sys-auth/ykpers )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND=" + app-arch/zip + dev-lang/perl + sys-devel/gettext + virtual/pkgconfig + test? ( dev-cpp/gtest )" + +PATCHES=( "${FILESDIR}/passwordsafe-1.20.0-CMake.patch" ) + +src_configure() { + setup-wxwidgets + + local mycmakeargs=( + -DNO_QR=$(usex !qr) + -DNO_GTEST=$(usex !test) + -DGTEST_BUILD=OFF + -DXML_XERCESC=$(usex xml) + -DNO_YUBI=$(usex !yubikey) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + pushd "${BUILD_DIR}" || die + dosym pwsafe /usr/bin/${PN} + dosym pwsafe-cli /usr/bin/${PN}-cli +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + optfeature "on-screen keyboard for password entry" x11-misc/xvkbd +}
