public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/
Date: Sun, 19 Aug 2018 22:52:27 +0000 (UTC)	[thread overview]
Message-ID: <1534719035.6200688954a28d4ca8c001f5505de2cdaa983704.monsieurp@gentoo> (raw)

commit:     6200688954a28d4ca8c001f5505de2cdaa983704
Author:     Hendrik v. Raven <hendrik <AT> consetetur <DOT> de>
AuthorDate: Thu Aug 16 21:23:36 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Aug 19 22:50:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62006889

app-admin/passwordsafe: version bump to 1.06_beta.

Closes: https://bugs.gentoo.org/663662
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9593

 app-admin/passwordsafe/Manifest                    |  1 +
 .../passwordsafe/passwordsafe-1.06_beta.ebuild     | 93 ++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
index 3936e9d4112..4980c22d4cb 100644
--- a/app-admin/passwordsafe/Manifest
+++ b/app-admin/passwordsafe/Manifest
@@ -1,2 +1,3 @@
 DIST passwordsafe-1.02.1_beta.tar.gz 14068085 BLAKE2B 7a1bff0f2db798e08377436020473a8c6c46f9e64fa85629b6545f70954a3ad05735ee101bea021308589d523724f70fce24447837ee25cf1b897a7703873757 SHA512 c83a0c757f9f74906ffaebf650fd3f422a29f838c7f5430b3d3e32852b35dd92dc413a1c920320af9812d7960f0648e8df8a9d145828f8669e824e9972038067
 DIST passwordsafe-1.04_beta.tar.gz 14329263 BLAKE2B 17f4b0cd0b34f8907530a7da43dfbceab56c9aefd65f2d0ba0356b5a1820e8b4273c68655229a07947693fd6d320bc654065f790c86daff31679b565a57145fe SHA512 5f2d0634be3d3932991f77e96b7b40fee3984407ec8620d82caea089bba49df69444cdf8d2cf431aace43636c5034892a672c338ee98df06473d2569953bdab3
+DIST passwordsafe-1.06_beta.tar.gz 14295034 BLAKE2B 83f480eee16938e396fa01797f67f5bc61984414b7f38b91404caea3dd6b3d31ba0e2ce4d198da048dff9cf1b5c8ba04e8bb9c93351fc21552bbc05a3b9ba486 SHA512 2a5be46e0e90f98c519bf9137f32298672359d1bfeb081a71d67251b35da6c1157e18c35a2c84321ed3fa077cb15ebf9cee763ba13b201ce02965d6642bb246c

diff --git a/app-admin/passwordsafe/passwordsafe-1.06_beta.ebuild b/app-admin/passwordsafe/passwordsafe-1.06_beta.ebuild
new file mode 100644
index 00000000000..14da0d36f2c
--- /dev/null
+++ b/app-admin/passwordsafe/passwordsafe-1.06_beta.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="minimal test qr yubikey +xml"
+
+RDEPEND="xml? ( dev-libs/xerces-c )
+	qr? ( media-gfx/qrencode )
+	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 )"
+DEPEND="${RDEPEND}
+	app-arch/zip
+	sys-devel/gettext
+	test? ( dev-cpp/gtest )"
+
+S=${WORKDIR}/pwsafe-${MY_PV}
+
+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)
+		-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/*
+
+	# The upstream Makefile builds this .zip file from html source material for
+	# use by the package's internal help system. Must prevent
+	# Portage from applying additional compression.
+	docompress -x /usr/share/doc/${PN}/help
+	insinto /usr/share/doc/${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/pwsafe/xml
+	doins xml/*
+
+	newicon install/graphics/pwsafe.png ${PN}.png
+	newmenu install/desktop/pwsafe.desktop ${PN}.desktop
+}


             reply	other threads:[~2018-08-19 22:52 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-19 22:52 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-20  9:19 [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/ Sam James
2025-09-17 22:23 Sam James
2025-08-01  4:26 Sam James
2025-08-01  4:26 Sam James
2025-06-04  2:13 Sam James
2025-03-14  3:37 Sam James
2025-01-24  6:52 Joonas Niilola
2024-06-16  9:37 Pacho Ramos
2024-04-22 10:56 Sam James
2024-02-15 13:17 Joonas Niilola
2023-12-24 17:21 Arthur Zamarin
2023-06-20  3:18 Sam James
2023-06-18 12:08 Joonas Niilola
2023-05-27 10:13 Sam James
2023-05-19  5:36 Joonas Niilola
2023-05-19  5:36 Joonas Niilola
2023-05-18 10:49 Joonas Niilola
2023-05-18 10:49 Joonas Niilola
2022-08-27  8:27 Agostino Sarubbo
2022-06-12  8:04 Joonas Niilola
2022-03-14 18:32 Agostino Sarubbo
2021-11-16  8:16 Florian Schmaus
2021-11-16  8:16 Florian Schmaus
2021-10-20  2:42 Sam James
2021-05-08 18:41 Sam James
2021-04-30 16:00 Mikle Kolyada
2021-03-06 13:32 Joonas Niilola
2021-02-10 14:48 Sam James
2021-01-03  1:18 Sam James
2020-12-15  7:18 Joonas Niilola
2020-12-15  7:18 Joonas Niilola
2020-11-23 13:29 Joonas Niilola
2020-11-23 13:29 Joonas Niilola
2020-08-24 14:39 Joonas Niilola
2019-05-15 12:04 Andreas Sturmlechner
2019-05-15 12:04 Andreas Sturmlechner
2019-02-13 22:07 Patrice Clement
2019-02-13 22:07 Patrice Clement
2018-09-21 15:46 Michał Górny
2018-08-19 22:52 Patrice Clement
2018-01-25 22:52 Patrice Clement
2018-01-25 22:52 Patrice Clement
2017-07-30 10:54 David Seifert
2017-07-23 12:01 Michael Palimaka
2017-07-23 11:58 Manuel Rüger
2017-07-16 10:06 Manuel Rüger
2017-05-14 20:20 Manuel Rüger
2017-05-14 20:20 Manuel Rüger
2016-12-25 12:47 Manuel Rüger
2016-12-25 12:42 Manuel Rüger
2016-09-26 19:23 Manuel Rüger
2016-09-26 19:23 Manuel Rüger
2016-07-07 12:01 Manuel Rüger
2016-03-07  7:55 Patrice Clement
2016-03-06 16:56 Manuel Rüger
2016-03-06 15:18 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1534719035.6200688954a28d4ca8c001f5505de2cdaa983704.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox