1 |
commit: 565861fc110056b320482b9e5ea798798e78ac80 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 10 07:31:02 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 10 07:31:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565861fc |
7 |
|
8 |
app-admin/keepassxc: Initial commit (bug #598601). |
9 |
|
10 |
Thanks to Igor Krivenko for providing the initial ebuild. |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
app-admin/keepassxc/Manifest | 1 + |
15 |
app-admin/keepassxc/keepassxc-2.1.1.ebuild | 65 ++++++++++++++++++++++++++++++ |
16 |
app-admin/keepassxc/keepassxc-9999.ebuild | 65 ++++++++++++++++++++++++++++++ |
17 |
app-admin/keepassxc/metadata.xml | 20 +++++++++ |
18 |
4 files changed, 151 insertions(+) |
19 |
|
20 |
diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000000..a9e32c4696 |
23 |
--- /dev/null |
24 |
+++ b/app-admin/keepassxc/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST keepassxc-2.1.1.tar.gz 3274143 SHA256 b0a737640070d80483b2ac436d87c2872a248f60f86b741e5413b0b8cda92eef SHA512 7ec2aab5b5e87036b3c778fd9b24612a35ac80243c009da9151f0a8aca9b7065c6652bc595be2958cd4fd96c5c8937cc7ce668c47d34267b7e014c3117a32e72 WHIRLPOOL 5cb6a85c58e28eeff8f11bb70a8b949e15e0f97769c73844474abab321c40f81c6a23b3efe1c05ce5e8e8623c7feb3e38d64cda88b13fedc651a722a3607806f |
27 |
|
28 |
diff --git a/app-admin/keepassxc/keepassxc-2.1.1.ebuild b/app-admin/keepassxc/keepassxc-2.1.1.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000000..abb4ee36cb |
31 |
--- /dev/null |
32 |
+++ b/app-admin/keepassxc/keepassxc-2.1.1.ebuild |
33 |
@@ -0,0 +1,65 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+SCM="" |
41 |
+[[ "${PV}" == 9999 ]] && SCM="git-r3" |
42 |
+inherit cmake-utils ${SCM} |
43 |
+unset SCM |
44 |
+ |
45 |
+DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" |
46 |
+HOMEPAGE="https://github.com/keepassxreboot/keepassxc" |
47 |
+ |
48 |
+if [[ "${PV}" != 9999 ]] ; then |
49 |
+ SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+else |
52 |
+ EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" |
53 |
+fi |
54 |
+ |
55 |
+LICENSE="LGPL-2.1 GPL-2 GPL-3" |
56 |
+SLOT="0" |
57 |
+IUSE="autotype debug http test" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ dev-libs/libgcrypt:= |
61 |
+ dev-qt/qtcore:5 |
62 |
+ dev-qt/qtgui:5 |
63 |
+ dev-qt/qtnetwork:5 |
64 |
+ dev-qt/qtwidgets:5 |
65 |
+ net-libs/libmicrohttpd |
66 |
+ sys-libs/zlib |
67 |
+ autotype? ( |
68 |
+ dev-qt/qtx11extras:5 |
69 |
+ x11-libs/libXi |
70 |
+ x11-libs/libXtst |
71 |
+ ) |
72 |
+" |
73 |
+ #yubikey? ( sys-auth/libyubikey ) |
74 |
+ |
75 |
+DEPEND=" |
76 |
+ ${RDEPEND} |
77 |
+ dev-qt/linguist-tools:5 |
78 |
+ dev-qt/qtconcurrent:5 |
79 |
+ test? ( dev-qt/qttest:5 ) |
80 |
+" |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ use test || \ |
84 |
+ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die |
85 |
+ |
86 |
+ cmake-utils_src_prepare |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ local mycmakeargs=( |
91 |
+ -DWITH_GUI_TESTS=OFF |
92 |
+ -DWITH_TESTS="$(usex test)" |
93 |
+ -DWITH_XC_AUTOTYPE="$(usex autotype)" |
94 |
+ -DWITH_XC_HTTP="$(usex http)" |
95 |
+ #-DWITH_XC_YUBIKEY="$(usex yubikey)" |
96 |
+ ) |
97 |
+ cmake-utils_src_configure |
98 |
+} |
99 |
|
100 |
diff --git a/app-admin/keepassxc/keepassxc-9999.ebuild b/app-admin/keepassxc/keepassxc-9999.ebuild |
101 |
new file mode 100644 |
102 |
index 0000000000..df26042207 |
103 |
--- /dev/null |
104 |
+++ b/app-admin/keepassxc/keepassxc-9999.ebuild |
105 |
@@ -0,0 +1,65 @@ |
106 |
+# Copyright 1999-2017 Gentoo Foundation |
107 |
+# Distributed under the terms of the GNU General Public License v2 |
108 |
+# $Id$ |
109 |
+ |
110 |
+EAPI=6 |
111 |
+ |
112 |
+SCM="" |
113 |
+[[ "${PV}" == 9999 ]] && SCM="git-r3" |
114 |
+inherit cmake-utils ${SCM} |
115 |
+unset SCM |
116 |
+ |
117 |
+DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" |
118 |
+HOMEPAGE="https://github.com/keepassxreboot/keepassxc" |
119 |
+ |
120 |
+if [[ "${PV}" != 9999 ]] ; then |
121 |
+ SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
122 |
+ KEYWORDS="~amd64 ~x86" |
123 |
+else |
124 |
+ EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" |
125 |
+fi |
126 |
+ |
127 |
+LICENSE="LGPL-2.1 GPL-2 GPL-3" |
128 |
+SLOT="0" |
129 |
+IUSE="autotype debug http test" |
130 |
+ |
131 |
+RDEPEND=" |
132 |
+ dev-libs/libgcrypt:= |
133 |
+ dev-qt/qtcore:5 |
134 |
+ dev-qt/qtgui:5 |
135 |
+ dev-qt/qtnetwork:5 |
136 |
+ dev-qt/qtwidgets:5 |
137 |
+ net-libs/libmicrohttpd |
138 |
+ sys-libs/zlib |
139 |
+ autotype? ( |
140 |
+ dev-qt/qtx11extras:5 |
141 |
+ x11-libs/libXi |
142 |
+ x11-libs/libXtst |
143 |
+ ) |
144 |
+" |
145 |
+# yubikey? ( sys-auth/libyubikey ) |
146 |
+ |
147 |
+DEPEND=" |
148 |
+ ${RDEPEND} |
149 |
+ dev-qt/linguist-tools:5 |
150 |
+ dev-qt/qtconcurrent:5 |
151 |
+ test? ( dev-qt/qttest:5 ) |
152 |
+" |
153 |
+ |
154 |
+src_prepare() { |
155 |
+ use test || \ |
156 |
+ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die |
157 |
+ |
158 |
+ cmake-utils_src_prepare |
159 |
+} |
160 |
+ |
161 |
+src_configure() { |
162 |
+ local mycmakeargs=( |
163 |
+ -DWITH_GUI_TESTS=OFF |
164 |
+ -DWITH_TESTS="$(usex test)" |
165 |
+ -DWITH_XC_AUTOTYPE="$(usex autotype)" |
166 |
+ -DWITH_XC_HTTP="$(usex http)" |
167 |
+ #-DWITH_XC_YUBIKEY="$(usex yubikey)" |
168 |
+ ) |
169 |
+ cmake-utils_src_configure |
170 |
+} |
171 |
|
172 |
diff --git a/app-admin/keepassxc/metadata.xml b/app-admin/keepassxc/metadata.xml |
173 |
new file mode 100644 |
174 |
index 0000000000..fe942b6d25 |
175 |
--- /dev/null |
176 |
+++ b/app-admin/keepassxc/metadata.xml |
177 |
@@ -0,0 +1,20 @@ |
178 |
+<?xml version="1.0" encoding="UTF-8"?> |
179 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
180 |
+<pkgmetadata> |
181 |
+ <maintainer type="person"> |
182 |
+ <email>polynomial-c@g.o</email> |
183 |
+ <name>Lars Wendler</name> |
184 |
+ </maintainer> |
185 |
+ <use> |
186 |
+ <flag name="autotype">Add support to autotype the passwords into other applications</flag> |
187 |
+ <flag name="http">Add http support</flag> |
188 |
+ </use> |
189 |
+ <longdescription> |
190 |
+ KeePassXC provides a safe location for your passwords and similar |
191 |
+ data. It encrypts its databasee with AES either by passphrase or a key |
192 |
+ file, compatible with a PDA and Windows version. |
193 |
+ </longdescription> |
194 |
+ <upstream> |
195 |
+ <remote-id type="github">keepassxreboot/keepassxc</remote-id> |
196 |
+ </upstream> |
197 |
+</pkgmetadata> |