Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-cli/files/, app-admin/lastpass-cli/, profiles/
Date: Mon, 17 May 2021 21:10:27
Message-Id: 1621285748.f1b6533f62f3b1171c2537e7ad934c5d6dbd8cce.sam@gentoo
1 commit: f1b6533f62f3b1171c2537e7ad934c5d6dbd8cce
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon May 17 11:36:27 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 17 21:09:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b6533f
7
8 app-admin/lastpass-cli: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/776262
11 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-admin/lastpass-cli/Manifest | 2 -
15 .../files/lastpass-cli-1.3.3-gcc10-fix.patch | 82 ----------------------
16 app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild | 69 ------------------
17 app-admin/lastpass-cli/metadata.xml | 20 ------
18 profiles/package.mask | 6 --
19 5 files changed, 179 deletions(-)
20
21 diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest
22 deleted file mode 100644
23 index 283fd39904c..00000000000
24 --- a/app-admin/lastpass-cli/Manifest
25 +++ /dev/null
26 @@ -1,2 +0,0 @@
27 -DIST lastpass-cli-1.3.3.tar.gz 116434 BLAKE2B 341f99a7a5edd157c271a0989a004ace8300f2121230b4c0b7c23152643ebc0e3f60717a057b4e6acc802fe641ccd84c770bfcb3d89c505713aea23692d1542b SHA512 9b9274cae1fe4045b7df4402170c522ab5765929739e76141b35a75ce3c8af824acd881e194face45e8721d6ce778bde97ff1a1ac23515de0c6dba28d61a8c7e
28 -DIST lastpass-cli-man-1.3.1.tar.xz 5700 BLAKE2B 736ab71ad55cfcb657c727f3dc9dc15775dab1a0232d1ffc51b8794e49911531c96a841b4a5ac0b31f0516cd7aa54027ac7d0eb096816730cdfd192c04d99449 SHA512 e60807683ecd681b3937ef447d3e6a487d25418fe99f51ba99e54bf643c5254dd18427a03e7f035198ef34ff578bbb6116baf04eb554f54d85e7d059b6bfed7e
29
30 diff --git a/app-admin/lastpass-cli/files/lastpass-cli-1.3.3-gcc10-fix.patch b/app-admin/lastpass-cli/files/lastpass-cli-1.3.3-gcc10-fix.patch
31 deleted file mode 100644
32 index 186d4a6a1a7..00000000000
33 --- a/app-admin/lastpass-cli/files/lastpass-cli-1.3.3-gcc10-fix.patch
34 +++ /dev/null
35 @@ -1,82 +0,0 @@
36 -From 6b69a534863741734b550daf43b5d06c8d899b9a Mon Sep 17 00:00:00 2001
37 -From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@×××××.com>
38 -Date: Thu, 23 Jan 2020 00:25:50 +0100
39 -Subject: [PATCH] Mark global variable as extern
40 -MIME-Version: 1.0
41 -Content-Type: text/plain; charset=UTF-8
42 -Content-Transfer-Encoding: 8bit
43 -
44 -GCC now defaults to -fno-common. As a result, global variable accesses
45 -are more efficient on various targets. In C, global variables with
46 -multiple tentative definitions now result in linker errors.
47 -
48 -Fix #532
49 -
50 -Signed-off-by: Robert-André Mauchin <zebob.m@×××××.com>
51 ----
52 - globals.c | 40 ++++++++++++++++++++++++++++++++++++++++
53 - process.h | 4 ++--
54 - 2 files changed, 42 insertions(+), 2 deletions(-)
55 - create mode 100644 globals.c
56 -
57 -diff --git a/globals.c b/globals.c
58 -new file mode 100644
59 -index 0000000..59e9c30
60 ---- /dev/null
61 -+++ b/globals.c
62 -@@ -0,0 +1,40 @@
63 -+/*
64 -+ *
65 -+ * Copyright (C) 2014-2018 LastPass.
66 -+ *
67 -+ * This program is free software; you can redistribute it and/or modify
68 -+ * it under the terms of the GNU General Public License as published by
69 -+ * the Free Software Foundation; either version 2 of the License, or
70 -+ * (at your option) any later version.
71 -+ *
72 -+ * This program is distributed in the hope that it will be useful,
73 -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
74 -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75 -+ * GNU General Public License for more details.
76 -+ *
77 -+ * You should have received a copy of the GNU General Public License along
78 -+ * with this program; if not, write to the Free Software Foundation, Inc.,
79 -+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
80 -+ *
81 -+ * In addition, as a special exception, the copyright holders give
82 -+ * permission to link the code of portions of this program with the
83 -+ * OpenSSL library under certain conditions as described in each
84 -+ * individual source file, and distribute linked combinations
85 -+ * including the two.
86 -+ *
87 -+ * You must obey the GNU General Public License in all respects
88 -+ * for all of the code used other than OpenSSL. If you modify
89 -+ * file(s) with this exception, you may extend this exception to your
90 -+ * version of the file(s), but you are not obligated to do so. If you
91 -+ * do not wish to do so, delete this exception statement from your
92 -+ * version. If you delete this exception statement from all source
93 -+ * files in the program, then also delete it here.
94 -+ *
95 -+ * See LICENSE.OpenSSL for more details regarding this exception.
96 -+ */
97 -+
98 -+#include "process.h"
99 -+
100 -+/* Globals */
101 -+int ARGC;
102 -+char **ARGV;
103 -diff --git a/process.h b/process.h
104 -index 58c2480..4cc2cf4 100644
105 ---- a/process.h
106 -+++ b/process.h
107 -@@ -4,8 +4,8 @@
108 - #include <stdbool.h>
109 - #include <sys/types.h>
110 -
111 --int ARGC;
112 --char **ARGV;
113 -+extern int ARGC;
114 -+extern char **ARGV;
115 -
116 - void process_set_name(const char *name);
117 - void process_disable_ptrace(void);
118
119 diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild
120 deleted file mode 100644
121 index 27b8506f0ea..00000000000
122 --- a/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild
123 +++ /dev/null
124 @@ -1,69 +0,0 @@
125 -# Copyright 1999-2021 Gentoo Authors
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=6
129 -
130 -CMAKE_WARN_UNUSED_CLI=no
131 -inherit cmake-utils bash-completion-r1
132 -
133 -DESCRIPTION="Interfaces with LastPass.com from the command line."
134 -HOMEPAGE="https://github.com/lastpass/lastpass-cli"
135 -SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
136 - https://dev.gentoo.org/~gokturk/distfiles/app-admin/lastpass-cli/${PN}-man-1.3.1.tar.xz"
137 -
138 -SLOT="0"
139 -LICENSE="GPL-2+ GPL-2+-with-openssl-exception"
140 -KEYWORDS="amd64 x86"
141 -IUSE="X +pinentry test"
142 -RESTRICT="!test? ( test )"
143 -
144 -RDEPEND="
145 - X? ( || ( x11-misc/xclip x11-misc/xsel ) )
146 - dev-libs/openssl:0=
147 - net-misc/curl
148 - dev-libs/libxml2
149 - pinentry? ( app-crypt/pinentry )
150 -"
151 -DEPEND="${RDEPEND}
152 - virtual/pkgconfig
153 -"
154 -
155 -PATCHES=(
156 - "${FILESDIR}"/"${PN}"-1.3.3-gcc10-fix.patch
157 -)
158 -
159 -src_configure() {
160 - local mycmakeargs=(
161 - -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)"
162 - )
163 -
164 - cmake-utils_src_configure
165 -}
166 -
167 -src_compile() {
168 - cmake-utils_src_compile all $(usex test lpass-test '')
169 -}
170 -
171 -src_install() {
172 - cmake-utils_src_install install
173 -
174 - doman "${WORKDIR}"/man/lpass.1
175 -
176 - # Version 1.3.2 uses automagic detection for bashcomp
177 - # To preserve backwards compatibility, we unconditionally
178 - # install the completion file
179 - newbashcomp contrib/lpass_bash_completion lpass
180 -}
181 -
182 -src_test() {
183 - local myctestargs=(
184 - -j1 # Parallel tests fail
185 - )
186 -
187 - # The path to lpass-test is hardcoded to "${S}"/build/lpass-test
188 - # which is incorrect for our out-of-source build
189 - sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \
190 - -i "${S}"/test/include.sh || die
191 -
192 - cmake-utils_src_test
193 -}
194
195 diff --git a/app-admin/lastpass-cli/metadata.xml b/app-admin/lastpass-cli/metadata.xml
196 deleted file mode 100644
197 index 837ad12e830..00000000000
198 --- a/app-admin/lastpass-cli/metadata.xml
199 +++ /dev/null
200 @@ -1,20 +0,0 @@
201 -<?xml version="1.0" encoding="UTF-8"?>
202 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
203 -<pkgmetadata>
204 - <maintainer type="person">
205 - <email>gokturk@g.o</email>
206 - <name>Göktürk Yüksek</name>
207 - </maintainer>
208 - <use>
209 - <flag name="X">
210 - Use <pkg>x11-misc/xclip</pkg> or <pkg>x11-misc/xsel</pkg> to copy passwords to the clipboard.
211 - </flag>
212 - <flag name="pinentry">
213 - Use <pkg>app-crypt/pinentry</pkg> to prompt for passwords.
214 - </flag>
215 - </use>
216 - <upstream>
217 - <remote-id type="github">lastpass/lastpass-cli</remote-id>
218 - <bugs-to>https://github.com/lastpass/lastpass-cli/issues</bugs-to>
219 - </upstream>
220 -</pkgmetadata>
221
222 diff --git a/profiles/package.mask b/profiles/package.mask
223 index b022962b7c0..c5608b22591 100644
224 --- a/profiles/package.mask
225 +++ b/profiles/package.mask
226 @@ -741,12 +741,6 @@ x11-misc/xstroke
227 # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=aba75f6d4a9c875a9d5d90a07c6b3678db66a4bf
228 sys-devel/autoconf:2.71
229
230 -# Göktürk Yüksek <gokturk@g.o> (2021-03-14)
231 -# Dead upstream. No revdeps.
232 -# Removal in 60 days to allow people extra time
233 -# for transitioning out. Bug #776262.
234 -app-admin/lastpass-cli
235 -
236 # Sam James <sam@g.o> (2021-03-03)
237 # Doesn't seem to sync clock correctly
238 # in some cases.