Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
Date: Wed, 05 Aug 2020 15:14:53
Message-Id: 1596640486.eae61794b46636c1e3aac5d7bb1542f8c6c895b8.monsieurp@gentoo
1 commit: eae61794b46636c1e3aac5d7bb1542f8c6c895b8
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 5 15:14:40 2020 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 15:14:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae61794
7
8 www-misc/shellinabox: clean up old.
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.23
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 www-misc/shellinabox/Manifest | 1 -
14 www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 107 -----------------------
15 www-misc/shellinabox/shellinabox-2.20-r2.ebuild | 109 ------------------------
16 www-misc/shellinabox/shellinabox-2.20-r3.ebuild | 109 ------------------------
17 4 files changed, 326 deletions(-)
18
19 diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
20 index 6d54fe277e4..5f04dbaa704 100644
21 --- a/www-misc/shellinabox/Manifest
22 +++ b/www-misc/shellinabox/Manifest
23 @@ -1,2 +1 @@
24 DIST shellinabox-2.20.tar.gz 745920 BLAKE2B 34d360d2e4f0474f64490894f4ba9b9457ca7915156fc3364e874c89d9792ec52c8e756d5f356da6f680425fcc4cf9c9025a47d56cb0b0671a2749f0ba90d5b9 SHA512 369fb6e0041fc3eb52a533f14d1f856a71ec1bf166441e25a5d61bb129f2db5de6b61205ddd0cb08d53384baaf4e087bd2c549f7919b96ee465d4cc3318d2237
25 -DIST shellinabox-2.20.zip 792359 BLAKE2B fd6ebde4d9f81314dd439126ad9ed6759556268c4af6dbe2094fb7aaef3956e8c484deb8c3b43a485bc28cf3a2c0105bee0f8b5c2efba1d3d7f0c0b6b3f6867a SHA512 0537b6400cb7f4880c76cce270e5eefd6f536eae7e27b5f7b12de0465a1e354f7980bb2f67230237eda1f7945afb1d3bb18013106bf7c3a02e7974532f0d9190
26
27 diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
28 deleted file mode 100644
29 index 0fd76e1f2e6..00000000000
30 --- a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
31 +++ /dev/null
32 @@ -1,107 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -AUTOTOOLS_AUTORECONF="yes"
39 -AUTOTOOLS_IN_SOURCE_BUILD="yes"
40 -
41 -inherit user autotools-utils systemd
42 -
43 -DESCRIPTION="Export command line tools to a web based terminal emulator"
44 -HOMEPAGE="https://github.com/shellinabox/shellinabox"
45 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="amd64 ppc ppc64 x86"
50 -IUSE="+pam"
51 -
52 -DEPEND="
53 - dev-libs/openssl:0=
54 - pam? ( sys-libs/pam )"
55 -
56 -SIAB_CERT_DIR="/etc/shellinabox/cert"
57 -SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
58 -SIAB_DAEMON="${PN}d"
59 -
60 -shellinbox_gen_ssl_setup() {
61 - read -r -d '' SIAB_SSL_SETUP << EOF
62 -cd ${SIAB_CERT_DIR}
63 -openssl genrsa -des3 -out server.key 1024
64 -openssl req -new -key server.key -out server.csr
65 -cp server.key server.key.org
66 -openssl rsa -in server.key.org -out server.key
67 -openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
68 -cat server.crt server.key > certificate.pem
69 -EOF
70 -}
71 -
72 -pkg_setup() {
73 - enewgroup "${SIAB_DAEMON}"
74 - enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
75 -}
76 -
77 -src_configure() {
78 - local myeconf=(
79 - --disable-runtime-loading
80 - --enable-ssl
81 - )
82 -
83 - econf \
84 - $(use_enable pam) \
85 - "${myeconf[@]}"
86 -}
87 -
88 -src_install() {
89 - emake DESTDIR="${D}" install
90 -
91 - # make installs the binary in bin...
92 - rm -rf "${D}/usr/bin" || die
93 -
94 - # ... whereas it should put it in sbin.
95 - dosbin "${SIAB_DAEMON}"
96 -
97 - # Install init+conf files.
98 - newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
99 - newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
100 -
101 - # Install systemd unit file.
102 - systemd_dounit "${FILESDIR}"/shellinaboxd.service
103 -
104 - # Install CSS files.
105 - insinto "/usr/share/${PN}-resources"
106 - doins -r "${PN}"/*.css
107 -
108 - # Create directory where SSL certificates will be generated.
109 - dodir "${SIAB_CERT_DIR}"
110 - fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
111 -
112 - # Generate set up variable.
113 - shellinbox_gen_ssl_setup
114 -
115 - # Dump it in a bash script.
116 - echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
117 - echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
118 - chmod +x "${D}/${SIAB_SSL_BASH}" || die
119 -}
120 -
121 -pkg_postinst() {
122 - ewarn
123 - ewarn "The default configuration exposes a login shell"
124 - ewarn "with SSL disabled on the localhost interface only."
125 - ewarn
126 -
127 - shellinbox_gen_ssl_setup
128 -
129 - einfo
130 - einfo "To generate self-signed SSL certificates"
131 - einfo "please read the procedure explained here:"
132 - einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
133 - einfo
134 - einfo "${SIAB_SSL_SETUP}"
135 - einfo
136 - einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
137 - einfo "Make sure to execute this script."
138 - einfo
139 -}
140
141 diff --git a/www-misc/shellinabox/shellinabox-2.20-r2.ebuild b/www-misc/shellinabox/shellinabox-2.20-r2.ebuild
142 deleted file mode 100644
143 index f92e89f9f22..00000000000
144 --- a/www-misc/shellinabox/shellinabox-2.20-r2.ebuild
145 +++ /dev/null
146 @@ -1,109 +0,0 @@
147 -# Copyright 1999-2019 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=6
151 -
152 -inherit user autotools systemd
153 -
154 -DESCRIPTION="Export command line tools to a web based terminal emulator"
155 -HOMEPAGE="https://github.com/shellinabox/shellinabox"
156 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
157 -
158 -LICENSE="GPL-2"
159 -SLOT="0"
160 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
161 -IUSE="+pam"
162 -
163 -DEPEND="
164 - dev-libs/openssl:0=
165 - pam? ( sys-libs/pam )"
166 -
167 -SIAB_CERT_DIR="/etc/shellinabox/cert"
168 -SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
169 -SIAB_DAEMON="${PN}d"
170 -
171 -shellinbox_gen_ssl_setup() {
172 - read -r -d '' SIAB_SSL_SETUP << EOF
173 -cd ${SIAB_CERT_DIR}
174 -openssl genrsa -des3 -out server.key 1024
175 -openssl req -new -key server.key -out server.csr
176 -cp server.key server.key.org
177 -openssl rsa -in server.key.org -out server.key
178 -openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
179 -cat server.crt server.key > certificate.pem
180 -EOF
181 -}
182 -
183 -pkg_setup() {
184 - enewgroup "${SIAB_DAEMON}"
185 - enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
186 -}
187 -
188 -src_prepare() {
189 - default
190 - eautoreconf
191 -}
192 -
193 -src_configure() {
194 - local myeconf=(
195 - --disable-runtime-loading
196 - --enable-ssl
197 - )
198 -
199 - econf \
200 - $(use_enable pam) \
201 - "${myeconf[@]}"
202 -}
203 -
204 -src_install() {
205 - emake DESTDIR="${D}" install
206 -
207 - # make installs the binary in bin...
208 - rm -rf "${D}/usr/bin" || die
209 -
210 - # ... whereas it should put it in sbin.
211 - dosbin "${SIAB_DAEMON}"
212 -
213 - # Install init+conf files.
214 - newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
215 - newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
216 -
217 - # Install systemd unit file.
218 - systemd_dounit "${FILESDIR}"/shellinaboxd.service
219 -
220 - # Install CSS files.
221 - insinto "/usr/share/${PN}-resources"
222 - doins -r "${PN}"/*.css
223 -
224 - # Create directory where SSL certificates will be generated.
225 - dodir "${SIAB_CERT_DIR}"
226 - fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
227 -
228 - # Generate set up variable.
229 - shellinbox_gen_ssl_setup
230 -
231 - # Dump it in a bash script.
232 - echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
233 - echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
234 - chmod +x "${D}/${SIAB_SSL_BASH}" || die
235 -}
236 -
237 -pkg_postinst() {
238 - ewarn
239 - ewarn "The default configuration exposes a login shell"
240 - ewarn "with SSL disabled on the localhost interface only."
241 - ewarn
242 -
243 - shellinbox_gen_ssl_setup
244 -
245 - einfo
246 - einfo "To generate self-signed SSL certificates"
247 - einfo "please read the procedure explained here:"
248 - einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
249 - einfo
250 - einfo "${SIAB_SSL_SETUP}"
251 - einfo
252 - einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
253 - einfo "Make sure to execute this script."
254 - einfo
255 -}
256
257 diff --git a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
258 deleted file mode 100644
259 index 4ddaef132e0..00000000000
260 --- a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
261 +++ /dev/null
262 @@ -1,109 +0,0 @@
263 -# Copyright 1999-2019 Gentoo Authors
264 -# Distributed under the terms of the GNU General Public License v2
265 -
266 -EAPI=7
267 -
268 -inherit user autotools systemd
269 -
270 -DESCRIPTION="Export command line tools to a web based terminal emulator"
271 -HOMEPAGE="https://github.com/shellinabox/shellinabox"
272 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
273 -
274 -LICENSE="GPL-2"
275 -SLOT="0"
276 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
277 -IUSE="+pam"
278 -
279 -DEPEND="
280 - dev-libs/openssl:0=
281 - pam? ( sys-libs/pam )"
282 -
283 -SIAB_CERT_DIR="/etc/shellinabox/cert"
284 -SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
285 -SIAB_DAEMON="${PN}d"
286 -
287 -shellinbox_gen_ssl_setup() {
288 - read -r -d '' SIAB_SSL_SETUP << EOF
289 -cd ${SIAB_CERT_DIR}
290 -openssl genrsa -des3 -out server.key 1024
291 -openssl req -new -key server.key -out server.csr
292 -cp server.key server.key.org
293 -openssl rsa -in server.key.org -out server.key
294 -openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
295 -cat server.crt server.key > certificate.pem
296 -EOF
297 -}
298 -
299 -pkg_setup() {
300 - enewgroup "${SIAB_DAEMON}"
301 - enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
302 -}
303 -
304 -src_prepare() {
305 - default
306 - eautoreconf
307 -}
308 -
309 -src_configure() {
310 - local myeconf=(
311 - --disable-runtime-loading
312 - --enable-ssl
313 - )
314 -
315 - econf \
316 - $(use_enable pam) \
317 - "${myeconf[@]}"
318 -}
319 -
320 -src_install() {
321 - emake DESTDIR="${D}" install
322 -
323 - # make installs the binary in bin...
324 - rm -rf "${D}/usr/bin" || die
325 -
326 - # ... whereas it should put it in sbin.
327 - dosbin "${SIAB_DAEMON}"
328 -
329 - # Install init+conf files.
330 - newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
331 - newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
332 -
333 - # Install systemd unit file.
334 - systemd_dounit "${FILESDIR}"/shellinaboxd.service
335 -
336 - # Install CSS files.
337 - insinto "/usr/share/${PN}-resources"
338 - doins -r "${PN}"/*.css
339 -
340 - # Create directory where SSL certificates will be generated.
341 - dodir "${SIAB_CERT_DIR}"
342 - fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
343 -
344 - # Generate set up variable.
345 - shellinbox_gen_ssl_setup
346 -
347 - # Dump it in a bash script.
348 - echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
349 - echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
350 - chmod +x "${D}/${SIAB_SSL_BASH}" || die
351 -}
352 -
353 -pkg_postinst() {
354 - ewarn
355 - ewarn "The default configuration exposes a login shell"
356 - ewarn "with SSL disabled on the localhost interface only."
357 - ewarn
358 -
359 - shellinbox_gen_ssl_setup
360 -
361 - einfo
362 - einfo "To generate self-signed SSL certificates"
363 - einfo "please read the procedure explained here:"
364 - einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
365 - einfo
366 - einfo "${SIAB_SSL_SETUP}"
367 - einfo
368 - einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
369 - einfo "Make sure to execute this script."
370 - einfo
371 -}