xterm: bump version to 372 to address CVE-2021-27135 (#3527)
* Refresh all patches to apply cleanly * Cosmetic fixes to spec formating * xterm: cgmanifest: switch url to `https` instead of `ftp` * xterm: switch to `http` url instead of `https` due to cert issue Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
parent
2d724b37ef
commit
b4cf5a89e9
|
@ -1,7 +1,18 @@
|
||||||
diff -up xterm-333/XTerm.ad.defaults xterm-333/XTerm.ad
|
From dcfa97b04779f5680e7ad17dbe75020bb36de04f Mon Sep 17 00:00:00 2001
|
||||||
--- xterm-333/XTerm.ad.defaults 2016-12-22 03:07:39.000000000 +0100
|
From: Muhammad Falak R Wani <falakreyaz@gmail.com>
|
||||||
+++ xterm-333/XTerm.ad 2018-05-30 15:44:53.325426803 +0200
|
Date: Fri, 12 Aug 2022 07:27:06 +0530
|
||||||
@@ -259,3 +259,11 @@
|
Subject: [PATCH 1/3] xterm defaults
|
||||||
|
|
||||||
|
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
|
||||||
|
---
|
||||||
|
XTerm.ad | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/XTerm.ad b/XTerm.ad
|
||||||
|
index 6d347a1..e4b1828 100644
|
||||||
|
--- a/XTerm.ad
|
||||||
|
+++ b/XTerm.ad
|
||||||
|
@@ -270,3 +270,11 @@
|
||||||
!*allowTcapOps: false
|
!*allowTcapOps: false
|
||||||
!*allowTitleOps: false
|
!*allowTitleOps: false
|
||||||
!*allowWindowOps: false
|
!*allowWindowOps: false
|
||||||
|
@ -13,3 +24,6 @@ diff -up xterm-333/XTerm.ad.defaults xterm-333/XTerm.ad
|
||||||
+*VT100*scrollBar: true
|
+*VT100*scrollBar: true
|
||||||
+*VT100*utf8Title: true
|
+*VT100*utf8Title: true
|
||||||
+*termName: xterm-256color
|
+*termName: xterm-256color
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,17 @@
|
||||||
diff -up xterm-323/xterm.desktop.desk xterm-323/xterm.desktop
|
From 67509cf49144a602430d0ee0918770919616f461 Mon Sep 17 00:00:00 2001
|
||||||
--- xterm-323/xterm.desktop.desk 2016-03-08 14:32:15.633422051 +0100
|
From: Muhammad Falak R Wani <falakreyaz@gmail.com>
|
||||||
+++ xterm-323/xterm.desktop 2016-03-08 14:33:31.231604288 +0100
|
Date: Fri, 12 Aug 2022 07:29:12 +0530
|
||||||
|
Subject: [PATCH 2/3] xterm desktop
|
||||||
|
|
||||||
|
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
|
||||||
|
---
|
||||||
|
xterm.desktop | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/xterm.desktop b/xterm.desktop
|
||||||
|
index 61dcd2c..401b03a 100644
|
||||||
|
--- a/xterm.desktop
|
||||||
|
+++ b/xterm.desktop
|
||||||
@@ -32,12 +32,12 @@
|
@@ -32,12 +32,12 @@
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
|
@ -16,3 +27,6 @@ diff -up xterm-323/xterm.desktop.desk xterm-323/xterm.desktop
|
||||||
+Icon=xterm-color
|
+Icon=xterm-color
|
||||||
Categories=System;TerminalEmulator;
|
Categories=System;TerminalEmulator;
|
||||||
Keywords=shell;prompt;command;commandline;cmd;
|
Keywords=shell;prompt;command;commandline;cmd;
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,21 @@
|
||||||
diff -up xterm-328/minstall.in.man-paths xterm-328/minstall.in
|
From bd87b44049dd383d6139b2b756dbfc3167ad4937 Mon Sep 17 00:00:00 2001
|
||||||
--- xterm-328/minstall.in.man-paths 2016-10-25 00:29:20.000000000 +0200
|
From: Muhammad Falak R Wani <falakreyaz@gmail.com>
|
||||||
+++ xterm-328/minstall.in 2017-06-01 16:36:26.544065282 +0200
|
Date: Fri, 12 Aug 2022 07:34:42 +0530
|
||||||
@@ -138,6 +138,11 @@ USE_chr1=`echo "$USE_name" | sed -e 's/^
|
Subject: [PATCH 3/3] xterm man paths
|
||||||
|
|
||||||
|
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
|
||||||
|
---
|
||||||
|
minstall.in | 8 ++++++++
|
||||||
|
xterm.man | 7 +++----
|
||||||
|
2 files changed, 11 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/minstall.in b/minstall.in
|
||||||
|
index cd15775..0228db7 100644
|
||||||
|
--- a/minstall.in
|
||||||
|
+++ b/minstall.in
|
||||||
|
@@ -141,6 +141,11 @@ USE_chr1=`echo "$USE_name" | sed -e 's/^.//'`
|
||||||
USE_Name=${USE_chr0}${USE_chr1}
|
USE_Name=${USE_chr0}${USE_chr1}
|
||||||
USE_NAME=`echo "$USE_name" | tr '[a-z]' '[A-Z]'`
|
USE_NAME=`echo "$USE_name" | tr "$lower" "$upper"`
|
||||||
|
|
||||||
+fontpath=/usr/share/X11/fonts
|
+fontpath=/usr/share/X11/fonts
|
||||||
+xorgcfgdir=/etc/X11
|
+xorgcfgdir=/etc/X11
|
||||||
|
@ -11,22 +23,23 @@ diff -up xterm-328/minstall.in.man-paths xterm-328/minstall.in
|
||||||
+X_MANSECT=7
|
+X_MANSECT=7
|
||||||
+
|
+
|
||||||
sed -e 's%__vendorversion__%"X Window System"%' \
|
sed -e 's%__vendorversion__%"X Window System"%' \
|
||||||
-e 's%__app_version__%Patch\ \#'$PATCH_NUM% \
|
-e 's%__app_version__%Patch\ \#'"$PATCH_NUM"% \
|
||||||
-e 's%__app_date__%'$PATCH_YMD% \
|
-e 's%__app_date__%'"$PATCH_YMD"% \
|
||||||
@@ -163,6 +168,9 @@ sed -e 's%__vendorversion__%"X Window Sy
|
@@ -166,6 +171,9 @@ sed -e 's%__vendorversion__%"X Window System"%' \
|
||||||
-e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \
|
-e "s%/etc/utmp%$UTMP_PATH%g" \
|
||||||
-e s%/etc/wtmp%$WTMP_PATH%g \
|
-e 's%fIwtmp\\%fI'$WTMP_NAME'\\%g' \
|
||||||
|
-e "s%/etc/wtmp%$WTMP_PATH%g" \
|
||||||
|
+ -e s%__fontpath__%$fontpath%g \
|
||||||
|
+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
|
||||||
|
+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
|
||||||
-e 's%/\\(\*\*%/*%g' \
|
-e 's%/\\(\*\*%/*%g' \
|
||||||
+ -e s%__fontpath__%$fontpath%g \
|
"$OLD_FILE" >$NEW_FILE
|
||||||
+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
|
|
||||||
+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
|
|
||||||
$OLD_FILE >$NEW_FILE
|
|
||||||
# diff -u $OLD_FILE $NEW_FILE
|
# diff -u $OLD_FILE $NEW_FILE
|
||||||
|
diff --git a/xterm.man b/xterm.man
|
||||||
diff -up xterm-328/xterm.man.man-paths xterm-328/xterm.man
|
index f5f510f..fdc4990 100644
|
||||||
--- xterm-328/xterm.man.man-paths 2017-05-31 00:57:12.000000000 +0200
|
--- a/xterm.man
|
||||||
+++ xterm-328/xterm.man 2017-06-01 16:33:16.493512367 +0200
|
+++ b/xterm.man
|
||||||
@@ -2328,19 +2328,18 @@ Since X11R6, bitmap fonts have been scal
|
@@ -2551,19 +2551,18 @@ Since X11R6, bitmap fonts have been scaled.
|
||||||
The font server claims to provide the bold font that \fI\*n\fP requests,
|
The font server claims to provide the bold font that \fI\*n\fP requests,
|
||||||
but the result is not always readable.
|
but the result is not always readable.
|
||||||
XFree86 introduced a feature which can be used to suppress the scaling.
|
XFree86 introduced a feature which can be used to suppress the scaling.
|
||||||
|
@ -49,3 +62,6 @@ diff -up xterm-328/xterm.man.man-paths xterm-328/xterm.man
|
||||||
.NE
|
.NE
|
||||||
.IP
|
.IP
|
||||||
Depending on your configuration, the font server may have its own configuration
|
Depending on your configuration, the font server may have its own configuration
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"Signatures": {
|
"Signatures": {
|
||||||
"16colors.txt": "a2342029672532256110ef28a0ea1addb7f6fd1f08aacc382d0fbe2308f178c2",
|
"16colors.txt": "a2342029672532256110ef28a0ea1addb7f6fd1f08aacc382d0fbe2308f178c2",
|
||||||
"xterm-351.tgz": "760a8a10221c9c9744afd86db87c7ad95bbf9be4f5f525fecf39125f0d2a6e16"
|
"xterm-372.tgz": "c6d08127cb2409c3a04bcae559b7025196ed770bb7bf26630abcb45d95f60ab1"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,23 +1,23 @@
|
||||||
Vendor: Microsoft Corporation
|
Vendor: Microsoft Corporation
|
||||||
Distribution: Mariner
|
Distribution: Mariner
|
||||||
Summary: Terminal emulator for the X Window System
|
Summary: Terminal emulator for the X Window System
|
||||||
Name: xterm
|
Name: xterm
|
||||||
Version: 351
|
Version: 372
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
URL: https://invisible-island.net/xterm
|
URL: https://invisible-island.net/xterm
|
||||||
License: MIT
|
License: MIT
|
||||||
BuildRequires: gcc pkgconfig ncurses-devel libutempter-devel
|
BuildRequires: gcc pkgconfig ncurses-devel libutempter-devel
|
||||||
BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
|
BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
|
||||||
BuildRequires: libxkbfile-devel xorg-x11-apps
|
BuildRequires: libxkbfile-devel xorg-x11-apps
|
||||||
Requires: xterm-resize = %{version}-%{release}
|
Requires: xterm-resize = %{version}-%{release}
|
||||||
Recommends: xorg-x11-fonts-misc
|
Recommends: xorg-x11-fonts-misc
|
||||||
|
|
||||||
Source0: ftp://ftp.invisible-island.net/xterm/%{name}-%{version}.tgz
|
Source0: http://ftp.invisible-island.net/archives/xterm/%{name}-%{version}.tgz
|
||||||
Source1: ftp://ftp.invisible-island.net/xterm/16colors.txt
|
Source1: http://ftp.invisible-island.net/archives/xterm/16colors.txt
|
||||||
|
|
||||||
Patch1: xterm-defaults.patch
|
Patch1: xterm-defaults.patch
|
||||||
Patch2: xterm-desktop.patch
|
Patch2: xterm-desktop.patch
|
||||||
Patch3: xterm-man-paths.patch
|
Patch3: xterm-man-paths.patch
|
||||||
|
|
||||||
%bcond_with trace
|
%bcond_with trace
|
||||||
|
|
||||||
|
@ -103,6 +103,13 @@ install -m644 -p xterm.appdata.xml $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||||
%{_mandir}/man1/resize.1*
|
%{_mandir}/man1/resize.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 12 2022 Muhammad Falak <mwani@microsoft.com> - 372-1
|
||||||
|
- Bump version to address CVE-2021-27135
|
||||||
|
- Refresh all patches to apply cleanly
|
||||||
|
- Switch url to `http` instead of `ftp`
|
||||||
|
- Cosmetic changes to spec formating
|
||||||
|
- License verified
|
||||||
|
|
||||||
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 351-3
|
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 351-3
|
||||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||||
|
|
||||||
|
|
|
@ -27697,8 +27697,8 @@
|
||||||
"type": "other",
|
"type": "other",
|
||||||
"other": {
|
"other": {
|
||||||
"name": "xterm",
|
"name": "xterm",
|
||||||
"version": "351",
|
"version": "372",
|
||||||
"downloadUrl": "ftp://ftp.invisible-island.net/xterm/xterm-351.tgz"
|
"downloadUrl": "http://ftp.invisible-island.net/archives/xterm/xterm-372.tgz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue