1 |
commit: a0f74f440eccc5fd732323ca938fa7ff19cc8708 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 17:23:26 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 17:23:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=a0f74f44 |
7 |
|
8 |
app-misc/screen: moved to tree |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
|
12 |
app-misc/screen/Manifest | 18 -- |
13 |
.../screen/files/screen-4.3.0-no-utempter.patch | 14 - |
14 |
app-misc/screen/files/screen-4.5.1-texinfo.patch | 13 - |
15 |
app-misc/screen/files/screen-4.6.2-utmp-exit.patch | 55 ---- |
16 |
app-misc/screen/files/screenrc | 356 --------------------- |
17 |
app-misc/screen/metadata.xml | 35 -- |
18 |
app-misc/screen/screen-4.5.1.ebuild | 163 ---------- |
19 |
app-misc/screen/screen-4.6.0.ebuild | 161 ---------- |
20 |
app-misc/screen/screen-4.6.1.ebuild | 161 ---------- |
21 |
app-misc/screen/screen-4.6.2.ebuild | 163 ---------- |
22 |
app-misc/screen/screen-9999.ebuild | 152 --------- |
23 |
11 files changed, 1291 deletions(-) |
24 |
|
25 |
diff --git a/app-misc/screen/Manifest b/app-misc/screen/Manifest |
26 |
deleted file mode 100644 |
27 |
index 46ad105..0000000 |
28 |
--- a/app-misc/screen/Manifest |
29 |
+++ /dev/null |
30 |
@@ -1,18 +0,0 @@ |
31 |
------BEGIN PGP SIGNED MESSAGE----- |
32 |
-Hash: SHA256 |
33 |
- |
34 |
-DIST screen-4.5.1.tar.gz 963153 BLAKE2B 8f7e20a0a3dde58435fc500714b49af97b4f2f225d34394170572e79ab9a8b49beac6c054021db367a01b6da91deaa726284a25c86eb57e11dcd09ad5dc44cb4 SHA512 ca53477ad38264be38efb1d10a1337b647dd061127162c77533b17a30d046cd0caabe38e4a9e5389aac30d5dc62eb53e7877411e69adae36d0ca869bd0a82804 |
35 |
-DIST screen-4.6.0.tar.gz 849062 BLAKE2B e08915bb34d4e356eb33c479f1b2dc7a8f4a855e9d1c27490ff31cfc88b4bd9dfb11101dd0e4508f3b37b023b9f9b987dfaff4c6cc930e994d22fcb024cf341d SHA512 2ee7cc51c62a478e72eda0647f3f347e63f40384e19bc11b074158bd94cdb628c6425b1dd7a472496d56bff11a30a9dc58859c2e7e539fae2a8718ed9b0f96d7 |
36 |
-DIST screen-4.6.1.tar.gz 848979 BLAKE2B e78874b6d8723c52f827ab5e6b665102d7fd831f03a0006f9d31e000535ccce95ce08e2d302e34ba2d567167a917c8bd3b875843828d1951bcb38ab6ae4e0acf SHA512 e5d029400ed5b509ebddc1f55812c33536d6f5ce91119537c7d06e1fa7dee84939c43337df4638f61c818ce0412f4d08fe212202162a4483a9e84bbc4b3e4336 |
37 |
-DIST screen-4.6.2.tar.gz 845210 BLAKE2B feea244e2e0c8f638442a524cd7cac93c6c5e576541bf1321fb32bc9424abf53415d00ebcb4a13a9613788c1baad6e132f209bd0a017b100e0687b3658603aea SHA512 224bd16ad5ae501d1b8bb7d2ba9cc19e6a0743de5a5b320109c2f6bf3b1ca564cc7094ed9211be13733d9d769cde77d13fe236341d448cad0518038ab1e85c99 |
38 |
------BEGIN PGP SIGNATURE----- |
39 |
- |
40 |
-iQEzBAEBCAAdFiEEDe3xqQRWi60fxFwoPcxEeC7QfhwFAlvu1NoACgkQPcxEeC7Q |
41 |
-fhyRJQgAnr43VlPa10cSJ4ndRWpxo0C0uXlmcBA12TthcwDrOPoU44QOlaai8qy8 |
42 |
-ZitvREY6W5fBgsfAz1OVAef1jlLLHJK+0k58CVdedQdtpbwOcBtFc1ZOWKYwXGxK |
43 |
-kx8LSG44XcroLe3m9YWs+Y5+l3Db5FyLMbG/WSC1jwCZrRznrdzOC5U/5UDcqLZP |
44 |
-IBAn1aqwnotO6t5rWnM2HBJ8i1K7f1xo3B7lnnYHEQqVJ/qCWqNbOVMUAfnpZhvM |
45 |
-y9Nat9XjRuSaxsdnhqfncsdSPtnb+2nywfGZyjbSApNZ5xL3LdR8OADwko6ukRBP |
46 |
-MpBJaPNhUVNQGEqu0eKEwDZheN824g== |
47 |
-=3fDd |
48 |
------END PGP SIGNATURE----- |
49 |
|
50 |
diff --git a/app-misc/screen/files/screen-4.3.0-no-utempter.patch b/app-misc/screen/files/screen-4.3.0-no-utempter.patch |
51 |
deleted file mode 100644 |
52 |
index e11be5b..0000000 |
53 |
--- a/app-misc/screen/files/screen-4.3.0-no-utempter.patch |
54 |
+++ /dev/null |
55 |
@@ -1,14 +0,0 @@ |
56 |
---- a/configure.ac |
57 |
-+++ b/configure.ac |
58 |
-@@ -878,11 +878,6 @@ |
59 |
- #include <utmp.h> |
60 |
- #endif |
61 |
- ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST)) |
62 |
--AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no) |
63 |
--if test "$have_utempter" = yes; then |
64 |
-- AC_DEFINE(HAVE_UTEMPTER) |
65 |
-- LIBS="$LIBS -lutempter" |
66 |
--fi |
67 |
- |
68 |
- dnl |
69 |
- dnl **** loadav **** |
70 |
|
71 |
diff --git a/app-misc/screen/files/screen-4.5.1-texinfo.patch b/app-misc/screen/files/screen-4.5.1-texinfo.patch |
72 |
deleted file mode 100644 |
73 |
index 8d7a5e5..0000000 |
74 |
--- a/app-misc/screen/files/screen-4.5.1-texinfo.patch |
75 |
+++ /dev/null |
76 |
@@ -1,13 +0,0 @@ |
77 |
---- a/doc/screen.texinfo |
78 |
-+++ b/doc/screen.texinfo |
79 |
-@@ -5796,8 +5796,8 @@ |
80 |
- ============ |
81 |
- |
82 |
- @example |
83 |
-- Thomas Renninger <treen@××××.com>, |
84 |
-- Axel Beckert <abe@×××××××××××.org>, |
85 |
-+ Thomas Renninger <treen@@suse.com>, |
86 |
-+ Axel Beckert <abe@@deuxchevaux.org>, |
87 |
- Ken Beal <kbeal@@amber.ssd.csd.harris.com>, |
88 |
- Rudolf Koenig <rfkoenig@@informatik.uni-erlangen.de>, |
89 |
- Toerless Eckert <eckert@@informatik.uni-erlangen.de>, |
90 |
|
91 |
diff --git a/app-misc/screen/files/screen-4.6.2-utmp-exit.patch b/app-misc/screen/files/screen-4.6.2-utmp-exit.patch |
92 |
deleted file mode 100644 |
93 |
index 11adf69..0000000 |
94 |
--- a/app-misc/screen/files/screen-4.6.2-utmp-exit.patch |
95 |
+++ /dev/null |
96 |
@@ -1,55 +0,0 @@ |
97 |
-From 2f1b9dfe03133c9b77ea450aed088d65128dc547 Mon Sep 17 00:00:00 2001 |
98 |
-From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= <amade@××××××.net> |
99 |
-Date: Tue, 5 Apr 2016 12:47:08 +0200 |
100 |
-Subject: [PATCH] check if we have ut_exit in utmpx struct |
101 |
- |
102 |
---- |
103 |
- acconfig.h | 5 +++++ |
104 |
- configure.ac | 4 ++++ |
105 |
- utmp.c | 2 ++ |
106 |
- 3 files changed, 11 insertions(+) |
107 |
- |
108 |
-diff --git a/acconfig.h b/acconfig.h |
109 |
-index 656e117..d173c9c 100644 |
110 |
---- a/acconfig.h |
111 |
-+++ b/acconfig.h |
112 |
-@@ -215,6 +215,11 @@ |
113 |
- #undef HAVE_UTEMPTER |
114 |
- |
115 |
- /* |
116 |
-+ * Define if your utmpx has ut_exit struct |
117 |
-+ */ |
118 |
-+#undef HAVE_UT_EXIT |
119 |
-+ |
120 |
-+/* |
121 |
- * If your system has the calls setreuid() and setregid(), |
122 |
- * define HAVE_SETREUID. Otherwise screen will use a forked process to |
123 |
- * safely create output files without retaining any special privileges. |
124 |
-diff --git a/configure.ac b/configure.ac |
125 |
-index 1a75020..8457619 100644 |
126 |
---- a/configure.ac |
127 |
-+++ b/configure.ac |
128 |
-@@ -374,6 +374,10 @@ if test "$have_utempter" = yes; then |
129 |
- AC_DEFINE(HAVE_UTEMPTER) |
130 |
- LIBS="$LIBS -lutempter" |
131 |
- fi |
132 |
-+AC_CHECKING(ut_exit) |
133 |
-+AC_TRY_COMPILE([ |
134 |
-+#include <utmpx.h> |
135 |
-+],[struct utmpx u; u.ut_exit.e_exit;], AC_DEFINE(HAVE_UT_EXIT)) |
136 |
- |
137 |
- dnl |
138 |
- dnl **** signal handling **** |
139 |
-diff --git a/utmp.c b/utmp.c |
140 |
-index da8d7ff..c864d07 100644 |
141 |
---- a/utmp.c |
142 |
-+++ b/utmp.c |
143 |
-@@ -381,7 +381,7 @@ static int pututslot(slot_t slot, struct utmpx *u, char *host, Window *win) |
144 |
- struct utmp *u; |
145 |
- { |
146 |
- u->ut_type = DEAD_PROCESS; |
147 |
--#if (!defined(linux) || defined(EMPTY)) && !defined(__CYGWIN__) |
148 |
-+#if defined(HAVE_UT_EXIT) |
149 |
- u->ut_exit.e_termination = 0; |
150 |
- u->ut_exit.e_exit = 0; |
151 |
- #endif |
152 |
|
153 |
diff --git a/app-misc/screen/files/screenrc b/app-misc/screen/files/screenrc |
154 |
deleted file mode 100644 |
155 |
index 7c3478a..0000000 |
156 |
--- a/app-misc/screen/files/screenrc |
157 |
+++ /dev/null |
158 |
@@ -1,356 +0,0 @@ |
159 |
-# Copyright 1999-2018 Gentoo Authors |
160 |
-# Distributed under the terms of the GNU General Public License v2 |
161 |
-# |
162 |
-# /etc/screenrc |
163 |
-# |
164 |
-# This is the system wide screenrc. |
165 |
-# |
166 |
-# You can use this file to change the default behavior of screen system wide |
167 |
-# or copy it to ~/.screenrc and use it as a starting point for your own |
168 |
-# settings. |
169 |
-# |
170 |
-# Commands in this file are used to set options, bind screen functions to |
171 |
-# keys, redefine terminal capabilities, and to automatically establish one or |
172 |
-# more windows at the beginning of your screen session. |
173 |
-# |
174 |
-# This is not a comprehensive list of options, look at the screen manual for |
175 |
-# details on everything that you can put in this file. |
176 |
-# |
177 |
-# |
178 |
- |
179 |
-# ============================================================================== |
180 |
-# SCREEN SETTINGS |
181 |
-# ============================================================================== |
182 |
- |
183 |
-# ESCAPE - the COMMAND CHARACTER |
184 |
-# =============================================================== |
185 |
-# escape ^aa # default |
186 |
-# escape ^^^^ # suggested binding (Control-^) for Emacs users |
187 |
- |
188 |
- |
189 |
-# PASSWORD |
190 |
-# =============================================================== |
191 |
-# This commands sets the *internal* password for the screen session. |
192 |
-# WARNING!! If this is set then a "lock" command will only let you in to the |
193 |
-# session after you enter the user's account password and then *also* |
194 |
-# the internal password for that session. This gives additional safety but, |
195 |
-# if you forget the internal password then you cannot resume your session. |
196 |
-# Use :password to generate a password |
197 |
-# password ODSJQf.4IJN7E # "1234" |
198 |
- |
199 |
- |
200 |
-# VARIABLES |
201 |
-# =============================================================== |
202 |
-# No annoying audible bell, using "visual bell" |
203 |
-# vbell on # default: off |
204 |
-# vbell_msg " -- Bell,Bell!! -- " # default: "Wuff,Wuff!!" |
205 |
- |
206 |
-# Automatically detach on hangup. |
207 |
- autodetach on # default: on |
208 |
- |
209 |
-# Don't display the copyright page |
210 |
- startup_message off # default: on |
211 |
- |
212 |
-# Uses nethack-style messages |
213 |
-# nethack on # default: off |
214 |
- |
215 |
-# Affects the copying of text regions |
216 |
- crlf off # default: off |
217 |
- |
218 |
-# Enable/disable multiuser mode. Standard screen operation is singleuser. |
219 |
-# In multiuser mode the commands acladd, aclchg, aclgrp and acldel can be used |
220 |
-# to enable (and disable) other user accessing this screen session. |
221 |
-# Requires suid-root. |
222 |
- multiuser off |
223 |
- |
224 |
-# Change default scrollback value for new windows |
225 |
- defscrollback 1000 # default: 100 |
226 |
- |
227 |
-# Define the time that all windows monitored for silence should |
228 |
-# wait before displaying a message. Default 30 seconds. |
229 |
- silencewait 15 # default: 30 |
230 |
- |
231 |
-# bufferfile: The file to use for commands |
232 |
-# "readbuf" ('<') and "writebuf" ('>'): |
233 |
- bufferfile $HOME/.screen_exchange |
234 |
-# |
235 |
-# hardcopydir: The directory which contains all hardcopies. |
236 |
-# hardcopydir ~/.hardcopy |
237 |
-# hardcopydir ~/.screen |
238 |
-# |
239 |
-# shell: Default process started in screen's windows. |
240 |
-# Makes it possible to use a different shell inside screen |
241 |
-# than is set as the default login shell. |
242 |
-# If begins with a '-' character, the shell will be started as a login shell. |
243 |
-# shell zsh |
244 |
-# shell bash |
245 |
-# shell ksh |
246 |
- shell -$SHELL |
247 |
- |
248 |
-# shellaka '> |tcsh' |
249 |
-# shelltitle '$ |bash' |
250 |
- |
251 |
-# emulate .logout message |
252 |
- pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." |
253 |
- |
254 |
-# caption always " %w --- %c:%s" |
255 |
-# caption always "%3n %t%? @%u%?%? [%h]%?%=%c" |
256 |
- |
257 |
-# advertise hardstatus support to $TERMCAP |
258 |
-# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\' |
259 |
- |
260 |
-# set every new windows hardstatus line to somenthing descriptive |
261 |
-# defhstatus "screen: ^En (^Et)" |
262 |
- |
263 |
-# don't kill window after the process died |
264 |
-# zombie "^[" |
265 |
- |
266 |
-# ignore displays that block on output |
267 |
-defnonblock on |
268 |
- |
269 |
-# XTERM TWEAKS |
270 |
-# =============================================================== |
271 |
- |
272 |
-# xterm understands both im/ic and doesn't have a status line. |
273 |
-# Note: Do not specify im and ic in the real termcap/info file as |
274 |
-# some programs (e.g. vi) will not work anymore. |
275 |
- termcap xterm* hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l |
276 |
- terminfo xterm* hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l |
277 |
- |
278 |
-# 80/132 column switching must be enabled for ^AW to work |
279 |
-# change init sequence to not switch width |
280 |
- termcapinfo xterm* Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l |
281 |
- |
282 |
-# Make the output buffer large for (fast) xterms. |
283 |
-# termcapinfo xterm* OL=10000 |
284 |
- termcapinfo xterm* OL=100 |
285 |
- |
286 |
-# tell screen that xterm can switch to dark background and has function |
287 |
-# keys. |
288 |
- termcapinfo xterm* 'VR=\E[?5h:VN=\E[?5l' |
289 |
- termcapinfo xterm* 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' |
290 |
- termcapinfo xterm* 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' |
291 |
- |
292 |
-# special xterm hardstatus: use the window title. |
293 |
- termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' |
294 |
- |
295 |
-#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' |
296 |
- termcapinfo xterm* 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' |
297 |
- |
298 |
-# emulate part of the 'K' charset |
299 |
- termcapinfo xterm* 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' |
300 |
- |
301 |
-# xterm-52 tweaks: |
302 |
-# - uses background color for delete operations |
303 |
- termcapinfo xterm* be |
304 |
- |
305 |
-# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195) |
306 |
- termcapinfo xterm*|xs ti@:te=\E[2J |
307 |
- |
308 |
-# WYSE TERMINALS |
309 |
-# =============================================================== |
310 |
- |
311 |
-#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff") |
312 |
-#essential to have it here, as this is a slow terminal. |
313 |
- termcapinfo wy75-42 xo:hs@ |
314 |
- |
315 |
-# New termcap sequences for cursor application mode. |
316 |
- termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J |
317 |
- |
318 |
- |
319 |
-# OTHER TERMINALS |
320 |
-# =============================================================== |
321 |
- |
322 |
-# make hp700 termcap/info better |
323 |
- termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@' |
324 |
- |
325 |
-# Extend the vt100 desciption by some sequences. |
326 |
- termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC |
327 |
- terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC |
328 |
- termcapinfo linux C8 |
329 |
-# old rxvt versions also need this |
330 |
-# termcapinfo rxvt C8 |
331 |
- |
332 |
- |
333 |
-# KEYBINDINGS |
334 |
-# ============================================================== |
335 |
-# The "bind" command assign keys to (internal) commands |
336 |
-# SCREEN checks all the keys you type; you type the key |
337 |
-# which is known as the "command character" then SCREEN |
338 |
-# eats this key, too, and checks whether this key is |
339 |
-# "bound" to a command. If so then SCREEN will execute it. |
340 |
-# |
341 |
-# The command "bind" allows you to chose which keys |
342 |
-# will be assigned to the commands. |
343 |
-# |
344 |
-# Some commands are bound to several keys - |
345 |
-# usually to both some letter and its corresponding |
346 |
-# control key combination, eg the command |
347 |
-# "(create) screen" is bound to both 'c' and '^C'. |
348 |
-# |
349 |
-# The following list shows the default bindings: |
350 |
-# |
351 |
-# break ^B b |
352 |
-# clear C |
353 |
-# colon : |
354 |
-# copy ^[ [ |
355 |
-# detach ^D d |
356 |
-# digraph ^V |
357 |
-# displays * |
358 |
-# dumptermcap . |
359 |
-# fit F |
360 |
-# flow ^F f |
361 |
-# focus ^I |
362 |
-# hardcopy h |
363 |
-# help ? |
364 |
-# history { } |
365 |
-# info i |
366 |
-# kill K k |
367 |
-# lastmsg ^M m |
368 |
-# license , |
369 |
-# log H |
370 |
-# login L |
371 |
-# meta x |
372 |
-# monitor M |
373 |
-# next ^@ ^N sp n |
374 |
-# number N |
375 |
-# only Q |
376 |
-# other ^X |
377 |
-# pow_break B |
378 |
-# pow_detach D |
379 |
-# prev ^H ^P p ^? |
380 |
-# quit \ |
381 |
-# readbuf < |
382 |
-# redisplay ^L l |
383 |
-# remove X |
384 |
-# removebuf = |
385 |
-# reset Z |
386 |
-# screen ^C c |
387 |
-# select " ' |
388 |
-# silence _ |
389 |
-# split S |
390 |
-# suspend ^Z z |
391 |
-# time ^T t |
392 |
-# title A |
393 |
-# vbell ^G |
394 |
-# version v |
395 |
-# width W |
396 |
-# windows ^W w |
397 |
-# wrap ^R r |
398 |
-# writebuf > |
399 |
-# xoff ^S s |
400 |
-# xon ^Q q |
401 |
-# ^] paste . |
402 |
-# - select - |
403 |
-# 0 select 0 |
404 |
-# 1 select 1 |
405 |
-# 2 select 2 |
406 |
-# 3 select 3 |
407 |
-# 4 select 4 |
408 |
-# 5 select 5 |
409 |
-# 6 select 6 |
410 |
-# 7 select 7 |
411 |
-# 8 select 8 |
412 |
-# 9 select 9 |
413 |
-# I login on |
414 |
-# O login off |
415 |
-# ] paste . |
416 |
-# |
417 |
- |
418 |
-# And here are the default bind commands if you need them: |
419 |
-# |
420 |
-# bind A title |
421 |
-# bind C clear |
422 |
-# bind D pow_detach |
423 |
-# bind F fit |
424 |
-# bind H log |
425 |
-# bind I login on |
426 |
-# bind K kill |
427 |
-# bind L login |
428 |
-# bind M monitor |
429 |
-# bind N number |
430 |
-# bind O login off |
431 |
-# bind Q only |
432 |
-# bind S split |
433 |
-# bind W width |
434 |
-# bind X remove |
435 |
-# bind Z reset |
436 |
- |
437 |
-# Let's remove some dangerous key bindings ... |
438 |
- bind k |
439 |
- bind ^k |
440 |
-# bind . dumptermcap # default |
441 |
- bind . |
442 |
-# bind ^\ quit # default |
443 |
- bind ^\ |
444 |
-# bind \\ quit # default |
445 |
- bind \\ |
446 |
-# bind ^h ??? # default |
447 |
- bind ^h |
448 |
-# bind h hardcopy # default |
449 |
- bind h |
450 |
- |
451 |
-# ... and make them better. |
452 |
- bind 'K' kill |
453 |
- bind 'I' login on |
454 |
- bind 'O' login off |
455 |
- bind '}' history |
456 |
- |
457 |
-# Yet another hack: |
458 |
-# Prepend/append register [/] to the paste if ^a^] is pressed. |
459 |
-# This lets me have autoindent mode in vi. |
460 |
- register [ "\033:se noai\015a" |
461 |
- register ] "\033:se ai\015a" |
462 |
- bind ^] paste [.] |
463 |
- |
464 |
- |
465 |
-# hardstatus alwaysignore |
466 |
-# hardstatus alwayslastline "%Lw" |
467 |
- |
468 |
-# Resize the current region. The space will be removed from or added to |
469 |
-# the region below or if there's not enough space from the region above. |
470 |
- bind = resize = |
471 |
- bind + resize +3 |
472 |
- bind - resize -3 |
473 |
-# bind _ resize max |
474 |
-# |
475 |
-# attrcolor u "-u b" |
476 |
-# attrcolor b "R" |
477 |
- |
478 |
-# STARTUP SCREENS |
479 |
-# =============================================================== |
480 |
-# Defines the time screen delays a new message when one message |
481 |
-# is currently displayed. The default is 1 second. |
482 |
-# msgminwait 2 |
483 |
- |
484 |
-# Time a message is displayed if screen is not disturbed by |
485 |
-# other activity. The dafault is 5 seconds: |
486 |
-# msgwait 2 |
487 |
- |
488 |
-# Briefly show the version number of this starting |
489 |
-# screen session - but only for *one* second: |
490 |
-# msgwait 1 |
491 |
-# version |
492 |
- |
493 |
-# Welcome the user: |
494 |
-# echo "welcome :-)" |
495 |
-# echo "I love you today." |
496 |
- |
497 |
-# Uncomment one/some following lines to automatically let |
498 |
-# SCREEN start some programs in the given window numbers: |
499 |
-# screen -t MAIL 0 mutt |
500 |
-# screen -t EDIT 1 vim |
501 |
-# screen -t GOOGLE 2 links http://www.google.com |
502 |
-# screen -t NEWS 3 slrn |
503 |
-# screen -t WWW 4 links http://www.math.fu-berlin.de/~guckes/ |
504 |
-# screen 5 |
505 |
-# screen 6 |
506 |
- |
507 |
-# Set the environment variable var to value string. If only var is specified, |
508 |
-# you'll be prompted to enter a value. If no parameters are specified, |
509 |
-# you'll be prompted for both variable and value. The environment is |
510 |
-# inherited by all subsequently forked shells. |
511 |
-# setenv PROMPT_COMMAND 'echo -n -e "\033k\033\134"' |
512 |
- |
513 |
-# Don't you want to start programs which need a DISPLAY ? |
514 |
-# setenv DISPLAY '' |
515 |
|
516 |
diff --git a/app-misc/screen/metadata.xml b/app-misc/screen/metadata.xml |
517 |
deleted file mode 100644 |
518 |
index 85dc556..0000000 |
519 |
--- a/app-misc/screen/metadata.xml |
520 |
+++ /dev/null |
521 |
@@ -1,35 +0,0 @@ |
522 |
-<?xml version="1.0" encoding="UTF-8"?> |
523 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
524 |
-<pkgmetadata> |
525 |
- <maintainer type="person"> |
526 |
- <email>swegener@g.o</email> |
527 |
- </maintainer> |
528 |
- <maintainer type="project"> |
529 |
- <email>shell-tools@g.o</email> |
530 |
- <name>Gentoo Shell Tools Project</name> |
531 |
- </maintainer> |
532 |
- <longdescription> |
533 |
-Screen is a full-screen window manager that multiplexes a physical terminal |
534 |
-between several processes, typically interactive shells. Each virtual terminal |
535 |
-provides the functions of the DEC VT100 terminal and, in addition, several |
536 |
-control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., |
537 |
-insert/delete line and support for multiple character sets). There is a |
538 |
-scrollback history buffer for each virtual terminal and a copy-and-paste |
539 |
-mechanism that allows the user to move text regions between windows. When screen |
540 |
-is called, it creates a single window with a shell in it (or the specified |
541 |
-command) and then gets out of your way so that you can use the program as you |
542 |
-normally would. Then, at any time, you can create new (full-screen) windows with |
543 |
-other programs in them (including more shells), kill the current window, view a |
544 |
-list of the active windows, turn output logging on and off, copy text between |
545 |
-windows, view the scrollback history, switch between windows, etc. All windows |
546 |
-run their programs completely independent of each other. Programs continue to |
547 |
-run when their window is currently not visible and even when the whole screen |
548 |
-session is detached from the users terminal. |
549 |
-</longdescription> |
550 |
- <use> |
551 |
- <flag name="multiuser">Enable multiuser support (by setting correct |
552 |
- permissions)</flag> |
553 |
- <flag name="nethack">Express error messages in nethack style</flag> |
554 |
- <flag name="utmp">Include utmp support</flag> |
555 |
- </use> |
556 |
-</pkgmetadata> |
557 |
|
558 |
diff --git a/app-misc/screen/screen-4.5.1.ebuild b/app-misc/screen/screen-4.5.1.ebuild |
559 |
deleted file mode 100644 |
560 |
index f395c42..0000000 |
561 |
--- a/app-misc/screen/screen-4.5.1.ebuild |
562 |
+++ /dev/null |
563 |
@@ -1,163 +0,0 @@ |
564 |
-# Copyright 1999-2018 Gentoo Authors |
565 |
-# Distributed under the terms of the GNU General Public License v2 |
566 |
- |
567 |
-EAPI=6 |
568 |
- |
569 |
-SCM="" |
570 |
-[[ "${PV}" = 9999 ]] && SCM="git-r3" |
571 |
-inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM} |
572 |
-unset SCM |
573 |
- |
574 |
-DESCRIPTION="screen manager with VT100/ANSI terminal emulation" |
575 |
-HOMEPAGE="https://www.gnu.org/software/screen/" |
576 |
- |
577 |
-if [[ "${PV}" != 9999 ]] ; then |
578 |
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
579 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
580 |
-else |
581 |
- EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git" |
582 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on |
583 |
- S="${WORKDIR}"/${P}/src |
584 |
-fi |
585 |
- |
586 |
-LICENSE="GPL-2" |
587 |
-SLOT="0" |
588 |
-IUSE="debug nethack pam selinux multiuser" |
589 |
- |
590 |
-CDEPEND=" |
591 |
- >=sys-libs/ncurses-5.2:0= |
592 |
- pam? ( virtual/pam )" |
593 |
-RDEPEND="${CDEPEND} |
594 |
- selinux? ( sec-policy/selinux-screen )" |
595 |
-DEPEND="${CDEPEND} |
596 |
- sys-apps/texinfo" |
597 |
- |
598 |
-PATCHES=( |
599 |
- # Don't use utempter even if it is found on the system. |
600 |
- "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch |
601 |
- # @ => @@ |
602 |
- "${FILESDIR}"/${PN}-4.5.1-texinfo.patch |
603 |
-) |
604 |
- |
605 |
-pkg_setup() { |
606 |
- # Make sure utmp group exists, as it's used later on. |
607 |
- enewgroup utmp 406 |
608 |
-} |
609 |
- |
610 |
-src_prepare() { |
611 |
- default |
612 |
- |
613 |
- # sched.h is a system header and causes problems with some C libraries |
614 |
- mv sched.h _sched.h || die |
615 |
- sed -i '/include/ s:sched.h:_sched.h:' screen.h || die |
616 |
- |
617 |
- # Fix manpage. |
618 |
- sed -i \ |
619 |
- -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
620 |
- -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \ |
621 |
- -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
622 |
- -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \ |
623 |
- -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \ |
624 |
- doc/screen.1 \ |
625 |
- || die |
626 |
- |
627 |
- if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then |
628 |
- sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die |
629 |
- fi |
630 |
- |
631 |
- # disable musl dummy headers for utmp[x] |
632 |
- use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" |
633 |
- |
634 |
- # reconfigure |
635 |
- eautoreconf |
636 |
-} |
637 |
- |
638 |
-src_configure() { |
639 |
- append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" |
640 |
- |
641 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
642 |
- # enable msg_header by upping the feature standard compatible |
643 |
- # with c99 mode |
644 |
- append-cppflags -D_XOPEN_SOURCE=600 |
645 |
- fi |
646 |
- |
647 |
- use nethack || append-cppflags "-DNONETHACK" |
648 |
- use debug && append-cppflags "-DDEBUG" |
649 |
- |
650 |
- econf \ |
651 |
- --with-socket-dir="${EPREFIX}/tmp/screen" \ |
652 |
- --with-sys-screenrc="${EPREFIX}/etc/screenrc" \ |
653 |
- --with-pty-mode=0620 \ |
654 |
- --with-pty-group=5 \ |
655 |
- --enable-rxvt_osc \ |
656 |
- --enable-telnet \ |
657 |
- --enable-colors256 \ |
658 |
- $(use_enable pam) |
659 |
-} |
660 |
- |
661 |
-src_compile() { |
662 |
- LC_ALL=POSIX emake comm.h term.h |
663 |
- emake osdef.h |
664 |
- |
665 |
- emake -C doc screen.info |
666 |
- default |
667 |
-} |
668 |
- |
669 |
-src_install() { |
670 |
- local DOCS=( |
671 |
- README ChangeLog INSTALL TODO NEWS* patchlevel.h |
672 |
- doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} |
673 |
- ) |
674 |
- |
675 |
- default |
676 |
- |
677 |
- local tmpfiles_perms tmpfiles_group |
678 |
- |
679 |
- if use multiuser || use prefix |
680 |
- then |
681 |
- fperms 4755 /usr/bin/screen-${PV} |
682 |
- tmpfiles_perms="0755" |
683 |
- tmpfiles_group="root" |
684 |
- else |
685 |
- fowners root:utmp /usr/bin/screen-${PV} |
686 |
- fperms 2755 /usr/bin/screen-${PV} |
687 |
- tmpfiles_perms="0775" |
688 |
- tmpfiles_group="utmp" |
689 |
- fi |
690 |
- |
691 |
- dodir /etc/tmpfiles.d |
692 |
- echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ |
693 |
- > "${ED}"/etc/tmpfiles.d/screen.conf |
694 |
- |
695 |
- insinto /usr/share/screen |
696 |
- doins terminfo/{screencap,screeninfo.src} |
697 |
- |
698 |
- insinto /etc |
699 |
- doins "${FILESDIR}"/screenrc |
700 |
- |
701 |
- pamd_mimic_system screen auth |
702 |
-} |
703 |
- |
704 |
-pkg_postinst() { |
705 |
- if [[ -z ${REPLACING_VERSIONS} ]] |
706 |
- then |
707 |
- elog "Some dangerous key bindings have been removed or changed to more safe values." |
708 |
- elog "We enable some xterm hacks in our default screenrc, which might break some" |
709 |
- elog "applications. Please check /etc/screenrc for information on these changes." |
710 |
- fi |
711 |
- |
712 |
- # Add /tmp/screen in case it doesn't exist yet. This should solve |
713 |
- # problems like bug #508634 where tmpfiles.d isn't in effect. |
714 |
- local rundir="${EROOT%/}/tmp/screen" |
715 |
- if [[ ! -d ${rundir} ]] ; then |
716 |
- if use multiuser || use prefix ; then |
717 |
- tmpfiles_group="root" |
718 |
- else |
719 |
- tmpfiles_group="utmp" |
720 |
- fi |
721 |
- mkdir -m 0775 "${rundir}" |
722 |
- chgrp ${tmpfiles_group} "${rundir}" |
723 |
- fi |
724 |
- |
725 |
- ewarn "This revision changes the screen socket location to ${rundir}" |
726 |
-} |
727 |
|
728 |
diff --git a/app-misc/screen/screen-4.6.0.ebuild b/app-misc/screen/screen-4.6.0.ebuild |
729 |
deleted file mode 100644 |
730 |
index 393243a..0000000 |
731 |
--- a/app-misc/screen/screen-4.6.0.ebuild |
732 |
+++ /dev/null |
733 |
@@ -1,161 +0,0 @@ |
734 |
-# Copyright 1999-2018 Gentoo Authors |
735 |
-# Distributed under the terms of the GNU General Public License v2 |
736 |
- |
737 |
-EAPI=6 |
738 |
- |
739 |
-SCM="" |
740 |
-[[ "${PV}" = 9999 ]] && SCM="git-r3" |
741 |
-inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM} |
742 |
-unset SCM |
743 |
- |
744 |
-DESCRIPTION="screen manager with VT100/ANSI terminal emulation" |
745 |
-HOMEPAGE="https://www.gnu.org/software/screen/" |
746 |
- |
747 |
-if [[ "${PV}" != 9999 ]] ; then |
748 |
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
749 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
750 |
-else |
751 |
- EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git" |
752 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on |
753 |
- S="${WORKDIR}"/${P}/src |
754 |
-fi |
755 |
- |
756 |
-LICENSE="GPL-2" |
757 |
-SLOT="0" |
758 |
-IUSE="debug nethack pam selinux multiuser" |
759 |
- |
760 |
-CDEPEND=" |
761 |
- >=sys-libs/ncurses-5.2:0= |
762 |
- pam? ( virtual/pam )" |
763 |
-RDEPEND="${CDEPEND} |
764 |
- selinux? ( sec-policy/selinux-screen )" |
765 |
-DEPEND="${CDEPEND} |
766 |
- sys-apps/texinfo" |
767 |
- |
768 |
-PATCHES=( |
769 |
- # Don't use utempter even if it is found on the system. |
770 |
- "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch |
771 |
-) |
772 |
- |
773 |
-pkg_setup() { |
774 |
- # Make sure utmp group exists, as it's used later on. |
775 |
- enewgroup utmp 406 |
776 |
-} |
777 |
- |
778 |
-src_prepare() { |
779 |
- default |
780 |
- |
781 |
- # sched.h is a system header and causes problems with some C libraries |
782 |
- mv sched.h _sched.h || die |
783 |
- sed -i '/include/ s:sched.h:_sched.h:' screen.h || die |
784 |
- |
785 |
- # Fix manpage. |
786 |
- sed -i \ |
787 |
- -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
788 |
- -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \ |
789 |
- -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
790 |
- -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \ |
791 |
- -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \ |
792 |
- doc/screen.1 \ |
793 |
- || die |
794 |
- |
795 |
- if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then |
796 |
- sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die |
797 |
- fi |
798 |
- |
799 |
- # disable musl dummy headers for utmp[x] |
800 |
- use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" |
801 |
- |
802 |
- # reconfigure |
803 |
- eautoreconf |
804 |
-} |
805 |
- |
806 |
-src_configure() { |
807 |
- append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" |
808 |
- |
809 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
810 |
- # enable msg_header by upping the feature standard compatible |
811 |
- # with c99 mode |
812 |
- append-cppflags -D_XOPEN_SOURCE=600 |
813 |
- fi |
814 |
- |
815 |
- use nethack || append-cppflags "-DNONETHACK" |
816 |
- use debug && append-cppflags "-DDEBUG" |
817 |
- |
818 |
- econf \ |
819 |
- --with-socket-dir="${EPREFIX}/tmp/screen" \ |
820 |
- --with-sys-screenrc="${EPREFIX}/etc/screenrc" \ |
821 |
- --with-pty-mode=0620 \ |
822 |
- --with-pty-group=5 \ |
823 |
- --enable-rxvt_osc \ |
824 |
- --enable-telnet \ |
825 |
- --enable-colors256 \ |
826 |
- $(use_enable pam) |
827 |
-} |
828 |
- |
829 |
-src_compile() { |
830 |
- LC_ALL=POSIX emake comm.h term.h |
831 |
- emake osdef.h |
832 |
- |
833 |
- emake -C doc screen.info |
834 |
- default |
835 |
-} |
836 |
- |
837 |
-src_install() { |
838 |
- local DOCS=( |
839 |
- README ChangeLog INSTALL TODO NEWS* patchlevel.h |
840 |
- doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} |
841 |
- ) |
842 |
- |
843 |
- default |
844 |
- |
845 |
- local tmpfiles_perms tmpfiles_group |
846 |
- |
847 |
- if use multiuser || use prefix |
848 |
- then |
849 |
- fperms 4755 /usr/bin/screen-${PV} |
850 |
- tmpfiles_perms="0755" |
851 |
- tmpfiles_group="root" |
852 |
- else |
853 |
- fowners root:utmp /usr/bin/screen-${PV} |
854 |
- fperms 2755 /usr/bin/screen-${PV} |
855 |
- tmpfiles_perms="0775" |
856 |
- tmpfiles_group="utmp" |
857 |
- fi |
858 |
- |
859 |
- dodir /etc/tmpfiles.d |
860 |
- echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ |
861 |
- > "${ED}"/etc/tmpfiles.d/screen.conf |
862 |
- |
863 |
- insinto /usr/share/screen |
864 |
- doins terminfo/{screencap,screeninfo.src} |
865 |
- |
866 |
- insinto /etc |
867 |
- doins "${FILESDIR}"/screenrc |
868 |
- |
869 |
- pamd_mimic_system screen auth |
870 |
-} |
871 |
- |
872 |
-pkg_postinst() { |
873 |
- if [[ -z ${REPLACING_VERSIONS} ]] |
874 |
- then |
875 |
- elog "Some dangerous key bindings have been removed or changed to more safe values." |
876 |
- elog "We enable some xterm hacks in our default screenrc, which might break some" |
877 |
- elog "applications. Please check /etc/screenrc for information on these changes." |
878 |
- fi |
879 |
- |
880 |
- # Add /tmp/screen in case it doesn't exist yet. This should solve |
881 |
- # problems like bug #508634 where tmpfiles.d isn't in effect. |
882 |
- local rundir="${EROOT%/}/tmp/screen" |
883 |
- if [[ ! -d ${rundir} ]] ; then |
884 |
- if use multiuser || use prefix ; then |
885 |
- tmpfiles_group="root" |
886 |
- else |
887 |
- tmpfiles_group="utmp" |
888 |
- fi |
889 |
- mkdir -m 0775 "${rundir}" |
890 |
- chgrp ${tmpfiles_group} "${rundir}" |
891 |
- fi |
892 |
- |
893 |
- ewarn "This revision changes the screen socket location to ${rundir}" |
894 |
-} |
895 |
|
896 |
diff --git a/app-misc/screen/screen-4.6.1.ebuild b/app-misc/screen/screen-4.6.1.ebuild |
897 |
deleted file mode 100644 |
898 |
index ee99e92..0000000 |
899 |
--- a/app-misc/screen/screen-4.6.1.ebuild |
900 |
+++ /dev/null |
901 |
@@ -1,161 +0,0 @@ |
902 |
-# Copyright 1999-2018 Gentoo Authors |
903 |
-# Distributed under the terms of the GNU General Public License v2 |
904 |
- |
905 |
-EAPI=6 |
906 |
- |
907 |
-SCM="" |
908 |
-[[ "${PV}" = 9999 ]] && SCM="git-r3" |
909 |
-inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM} |
910 |
-unset SCM |
911 |
- |
912 |
-DESCRIPTION="screen manager with VT100/ANSI terminal emulation" |
913 |
-HOMEPAGE="https://www.gnu.org/software/screen/" |
914 |
- |
915 |
-if [[ "${PV}" != 9999 ]] ; then |
916 |
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
917 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
918 |
-else |
919 |
- EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git" |
920 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on |
921 |
- S="${WORKDIR}"/${P}/src |
922 |
-fi |
923 |
- |
924 |
-LICENSE="GPL-2" |
925 |
-SLOT="0" |
926 |
-IUSE="debug nethack pam selinux multiuser" |
927 |
- |
928 |
-CDEPEND=" |
929 |
- >=sys-libs/ncurses-5.2:0= |
930 |
- pam? ( virtual/pam )" |
931 |
-RDEPEND="${CDEPEND} |
932 |
- selinux? ( sec-policy/selinux-screen )" |
933 |
-DEPEND="${CDEPEND} |
934 |
- sys-apps/texinfo" |
935 |
- |
936 |
-PATCHES=( |
937 |
- # Don't use utempter even if it is found on the system. |
938 |
- "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch |
939 |
-) |
940 |
- |
941 |
-pkg_setup() { |
942 |
- # Make sure utmp group exists, as it's used later on. |
943 |
- enewgroup utmp 406 |
944 |
-} |
945 |
- |
946 |
-src_prepare() { |
947 |
- default |
948 |
- |
949 |
- # sched.h is a system header and causes problems with some C libraries |
950 |
- mv sched.h _sched.h || die |
951 |
- sed -i '/include/ s:sched.h:_sched.h:' screen.h || die |
952 |
- |
953 |
- # Fix manpage. |
954 |
- sed -i \ |
955 |
- -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
956 |
- -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \ |
957 |
- -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
958 |
- -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \ |
959 |
- -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \ |
960 |
- doc/screen.1 \ |
961 |
- || die |
962 |
- |
963 |
- if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then |
964 |
- sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die |
965 |
- fi |
966 |
- |
967 |
- # disable musl dummy headers for utmp[x] |
968 |
- use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" |
969 |
- |
970 |
- # reconfigure |
971 |
- eautoreconf |
972 |
-} |
973 |
- |
974 |
-src_configure() { |
975 |
- append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" |
976 |
- |
977 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
978 |
- # enable msg_header by upping the feature standard compatible |
979 |
- # with c99 mode |
980 |
- append-cppflags -D_XOPEN_SOURCE=600 |
981 |
- fi |
982 |
- |
983 |
- use nethack || append-cppflags "-DNONETHACK" |
984 |
- use debug && append-cppflags "-DDEBUG" |
985 |
- |
986 |
- econf \ |
987 |
- --with-socket-dir="${EPREFIX}/tmp/screen" \ |
988 |
- --with-sys-screenrc="${EPREFIX}/etc/screenrc" \ |
989 |
- --with-pty-mode=0620 \ |
990 |
- --with-pty-group=5 \ |
991 |
- --enable-rxvt_osc \ |
992 |
- --enable-telnet \ |
993 |
- --enable-colors256 \ |
994 |
- $(use_enable pam) |
995 |
-} |
996 |
- |
997 |
-src_compile() { |
998 |
- LC_ALL=POSIX emake comm.h term.h |
999 |
- emake osdef.h |
1000 |
- |
1001 |
- emake -C doc screen.info |
1002 |
- default |
1003 |
-} |
1004 |
- |
1005 |
-src_install() { |
1006 |
- local DOCS=( |
1007 |
- README ChangeLog INSTALL TODO NEWS* patchlevel.h |
1008 |
- doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} |
1009 |
- ) |
1010 |
- |
1011 |
- default |
1012 |
- |
1013 |
- local tmpfiles_perms tmpfiles_group |
1014 |
- |
1015 |
- if use multiuser || use prefix |
1016 |
- then |
1017 |
- fperms 4755 /usr/bin/screen-${PV} |
1018 |
- tmpfiles_perms="0755" |
1019 |
- tmpfiles_group="root" |
1020 |
- else |
1021 |
- fowners root:utmp /usr/bin/screen-${PV} |
1022 |
- fperms 2755 /usr/bin/screen-${PV} |
1023 |
- tmpfiles_perms="0775" |
1024 |
- tmpfiles_group="utmp" |
1025 |
- fi |
1026 |
- |
1027 |
- dodir /etc/tmpfiles.d |
1028 |
- echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ |
1029 |
- > "${ED}"/etc/tmpfiles.d/screen.conf |
1030 |
- |
1031 |
- insinto /usr/share/screen |
1032 |
- doins terminfo/{screencap,screeninfo.src} |
1033 |
- |
1034 |
- insinto /etc |
1035 |
- doins "${FILESDIR}"/screenrc |
1036 |
- |
1037 |
- pamd_mimic_system screen auth |
1038 |
-} |
1039 |
- |
1040 |
-pkg_postinst() { |
1041 |
- if [[ -z ${REPLACING_VERSIONS} ]] |
1042 |
- then |
1043 |
- elog "Some dangerous key bindings have been removed or changed to more safe values." |
1044 |
- elog "We enable some xterm hacks in our default screenrc, which might break some" |
1045 |
- elog "applications. Please check /etc/screenrc for information on these changes." |
1046 |
- fi |
1047 |
- |
1048 |
- # Add /tmp/screen in case it doesn't exist yet. This should solve |
1049 |
- # problems like bug #508634 where tmpfiles.d isn't in effect. |
1050 |
- local rundir="${EROOT%/}/tmp/screen" |
1051 |
- if [[ ! -d ${rundir} ]] ; then |
1052 |
- if use multiuser || use prefix ; then |
1053 |
- tmpfiles_group="root" |
1054 |
- else |
1055 |
- tmpfiles_group="utmp" |
1056 |
- fi |
1057 |
- mkdir -m 0775 "${rundir}" |
1058 |
- chgrp ${tmpfiles_group} "${rundir}" |
1059 |
- fi |
1060 |
- |
1061 |
- ewarn "This revision changes the screen socket location to ${rundir}" |
1062 |
-} |
1063 |
|
1064 |
diff --git a/app-misc/screen/screen-4.6.2.ebuild b/app-misc/screen/screen-4.6.2.ebuild |
1065 |
deleted file mode 100644 |
1066 |
index 831c965..0000000 |
1067 |
--- a/app-misc/screen/screen-4.6.2.ebuild |
1068 |
+++ /dev/null |
1069 |
@@ -1,163 +0,0 @@ |
1070 |
-# Copyright 1999-2018 Gentoo Authors |
1071 |
-# Distributed under the terms of the GNU General Public License v2 |
1072 |
- |
1073 |
-EAPI=6 |
1074 |
- |
1075 |
-SCM="" |
1076 |
-[[ "${PV}" = 9999 ]] && SCM="git-r3" |
1077 |
-inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM} |
1078 |
-unset SCM |
1079 |
- |
1080 |
-DESCRIPTION="screen manager with VT100/ANSI terminal emulation" |
1081 |
-HOMEPAGE="https://www.gnu.org/software/screen/" |
1082 |
- |
1083 |
-if [[ "${PV}" != 9999 ]] ; then |
1084 |
- SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
1085 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1086 |
-else |
1087 |
- EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git" |
1088 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on |
1089 |
- S="${WORKDIR}"/${P}/src |
1090 |
-fi |
1091 |
- |
1092 |
-LICENSE="GPL-2" |
1093 |
-SLOT="0" |
1094 |
-IUSE="debug nethack pam selinux multiuser" |
1095 |
- |
1096 |
-CDEPEND=" |
1097 |
- >=sys-libs/ncurses-5.2:0= |
1098 |
- pam? ( virtual/pam )" |
1099 |
-RDEPEND="${CDEPEND} |
1100 |
- selinux? ( sec-policy/selinux-screen )" |
1101 |
-DEPEND="${CDEPEND} |
1102 |
- sys-apps/texinfo" |
1103 |
- |
1104 |
-PATCHES=( |
1105 |
- # Don't use utempter even if it is found on the system. |
1106 |
- "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch |
1107 |
- "${FILESDIR}"/${P}-utmp-exit.patch |
1108 |
-) |
1109 |
- |
1110 |
-pkg_setup() { |
1111 |
- # Make sure utmp group exists, as it's used later on. |
1112 |
- enewgroup utmp 406 |
1113 |
-} |
1114 |
- |
1115 |
-src_prepare() { |
1116 |
- default |
1117 |
- |
1118 |
- # sched.h is a system header and causes problems with some C libraries |
1119 |
- mv sched.h _sched.h || die |
1120 |
- sed -i '/include/ s:sched.h:_sched.h:' screen.h || die |
1121 |
- |
1122 |
- # Fix manpage. |
1123 |
- sed -i \ |
1124 |
- -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
1125 |
- -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \ |
1126 |
- -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
1127 |
- -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \ |
1128 |
- -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \ |
1129 |
- doc/screen.1 \ |
1130 |
- || die |
1131 |
- |
1132 |
- |
1133 |
- if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then |
1134 |
- sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die |
1135 |
- fi |
1136 |
- |
1137 |
- # disable musl dummy headers for utmp[x] |
1138 |
- use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" |
1139 |
- |
1140 |
- # reconfigure |
1141 |
- eautoreconf |
1142 |
-} |
1143 |
- |
1144 |
-src_configure() { |
1145 |
- append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" |
1146 |
- |
1147 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
1148 |
- # enable msg_header by upping the feature standard compatible |
1149 |
- # with c99 mode |
1150 |
- append-cppflags -D_XOPEN_SOURCE=600 |
1151 |
- fi |
1152 |
- |
1153 |
- use nethack || append-cppflags "-DNONETHACK" |
1154 |
- use debug && append-cppflags "-DDEBUG" |
1155 |
- |
1156 |
- econf \ |
1157 |
- --with-socket-dir="${EPREFIX}/tmp/screen" \ |
1158 |
- --with-sys-screenrc="${EPREFIX}/etc/screenrc" \ |
1159 |
- --with-pty-mode=0620 \ |
1160 |
- --with-pty-group=5 \ |
1161 |
- --enable-rxvt_osc \ |
1162 |
- --enable-telnet \ |
1163 |
- --enable-colors256 \ |
1164 |
- $(use_enable pam) |
1165 |
-} |
1166 |
- |
1167 |
-src_compile() { |
1168 |
- LC_ALL=POSIX emake comm.h term.h |
1169 |
- emake osdef.h |
1170 |
- |
1171 |
- emake -C doc screen.info |
1172 |
- default |
1173 |
-} |
1174 |
- |
1175 |
-src_install() { |
1176 |
- local DOCS=( |
1177 |
- README ChangeLog INSTALL TODO NEWS* patchlevel.h |
1178 |
- doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} |
1179 |
- ) |
1180 |
- |
1181 |
- default |
1182 |
- |
1183 |
- local tmpfiles_perms tmpfiles_group |
1184 |
- |
1185 |
- if use multiuser || use prefix |
1186 |
- then |
1187 |
- fperms 4755 /usr/bin/screen-${PV} |
1188 |
- tmpfiles_perms="0755" |
1189 |
- tmpfiles_group="root" |
1190 |
- else |
1191 |
- fowners root:utmp /usr/bin/screen-${PV} |
1192 |
- fperms 2755 /usr/bin/screen-${PV} |
1193 |
- tmpfiles_perms="0775" |
1194 |
- tmpfiles_group="utmp" |
1195 |
- fi |
1196 |
- |
1197 |
- dodir /etc/tmpfiles.d |
1198 |
- echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ |
1199 |
- > "${ED}"/etc/tmpfiles.d/screen.conf |
1200 |
- |
1201 |
- insinto /usr/share/screen |
1202 |
- doins terminfo/{screencap,screeninfo.src} |
1203 |
- |
1204 |
- insinto /etc |
1205 |
- doins "${FILESDIR}"/screenrc |
1206 |
- |
1207 |
- pamd_mimic_system screen auth |
1208 |
-} |
1209 |
- |
1210 |
-pkg_postinst() { |
1211 |
- if [[ -z ${REPLACING_VERSIONS} ]] |
1212 |
- then |
1213 |
- elog "Some dangerous key bindings have been removed or changed to more safe values." |
1214 |
- elog "We enable some xterm hacks in our default screenrc, which might break some" |
1215 |
- elog "applications. Please check /etc/screenrc for information on these changes." |
1216 |
- fi |
1217 |
- |
1218 |
- # Add /tmp/screen in case it doesn't exist yet. This should solve |
1219 |
- # problems like bug #508634 where tmpfiles.d isn't in effect. |
1220 |
- local rundir="${EROOT%/}/tmp/screen" |
1221 |
- if [[ ! -d ${rundir} ]] ; then |
1222 |
- if use multiuser || use prefix ; then |
1223 |
- tmpfiles_group="root" |
1224 |
- else |
1225 |
- tmpfiles_group="utmp" |
1226 |
- fi |
1227 |
- mkdir -m 0775 "${rundir}" |
1228 |
- chgrp ${tmpfiles_group} "${rundir}" |
1229 |
- fi |
1230 |
- |
1231 |
- ewarn "This revision changes the screen socket location to ${rundir}" |
1232 |
-} |
1233 |
|
1234 |
diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild |
1235 |
deleted file mode 100644 |
1236 |
index 44ba455..0000000 |
1237 |
--- a/app-misc/screen/screen-9999.ebuild |
1238 |
+++ /dev/null |
1239 |
@@ -1,152 +0,0 @@ |
1240 |
-# Copyright 1999-2018 Gentoo Authors |
1241 |
-# Distributed under the terms of the GNU General Public License v2 |
1242 |
- |
1243 |
-EAPI=6 |
1244 |
- |
1245 |
-inherit eutils flag-o-matic toolchain-funcs pam autotools user git-r3 |
1246 |
- |
1247 |
-DESCRIPTION="screen manager with VT100/ANSI terminal emulation" |
1248 |
-HOMEPAGE="https://www.gnu.org/software/screen/" |
1249 |
-EGIT_REPO_URI="https://git.savannah.gnu.org/git/screen.git" |
1250 |
-EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on |
1251 |
- |
1252 |
-LICENSE="GPL-2" |
1253 |
-SLOT="0" |
1254 |
-KEYWORDS="" |
1255 |
-IUSE="debug nethack pam selinux multiuser utmp" |
1256 |
- |
1257 |
-CDEPEND=" |
1258 |
- >=sys-libs/ncurses-5.2:0= |
1259 |
- pam? ( virtual/pam )" |
1260 |
-RDEPEND="${CDEPEND} |
1261 |
- selinux? ( sec-policy/selinux-screen ) |
1262 |
- utmp? ( |
1263 |
- kernel_linux? ( sys-libs/libutempter ) |
1264 |
- kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) |
1265 |
- ) |
1266 |
-" |
1267 |
-DEPEND="${CDEPEND} |
1268 |
- sys-apps/texinfo" |
1269 |
- |
1270 |
-RESTRICT="test" |
1271 |
-S="${WORKDIR}"/${P}/src |
1272 |
- |
1273 |
-pkg_setup() { |
1274 |
- # Make sure utmp group exists, as it's used later on. |
1275 |
- enewgroup utmp 406 |
1276 |
-} |
1277 |
- |
1278 |
-src_prepare() { |
1279 |
- default |
1280 |
- |
1281 |
- # sched.h is a system header and causes problems with some C libraries |
1282 |
- mv sched.h _sched.h || die |
1283 |
- sed -i \ |
1284 |
- -e '/include/ s:sched.h:_sched.h:' \ |
1285 |
- screen.h winmsg.c canvas.h sched.c || die |
1286 |
- sed -i -e 's:sched.h:_sched.h:g' Makefile.in || die |
1287 |
- |
1288 |
- # Fix manpage. |
1289 |
- sed -i \ |
1290 |
- -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
1291 |
- -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \ |
1292 |
- -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
1293 |
- -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \ |
1294 |
- -e 's:/local/screens/S\\-:'"${EPREFIX}"'/tmp/screen/S\\-:g' \ |
1295 |
- -e 's:/usr/tmp/screens/:'"${EPREFIX}"'/tmp/screen/:g' \ |
1296 |
- doc/screen.1 \ |
1297 |
- || die |
1298 |
- |
1299 |
- # disable musl dummy headers for utmp[x] |
1300 |
- use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" |
1301 |
- |
1302 |
- # reconfigure |
1303 |
- eautoreconf |
1304 |
-} |
1305 |
- |
1306 |
-src_configure() { |
1307 |
- append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" |
1308 |
- |
1309 |
- [[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl |
1310 |
- |
1311 |
- use nethack || append-cppflags "-DNONETHACK" |
1312 |
- use debug && append-cppflags "-DDEBUG" |
1313 |
- |
1314 |
- econf \ |
1315 |
- --enable-socket-dir="${EPREFIX}/tmp/screen" \ |
1316 |
- --with-system_screenrc="${EPREFIX}/etc/screenrc" \ |
1317 |
- --with-pty-mode=0620 \ |
1318 |
- --with-pty-group=5 \ |
1319 |
- --enable-telnet \ |
1320 |
- $(use_enable pam) \ |
1321 |
- $(use_enable utmp) |
1322 |
-} |
1323 |
- |
1324 |
-src_compile() { |
1325 |
- LC_ALL=POSIX emake comm.h term.h |
1326 |
- |
1327 |
- emake -C doc screen.info |
1328 |
- default |
1329 |
-} |
1330 |
- |
1331 |
-src_install() { |
1332 |
- local tmpfiles_perms tmpfiles_group |
1333 |
- |
1334 |
- dobin screen |
1335 |
- |
1336 |
- if use multiuser || use prefix |
1337 |
- then |
1338 |
- fperms 4755 /usr/bin/screen |
1339 |
- tmpfiles_perms="0755" |
1340 |
- tmpfiles_group="root" |
1341 |
- else |
1342 |
- fowners root:utmp /usr/bin/screen |
1343 |
- fperms 2755 /usr/bin/screen |
1344 |
- tmpfiles_perms="0775" |
1345 |
- tmpfiles_group="utmp" |
1346 |
- fi |
1347 |
- |
1348 |
- dodir /etc/tmpfiles.d |
1349 |
- echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ |
1350 |
- >"${ED}"/etc/tmpfiles.d/screen.conf |
1351 |
- |
1352 |
- insinto /usr/share/screen |
1353 |
- doins terminfo/{screencap,screeninfo.src} |
1354 |
- insinto /usr/share/screen/utf8encodings |
1355 |
- doins utf8encodings/?? |
1356 |
- insinto /etc |
1357 |
- doins "${FILESDIR}"/screenrc |
1358 |
- |
1359 |
- pamd_mimic_system screen auth |
1360 |
- |
1361 |
- dodoc \ |
1362 |
- README ChangeLog INSTALL TODO NEWS* \ |
1363 |
- doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} |
1364 |
- |
1365 |
- doman doc/screen.1 |
1366 |
- doinfo doc/screen.info |
1367 |
-} |
1368 |
- |
1369 |
-pkg_postinst() { |
1370 |
- if [[ -z ${REPLACING_VERSIONS} ]] |
1371 |
- then |
1372 |
- elog "Some dangerous key bindings have been removed or changed to more safe values." |
1373 |
- elog "We enable some xterm hacks in our default screenrc, which might break some" |
1374 |
- elog "applications. Please check /etc/screenrc for information on these changes." |
1375 |
- fi |
1376 |
- |
1377 |
- # Add /tmp/screen in case it doesn't exist yet. This should solve |
1378 |
- # problems like bug #508634 where tmpfiles.d isn't in effect. |
1379 |
- local rundir="${EROOT%/}/tmp/screen" |
1380 |
- if [[ ! -d ${rundir} ]] ; then |
1381 |
- if use multiuser || use prefix ; then |
1382 |
- tmpfiles_group="root" |
1383 |
- else |
1384 |
- tmpfiles_group="utmp" |
1385 |
- fi |
1386 |
- mkdir -m 0775 "${rundir}" |
1387 |
- chgrp ${tmpfiles_group} "${rundir}" |
1388 |
- fi |
1389 |
- |
1390 |
- ewarn "This revision changes the screen socket location to /run/screen." |
1391 |
-} |