1 |
commit: bc66fb100f851ddfcbf963930b65d42a63e3e17f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 11 05:56:46 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 11 05:56:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc66fb10 |
7 |
|
8 |
x11-terms/xterm: (security) bump to 366 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/769839 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
x11-terms/xterm/Manifest | 1 + |
15 |
x11-terms/xterm/xterm-366.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 100 insertions(+) |
17 |
|
18 |
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest |
19 |
index e7b7978379a..5a1302d346b 100644 |
20 |
--- a/x11-terms/xterm/Manifest |
21 |
+++ b/x11-terms/xterm/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST xterm-351.tgz 1401009 BLAKE2B df32425affce33deb199710be118e90da7b1975882aaf92ff1ad5e976ac18f280cf7d72362d82c0ff9f9530d8da3ba133e345ff9de7f0ac0a2134200c9cc87e6 SHA512 941507be19ad062b39c57288c6e28a17f0ceba090a2d1c3f626f638e5333ca9b4c762fe2fbc42908adf7854b00d9a98cb6eb7481dfa50fd0125459f8ca385c00 |
24 |
DIST xterm-363.tgz 1442520 BLAKE2B f63efde533f9d495c3d6b744544e592608d2731f04af58a9d799f8ca7d705c81c507d9012fc4a1bd04b3e4c0a76fc00557d1a61cd9954f5fb2bf7b5ec624764f SHA512 e9148f144e5e38597c84ccd82033f4fb83a9dd222c4cecf7498e31065e7d0148c89631290e5f804fcd9d2d55f59f4fd271aaf220eb636fbe38ae245ea6537871 |
25 |
DIST xterm-365.tgz 1444367 BLAKE2B efb4ce024b7a196955c160e10aadc54d97da1df6e53b9ca79184382a1db939583e52f66ed4df1f586a33b9febda6ac51dc66a9f2cd69bb04296c934aae7e7571 SHA512 3f6571d09cd3fa94e9133494a2893e804ea0f0c76289d4a7e46e3ea267278042f0e78231ff4b06ee6d7ba5936dc3e2e6c81a8f52c36d79a8ddf3cfaa59376970 |
26 |
+DIST xterm-366.tgz 1445992 BLAKE2B 4724851b84ae0682b39e5f1b070ba9f04c627511aa20a5b1c76e740666e14436a0095d8a1be4f6ad54eb1e5d841ef766b0bf4d840ebddcaea0889285f1377900 SHA512 ffab7e0970b92a25488bd57da2dfe2856279208c489a632e0e92788deec2a4f99510f76e1c88e55f389dfe984c323add0fab31b04d2a1d774ce6d3b2c9c642ef |
27 |
|
28 |
diff --git a/x11-terms/xterm/xterm-366.ebuild b/x11-terms/xterm/xterm-366.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..0102172747d |
31 |
--- /dev/null |
32 |
+++ b/x11-terms/xterm/xterm-366.ebuild |
33 |
@@ -0,0 +1,99 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit desktop flag-o-matic |
40 |
+ |
41 |
+DESCRIPTION="Terminal Emulator for X Windows" |
42 |
+HOMEPAGE="https://invisible-island.net/xterm/" |
43 |
+SRC_URI="ftp://ftp.invisible-island.net/${PN}/${P}.tgz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="+openpty sixel toolbar truetype unicode Xaw3d xinerama" |
49 |
+ |
50 |
+BDEPEND="virtual/pkgconfig |
51 |
+ x11-base/xorg-proto" |
52 |
+DEPEND="kernel_linux? ( sys-libs/libutempter ) |
53 |
+ kernel_FreeBSD? ( sys-libs/libutempter ) |
54 |
+ media-libs/fontconfig:1.0 |
55 |
+ >=sys-libs/ncurses-5.7-r7:0= |
56 |
+ x11-apps/xmessage |
57 |
+ x11-libs/libICE |
58 |
+ x11-libs/libX11 |
59 |
+ x11-libs/libXaw |
60 |
+ x11-libs/libXft |
61 |
+ x11-libs/libxkbfile |
62 |
+ x11-libs/libXmu |
63 |
+ x11-libs/libXrender |
64 |
+ x11-libs/libXt |
65 |
+ unicode? ( x11-apps/luit ) |
66 |
+ Xaw3d? ( x11-libs/libXaw3d ) |
67 |
+ xinerama? ( x11-libs/libXinerama )" |
68 |
+RDEPEND="${DEPEND} |
69 |
+ media-fonts/font-misc-misc |
70 |
+ x11-apps/rgb" |
71 |
+ |
72 |
+DOCS=( README{,.i18n} ctlseqs.txt ) |
73 |
+ |
74 |
+pkg_setup() { |
75 |
+ DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ # 454736 |
80 |
+ # Workaround for ncurses[tinfo] until upstream fixes their buildsystem using |
81 |
+ # something sane like pkg-config or ncurses5-config and stops guessing libs |
82 |
+ # Everything gets linked against ncurses anyways, so don't shout |
83 |
+ append-libs $(pkg-config --libs ncurses) |
84 |
+ |
85 |
+ local myeconfargs=( |
86 |
+ --disable-full-tgetent |
87 |
+ --disable-imake |
88 |
+ --disable-setgid |
89 |
+ --disable-setuid |
90 |
+ --enable-256-color |
91 |
+ --enable-broken-osc |
92 |
+ --enable-broken-st |
93 |
+ --enable-dabbrev |
94 |
+ --enable-exec-xterm |
95 |
+ --enable-i18n |
96 |
+ --enable-load-vt-fonts |
97 |
+ --enable-logging |
98 |
+ --enable-screen-dumps |
99 |
+ --enable-warnings |
100 |
+ --enable-wide-chars |
101 |
+ --libdir="${EPREFIX}"/etc |
102 |
+ --with-app-defaults="${DEFAULTS_DIR}" |
103 |
+ --with-utempter |
104 |
+ --with-x |
105 |
+ $(use_enable openpty) |
106 |
+ $(use_enable sixel sixel-graphics) |
107 |
+ $(use_enable toolbar) |
108 |
+ $(use_enable truetype freetype) |
109 |
+ $(use_enable unicode luit) |
110 |
+ $(use_enable unicode mini-luit) |
111 |
+ $(use_with Xaw3d) |
112 |
+ $(use_with xinerama) |
113 |
+ ) |
114 |
+ econf "${myeconfargs[@]}" |
115 |
+} |
116 |
+ |
117 |
+src_install() { |
118 |
+ default |
119 |
+ |
120 |
+ docinto html |
121 |
+ dodoc xterm.log.html |
122 |
+ domenu *.desktop |
123 |
+ |
124 |
+ # Fix permissions -- it grabs them from live system, and they can |
125 |
+ # be suid or sgid like they were in pre-unix98 pty or pre-utempter days, |
126 |
+ # respectively (#69510). |
127 |
+ # (info from Thomas Dickey) - Donnie Berkholz <spyderous@g.o> |
128 |
+ fperms 0755 /usr/bin/xterm |
129 |
+ |
130 |
+ # restore the navy blue |
131 |
+ sed -i -e 's:blue2$:blue:' "${ED}${DEFAULTS_DIR}"/XTerm-color || die |
132 |
+} |