From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69F1E15806E for ; Thu, 18 May 2023 10:49:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7165E03EC; Thu, 18 May 2023 10:49:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82762E03EC for ; Thu, 18 May 2023 10:49:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8095A33FA71 for ; Thu, 18 May 2023 10:49:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19112A65 for ; Thu, 18 May 2023 10:49:34 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1684406927.efc0447d191904881fe4a581e57c170d5c9eb466.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/passwordsafe/Manifest app-admin/passwordsafe/passwordsafe-1.16.0.ebuild X-VCS-Directories: app-admin/passwordsafe/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: efc0447d191904881fe4a581e57c170d5c9eb466 X-VCS-Branch: master Date: Thu, 18 May 2023 10:49:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19d15989-ec59-4216-bdc8-ca090cdd2e3e X-Archives-Hash: 5dd66af9e5ec9712f46294565b8b29c6 commit: efc0447d191904881fe4a581e57c170d5c9eb466 Author: Martin Dummer gmx net> AuthorDate: Mon Jan 9 06:36:00 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu May 18 10:48:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc0447d app-admin/passwordsafe: add 1.16.0 Signed-off-by: Martin Dummer gmx.net> Closes: https://github.com/gentoo/gentoo/pull/29030 Signed-off-by: Joonas Niilola gentoo.org> app-admin/passwordsafe/Manifest | 1 + app-admin/passwordsafe/passwordsafe-1.16.0.ebuild | 88 +++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest index 4cb3c9dc2d2b..3aa4d1c4e931 100644 --- a/app-admin/passwordsafe/Manifest +++ b/app-admin/passwordsafe/Manifest @@ -1 +1,2 @@ DIST passwordsafe-1.15.0.tar.gz 15354159 BLAKE2B 699f80325884cba9bc6e5ffb33bea5c0b2c01f12ed7e4ea1226c4a64c761a8f20b8272e771261ca59aeeb49bfaa4ea83edc9af6c0aa9ae853e537b0f76f28aaa SHA512 803572afc479d608899e1166ef032a2a660fce122e03f89f59f8e9da9f7439e0eb1d602f77283200626f49d7e146e82edf8edee40060ff4cf6163e81bdf5f738 +DIST passwordsafe-1.16.0.tar.gz 15369804 BLAKE2B 344e77f74e588f41ba3696f5ea05cf054fca9f285437294033284561cbb83c76dc1311033b78673db0049132b7c9f37493c3698bb3b66e8e0a91ae63f7a83cdf SHA512 839de5072d6c9ec8fb82456e4516e51408be271ac8041b6dd9cf30990ac88914a139d96b40ee09764892acd8320abb2950d7f159a5b18c3d1549e58b922aa024 diff --git a/app-admin/passwordsafe/passwordsafe-1.16.0.ebuild b/app-admin/passwordsafe/passwordsafe-1.16.0.ebuild new file mode 100644 index 000000000000..1cdaabc563e9 --- /dev/null +++ b/app-admin/passwordsafe/passwordsafe-1.16.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.0-gtk3" + +inherit cmake desktop flag-o-matic 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 ~x86" +IUSE="qr test +xml yubikey" +RESTRICT="!test? ( test )" + +DEPEND=" + net-misc/curl + sys-apps/util-linux + 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 )" +RDEPEND="${DEPEND}" +BDEPEND=" + app-arch/zip + virtual/pkgconfig + sys-devel/gettext + test? ( dev-cpp/gtest )" + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +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() { + pushd "${BUILD_DIR}" || die + + dobin pwsafe + dobin cli/pwsafe-cli + dosym pwsafe /usr/bin/${PN} + dosym pwsafe-cli /usr/bin/${PN}-cli + + insinto /usr/share/locale + doins -r src/ui/wxWidgets/I18N/mos/* + + insinto /usr/share/${PN}/help + doins help/*.zip + + popd || die + + newman docs/pwsafe.1 ${PN}.1 + + dodoc README.md README.LINUX.* SECURITY.md docs/{ReleaseNotes.md,ChangeLog.txt} + + insinto /usr/share/${PN} + doins -r xml + + doicon -s 48 install/graphics/pwsafe.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + optfeature "on-screen keyboard for password entry" x11-misc/xvkbd +}