1 |
jer 15/06/29 06:18:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: screen-4.3.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.204 app-misc/screen/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/ChangeLog?rev=1.204&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/ChangeLog?rev=1.204&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/ChangeLog?r1=1.203&r2=1.204 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v |
20 |
retrieving revision 1.203 |
21 |
retrieving revision 1.204 |
22 |
diff -u -r1.203 -r1.204 |
23 |
--- ChangeLog 13 Jun 2015 23:29:25 -0000 1.203 |
24 |
+++ ChangeLog 29 Jun 2015 06:18:45 -0000 1.204 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-misc/screen |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.203 2015/06/13 23:29:25 polynomial-c Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.204 2015/06/29 06:18:45 jer Exp $ |
30 |
+ |
31 |
+*screen-4.3.1 (29 Jun 2015) |
32 |
+ |
33 |
+ 29 Jun 2015; Jeroen Roovers <jer@g.o> +screen-4.3.1.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*screen-4.3.0 (13 Jun 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-misc/screen/screen-4.3.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.3.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.3.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: screen-4.3.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.3.1.ebuild,v 1.1 2015/06/29 06:18:45 jer Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit autotools eutils flag-o-matic pam toolchain-funcs user |
55 |
|
56 |
DESCRIPTION="Full-screen window manager that multiplexes physical terminals between several processes" |
57 |
HOMEPAGE="http://www.gnu.org/software/screen/" |
58 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
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" |
63 |
IUSE="debug nethack pam selinux multiuser" |
64 |
|
65 |
CDEPEND=">=sys-libs/ncurses-5.2 |
66 |
pam? ( virtual/pam )" |
67 |
RDEPEND="${CDEPEND} |
68 |
selinux? ( sec-policy/selinux-screen )" |
69 |
DEPEND="${CDEPEND} |
70 |
sys-apps/texinfo" |
71 |
|
72 |
pkg_setup() { |
73 |
# Make sure utmp group exists, as it's used later on. |
74 |
enewgroup utmp 406 |
75 |
} |
76 |
|
77 |
src_prepare() { |
78 |
# Don't use utempter even if it is found on the system |
79 |
epatch "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch |
80 |
|
81 |
# sched.h is a system header and causes problems with some C libraries |
82 |
mv sched.h _sched.h || die |
83 |
sed -i '/include/ s:sched.h:_sched.h:' screen.h || die |
84 |
|
85 |
# Fix manpage. |
86 |
sed -i \ |
87 |
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
88 |
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \ |
89 |
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \ |
90 |
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \ |
91 |
-e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \ |
92 |
doc/screen.1 \ |
93 |
|| die |
94 |
|
95 |
# reconfigure |
96 |
eautoreconf |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" |
101 |
|
102 |
if [[ ${CHOST} == *-solaris* ]] ; then |
103 |
# https://lists.gnu.org/archive/html/screen-devel/2014-04/msg00095.html |
104 |
append-cppflags -D_XOPEN_SOURCE \ |
105 |
-D_XOPEN_SOURCE_EXTENDED=1 \ |
106 |
-D__EXTENSIONS__ |
107 |
append-libs -lsocket -lnsl |
108 |
fi |
109 |
|
110 |
use nethack || append-cppflags "-DNONETHACK" |
111 |
use debug && append-cppflags "-DDEBUG" |
112 |
|
113 |
econf \ |
114 |
--with-socket-dir="${EPREFIX}/tmp/screen" \ |
115 |
--with-sys-screenrc="${EPREFIX}/etc/screenrc" \ |
116 |
--with-pty-mode=0620 \ |
117 |
--with-pty-group=5 \ |
118 |
--enable-rxvt_osc \ |
119 |
--enable-telnet \ |
120 |
--enable-colors256 \ |
121 |
$(use_enable pam) |
122 |
} |
123 |
|
124 |
src_compile() { |
125 |
LC_ALL=POSIX emake comm.h term.h |
126 |
emake osdef.h |
127 |
|
128 |
emake -C doc screen.info |
129 |
default |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
local tmpfiles_perms tmpfiles_group |
134 |
|
135 |
dobin screen |
136 |
|
137 |
if use multiuser || use prefix |
138 |
then |
139 |
fperms 4755 /usr/bin/screen |
140 |
tmpfiles_perms="0755" |
141 |
tmpfiles_group="root" |
142 |
else |
143 |
fowners root:utmp /usr/bin/screen |
144 |
fperms 2755 /usr/bin/screen |
145 |
tmpfiles_perms="0775" |
146 |
tmpfiles_group="utmp" |
147 |
fi |
148 |
|
149 |
dodir /etc/tmpfiles.d |
150 |
echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ |
151 |
> "${ED}"/etc/tmpfiles.d/screen.conf |
152 |
|
153 |
insinto /usr/share/screen |
154 |
doins terminfo/{screencap,screeninfo.src} |
155 |
insinto /usr/share/screen/utf8encodings |
156 |
doins utf8encodings/?? |
157 |
insinto /etc |
158 |
doins "${FILESDIR}"/screenrc |
159 |
|
160 |
pamd_mimic_system screen auth |
161 |
|
162 |
dodoc \ |
163 |
README ChangeLog INSTALL TODO NEWS* patchlevel.h \ |
164 |
doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} |
165 |
|
166 |
doman doc/screen.1 |
167 |
doinfo doc/screen.info |
168 |
} |
169 |
|
170 |
pkg_postinst() { |
171 |
if [[ -z ${REPLACING_VERSIONS} ]] |
172 |
then |
173 |
elog "Some dangerous key bindings have been removed or changed to more safe values." |
174 |
elog "We enable some xterm hacks in our default screenrc, which might break some" |
175 |
elog "applications. Please check /etc/screenrc for information on these changes." |
176 |
fi |
177 |
|
178 |
# Add /tmp/screen in case it doesn't exist yet. This should solve |
179 |
# problems like bug #508634 where tmpfiles.d isn't in effect. |
180 |
local rundir="${EROOT%/}/tmp/screen" |
181 |
if [[ ! -d ${rundir} ]] ; then |
182 |
if use multiuser || use prefix ; then |
183 |
tmpfiles_group="root" |
184 |
else |
185 |
tmpfiles_group="utmp" |
186 |
fi |
187 |
mkdir -m 0775 "${rundir}" |
188 |
chgrp ${tmpfiles_group} "${rundir}" |
189 |
fi |
190 |
|
191 |
ewarn "This revision changes the screen socket location to ${rundir}" |
192 |
} |