Skip to content

Commit 9ce332f

Browse files
committed
Merge branch 'main' into 2.0
2 parents 2a0b6a5 + 52e54ef commit 9ce332f

File tree

152 files changed

+10574
-197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+10574
-197
lines changed

.github/workflows/go-test-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
permissions: read-all
1313

1414
env:
15-
EXPECTED_GO_VERSION: "1.20"
15+
EXPECTED_GO_VERSION: "1.21"
1616

1717
jobs:
1818
build:

.pipelines/prchecks/PackageBuildPRCheck.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ parameters:
2222
maxCPUs: "$(($(nproc) / 3))"
2323
rawToolchainCacheURL: "$(rawToolchainCacheURL_ARM64)"
2424
rawToolchainExpectedHash: "65de43b3bdcfdaac71df1f11fd1f830a8109b1eb9d7cb6cbc2e2d0e929d0ef76"
25+
- name: debug
26+
type: boolean
27+
default: false
28+
displayName: "Run in debug mode"
2529

2630
resources:
2731
repositories:
@@ -37,7 +41,7 @@ variables:
3741
- name: toolchainArtifactNameBase
3842
value: Toolchain
3943
- name: system.debug
40-
value: 'true'
44+
value: '${{ parameters.debug }}'
4145

4246
extends:
4347
template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates
@@ -103,6 +107,7 @@ extends:
103107
steps:
104108
- template: .pipelines/templates/PackageBuild.yml@self
105109
parameters:
110+
checkBuildRetries: "1"
106111
customToolchainArtifactName: $(toolchainArtifactName)
107112
isCheckBuild: true
108113
isQuickRebuildPackages: true

.pipelines/templates/PackageBuild.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ parameters:
66
type: string
77
default: "$(Build.SourcesDirectory)"
88

9+
- name: checkBuildRetries
10+
type: string
11+
default: ""
12+
913
- name: concurrentPackageBuilds
1014
type: number
1115
default: 12
@@ -22,10 +26,6 @@ parameters:
2226
type: string
2327
default: ""
2428

25-
- name: testRerunList
26-
type: string
27-
default: ""
28-
2929
- name: failOnTestFailures
3030
type: boolean
3131
default: true
@@ -125,6 +125,10 @@ parameters:
125125
type: string
126126
default: ""
127127

