From 594d721658dbc3d439519b743f8c5aea06e4e613 Mon Sep 17 00:00:00 2001 From: Fabian Fingerle Date: Mon, 9 Nov 2009 21:54:46 +0100 Subject: [PATCH] app-misc/screen-9999-r1: remove --- app-misc/screen/ChangeLog | 37 --- app-misc/screen/Manifest | 9 - app-misc/screen/files/4.0.2-no-libelf.patch | 18 -- app-misc/screen/files/4.0.2-no-pty.patch | 14 - app-misc/screen/files/4.0.2-no-utempter.patch | 14 - app-misc/screen/files/9999-no-libelf.patch | 17 -- app-misc/screen/files/config-h-in.patch | 11 - app-misc/screen/files/screen-4.0.1-vsprintf.patch | 13 - app-misc/screen/files/screenrc | 354 ---------------------- app-misc/screen/screen-9999-r1.ebuild | 147 --------- 10 files changed, 634 deletions(-) delete mode 100644 app-misc/screen/ChangeLog delete mode 100644 app-misc/screen/Manifest delete mode 100644 app-misc/screen/files/4.0.2-no-libelf.patch delete mode 100644 app-misc/screen/files/4.0.2-no-pty.patch delete mode 100644 app-misc/screen/files/4.0.2-no-utempter.patch delete mode 100644 app-misc/screen/files/9999-no-libelf.patch delete mode 100644 app-misc/screen/files/config-h-in.patch delete mode 100644 app-misc/screen/files/screen-4.0.1-vsprintf.patch delete mode 100644 app-misc/screen/files/screenrc delete mode 100644 app-misc/screen/screen-9999-r1.ebuild diff --git a/app-misc/screen/ChangeLog b/app-misc/screen/ChangeLog deleted file mode 100644 index 768eafb..0000000 --- a/app-misc/screen/ChangeLog +++ /dev/null @@ -1,37 +0,0 @@ -# ChangeLog for app-misc/screen -# Copyright 2006-2009 Otih Overlay; distributed under the GPL version 2 - - 30 Apr 2009, Fabian Fingerle : - Copy from Berkano Overlay - - 29 Apr 2009; Ben de Groot ; screen-9999-r1.ebuild: - Drop keywords in live ebuilds - - 14 Dec 2008; Ben de Groot ; files/9999-no-libelf.patch: - Updating 9999-no-libelf.patch - - 08 Aug 2008; Ben de Groot ; - +files/9999-no-libelf.patch, screen-9999-r1.ebuild: - Updating ebuild for latest upstream changes. Adding USE=doc for info page, - because that depends on sys-apps/texinfo. - - 07 Aug 2008; Ben de Groot ; - -files/screen-4.0.1-int-overflow-fix.patch, - -files/4.0.2-windowlist-multiuser-fix.patch, - -files/screen-4.0.3_p20070403-map.patch, -files/4.0.2-64bit-time.patch, - -screen-9999.ebuild, -files/4.0.2-nonblock.patch, screen-9999-r1.ebuild: - Cleanup - - 20 Jul 2008; Ben de Groot ; +screen-9999-r1.ebuild, - +files/config-h-in.patch: - Moving to git - - 23 Sep 2007; Ben de Groot (yngwin) ; - +files/screen-4.0.1-int-overflow-fix.patch, - +files/screen-4.0.1-vsprintf.patch, +files/4.0.2-64bit-time.patch, - +screen-9999.ebuild, +files/4.0.2-no-libelf.patch, - +files/4.0.2-no-pty.patch, +files/4.0.2-no-utempter.patch, - +files/4.0.2-nonblock.patch, +files/screen-4.0.3_p20070403-map.patch, - +files/4.0.2-windowlist-multiuser-fix.patch, +files/screenrc: - Importing svn ebuild for screen. Based on ebuild in live-ebuilds overlay. - diff --git a/app-misc/screen/Manifest b/app-misc/screen/Manifest deleted file mode 100644 index 3482d6c..0000000 --- a/app-misc/screen/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX 4.0.2-no-libelf.patch 555 RMD160 4af1c158b0a4e0124fec8347090bf5d25634fdf5 SHA1 fe33038030600e60369374b994c47e68e2bb6bd3 SHA256 56cc1f7b2d02ba230501c7c87da170fa791639cb1f36b2b0b87d8644e5372059 -AUX 4.0.2-no-pty.patch 392 RMD160 d29aec55c6b76f66a8340096f627afe2e4dca3e8 SHA1 bd1328e0dbb321397692846b5c2ac62df1885a9c SHA256 edc29bc7b7bea89c2f937ca9c95f2ce51b437e4ea042741d9f4ac6d7954178d5 -AUX 4.0.2-no-utempter.patch 440 RMD160 3e0ee3492e5ae84bf05716a1787dee495362bc39 SHA1 f0f810a969790c7d2f6ecd6787909371bab79879 SHA256 cc0178fb86971c0975e3d6d60677f2ad3a393ea126790dc5d56f566c42ebe384 -AUX 9999-no-libelf.patch 541 RMD160 0f2a7636d240aa3a17342c455edf2e33679ca31c SHA1 ab11a782778e758e587218abab072ec48dc9110e SHA256 5e903a930b4d93441b51a82bb5f6b2fa931f45fc71668b7606e371a6c0e70668 -AUX config-h-in.patch 380 RMD160 d5d6b61a8b7c526d9d7538fd0570cfc2492b6887 SHA1 ef99d5e66a61ffc819a684834e69fb4cd8606a9c SHA256 d09196e319b13b88e41ebbb4728cc84349b058f9b0605a4d5b850f290d714155 -AUX screen-4.0.1-vsprintf.patch 480 RMD160 cc80e7353e19d7d82dc506ae3a5eaaedba4db1ca SHA1 b1bf4b8f45236dc63de748699671679ce7237a59 SHA256 34d2f9d6101555fbc37e983542f3db549ea96ede89c7d87c21c69b7331d9c3cd -AUX screenrc 10357 RMD160 c4c68748b74207f7ee509de9f79262e3fedc66a8 SHA1 d72b16e1b54ba6e529912f0fd8f185f67aa79040 SHA256 1f454ad8acf59024ad2ad2acba2918a10d9c8fb3305a86ff53cd3049e9cef6cf -EBUILD screen-9999-r1.ebuild 3781 RMD160 b3804adcc5f8a558d9aea7e4ce07c4765f688396 SHA1 f46da535a1fa2fd69220ea7a5150dde4d182f665 SHA256 864badd9080569da23c0a2e25c6a5fae2ff7c7fa469b91b3302495a8e36cca29 -MISC ChangeLog 1547 RMD160 addd26f7593f211f8809a32e681f546107e19afa SHA1 2b18bb9f2f7a141eac3034cbeb894c267ba42dfb SHA256 a2fd23d7a03ab90a8e005720ed43e9428ccb0709b5924df7ca67e1160a8db0e6 diff --git a/app-misc/screen/files/4.0.2-no-libelf.patch b/app-misc/screen/files/4.0.2-no-libelf.patch deleted file mode 100644 index df06383..0000000 --- a/app-misc/screen/files/4.0.2-no-libelf.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- screen-4.0.2/configure.in 2005-05-22 19:55:06.559874997 +0000 -+++ screen-4.0.2-no-libelf/configure.in 2005-05-22 19:56:05.895801017 +0000 -@@ -195,15 +195,6 @@ - #endif - ], LIBS="$LIBS -lsocket -linet";seqptx=1) - --oldlibs="$LIBS" --LIBS="$LIBS -lelf" --AC_CHECKING(SVR4) --AC_TRY_LINK([#include --],, --[AC_CHECK_HEADER(dwarf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN), --[AC_CHECK_HEADER(elf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN))])] --,LIBS="$oldlibs") -- - AC_CHECKING(for Solaris 2.x) - AC_EGREP_CPP(yes, - [#if defined(SVR4) && defined(sun) diff --git a/app-misc/screen/files/4.0.2-no-pty.patch b/app-misc/screen/files/4.0.2-no-pty.patch deleted file mode 100644 index 7b7b798..0000000 --- a/app-misc/screen/files/4.0.2-no-pty.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- screen-4.0.2/pty.c.orig 2004-07-29 23:53:45.313533536 -0400 -+++ screen-4.0.2/pty.c 2004-07-29 23:53:59.011451136 -0400 -@@ -33,11 +33,6 @@ - # include - #endif - --/* for solaris 2.1, Unixware (SVR4.2) and possibly others */ --#ifdef HAVE_SVR4_PTYS --# include --#endif -- - #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL) - # include - #endif diff --git a/app-misc/screen/files/4.0.2-no-utempter.patch b/app-misc/screen/files/4.0.2-no-utempter.patch deleted file mode 100644 index 2a06119..0000000 --- a/app-misc/screen/files/4.0.2-no-utempter.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- screen-4.0.2/configure.in.orig 2004-12-17 19:55:45.314670411 +0100 -+++ screen-4.0.2/configure.in 2004-12-17 19:55:50.575941541 +0100 -@@ -855,11 +855,6 @@ - #include - #endif - ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST)) --AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no) --if test "$have_utempter" = yes; then -- AC_DEFINE(HAVE_UTEMPTER) -- LIBS="$LIBS -lutempter" --fi - - dnl - dnl **** loadav **** diff --git a/app-misc/screen/files/9999-no-libelf.patch b/app-misc/screen/files/9999-no-libelf.patch deleted file mode 100644 index 8417a5a..0000000 --- a/app-misc/screen/files/9999-no-libelf.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- screen/src/configure.in.orig 2008-12-14 17:46:11.000000000 +0100 -+++ screen/src/configure.in 2008-12-14 17:47:36.000000000 +0100 -@@ -200,14 +200,6 @@ - #endif - ], LIBS="$LIBS -lsocket -linet";seqptx=1) - --oldlibs="$LIBS" --LIBS="$LIBS -lelf" --AC_CHECKING(SVR4) --AC_TRY_LINK([#include --],, --[AC_CHECK_HEADER(dwarf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN), --[AC_CHECK_HEADER(elf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN))])] --,LIBS="$oldlibs") - AC_CHECK_HEADERS([stropts.h string.h strings.h]) - - AC_CHECKING(for Solaris 2.x) diff --git a/app-misc/screen/files/config-h-in.patch b/app-misc/screen/files/config-h-in.patch deleted file mode 100644 index f1f6cd6..0000000 --- a/app-misc/screen/files/config-h-in.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- config.h.in.orig 2008-07-20 01:53:45.000000000 +0200 -+++ config.h.in 2008-07-20 01:54:08.000000000 +0200 -@@ -564,7 +564,7 @@ - * If you are on a SYS V machine that restricts filename length to 14 - * characters, you may need to enforce that by setting NAME_MAX to 14 - */ --#undef NAME_MAX /* KEEP_UNDEF_HERE override system value */ -+#undef NAME_MAX - #undef NAME_MAX - - /* diff --git a/app-misc/screen/files/screen-4.0.1-vsprintf.patch b/app-misc/screen/files/screen-4.0.1-vsprintf.patch deleted file mode 100644 index b2f7a20..0000000 --- a/app-misc/screen/files/screen-4.0.1-vsprintf.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- screen-4.0.1/configure.in 2003-06-03 07:58:24.000000000 -0400 -+++ screen-4.0.1/configure.in.agriffis 2004-01-13 12:07:37.000000000 -0500 -@@ -1206,7 +1206,9 @@ - rm -f /tmp/conftest* - - AC_MSG_CHECKING(for vsprintf) --AC_TRY_LINK(,[vsprintf(0,0,0);], AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS), AC_MSG_RESULT(no)) -+AC_TRY_LINK([#include ],[va_list valist; vsprintf(0,0,valist);], -+ [AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS)], -+ [AC_MSG_RESULT(no)]) - - AC_HEADER_DIRENT - diff --git a/app-misc/screen/files/screenrc b/app-misc/screen/files/screenrc deleted file mode 100644 index 6eec032..0000000 --- a/app-misc/screen/files/screenrc +++ /dev/null @@ -1,354 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# -# /etc/screenrc -# -# This is the system wide screenrc. -# -# You can use this file to change the default behavior of screen system wide -# or copy it to ~/.screenrc and use it as a starting point for your own -# settings. -# -# Commands in this file are used to set options, bind screen functions to -# keys, redefine terminal capabilities, and to automatically establish one or -# more windows at the beginning of your screen session. -# -# This is not a comprehensive list of options, look at the screen manual for -# details on everything that you can put in this file. -# -# - -# ============================================================================== -# SCREEN SETTINGS -# ============================================================================== - -# ESCAPE - the COMMAND CHARACTER -# =============================================================== -# escape ^aa # default -# escape ^pp # suggested binding for emacs users - - -# PASSWORD -# =============================================================== -# This commands sets the *internal* password for the screen session. -# WARNING!! If this is set then a "lock" command will only let you in to the -# session after you enter the user's account password and then *also* -# the internal password for that session. This gives additional safety but, -# if you forget the internal password then you cannot resume your session. -# Use :password to generate a password -# password ODSJQf.4IJN7E # "1234" - - -# VARIABLES -# =============================================================== -# No annoying audible bell, using "visual bell" -# vbell on # default: off -# vbell_msg " -- Bell,Bell!! -- " # default: "Wuff,Wuff!!" - -# Automatically detach on hangup. - autodetach on # default: on - -# Don't display the copyright page - startup_message off # default: on - -# Uses nethack-style messages -# nethack on # default: off - -# Affects the copying of text regions - crlf off # default: off - -# Enable/disable multiuser mode. Standard screen operation is singleuser. -# In multiuser mode the commands acladd, aclchg, aclgrp and acldel can be used -# to enable (and disable) other user accessing this screen session. -# Requires suid-root. - multiuser off - -# Change default scrollback value for new windows - defscrollback 1000 # default: 100 - -# Define the time that all windows monitored for silence should -# wait before displaying a message. Default 30 seconds. - silencewait 15 # default: 30 - -# bufferfile: The file to use for commands -# "readbuf" ('<') and "writebuf" ('>'): - bufferfile $HOME/.screen_exchange -# -# hardcopydir: The directory which contains all hardcopies. -# hardcopydir ~/.hardcopy -# hardcopydir ~/.screen -# -# shell: Default process started in screen's windows. -# Makes it possible to use a different shell inside screen -# than is set as the default login shell. -# If begins with a '-' character, the shell will be started as a login shell. -# shell zsh -# shell bash -# shell ksh - shell -$SHELL - -# shellaka '> |tcsh' -# shelltitle '$ |bash' - -# emulate .logout message - pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." - -# caption always " %w --- %c:%s" -# caption always "%3n %t%? @%u%?%? [%h]%?%=%c" - -# advertise hardstatus support to $TERMCAP -# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\' - -# set every new windows hardstatus line to somenthing descriptive -# defhstatus "screen: ^En (^Et)" - -# don't kill window after the process died -# zombie "^[" - - -# XTERM TWEAKS -# =============================================================== - -# xterm understands both im/ic and doesn't have a status line. -# Note: Do not specify im and ic in the real termcap/info file as -# some programs (e.g. vi) will not work anymore. - termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l - terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l - -# 80/132 column switching must be enabled for ^AW to work -# change init sequence to not switch width - termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l - -# Make the output buffer large for (fast) xterms. -# termcapinfo xterm* OL=10000 - termcapinfo xterm* OL=100 - -# tell screen that xterm can switch to dark background and has function -# keys. - termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' - termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' - termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' - -# special xterm hardstatus: use the window title. - termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' - -#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' - termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' - -# emulate part of the 'K' charset - termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' - -# xterm-52 tweaks: -# - uses background color for delete operations - termcapinfo xterm* be - -# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195) - termcapinfo xterm|xterms|xs ti@:te=\E[2J - -# WYSE TERMINALS -# =============================================================== - -#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff") -#essential to have it here, as this is a slow terminal. - termcapinfo wy75-42 xo:hs@ - -# New termcap sequences for cursor application mode. - 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 - - -# OTHER TERMINALS -# =============================================================== - -# make hp700 termcap/info better - 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@' - -# Extend the vt100 desciption by some sequences. - termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC - 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 - termcapinfo linux C8 -# old rxvt versions also need this -# termcapinfo rxvt C8 - - -# KEYBINDINGS -# ============================================================== -# The "bind" command assign keys to (internal) commands -# SCREEN checks all the keys you type; you type the key -# which is known as the "command character" then SCREEN -# eats this key, too, and checks whether this key is -# "bound" to a command. If so then SCREEN will execute it. -# -# The command "bind" allows you to chose which keys -# will be assigned to the commands. -# -# Some commands are bound to several keys - -# usually to both some letter and its corresponding -# control key combination, eg the command -# "(create) screen" is bound to both 'c' and '^C'. -# -# The following list shows the default bindings: -# -# break ^B b -# clear C -# colon : -# copy ^[ [ -# detach ^D d -# digraph ^V -# displays * -# dumptermcap . -# fit F -# flow ^F f -# focus ^I -# hardcopy h -# help ? -# history { } -# info i -# kill K k -# lastmsg ^M m -# license , -# log H -# login L -# meta x -# monitor M -# next ^@ ^N sp n -# number N -# only Q -# other ^X -# pow_break B -# pow_detach D -# prev ^H ^P p ^? -# quit \ -# readbuf < -# redisplay ^L l -# remove X -# removebuf = -# reset Z -# screen ^C c -# select " ' -# silence _ -# split S -# suspend ^Z z -# time ^T t -# title A -# vbell ^G -# version v -# width W -# windows ^W w -# wrap ^R r -# writebuf > -# xoff ^S s -# xon ^Q q -# ^] paste . -# - select - -# 0 select 0 -# 1 select 1 -# 2 select 2 -# 3 select 3 -# 4 select 4 -# 5 select 5 -# 6 select 6 -# 7 select 7 -# 8 select 8 -# 9 select 9 -# I login on -# O login off -# ] paste . -# - -# And here are the default bind commands if you need them: -# -# bind A title -# bind C clear -# bind D pow_detach -# bind F fit -# bind H log -# bind I login on -# bind K kill -# bind L login -# bind M monitor -# bind N number -# bind O login off -# bind Q only -# bind S split -# bind W width -# bind X remove -# bind Z reset - -# Let's remove some dangerous key bindings ... - bind k - bind ^k -# bind . dumptermcap # default - bind . -# bind ^\ quit # default - bind ^\ -# bind \\ quit # default - bind \\ -# bind ^h ??? # default - bind ^h -# bind h hardcopy # default - bind h - -# ... and make them better. - bind 'K' kill - bind 'I' login on - bind 'O' login off - bind '}' history - -# Yet another hack: -# Prepend/append register [/] to the paste if ^a^] is pressed. -# This lets me have autoindent mode in vi. - register [ "\033:se noai\015a" - register ] "\033:se ai\015a" - bind ^] paste [.] - - -# hardstatus alwaysignore -# hardstatus alwayslastline "%Lw" - -# Resize the current region. The space will be removed from or added to -# the region below or if there's not enough space from the region above. - bind = resize = - bind + resize +3 - bind - resize -3 -# bind _ resize max -# -# attrcolor u "-u b" -# attrcolor b "R" - -# STARTUP SCREENS -# =============================================================== -# Defines the time screen delays a new message when one message -# is currently displayed. The default is 1 second. -# msgminwait 2 - -# Time a message is displayed if screen is not disturbed by -# other activity. The dafault is 5 seconds: -# msgwait 2 - -# Briefly show the version number of this starting -# screen session - but only for *one* second: -# msgwait 1 -# version - -# Welcome the user: -# echo "welcome :-)" -# echo "I love you today." - -# Uncomment one/some following lines to automatically let -# SCREEN start some programs in the given window numbers: -# screen -t MAIL 0 mutt -# screen -t EDIT 1 vim -# screen -t GOOGLE 2 links http://www.google.com -# screen -t NEWS 3 slrn -# screen -t WWW 4 links http://www.math.fu-berlin.de/~guckes/ -# screen 5 -# screen 6 - -# Set the environment variable var to value string. If only var is specified, -# you'll be prompted to enter a value. If no parameters are specified, -# you'll be prompted for both variable and value. The environment is -# inherited by all subsequently forked shells. -# setenv PROMPT_COMMAND 'echo -n -e "\033k\033\134"' - -# Don't you want to start programs which need a DISPLAY ? -# setenv DISPLAY '' diff --git a/app-misc/screen/screen-9999-r1.ebuild b/app-misc/screen/screen-9999-r1.ebuild deleted file mode 100644 index 0144133..0000000 --- a/app-misc/screen/screen-9999-r1.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="2.5" - -inherit eutils flag-o-matic toolchain-funcs pam autotools git - -EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git" -DESCRIPTION="A full-screen window manager that multiplexes a physical terminal between several processes" -HOMEPAGE="http://www.gnu.org/software/screen/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="debug doc nethack pam selinux multiuser" - -RDEPEND=">=sys-libs/ncurses-5.2 - pam? ( virtual/pam ) - selinux? ( - sec-policy/selinux-screen - >=sec-policy/selinux-base-policy-20050821 - )" -DEPEND="${RDEPEND} - doc? ( sys-apps/texinfo )" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - # Make sure utmp group exists, as it's used later on. - enewgroup utmp 406 -} - -src_unpack() { - git_src_unpack ${A} - cd "${S}"/src - - # Bug 31070: configure problem which affects alpha - # (13 Jan 2004 agriffis) - epatch "${FILESDIR}"/screen-4.0.1-vsprintf.patch - - # uclibc doesnt have sys/stropts.h - if ! (echo '#include ' | $(tc-getCC) -E - &>/dev/null) ; then - epatch "${FILESDIR}"/4.0.2-no-pty.patch - fi - - # Don't use utempter even if it is found on the system - epatch "${FILESDIR}"/4.0.2-no-utempter.patch - - # Don't link against libelf even if it is found on the system - #epatch "${FILESDIR}"/9999-no-libelf.patch - - # Fix manpage. - sed -i \ - -e "s:/usr/local/etc/screenrc:/etc/screenrc:g" \ - -e "s:/usr/local/screens:/var/run/screen:g" \ - -e "s:/local/etc/screenrc:/etc/screenrc:g" \ - -e "s:/etc/utmp:/var/run/utmp:g" \ - -e "s:/local/screens/S-:/var/run/screen/S-:g" \ - doc/screen.1 \ - || die "sed doc/screen.1 failed" - - eautoreconf -} - -src_compile() { - cd "${S}"/src - - append-flags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" - use nethack || append-flags "-DNONETHACK" - use debug && append-flags "-DDEBUG" - - econf \ - --with-socket-dir=/var/run/screen \ - --with-sys-screenrc=/etc/screenrc \ - --with-pty-mode=0620 \ - --with-pty-group=5 \ - --enable-rxvt_osc \ - --enable-telnet \ - --enable-colors256 \ - $(use_enable pam) \ - || die "econf failed" - - # Second try to fix bug 12683, this time without changing term.h - # The last try seemed to break screen at run-time. - # (16 Jan 2003 agriffis) - LC_ALL=POSIX make term.h || die "Failed making term.h" - - emake || die "emake failed" - - if use doc - then - cd "${S}"/src/doc/ - make info || die "make info failed" - fi -} - -src_install() { - cd "${S}"/src - dobin screen || die "dobin failed" - keepdir /var/run/screen || die "keepdir failed" - - if use multiuser - then - fperms 4755 /usr/bin/screen || die "fperms failed" - else - fowners root:utmp /{usr/bin,var/run}/screen || die "fowners failed" - fperms 2755 /usr/bin/screen || die "fperms failed" - fi - - insinto /usr/share/screen - doins terminfo/{screencap,screeninfo.src} || die "doins failed" - insinto /usr/share/screen/utf8encodings - doins utf8encodings/?? || die "doins failed" - insinto /etc - doins "${FILESDIR}"/screenrc || die "doins failed" - - pamd_mimic_system screen auth || die "pamd_mimic_system failed" - - dodoc \ - README ChangeLog INSTALL TODO NEWS* patchlevel.h \ - doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} \ - || die "dodoc failed" - - doman doc/screen.1 || die "doman failed" - - if use doc - then - doinfo doc/screen.info || die "doinfo failed" - fi -} - -pkg_postinst() { - if use multiuser - then - chown root:0 "${ROOT}"/var/run/screen - chmod 0755 "${ROOT}"/var/run/screen - else - chown root:utmp "${ROOT}"/var/run/screen - chmod 0775 "${ROOT}"/var/run/screen - fi - - elog "Some dangerous key bindings have been removed or changed to more safe values." - elog "We enable some xterm hacks in our default screenrc, which might break some" - elog "applications. Please check /etc/screenrc for information on these changes." - -} -- 2.11.4.GIT