Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/bircoph:master commit in: app-misc/screen/files/, app-misc/screen/, profiles/
Date: Sun, 26 Jun 2016 13:55:23
Message-Id: 1466949092.7f5cde1ec4f62f0910f2be0e044931544325dd91.bircoph@gentoo
1 commit: 7f5cde1ec4f62f0910f2be0e044931544325dd91
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 13:51:32 2016 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 13:51:32 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=7f5cde1e
7
8 app-misc/screen: fixed upstream
9
10 app-misc/screen/Manifest | 8 -
11 .../screen/files/screen-4.3.0-no-utempter.patch | 14 -
12 app-misc/screen/files/screen-4.3.1-ansi.c.patch | 37 ---
13 app-misc/screen/files/screen-4.3.1-termlen.patch | 164 ----------
14 app-misc/screen/files/screenrc | 356 ---------------------
15 app-misc/screen/metadata.xml | 35 --
16 app-misc/screen/screen-4.3.1-r1.ebuild | 159 ---------
17 app-misc/screen/screen-9999.ebuild | 141 --------
18 profiles/categories | 1 -
19 9 files changed, 915 deletions(-)
20
21 diff --git a/app-misc/screen/Manifest b/app-misc/screen/Manifest
22 deleted file mode 100644
23 index 9dc7935..0000000
24 --- a/app-misc/screen/Manifest
25 +++ /dev/null
26 @@ -1,8 +0,0 @@
27 -AUX screen-4.3.0-no-utempter.patch 363 SHA256 c8e4b1a03175fb2af3e13fa514b8a5456b53905a7ca51587195a62cb8d60e1c9 SHA512 0b2e6a2b54e6155e217ab44a0d8314afafd97fae684fbc2875c0f4d21df29cb259ea4023343e92da16dd3a2bf11ec6d06e677d765748299d1633aa1b9261a604 WHIRLPOOL c59a0c3f32ad50e15cd5e902b7b600cda18d2b676209628e7b96120866e7aba968264fbf8b35dc3e252b9fd63f21611005c9ec46cddc5e42b30c8da29a5e5186
28 -AUX screen-4.3.1-ansi.c.patch 657 SHA256 806fa628fbbfcf4a63153e0f2a4979ad02d9531151817ef5183c34c4d12adb26 SHA512 ca746103856afd2e93eff8b5b81fa1f4f83c9a89511ce2bd88a6ebfb4becd858da97df48c2939ec2bc631d17e98613f252ca92f1e53f5ad5358f118c449ab545 WHIRLPOOL 39ff78cb6aadf4fe8a7a3cdfb44f7fb656d497a60d3809bd751b7ba0fdb3ae9ebf11ee93e663a1f713fe3e16e34792e10670825eda36754be46dc7fcecc0e810
29 -AUX screen-4.3.1-termlen.patch 5928 SHA256 1dc2d737105e2571fa7cfc87b417319fdba415fc355228d9a581aa045b807f43 SHA512 23b22ccb24be133f2885bd270e3f24e547d5db78c95c77ffe18369162f497ab12c5afd897ff8890588d3734524a5c93db688d08067529a093b84ca6931c02d88 WHIRLPOOL 0a7afacc026c49b1d5794ef7383b85791ea3ce7fc8b54f33cc90f0811f6f3a8160e28b230b6527d08c7c40986e23bdf96d227c46a5a9b715480871fac50dbfbf
30 -AUX screenrc 10412 SHA256 191d91f9fd1e676525a9e1a3bdc5ac73283f948caf74b4bb6e0cfcecbe4798bb SHA512 06fbec5e28480a2c369330fac0c94faa47e5d28e037d9fefd0cb3e813002c504866dc8ac86872b7ac6f16059a219e396a9c425b578b8afe882153ddb506158f7 WHIRLPOOL e05785d9810a709ccd189bbf1557022bd91f653ddb2f138e54286fbbc11ddbbedf2276d2b8bc975a8ff1ac024ab24d955a6b3055cf5cd2dfb445c35484e90f09
31 -DIST screen-4.3.1.tar.gz 845958 SHA256 fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63 SHA512 8e8a25b23330a7d8e00fc9e6cc430f0eb3937ccf4183efbd6fd24e4dc04cc09b3acae45bfc24892faee433b18fa79b1cfe0211fd75c0d74ecf908f916bf774aa WHIRLPOOL b47f7538351028cc3a2ec7f69a9373e152fa7655c6ae9feb75ba46db3cdc9b7d58ce78043993b7f134da3a04754c5e52d1a77da4c30a8decda21c79cf5c50f51
32 -EBUILD screen-4.3.1-r1.ebuild 4175 SHA256 15a6ac7f86f6a99d946daf46cc29b4de31e46917a6ff20286a7a9019645fbb2f SHA512 6c4f85ac9eeab991f391215c9895c27330d636600b48d2acc1c6d2c90e18d24438b62c99cf7b1836c0b9ccd4e59e871315bf0c2e6ff40075421f1c74bf832ec7 WHIRLPOOL 01462e35f0e15a82c3732b4cd6d5adf116fbc5f19e9bddf1d7cab14f776908ed78676abdc76b032a5c088fa3a43ef5df5276d1882d8666317baa15099531f8f8
33 -EBUILD screen-9999.ebuild 3547 SHA256 a1331ae77d9bf29dbe671553c8ce6bc23e68d9a32c0138fabefdbe2fb5e8091d SHA512 5ac4c2bc01a5d69fe039fd5b6e51b911fc4f222f55a51198a3e7404768e3ad1a0aededcda864bc8706c5a834c2695cfbadbfb317632d20687f03f8179304e9cf WHIRLPOOL a47db36b0395a8db33a306f1a32c685a5e83ed27648b69f4fb274a24cc364c8b3cdb43fb070673f16fbb971c29958a51147a6f8df0d90d1952e30455b67118bb
34 -MISC metadata.xml 1836 SHA256 984b97ece43237c29770f80c3aa7ab62fc2d426cffa8a2c0075674e935c19ce0 SHA512 e327b61501e6b496045d552851db574b519a99f56c9203c3376b886808a422f8e4aab23b667bcab0d1388ba7ea781c9c9e9f1d07b1426f113119c60cd70d0bcf WHIRLPOOL 545db9b6f0ad028845854bb55829c39b832251e8e790e910e64c2e00c8e8f554ee5fb7d98f1919b1f327fbae9b9e4e0978acef3a534e03de4b6b30f5bced07f6
35
36 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
37 deleted file mode 100644
38 index 9a830a2..0000000
39 --- a/app-misc/screen/files/screen-4.3.0-no-utempter.patch
40 +++ /dev/null
41 @@ -1,14 +0,0 @@
42 ---- screen-4.3.0/configure.ac
43 -+++ screen-4.3.0/configure.ac
44 -@@ -878,11 +878,6 @@
45 - #include <utmp.h>
46 - #endif
47 - ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST))
48 --AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
49 --if test "$have_utempter" = yes; then
50 -- AC_DEFINE(HAVE_UTEMPTER)
51 -- LIBS="$LIBS -lutempter"
52 --fi
53 -
54 - dnl
55 - dnl **** loadav ****
56
57 diff --git a/app-misc/screen/files/screen-4.3.1-ansi.c.patch b/app-misc/screen/files/screen-4.3.1-ansi.c.patch
58 deleted file mode 100644
59 index 24a1167..0000000
60 --- a/app-misc/screen/files/screen-4.3.1-ansi.c.patch
61 +++ /dev/null
62 @@ -1,37 +0,0 @@
63 ---- a/ansi.c
64 -+++ b/ansi.c
65 -@@ -2502,13 +2502,13 @@
66 - return;
67 - if (n > 0)
68 - {
69 -+ if (ye - ys + 1 < n)
70 -+ n = ye - ys + 1;
71 - if (n > 256)
72 - {
73 - MScrollV(p, n - 256, ys, ye, bce);
74 - n = 256;
75 - }
76 -- if (ye - ys + 1 < n)
77 -- n = ye - ys + 1;
78 - #ifdef COPY_PASTE
79 - if (compacthist)
80 - {
81 -@@ -2562,15 +2562,14 @@
82 - }
83 - else
84 - {
85 -+ n = -n;
86 -+ if (ye - ys + 1 < n)
87 -+ n = ye - ys + 1;
88 - if (n < -256)
89 - {
90 - MScrollV(p, n + 256, ys, ye, bce);
91 - n = -256;
92 - }
93 -- n = -n;
94 -- if (ye - ys + 1 < n)
95 -- n = ye - ys + 1;
96 --
97 - ml = p->w_mlines + ye;
98 - /* Clear lines */
99 - for (i = ye; i > ye - n; i--, ml--)
100
101 diff --git a/app-misc/screen/files/screen-4.3.1-termlen.patch b/app-misc/screen/files/screen-4.3.1-termlen.patch
102 deleted file mode 100644
103 index 1452768..0000000
104 --- a/app-misc/screen/files/screen-4.3.1-termlen.patch
105 +++ /dev/null
106 @@ -1,164 +0,0 @@
107 -Backported git commit 37ca949e462a7608572f653848b5a7554964fd53
108 -"Fix more hardcoded termlen"
109 -See bug 585696.
110 -
111 -diff -Naurd screen-4.3.1.orig/attacher.c screen-4.3.1/attacher.c
112 ---- screen-4.3.1.orig/attacher.c 2015-06-29 00:22:55.000000000 +0300
113 -+++ screen-4.3.1/attacher.c 2016-06-12 17:00:41.091761944 +0300
114 -@@ -364,8 +364,8 @@
115 - }
116 - #endif
117 - ASSERT(how == MSG_ATTACH || how == MSG_CONT);
118 -- strncpy(m.m.attach.envterm, attach_term, sizeof(m.m.attach.envterm) - 1);
119 -- m.m.attach.envterm[sizeof(m.m.attach.envterm) - 1] = 0;
120 -+ strncpy(m.m.attach.envterm, attach_term, MAXTERMLEN);
121 -+ m.m.attach.envterm[MAXTERMLEN] = 0;
122 - debug1("attach: sending %d bytes... ", (int)sizeof(m));
123 -
124 - strncpy(m.m.attach.auser, LoginName, sizeof(m.m.attach.auser) - 1);
125 -diff -Naurd screen-4.3.1.orig/display.c screen-4.3.1/display.c
126 ---- screen-4.3.1.orig/display.c 2015-06-29 00:22:55.000000000 +0300
127 -+++ screen-4.3.1/display.c 2016-06-12 17:03:00.196561319 +0300
128 -@@ -309,8 +309,8 @@
129 -
130 - strncpy(D_usertty, utty, sizeof(D_usertty) - 1);
131 - D_usertty[sizeof(D_usertty) - 1] = 0;
132 -- strncpy(D_termname, term, sizeof(D_termname) - 1);
133 -- D_termname[sizeof(D_termname) - 1] = 0;
134 -+ strncpy(D_termname, term, MAXTERMLEN);
135 -+ D_termname[MAXTERMLEN] = 0;
136 - D_user = *u;
137 - D_processinput = ProcessInput;
138 - D_mousetrack = defmousetrack;
139 -@@ -3725,14 +3725,14 @@
140 - char *m;
141 - int pid;
142 - int slave = -1;
143 -- char termname[30];
144 -+ char termname[MAXTERMLEN + 6];
145 - #ifndef TIOCSWINSZ
146 - char libuf[20], cobuf[20];
147 - #endif
148 - char **np;
149 -
150 - strcpy(termname, "TERM=");
151 -- strncpy(termname + 5, D_termname, sizeof(termname) - 6);
152 -+ strncpy(termname + 5, D_termname, MAXTERMLEN - 6);
153 - termname[sizeof(termname) - 1] = 0;
154 - KillBlanker();
155 - D_blankerpid = -1;
156 -diff -Naurd screen-4.3.1.orig/process.c screen-4.3.1/process.c
157 ---- screen-4.3.1.orig/process.c 2015-06-29 00:22:56.000000000 +0300
158 -+++ screen-4.3.1/process.c 2016-06-12 17:04:37.999014093 +0300
159 -@@ -2672,13 +2672,14 @@
160 - s = NULL;
161 - if (ParseSaveStr(act, &s))
162 - break;
163 -- if (strlen(s) >= MAXTERMLEN)
164 -+ if (strlen(s) > MAXTERMLEN)
165 - {
166 - OutputMsg(0, "%s: term: argument too long ( < %d)", rc_name, MAXTERMLEN);
167 - free(s);
168 - break;
169 - }
170 -- strcpy(screenterm, s);
171 -+ strncpy(screenterm, s, MAXTERMLEN);
172 -+ screenterm[MAXTERMLEN] = '\0';
173 - free(s);
174 - debug1("screenterm set to %s\n", screenterm);
175 - MakeTermcap((display == 0));
176 -diff -Naurd screen-4.3.1.orig/screen.c screen-4.3.1/screen.c
177 ---- screen-4.3.1.orig/screen.c 2015-06-29 00:22:56.000000000 +0300
178 -+++ screen-4.3.1/screen.c 2016-06-12 17:18:35.887758770 +0300
179 -@@ -507,7 +507,8 @@
180 - #endif
181 - nwin = nwin_undef;
182 - nwin_options = nwin_undef;
183 -- strcpy(screenterm, "screen");
184 -+ strncpy(screenterm, "screen", MAXTERMLEN);
185 -+ screenterm[MAXTERMLEN] = '\0';
186 - #ifdef BUILTIN_TELNET
187 - af = AF_UNSPEC;
188 - #endif
189 -@@ -689,8 +690,10 @@
190 - case 'T':
191 - if (--ac == 0)
192 - exit_with_usage(myname, "Specify terminal-type with -T", NULL);
193 -- if (strlen(*++av) < 20)
194 -- strcpy(screenterm, *av);
195 -+ if (strlen(*++av) < MAXTERMLEN) {
196 -+ strncpy(screenterm, *av, MAXTERMLEN);
197 -+ screenterm[MAXTERMLEN] = '\0';
198 -+ }
199 - else
200 - Panic(0, "-T: terminal name too long. (max. 20 char)");
201 - nwin_options.term = screenterm;
202 -@@ -1034,7 +1037,7 @@
203 -
204 - if ((attach_term = getenv("TERM")) == 0 || *attach_term == 0)
205 - Panic(0, "Please set a terminal type.");
206 -- if (strlen(attach_term) > sizeof(D_termname) - 1)
207 -+ if (strlen(attach_term) > MAXTERMLEN)
208 - Panic(0, "$TERM too long - sorry.");
209 - GetTTY(0, &attach_Mode);
210 - #ifdef DEBUGGGGGGGGGGGGGGG
211 -diff -Naurd screen-4.3.1.orig/screen.h screen-4.3.1/screen.h
212 ---- screen-4.3.1.orig/screen.h 2015-06-29 00:22:56.000000000 +0300
213 -+++ screen-4.3.1/screen.h 2016-06-12 17:19:07.821253585 +0300
214 -@@ -204,7 +204,7 @@
215 - int nargs;
216 - char line[MAXPATHLEN];
217 - char dir[MAXPATHLEN];
218 -- char screenterm[MAXTERMLEN]; /* is screen really "screen" ? */
219 -+ char screenterm[MAXTERMLEN + 1]; /* is screen really "screen" ? */
220 - }
221 - create;
222 - struct
223 -diff -Naurd screen-4.3.1.orig/socket.c screen-4.3.1/socket.c
224 ---- screen-4.3.1.orig/socket.c 2015-06-29 00:22:56.000000000 +0300
225 -+++ screen-4.3.1/socket.c 2016-06-12 17:20:01.577403167 +0300
226 -@@ -695,8 +695,8 @@
227 - return;
228 - }
229 - if (nwin->term != nwin_undef.term)
230 -- strncpy(m.m.create.screenterm, nwin->term, 19);
231 -- m.m.create.screenterm[19] = '\0';
232 -+ strncpy(m.m.create.screenterm, nwin->term, MAXTERMLEN);
233 -+ m.m.create.screenterm[MAXTERMLEN] = '\0';
234 - m.protocol_revision = MSG_REVISION;
235 - debug1("SendCreateMsg writing '%s'\n", m.m.create.line);
236 - if (write(s, (char *) &m, sizeof m) != sizeof m)
237 -diff -Naurd screen-4.3.1.orig/termcap.c screen-4.3.1/termcap.c
238 ---- screen-4.3.1.orig/termcap.c 2015-06-29 00:22:56.000000000 +0300
239 -+++ screen-4.3.1/termcap.c 2016-06-12 17:21:40.297841419 +0300
240 -@@ -72,7 +72,7 @@
241 - static int Termcaplen;
242 - static int tcLineLen;
243 - char Term[MAXSTR+5]; /* +5: "TERM=" */
244 --char screenterm[20]; /* new $TERM, usually "screen" */
245 -+char screenterm[MAXTERMLEN + 1]; /* new $TERM, usually "screen" */
246 -
247 - char *extra_incap, *extra_outcap;
248 -
249 -@@ -883,7 +883,8 @@
250 - if (*screenterm == '\0' || strlen(screenterm) > MAXSTR - 3)
251 - {
252 - debug("MakeTermcap sets screenterm=screen\n");
253 -- strcpy(screenterm, "screen");
254 -+ strncpy(screenterm, "screen", MAXTERMLEN);
255 -+ screenterm[MAXTERMLEN] = '\0';
256 - }
257 - #if 0
258 - found = 1;
259 -diff -Naurd screen-4.3.1.orig/window.c screen-4.3.1/window.c
260 ---- screen-4.3.1.orig/window.c 2015-06-29 00:22:56.000000000 +0300
261 -+++ screen-4.3.1/window.c 2016-06-12 17:22:53.174688514 +0300
262 -@@ -1438,7 +1438,7 @@
263 - NewEnv[4] = shellbuf;
264 - debug1("ForkWindow: NewEnv[4] = '%s'\n", shellbuf);
265 - if (win->w_term && *win->w_term && strcmp(screenterm, win->w_term) &&
266 -- (strlen(win->w_term) < 20))
267 -+ (strlen(win->w_term) < MAXTERMLEN))
268 - {
269 - char *s1, *s2, tl;
270 -
271
272 diff --git a/app-misc/screen/files/screenrc b/app-misc/screen/files/screenrc
273 deleted file mode 100644
274 index 11f2f55..0000000
275 --- a/app-misc/screen/files/screenrc
276 +++ /dev/null
277 @@ -1,356 +0,0 @@
278 -# Copyright 1999-2012 Gentoo Foundation
279 -# Distributed under the terms of the GNU General Public License v2
280 -#
281 -# /etc/screenrc
282 -#
283 -# This is the system wide screenrc.
284 -#
285 -# You can use this file to change the default behavior of screen system wide
286 -# or copy it to ~/.screenrc and use it as a starting point for your own
287 -# settings.
288 -#
289 -# Commands in this file are used to set options, bind screen functions to
290 -# keys, redefine terminal capabilities, and to automatically establish one or
291 -# more windows at the beginning of your screen session.
292 -#
293 -# This is not a comprehensive list of options, look at the screen manual for
294 -# details on everything that you can put in this file.
295 -#
296 -#
297 -
298 -# ==============================================================================
299 -# SCREEN SETTINGS
300 -# ==============================================================================
301 -
302 -# ESCAPE - the COMMAND CHARACTER
303 -# ===============================================================
304 -# escape ^aa # default
305 -# escape ^^^^ # suggested binding (Control-^) for Emacs users
306 -
307 -
308 -# PASSWORD
309 -# ===============================================================
310 -# This commands sets the *internal* password for the screen session.
311 -# WARNING!! If this is set then a "lock" command will only let you in to the
312 -# session after you enter the user's account password and then *also*
313 -# the internal password for that session. This gives additional safety but,
314 -# if you forget the internal password then you cannot resume your session.
315 -# Use :password to generate a password
316 -# password ODSJQf.4IJN7E # "1234"
317 -
318 -
319 -# VARIABLES
320 -# ===============================================================
321 -# No annoying audible bell, using "visual bell"
322 -# vbell on # default: off
323 -# vbell_msg " -- Bell,Bell!! -- " # default: "Wuff,Wuff!!"
324 -
325 -# Automatically detach on hangup.
326 - autodetach on # default: on
327 -
328 -# Don't display the copyright page
329 - startup_message off # default: on
330 -
331 -# Uses nethack-style messages
332 -# nethack on # default: off
333 -
334 -# Affects the copying of text regions
335 - crlf off # default: off
336 -
337 -# Enable/disable multiuser mode. Standard screen operation is singleuser.
338 -# In multiuser mode the commands acladd, aclchg, aclgrp and acldel can be used
339 -# to enable (and disable) other user accessing this screen session.
340 -# Requires suid-root.
341 - multiuser off
342 -
343 -# Change default scrollback value for new windows
344 - defscrollback 1000 # default: 100
345 -
346 -# Define the time that all windows monitored for silence should
347 -# wait before displaying a message. Default 30 seconds.
348 - silencewait 15 # default: 30
349 -
350 -# bufferfile: The file to use for commands
351 -# "readbuf" ('<') and "writebuf" ('>'):
352 - bufferfile $HOME/.screen_exchange
353 -#
354 -# hardcopydir: The directory which contains all hardcopies.
355 -# hardcopydir ~/.hardcopy
356 -# hardcopydir ~/.screen
357 -#
358 -# shell: Default process started in screen's windows.
359 -# Makes it possible to use a different shell inside screen
360 -# than is set as the default login shell.
361 -# If begins with a '-' character, the shell will be started as a login shell.
362 -# shell zsh
363 -# shell bash
364 -# shell ksh
365 - shell -$SHELL
366 -
367 -# shellaka '> |tcsh'
368 -# shelltitle '$ |bash'
369 -
370 -# emulate .logout message
371 - pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
372 -
373 -# caption always " %w --- %c:%s"
374 -# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
375 -
376 -# advertise hardstatus support to $TERMCAP
377 -# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
378 -
379 -# set every new windows hardstatus line to somenthing descriptive
380 -# defhstatus "screen: ^En (^Et)"
381 -
382 -# don't kill window after the process died
383 -# zombie "^["
384 -
385 -# ignore displays that block on output
386 -defnonblock on
387 -
388 -# XTERM TWEAKS
389 -# ===============================================================
390 -
391 -# xterm understands both im/ic and doesn't have a status line.
392 -# Note: Do not specify im and ic in the real termcap/info file as
393 -# some programs (e.g. vi) will not work anymore.
394 - termcap xterm* hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
395 - terminfo xterm* hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
396 -
397 -# 80/132 column switching must be enabled for ^AW to work
398 -# change init sequence to not switch width
399 - termcapinfo xterm* Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
400 -
401 -# Make the output buffer large for (fast) xterms.
402 -# termcapinfo xterm* OL=10000
403 - termcapinfo xterm* OL=100
404 -
405 -# tell screen that xterm can switch to dark background and has function
406 -# keys.
407 - termcapinfo xterm* 'VR=\E[?5h:VN=\E[?5l'
408 - termcapinfo xterm* 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
409 - termcapinfo xterm* 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
410 -
411 -# special xterm hardstatus: use the window title.
412 - termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
413 -
414 -#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
415 - termcapinfo xterm* 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
416 -
417 -# emulate part of the 'K' charset
418 - termcapinfo xterm* 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
419 -
420 -# xterm-52 tweaks:
421 -# - uses background color for delete operations
422 - termcapinfo xterm* be
423 -
424 -# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195)
425 - termcapinfo xterm*|xs ti@:te=\E[2J
426 -
427 -# WYSE TERMINALS
428 -# ===============================================================
429 -
430 -#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
431 -#essential to have it here, as this is a slow terminal.
432 - termcapinfo wy75-42 xo:hs@
433 -
434 -# New termcap sequences for cursor application mode.
435 - 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
436 -
437 -
438 -# OTHER TERMINALS
439 -# ===============================================================
440 -
441 -# make hp700 termcap/info better
442 - 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@'
443 -
444 -# Extend the vt100 desciption by some sequences.
445 - termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
446 - 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
447 - termcapinfo linux C8
448 -# old rxvt versions also need this
449 -# termcapinfo rxvt C8
450 -
451 -
452 -# KEYBINDINGS
453 -# ==============================================================
454 -# The "bind" command assign keys to (internal) commands
455 -# SCREEN checks all the keys you type; you type the key
456 -# which is known as the "command character" then SCREEN
457 -# eats this key, too, and checks whether this key is
458 -# "bound" to a command. If so then SCREEN will execute it.
459 -#
460 -# The command "bind" allows you to chose which keys
461 -# will be assigned to the commands.
462 -#
463 -# Some commands are bound to several keys -
464 -# usually to both some letter and its corresponding
465 -# control key combination, eg the command
466 -# "(create) screen" is bound to both 'c' and '^C'.
467 -#
468 -# The following list shows the default bindings:
469 -#
470 -# break ^B b
471 -# clear C
472 -# colon :
473 -# copy ^[ [
474 -# detach ^D d
475 -# digraph ^V
476 -# displays *
477 -# dumptermcap .
478 -# fit F
479 -# flow ^F f
480 -# focus ^I
481 -# hardcopy h
482 -# help ?
483 -# history { }
484 -# info i
485 -# kill K k
486 -# lastmsg ^M m
487 -# license ,
488 -# log H
489 -# login L
490 -# meta x
491 -# monitor M
492 -# next ^@ ^N sp n
493 -# number N
494 -# only Q
495 -# other ^X
496 -# pow_break B
497 -# pow_detach D
498 -# prev ^H ^P p ^?
499 -# quit \
500 -# readbuf <
501 -# redisplay ^L l
502 -# remove X
503 -# removebuf =
504 -# reset Z
505 -# screen ^C c
506 -# select " '
507 -# silence _
508 -# split S
509 -# suspend ^Z z
510 -# time ^T t
511 -# title A
512 -# vbell ^G
513 -# version v
514 -# width W
515 -# windows ^W w
516 -# wrap ^R r
517 -# writebuf >
518 -# xoff ^S s
519 -# xon ^Q q
520 -# ^] paste .
521 -# - select -
522 -# 0 select 0
523 -# 1 select 1
524 -# 2 select 2
525 -# 3 select 3
526 -# 4 select 4
527 -# 5 select 5
528 -# 6 select 6
529 -# 7 select 7
530 -# 8 select 8
531 -# 9 select 9
532 -# I login on
533 -# O login off
534 -# ] paste .
535 -#
536 -
537 -# And here are the default bind commands if you need them:
538 -#
539 -# bind A title
540 -# bind C clear
541 -# bind D pow_detach
542 -# bind F fit
543 -# bind H log
544 -# bind I login on
545 -# bind K kill
546 -# bind L login
547 -# bind M monitor
548 -# bind N number
549 -# bind O login off
550 -# bind Q only
551 -# bind S split
552 -# bind W width
553 -# bind X remove
554 -# bind Z reset
555 -
556 -# Let's remove some dangerous key bindings ...
557 - bind k
558 - bind ^k
559 -# bind . dumptermcap # default
560 - bind .
561 -# bind ^\ quit # default
562 - bind ^\
563 -# bind \\ quit # default
564 - bind \\
565 -# bind ^h ??? # default
566 - bind ^h
567 -# bind h hardcopy # default
568 - bind h
569 -
570 -# ... and make them better.
571 - bind 'K' kill
572 - bind 'I' login on
573 - bind 'O' login off
574 - bind '}' history
575 -
576 -# Yet another hack:
577 -# Prepend/append register [/] to the paste if ^a^] is pressed.
578 -# This lets me have autoindent mode in vi.
579 - register [ "\033:se noai\015a"
580 - register ] "\033:se ai\015a"
581 - bind ^] paste [.]
582 -
583 -
584 -# hardstatus alwaysignore
585 -# hardstatus alwayslastline "%Lw"
586 -
587 -# Resize the current region. The space will be removed from or added to
588 -# the region below or if there's not enough space from the region above.
589 - bind = resize =
590 - bind + resize +3
591 - bind - resize -3
592 -# bind _ resize max
593 -#
594 -# attrcolor u "-u b"
595 -# attrcolor b "R"
596 -
597 -# STARTUP SCREENS
598 -# ===============================================================
599 -# Defines the time screen delays a new message when one message
600 -# is currently displayed. The default is 1 second.
601 -# msgminwait 2
602 -
603 -# Time a message is displayed if screen is not disturbed by
604 -# other activity. The dafault is 5 seconds:
605 -# msgwait 2
606 -
607 -# Briefly show the version number of this starting
608 -# screen session - but only for *one* second:
609 -# msgwait 1
610 -# version
611 -
612 -# Welcome the user:
613 -# echo "welcome :-)"
614 -# echo "I love you today."
615 -
616 -# Uncomment one/some following lines to automatically let
617 -# SCREEN start some programs in the given window numbers:
618 -# screen -t MAIL 0 mutt
619 -# screen -t EDIT 1 vim
620 -# screen -t GOOGLE 2 links http://www.google.com
621 -# screen -t NEWS 3 slrn
622 -# screen -t WWW 4 links http://www.math.fu-berlin.de/~guckes/
623 -# screen 5
624 -# screen 6
625 -
626 -# Set the environment variable var to value string. If only var is specified,
627 -# you'll be prompted to enter a value. If no parameters are specified,
628 -# you'll be prompted for both variable and value. The environment is
629 -# inherited by all subsequently forked shells.
630 -# setenv PROMPT_COMMAND 'echo -n -e "\033k\033\134"'
631 -
632 -# Don't you want to start programs which need a DISPLAY ?
633 -# setenv DISPLAY ''
634
635 diff --git a/app-misc/screen/metadata.xml b/app-misc/screen/metadata.xml
636 deleted file mode 100644
637 index fd200de..0000000
638 --- a/app-misc/screen/metadata.xml
639 +++ /dev/null
640 @@ -1,35 +0,0 @@
641 -<?xml version="1.0" encoding="UTF-8"?>
642 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
643 -<pkgmetadata>
644 - <maintainer type="person">
645 - <email>swegener@g.o</email>
646 - <description>Primary Maintainer</description>
647 - </maintainer>
648 - <maintainer type="project">
649 - <email>shell-tools@g.o</email>
650 - <name>Gentoo Shell Tools Project</name>
651 - </maintainer>
652 - <longdescription>
653 -Screen is a full-screen window manager that multiplexes a physical terminal
654 -between several processes, typically interactive shells. Each virtual terminal
655 -provides the functions of the DEC VT100 terminal and, in addition, several
656 -control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g.,
657 -insert/delete line and support for multiple character sets). There is a
658 -scrollback history buffer for each virtual terminal and a copy-and-paste
659 -mechanism that allows the user to move text regions between windows. When screen
660 -is called, it creates a single window with a shell in it (or the specified
661 -command) and then gets out of your way so that you can use the program as you
662 -normally would. Then, at any time, you can create new (full-screen) windows with
663 -other programs in them (including more shells), kill the current window, view a
664 -list of the active windows, turn output logging on and off, copy text between
665 -windows, view the scrollback history, switch between windows, etc. All windows
666 -run their programs completely independent of each other. Programs continue to
667 -run when their window is currently not visible and even when the whole screen
668 -session is detached from the users terminal.
669 -</longdescription>
670 - <use>
671 - <flag name="multiuser">Enable multiuser support (by setting correct
672 - permissions)</flag>
673 - <flag name="nethack">Express error messages in nethack style</flag>
674 - </use>
675 -</pkgmetadata>
676
677 diff --git a/app-misc/screen/screen-4.3.1-r1.ebuild b/app-misc/screen/screen-4.3.1-r1.ebuild
678 deleted file mode 100644
679 index d80b404..0000000
680 --- a/app-misc/screen/screen-4.3.1-r1.ebuild
681 +++ /dev/null
682 @@ -1,159 +0,0 @@
683 -# Copyright 1999-2015 Gentoo Foundation
684 -# Distributed under the terms of the GNU General Public License v2
685 -# $Id$
686 -
687 -EAPI=5
688 -
689 -inherit autotools eutils flag-o-matic pam toolchain-funcs user
690 -
691 -DESCRIPTION="Full-screen window manager that multiplexes physical terminals between several processes"
692 -HOMEPAGE="https://www.gnu.org/software/screen/"
693 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
694 -
695 -LICENSE="GPL-2"
696 -SLOT="0"
697 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
698 -IUSE="debug nethack pam selinux multiuser"
699 -
700 -CDEPEND="
701 - >=sys-libs/ncurses-5.2:0=
702 - pam? ( virtual/pam )"
703 -RDEPEND="${CDEPEND}
704 - selinux? ( sec-policy/selinux-screen )"
705 -DEPEND="${CDEPEND}
706 - sys-apps/texinfo"
707 -
708 -# Patches:
709 -# - Don't use utempter even if it is found on the system.
710 -# - Bug 559394.
711 -PATCHES=(
712 - "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
713 - "${FILESDIR}"/${PN}-4.3.1-ansi.c.patch
714 - "${FILESDIR}"/${PN}-4.3.1-termlen.patch
715 -)
716 -
717 -pkg_setup() {
718 - # Make sure utmp group exists, as it's used later on.
719 - enewgroup utmp 406
720 -}
721 -
722 -src_prepare() {
723 - # Apply patches.
724 - epatch "${PATCHES[@]}"
725 -
726 - # sched.h is a system header and causes problems with some C libraries
727 - mv sched.h _sched.h || die
728 - sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
729 -
730 - # Fix manpage.
731 - sed -i \
732 - -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
733 - -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
734 - -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
735 - -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
736 - -e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
737 - doc/screen.1 \
738 - || die
739 -
740 - if [[ ${CHOST} == *-darwin* ]] ; then
741 - sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
742 - fi
743 -
744 - # reconfigure
745 - eautoreconf
746 -}
747 -
748 -src_configure() {
749 - append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
750 -
751 - if [[ ${CHOST} == *-solaris* ]] ; then
752 - # https://lists.gnu.org/archive/html/screen-devel/2014-04/msg00095.html
753 - append-cppflags -D_XOPEN_SOURCE \
754 - -D_XOPEN_SOURCE_EXTENDED=1 \
755 - -D__EXTENSIONS__
756 - append-libs -lsocket -lnsl
757 - fi
758 -
759 - use nethack || append-cppflags "-DNONETHACK"
760 - use debug && append-cppflags "-DDEBUG"
761 -
762 - econf \
763 - --with-socket-dir="${EPREFIX}/tmp/screen" \
764 - --with-sys-screenrc="${EPREFIX}/etc/screenrc" \
765 - --with-pty-mode=0620 \
766 - --with-pty-group=5 \
767 - --enable-rxvt_osc \
768 - --enable-telnet \
769 - --enable-colors256 \
770 - $(use_enable pam)
771 -}
772 -
773 -src_compile() {
774 - LC_ALL=POSIX emake comm.h term.h
775 - emake osdef.h
776 -
777 - emake -C doc screen.info
778 - default
779 -}
780 -
781 -src_install() {
782 - local tmpfiles_perms tmpfiles_group
783 -
784 - dobin screen
785 -
786 - if use multiuser || use prefix
787 - then
788 - fperms 4755 /usr/bin/screen
789 - tmpfiles_perms="0755"
790 - tmpfiles_group="root"
791 - else
792 - fowners root:utmp /usr/bin/screen
793 - fperms 2755 /usr/bin/screen
794 - tmpfiles_perms="0775"
795 - tmpfiles_group="utmp"
796 - fi
797 -
798 - dodir /etc/tmpfiles.d
799 - echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
800 - > "${ED}"/etc/tmpfiles.d/screen.conf
801 -
802 - insinto /usr/share/screen
803 - doins terminfo/{screencap,screeninfo.src}
804 - insinto /usr/share/screen/utf8encodings
805 - doins utf8encodings/??
806 - insinto /etc
807 - doins "${FILESDIR}"/screenrc
808 -
809 - pamd_mimic_system screen auth
810 -
811 - dodoc \
812 - README ChangeLog INSTALL TODO NEWS* patchlevel.h \
813 - doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
814 -
815 - doman doc/screen.1
816 - doinfo doc/screen.info
817 -}
818 -
819 -pkg_postinst() {
820 - if [[ -z ${REPLACING_VERSIONS} ]]
821 - then
822 - elog "Some dangerous key bindings have been removed or changed to more safe values."
823 - elog "We enable some xterm hacks in our default screenrc, which might break some"
824 - elog "applications. Please check /etc/screenrc for information on these changes."
825 - fi
826 -
827 - # Add /tmp/screen in case it doesn't exist yet. This should solve
828 - # problems like bug #508634 where tmpfiles.d isn't in effect.
829 - local rundir="${EROOT%/}/tmp/screen"
830 - if [[ ! -d ${rundir} ]] ; then
831 - if use multiuser || use prefix ; then
832 - tmpfiles_group="root"
833 - else
834 - tmpfiles_group="utmp"
835 - fi
836 - mkdir -m 0775 "${rundir}"
837 - chgrp ${tmpfiles_group} "${rundir}"
838 - fi
839 -
840 - ewarn "This revision changes the screen socket location to ${rundir}"
841 -}
842
843 diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild
844 deleted file mode 100644
845 index 3038ad6..0000000
846 --- a/app-misc/screen/screen-9999.ebuild
847 +++ /dev/null
848 @@ -1,141 +0,0 @@
849 -# Copyright 1999-2015 Gentoo Foundation
850 -# Distributed under the terms of the GNU General Public License v2
851 -# $Id$
852 -
853 -EAPI=5
854 -
855 -EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git"
856 -EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
857 -
858 -inherit eutils flag-o-matic toolchain-funcs pam autotools user git-r3
859 -
860 -DESCRIPTION="Full-screen window manager that multiplexes physical terminals between several processes"
861 -HOMEPAGE="https://www.gnu.org/software/screen/"
862 -
863 -LICENSE="GPL-2"
864 -SLOT="0"
865 -KEYWORDS=""
866 -IUSE="debug nethack pam selinux multiuser"
867 -
868 -CDEPEND="
869 - >=sys-libs/ncurses-5.2:0=
870 - pam? ( virtual/pam )"
871 -RDEPEND="${CDEPEND}
872 - selinux? ( sec-policy/selinux-screen )"
873 -DEPEND="${CDEPEND}
874 - sys-apps/texinfo"
875 -
876 -S="${WORKDIR}"/${P}/src
877 -
878 -pkg_setup() {
879 - # Make sure utmp group exists, as it's used later on.
880 - enewgroup utmp 406
881 -}
882 -
883 -src_prepare() {
884 - # Don't use utempter even if it is found on the system
885 - epatch "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
886 -
887 - # sched.h is a system header and causes problems with some C libraries
888 - mv sched.h _sched.h || die
889 - sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
890 -
891 - # Fix manpage.
892 - sed -i \
893 - -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
894 - -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
895 - -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
896 - -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
897 - -e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
898 - doc/screen.1 \
899 - || die
900 -
901 - # reconfigure
902 - eautoreconf
903 -}
904 -
905 -src_configure() {
906 - append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
907 -
908 - [[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl
909 -
910 - use nethack || append-cppflags "-DNONETHACK"
911 - use debug && append-cppflags "-DDEBUG"
912 -
913 - econf \
914 - --with-socket-dir="${EPREFIX}/tmp/screen" \
915 - --with-sys-screenrc="${EPREFIX}/etc/screenrc" \
916 - --with-pty-mode=0620 \
917 - --with-pty-group=5 \
918 - --enable-telnet \
919 - $(use_enable pam)
920 -}
921 -
922 -src_compile() {
923 - LC_ALL=POSIX emake comm.h term.h
924 -
925 - emake -C doc screen.info
926 - default
927 -}
928 -
929 -src_install() {
930 - local tmpfiles_perms tmpfiles_group
931 -
932 - dobin screen
933 -
934 - if use multiuser || use prefix
935 - then
936 - fperms 4755 /usr/bin/screen
937 - tmpfiles_perms="0755"
938 - tmpfiles_group="root"
939 - else
940 - fowners root:utmp /usr/bin/screen
941 - fperms 2755 /usr/bin/screen
942 - tmpfiles_perms="0775"
943 - tmpfiles_group="utmp"
944 - fi
945 -
946 - dodir /etc/tmpfiles.d
947 - echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
948 - >"${ED}"/etc/tmpfiles.d/screen.conf
949 -
950 - insinto /usr/share/screen
951 - doins terminfo/{screencap,screeninfo.src}
952 - insinto /usr/share/screen/utf8encodings
953 - doins utf8encodings/??
954 - insinto /etc
955 - doins "${FILESDIR}"/screenrc
956 -
957 - pamd_mimic_system screen auth
958 -
959 - dodoc \
960 - README ChangeLog INSTALL TODO NEWS* \
961 - doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
962 -
963 - doman doc/screen.1
964 - doinfo doc/screen.info
965 -}
966 -
967 -pkg_postinst() {
968 - if [[ -z ${REPLACING_VERSIONS} ]]
969 - then
970 - elog "Some dangerous key bindings have been removed or changed to more safe values."
971 - elog "We enable some xterm hacks in our default screenrc, which might break some"
972 - elog "applications. Please check /etc/screenrc for information on these changes."
973 - fi
974 -
975 - # Add /tmp/screen in case it doesn't exist yet. This should solve
976 - # problems like bug #508634 where tmpfiles.d isn't in effect.
977 - local rundir="${EROOT%/}/tmp/screen"
978 - if [[ ! -d ${rundir} ]] ; then
979 - if use multiuser || use prefix ; then
980 - tmpfiles_group="root"
981 - else
982 - tmpfiles_group="utmp"
983 - fi
984 - mkdir -m 0775 "${rundir}"
985 - chgrp ${tmpfiles_group} "${rundir}"
986 - fi
987 -
988 - ewarn "This revision changes the screen socket location to /run/screen."
989 -}
990
991 diff --git a/profiles/categories b/profiles/categories
992 index 86b90c1..0fc669e 100644
993 --- a/profiles/categories
994 +++ b/profiles/categories
995 @@ -1,7 +1,6 @@
996 app-admin
997 app-doc
998 app-emulation
999 -app-misc
1000 app-vim
1001 dev-libs
1002 dev-python