128+
- name: testRerunList
129+
type: string
130+
default: ""
131+
128132
- name: testSuiteName
129133
type: string
130134
default: "Package test"
@@ -176,6 +180,10 @@ steps:
176180
displayName: "Populate cache RPMs"
177181
178182
- script: |
183+
if [[ -n "${{ parameters.checkBuildRetries }}" ]]; then
184+
check_build_retries_arg="CHECK_BUILD_RETRIES=${{ parameters.checkBuildRetries }}"
185+
fi
186+
179187
if [[ ${{ parameters.isDeltaBuild }} == "true" ]]; then
180188
delta_fetch_arg="DELTA_FETCH=y"
181189
elif [[ ${{ parameters.isDeltaBuild }} == "false" ]]; then
@@ -217,6 +225,7 @@ steps:
217225
SPECS_DIR="${{ parameters.buildRepoRoot }}/${{ parameters.specsFolderPath }}" \
218226
SRPM_PACK_LIST="${{ parameters.srpmPackList }}" \
219227
TEST_RERUN_LIST="${{ parameters.testRerunList }}" \
228+
$check_build_retries_arg \
220229
$delta_fetch_arg \
221230
$max_cascading_rebuilds_arg \
222231
$quick_rebuild_packages_arg \
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From 638d1c5d1c33b4383a4e307f5bcb8b366dd36071 Mon Sep 17 00:00:00 2001
2+
From: Amrita Kohli <[email protected]>
3+
Date: Fri, 9 Aug 2024 16:19:34 +0000
4+
Subject: [PATCH] Modified upstream patch from PR https://github.com/jonschlinkert/kind-of/pull/31 with commit id
5+
975c13a7cfaf25d811475823824af3a9c04b0ba8 for CVE-2019-20149. Modified by:
6+
Amrita Kohli <[email protected]>
7+
8+
---
9+
node_modules/kind-of/index.js | 2 +-
10+
1 file changed, 1 insertion(+), 1 deletion(-)
11+
12+
diff --git a/node_modules/kind-of/index.js b/node_modules/kind-of/index.js
13+
index dfa799b7..bdcfdc85 100644
14+
--- a/node_modules/kind-of/index.js
15+
+++ b/node_modules/kind-of/index.js
16+
@@ -66,7 +66,7 @@ module.exports = function kindOf(val) {
17+
};
18+
19+
function ctorName(val) {
20+
- return typeof val.constructor === 'function' ? val.constructor.name : null;
21+
+ return val.constructor && typeof val.constructor === 'function' ? val.constructor.name : null;
22+
}
23+
24+
function isArray(val) {
25+
--
26+
2.34.1
27+

SPECS-EXTENDED/js-jquery/js-jquery.spec

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Vendor: Microsoft Corporation
22
Distribution: Mariner
33
Name: js-jquery
44
Version: 3.5.0
5-
Release: 3%{?dist}
5+
Release: 4%{?dist}
66
Summary: JavaScript DOM manipulation, event handling, and AJAX library
77
BuildArch: noarch
88

@@ -18,6 +18,8 @@ Source1: jquery_%{version}_node_modules.tar.gz
1818

1919
# disable gzip-js during build
2020
Patch1: %{name}-disable-gzip-js.patch
21+
# Patch for CVE-2019-20149 in kind-of package https://github.com/jonschlinkert/kind-of/pull/31
22+
Patch2: CVE-2019-20149.patch
2123

2224

2325
BuildRequires: web-assets-devel
@@ -45,14 +47,15 @@ browsers. With a combination of versatility and extensibility, jQuery has
4547
changed the way that millions of people write JavaScript.
4648

4749
%prep
48-
%autosetup -n jquery-%{version} -v -p1
50+
%setup -n jquery-%{version}
51+
%patch1 -p1
4952

5053
#remove precompiled stuff
5154
rm -rf dist/*
5255

5356
# Install the cached node modules
5457
tar xf %{SOURCE1}
55-
58+
%patch2 -p1
5659

5760
%build
5861
./node_modules/grunt-cli/bin/grunt -v 'build:*:*' uglify
@@ -83,6 +86,10 @@ ln -s %{version} %{installdir}/%{ver_x}.%{ver_y}
8386

8487

8588
%changelog
89+
* Fri Aug 9 2024 Amrita Kohli <[email protected]> - 3.5.0-4
90+
- Patch CVE-2019-20149 in kind-of package.
91+
- License verified
92+
8693
* Mon Jun 14 2021 Thomas Crain <[email protected]> - 3.5.0-3
8794
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
8895
- Add explicit build-time dependency on nodejs-devel
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Signatures": {
3+
"mosh-1.4.0.tar.gz": "872e4b134e5df29c8933dff12350785054d2fd2839b5ae6b5587b14db1465ddd"
4+
}
5+
}

SPECS-EXTENDED/mosh/mosh.spec

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
Name: mosh
2+
Version: 1.4.0
3+
Release: 6%{?dist}
4+
Summary: Mobile shell that supports roaming and intelligent local echo
5+
Vendor: Microsoft Corporation
6+
Distribution: Mariner
7+
8+
License: GPLv3+
9+
URL: https://mosh.mit.edu/
10+
Source0: https://github.com/mobile-shell/mosh/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
11+
12+
BuildRequires: libutempter-devel
13+
BuildRequires: ncurses-devel
14+
BuildRequires: openssl-devel
15+
BuildRequires: perl-diagnostics
16+
BuildRequires: perl-generators
17+
BuildRequires: protobuf-compiler
18+
BuildRequires: protobuf-devel
19+
BuildRequires: zlib-devel
20+
BuildRequires: gcc
21+
BuildRequires: gcc-c++
22+
BuildRequires: make
23+
Requires: openssh-clients
24+
Requires: openssl
25+
Requires: perl-IO-Socket-IP
26+
27+
%description
28+
Mosh is a remote terminal application that supports:
29+
- intermittent network connectivity,
30+
- roaming to different IP address without dropping the connection, and
31+
- intelligent local echo and line editing to reduce the effects
32+
of "network lag" on high-latency connections.
33+
34+
35+
%prep
36+
%setup -q
37+
38+
39+
%build
40+
%configure --disable-silent-rules CC=gcc CXX=g++
41+
%make_build
42+
43+
44+
%install
45+
%make_install
46+
47+
48+
%files
49+
%doc README.md ChangeLog
50+
%license COPYING
51+
%{_bindir}/mosh
52+
%{_bindir}/mosh-client
53+
%{_bindir}/mosh-server
54+
%{_mandir}/man1/mosh.1.gz
55+
%{_mandir}/man1/mosh-client.1.gz
56+
%{_mandir}/man1/mosh-server.1.gz
57+
58+
59+
%changelog
60+
* Sun Aug 11 2024 Chris Co <[email protected]> - 1.4.0-6
61+
- Initial CBL-Mariner import from Fedora 40 (license: MIT)
62+
- License verified
63+
64+
* Thu Jan 25 2024 Fedora Release Engineering <[email protected]> - 1.4.0-5
65+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
66+
67+
* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 1.4.0-4
68+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
69+
70+
* Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 1.4.0-3
71+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
72+
73+
* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 1.4.0-2
74+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
75+
76+
* Wed Oct 26 2022 Alex Chernyakhovsky <[email protected]> - 1.4.0-1
77+
- Update to mosh 1.4.0
78+
79+
* Thu Jul 21 2022 Fedora Release Engineering <[email protected]> - 1.3.2-15
80+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
81+
82+
* Tue Apr 05 2022 Michal Josef Špaček <[email protected]> - 1.3.2-14
83+
- Remove dependency to obsolete IO::Socket::INET6
84+
85+
* Thu Jan 20 2022 Fedora Release Engineering <[email protected]> - 1.3.2-13
86+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
87+
88+
* Sat Nov 06 2021 Adrian Reber <[email protected]> - 1.3.2-12
89+
- Rebuilt for protobuf 3.19.0
90+
91+
* Tue Oct 26 2021 Adrian Reber <[email protected]> - 1.3.2-11
92+
- Rebuilt for protobuf 3.18.1
93+
94+
* Tue Sep 14 2021 Sahana Prasad <[email protected]> - 1.3.2-10
95+
- Rebuilt with OpenSSL 3.0.0
96+
97+
* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 1.3.2-9
98+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
99+
100+
* Tue Jan 26 2021 Fedora Release Engineering <[email protected]> - 1.3.2-8
101+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
102+
103+
* Thu Jan 14 08:32:44 CET 2021 Adrian Reber <[email protected]> - 1.3.2-7
104+
- Rebuilt for protobuf 3.14
105+
106+
* Thu Sep 24 2020 Adrian Reber <[email protected]> - 1.3.2-6
107+
- Rebuilt for protobuf 3.13
108+
109+
* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 1.3.2-5
110+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
111+
112+
* Sun Jun 14 2020 Adrian Reber <[email protected]> - 1.3.2-4
113+
- Rebuilt for protobuf 3.12
114+
115+
* Wed Jan 29 2020 Fedora Release Engineering <[email protected]> - 1.3.2-3
116+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
117+
118+
* Thu Dec 19 2019 Orion Poplawski <[email protected]> - 1.3.2-2
119+
- Rebuild for protobuf 3.11
120+
121+
* Sun Sep 22 2019 Alex Chernyakhovsky <[email protected]> - 1.3.2-1
122+
- Update to mosh 1.3.2
123+
124+
* Thu Jul 25 2019 Fedora Release Engineering <[email protected]> - 1.3.0-11
125+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
126+
127+
* Fri Feb 01 2019 Fedora Release Engineering <[email protected]> - 1.3.0-10
128+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
129+
130+
* Wed Nov 21 2018 Igor Gnatenko <[email protected]> - 1.3.0-9
131+
- Rebuild for protobuf 3.6
132+
133+
* Fri Jul 13 2018 Fedora Release Engineering <[email protected]> - 1.3.0-8
134+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
135+
136+
* Thu Feb 08 2018 Fedora Release Engineering <[email protected]> - 1.3.0-7
137+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
138+
139+
* Wed Nov 29 2017 Igor Gnatenko <[email protected]> - 1.3.0-6
140+
- Rebuild for protobuf 3.5
141+
142+
* Mon Nov 13 2017 Igor Gnatenko <[email protected]> - 1.3.0-5
143+
- Rebuild for protobuf 3.4
144+
145+
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 1.3.0-4
146+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
147+
148+
* Wed Jul 26 2017 Fedora Release Engineering <[email protected]> - 1.3.0-3
149+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
150+
151+
* Tue Jun 13 2017 Orion Poplawski <[email protected]> - 1.3.0-2
152+
- Rebuild for protobuf 3.3.1
153+
154+
* Sun Mar 26 2017 Alex Chernyakhovsky <[email protected]> - 1.3.0-1
155+
- Update to mosh 1.3.0
156+
157+
* Fri Feb 10 2017 Fedora Release Engineering <[email protected]> - 1.2.6-4
158+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
159+
160+
* Thu Jan 26 2017 Orion Poplawski <[email protected]> - 1.2.6-3
161+
- Rebuild for protobuf 3.2.0
162+
163+
* Sat Nov 19 2016 Orion Poplawski <[email protected]> - 1.2.6-2
164+
- Rebuild for protobuf 3.1.0
165+
166+
* Wed Aug 10 2016 Alex Chernyakhovsky <[email protected]> - 1.2.6-1
167+
- Update to mosh 1.2.6
168+
169+
* Mon Feb 08 2016 Ralf Corsépius <[email protected]> - 1.2.5-3
170+
- Let package honor RPM_OPT_FLAGS (Fix F24FTBFS).
171+
- Add %%license.
172+
- Make building verbose.
173+
174+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 1.2.5-2
175+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
176+
177+
* Thu Aug 6 2015 Alex Chernyakhovsky <[email protected]> - 1.2.5-1
178+
- Update to mosh 1.2.5
179+
180+
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 1.2.4-7
181+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
182+
183+
* Sun Apr 26 2015 Alex Chernyakhovsky <[email protected]> - 1.2.4-6
184+
- Rebuild for protobuf version bump.
185+
186+
* Sun Aug 17 2014 Fedora Release Engineering <[email protected]> - 1.2.4-5
187+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
188+
189+
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 1.2.4-4
190+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
191+
192+
* Sat Aug 03 2013 Fedora Release Engineering <[email protected]> - 1.2.4-3
193+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
194+
195+
* Wed Jul 17 2013 Petr Pisar <[email protected]> - 1.2.4-2
196+
- Perl 5.18 rebuild
197+
198+
* Wed Mar 27 2013 Alexander Chernyakhovsky <[email protected]> - 1.2.4-1
199+
- Update to mosh 1.2.4
200+
201+
* Sun Mar 10 2013 Alexander Chernyakhovsky <[email protected]> - 1.2.3-3
202+
- Rebuilt for Protobuf API change from 2.4.1 to 2.5.0
203+
204+
* Thu Feb 14 2013 Fedora Release Engineering <[email protected]> - 1.2.3-2
205+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
206+
207+
* Fri Oct 19 2012 Alexander Chernyakhovsky <[email protected]> - 1.2.3-1
208+
- Update to mosh 1.2.3
209+
210+
* Fri Jul 20 2012 Fedora Release Engineering <[email protected]> - 1.2.2-2
211+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
212+
213+
* Wed Jun 13 2012 Alexander Chernyakhovsky <[email protected]> - 1.2.2-1
214+
- Update to mosh 1.2.2
215+
216+
* Sat Apr 28 2012 Alexander Chernyakhovsky <[email protected]> - 1.2-2
217+
- Add -g and -O2 CFLAGS
218+
219+
* Fri Apr 27 2012 Alexander Chernyakhovsky <[email protected]> - 1.2-1
220+
- Update to mosh 1.2.
221+
222+
* Mon Mar 26 2012 Alexander Chernyakhovsky <[email protected]> - 1.1.1-1
223+
- Update to mosh 1.1.1.
224+
225+
* Wed Mar 21 2012 Alexander Chernyakhovsky <[email protected]> - 1.1-1
226+
- Initial packaging for mosh.

0 commit comments

Comments
 (0)