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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A347138334 for ; Wed, 13 Feb 2019 22:07:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEB5DE099F; Wed, 13 Feb 2019 22:07:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC4BEE099C for ; Wed, 13 Feb 2019 22:07:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5213F335D49 for ; Wed, 13 Feb 2019 22:07:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAC70542 for ; Wed, 13 Feb 2019 22:07:14 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1550095625.618cc24e76b2eafdd5c8511a912e3ca3c953aab3.monsieurp@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/metadata.xml app-admin/passwordsafe/passwordsafe-1.07_beta.ebuild X-VCS-Directories: app-admin/passwordsafe/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 618cc24e76b2eafdd5c8511a912e3ca3c953aab3 X-VCS-Branch: master Date: Wed, 13 Feb 2019 22:07:14 +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: 3503213c-eff4-4c6e-b1ca-66f341549d20 X-Archives-Hash: 5c7e0f83971d3e030faaa57382395c36 commit: 618cc24e76b2eafdd5c8511a912e3ca3c953aab3 Author: Hendrik v. Raven consetetur de> AuthorDate: Sun Feb 10 12:43:07 2019 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Feb 13 22:07:05 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618cc24e app-admin/passwordsafe: version bump. Closes: https://bugs.gentoo.org/677500 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Hendrik v. Raven consetetur.de> Closes: https://github.com/gentoo/gentoo/pull/11018 Signed-off-by: Patrice Clement gentoo.org> app-admin/passwordsafe/Manifest | 1 + app-admin/passwordsafe/metadata.xml | 1 + .../passwordsafe/passwordsafe-1.07_beta.ebuild | 99 ++++++++++++++++++++++ 3 files changed, 101 insertions(+) diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest index 035ef0ae55c..28ea80df720 100644 --- a/app-admin/passwordsafe/Manifest +++ b/app-admin/passwordsafe/Manifest @@ -1 +1,2 @@ DIST passwordsafe-1.06_beta.tar.gz 14295034 BLAKE2B 83f480eee16938e396fa01797f67f5bc61984414b7f38b91404caea3dd6b3d31ba0e2ce4d198da048dff9cf1b5c8ba04e8bb9c93351fc21552bbc05a3b9ba486 SHA512 2a5be46e0e90f98c519bf9137f32298672359d1bfeb081a71d67251b35da6c1157e18c35a2c84321ed3fa077cb15ebf9cee763ba13b201ce02965d6642bb246c +DIST passwordsafe-1.07_beta.tar.gz 14385043 BLAKE2B aaac006fa381487e281c9c7385569002743f809007bb542f9dcb503a5d5678c6456cc604b20ce01de46b647819fd0f08017a2c9eecf932d1c52efd416670448f SHA512 229599e684963d3a9f6ad724292d4f723bb8395742d5037b1b67d059a2258a65b52e56ecdafa44b420e69f7c861d46c20b73e98974dc29151c22ceb84eb40934 diff --git a/app-admin/passwordsafe/metadata.xml b/app-admin/passwordsafe/metadata.xml index cd092820b04..caf84c81f26 100644 --- a/app-admin/passwordsafe/metadata.xml +++ b/app-admin/passwordsafe/metadata.xml @@ -14,6 +14,7 @@ Enable QR code password display Enable support for Yubikey Enable XML import support + Install x11-misc/xvkbd on-screen keyboard pwsafe/pwsafe diff --git a/app-admin/passwordsafe/passwordsafe-1.07_beta.ebuild b/app-admin/passwordsafe/passwordsafe-1.07_beta.ebuild new file mode 100644 index 00000000000..97a528cdd45 --- /dev/null +++ b/app-admin/passwordsafe/passwordsafe-1.07_beta.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0-gtk3" + +inherit eutils flag-o-matic wxwidgets cmake-utils + +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" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libressl minimal test qr yubikey +xml xvkbd" + +COMMON_DEPEND="xml? ( dev-libs/xerces-c ) + qr? ( media-gfx/qrencode ) + net-misc/curl + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sys-apps/util-linux + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER}[X] + !minimal? ( !!app-misc/pwsafe ) + yubikey? ( sys-auth/ykpers )" +RDEPEND="${COMMON_DEPEND} + xvkbd? ( x11-misc/xvkbd )" +DEPEND="${COMMON_DEPEND} + app-arch/zip + sys-devel/gettext + test? ( dev-cpp/gtest )" + +S=${WORKDIR}/pwsafe-${MY_PV} + +PATCHES=( + "${FILESDIR}/${PN}-1.06_beta-system-gtest.patch" +) + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +src_prepare() { + cmake-utils_src_prepare + + # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe + # instead. Perform required changes in linking files + sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die + sed -i docs/pwsafe.1 \ + -e 's/PWSAFE/PASSWORDSAFE/' \ + -e "s/^.B pwsafe/.B ${PN}/" || die +} + +src_configure() { + need-wxwidgets unicode + + local mycmakeargs=( + -DNO_QR=$(usex !qr) + -DNO_GTEST=$(usex !test) + -DSYSTEM_GTEST=ON + -DXML_XERCESC=$(usex xml) + -DNO_YUBI=$(usex !yubikey) + ) + + cmake-utils_src_configure +} + +src_install() { + pushd "${BUILD_DIR}" || die + if use minimal; then + newbin pwsafe ${PN} + else + dobin pwsafe + dosym pwsafe /usr/bin/${PN} + fi + 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.* docs/{ReleaseNotes.txt,ChangeLog.txt} + + insinto /usr/share/${PN} + doins -r xml + + newicon install/graphics/pwsafe.png ${PN}.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +}