1 |
commit: 6200688954a28d4ca8c001f5505de2cdaa983704 |
2 |
Author: Hendrik v. Raven <hendrik <AT> consetetur <DOT> de> |
3 |
AuthorDate: Thu Aug 16 21:23:36 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 19 22:50:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62006889 |
7 |
|
8 |
app-admin/passwordsafe: version bump to 1.06_beta. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/663662 |
11 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/9593 |
13 |
|
14 |
app-admin/passwordsafe/Manifest | 1 + |
15 |
.../passwordsafe/passwordsafe-1.06_beta.ebuild | 93 ++++++++++++++++++++++ |
16 |
2 files changed, 94 insertions(+) |
17 |
|
18 |
diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest |
19 |
index 3936e9d4112..4980c22d4cb 100644 |
20 |
--- a/app-admin/passwordsafe/Manifest |
21 |
+++ b/app-admin/passwordsafe/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST passwordsafe-1.02.1_beta.tar.gz 14068085 BLAKE2B 7a1bff0f2db798e08377436020473a8c6c46f9e64fa85629b6545f70954a3ad05735ee101bea021308589d523724f70fce24447837ee25cf1b897a7703873757 SHA512 c83a0c757f9f74906ffaebf650fd3f422a29f838c7f5430b3d3e32852b35dd92dc413a1c920320af9812d7960f0648e8df8a9d145828f8669e824e9972038067 |
24 |
DIST passwordsafe-1.04_beta.tar.gz 14329263 BLAKE2B 17f4b0cd0b34f8907530a7da43dfbceab56c9aefd65f2d0ba0356b5a1820e8b4273c68655229a07947693fd6d320bc654065f790c86daff31679b565a57145fe SHA512 5f2d0634be3d3932991f77e96b7b40fee3984407ec8620d82caea089bba49df69444cdf8d2cf431aace43636c5034892a672c338ee98df06473d2569953bdab3 |
25 |
+DIST passwordsafe-1.06_beta.tar.gz 14295034 BLAKE2B 83f480eee16938e396fa01797f67f5bc61984414b7f38b91404caea3dd6b3d31ba0e2ce4d198da048dff9cf1b5c8ba04e8bb9c93351fc21552bbc05a3b9ba486 SHA512 2a5be46e0e90f98c519bf9137f32298672359d1bfeb081a71d67251b35da6c1157e18c35a2c84321ed3fa077cb15ebf9cee763ba13b201ce02965d6642bb246c |
26 |
|
27 |
diff --git a/app-admin/passwordsafe/passwordsafe-1.06_beta.ebuild b/app-admin/passwordsafe/passwordsafe-1.06_beta.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..14da0d36f2c |
30 |
--- /dev/null |
31 |
+++ b/app-admin/passwordsafe/passwordsafe-1.06_beta.ebuild |
32 |
@@ -0,0 +1,93 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+WX_GTK_VER="3.0-gtk3" |
39 |
+ |
40 |
+inherit eutils flag-o-matic wxwidgets cmake-utils |
41 |
+ |
42 |
+MY_PV="${PV/_beta/BETA}" |
43 |
+DESCRIPTION="Password manager with wxGTK based frontend" |
44 |
+HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/" |
45 |
+SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Artistic-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="minimal test qr yubikey +xml" |
51 |
+ |
52 |
+RDEPEND="xml? ( dev-libs/xerces-c ) |
53 |
+ qr? ( media-gfx/qrencode ) |
54 |
+ sys-apps/util-linux |
55 |
+ x11-libs/libXt |
56 |
+ x11-libs/libXtst |
57 |
+ x11-libs/wxGTK:${WX_GTK_VER}[X] |
58 |
+ !minimal? ( !!app-misc/pwsafe ) |
59 |
+ yubikey? ( sys-auth/ykpers )" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ app-arch/zip |
62 |
+ sys-devel/gettext |
63 |
+ test? ( dev-cpp/gtest )" |
64 |
+ |
65 |
+S=${WORKDIR}/pwsafe-${MY_PV} |
66 |
+ |
67 |
+pkg_pretend() { |
68 |
+ einfo "Checking for -std=c++11 support in compiler" |
69 |
+ test-flags-CXX -std=c++11 > /dev/null || die |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ cmake-utils_src_prepare |
74 |
+ |
75 |
+ # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe |
76 |
+ # instead. Perform required changes in linking files |
77 |
+ sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die |
78 |
+ sed -i docs/pwsafe.1 \ |
79 |
+ -e 's/PWSAFE/PASSWORDSAFE/' \ |
80 |
+ -e "s/^.B pwsafe/.B ${PN}/" || die |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ need-wxwidgets unicode |
85 |
+ |
86 |
+ local mycmakeargs=( |
87 |
+ -DNO_QR=$(usex !qr) |
88 |
+ -DNO_GTEST=$(usex !test) |
89 |
+ -DXML_XERCESC=$(usex xml) |
90 |
+ -DNO_YUBI=$(usex !yubikey) |
91 |
+ ) |
92 |
+ |
93 |
+ cmake-utils_src_configure |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ pushd "${BUILD_DIR}" || die |
98 |
+ if use minimal; then |
99 |
+ newbin pwsafe ${PN} |
100 |
+ else |
101 |
+ dobin pwsafe |
102 |
+ dosym pwsafe /usr/bin/${PN} |
103 |
+ fi |
104 |
+ insinto /usr/share/locale |
105 |
+ doins -r src/ui/wxWidgets/I18N/mos/* |
106 |
+ |
107 |
+ # The upstream Makefile builds this .zip file from html source material for |
108 |
+ # use by the package's internal help system. Must prevent |
109 |
+ # Portage from applying additional compression. |
110 |
+ docompress -x /usr/share/doc/${PN}/help |
111 |
+ insinto /usr/share/doc/${PN}/help |
112 |
+ doins help/*.zip |
113 |
+ |
114 |
+ popd || die |
115 |
+ |
116 |
+ newman docs/pwsafe.1 ${PN}.1 |
117 |
+ |
118 |
+ dodoc README.md README.LINUX.* docs/{ReleaseNotes.txt,ChangeLog.txt} |
119 |
+ |
120 |
+ insinto /usr/share/pwsafe/xml |
121 |
+ doins xml/* |
122 |
+ |
123 |
+ newicon install/graphics/pwsafe.png ${PN}.png |
124 |
+ newmenu install/desktop/pwsafe.desktop ${PN}.desktop |
125 |
+} |