Skip to content

Commit 4daf229

Browse files
mc upgrade to 4.8.27 (#1878)
* cherry-picking mc upgrade to v4.8.27 * correcting cgmanifest url Co-authored-by: Thomas Crain <[email protected]>
1 parent dd89b73 commit 4daf229

File tree

3 files changed

+51
-40
lines changed

3 files changed

+51
-40
lines changed

SPECS/mc/mc.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"mc-4.8.21.tar.xz": "8f37e546ac7c31c9c203a03b1c1d6cb2d2f623a300b86badfd367e5559fe148c"
3+
"mc-4.8.27.tar.xz": "31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4"
44
}
55
}

SPECS/mc/mc.spec

Lines changed: 48 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,69 @@
1-
Summary: File manager
2-
Name: mc
3-
Version: 4.8.21
4-
Release: 4%{?dist}
5-
License: GPLv3+
6-
URL: http://www.midnight-commander.org
7-
Group: Applications/System
1+
Summary: File manager
2+
Name: mc
3+
Version: 4.8.27
4+
Release: 1%{?dist}
5+
License: GPLv3+
86
Vendor: Microsoft Corporation
97
Distribution: Mariner
10-
Source0: https://ftp.midnight-commander.org/%{name}-%{version}.tar.xz
11-
Patch0: disable-extfs-test.patch
12-
Requires: glib pcre slang
13-
BuildRequires: glib-devel pcre-devel slang-devel
8+
Group: Applications/System
9+
URL: https://www.midnight-commander.org
10+
Source0: http://ftp.midnight-commander.org/%{name}-%{version}.tar.xz
11+
Patch0: disable-extfs-test.patch
12+
BuildRequires: glib-devel
13+
BuildRequires: pcre-devel
14+
BuildRequires: slang-devel
15+
Requires: glib
16+
Requires: pcre
17+
Requires: slang
1418

1519
%description
1620
MC (Midnight Commander) is a text-mode full-screen file manager and visual shell
1721

1822
%prep
19-
%setup -q
20-
%patch0 -p1
23+
%autosetup -p1
24+
2125
%build
22-
./configure \
23-
--prefix=%{_prefix} \
24-
--sysconfdir=/etc
25-
make %{?_smp_mflags}
26+
%configure
27+
%make_build
2628

2729
%install
28-
make DESTDIR=%{buildroot} install
30+
%make_install
2931

3032
%check
31-
make %{?_smp_mflags} -k check
33+
%make_build -k check
3234

3335
%files
3436
%defattr(-,root,root)
3537
%license COPYING
36-
/etc/*
37-
/usr/bin/*
38-
%exclude /usr/lib
39-
/usr/libexec/*
40-
/usr/share/*
41-
%exclude /usr/src
38+
%{_sysconfdir}/*
39+
%{_bindir}/*
40+
%exclude %{_libdir}
41+
%{_libexecdir}/*
42+
%{_datadir}/*
43+
%exclude %{_prefix}/src
4244

4345
%changelog
46+
* Mon Nov 01 2021 Thomas Crain <[email protected]> - 4.8.27-1
47+
- Upgrade to latest version to fix CVE-2021-36370
48+
- License verified
49+
4450
* Sat May 09 2020 Nick Samson <[email protected]> - 4.8.21-4
4551
- Added %%license line automatically
4652

47-
* Tue Apr 21 2020 Eric Li <[email protected]> 4.8.21-3
48-
- Fix Source0: and delete sha1. License verified.
49-
* Tue Sep 03 2019 Mateusz Malisz <[email protected]> 4.8.21-2
50-
- Initial CBL-Mariner import from Photon (license: Apache2).
51-
* Thu Sep 06 2018 Srivatsa S. Bhat <[email protected]> 4.8.21-1
52-
- Update to version 4.8.21
53-
* Fri Aug 18 2017 Dheeraj Shetty <[email protected]> 4.8.19-2
54-
- Disable extfs test
55-
* Fri Mar 31 2017 Michelle Wang <[email protected]> 4.8.19-1
56-
- Update package version
57-
* Tue Jul 12 2016 Alexey Makhalov <[email protected]> 4.8.17-1
58-
- Initial build. First version
53+
* Tue Apr 21 2020 Eric Li <[email protected]> - 4.8.21-3
54+
- Fix Source0: and delete sha1. License verified.
55+
56+
* Tue Sep 03 2019 Mateusz Malisz <[email protected]> - 4.8.21-2
57+
- Initial CBL-Mariner import from Photon (license: Apache2).
58+
59+
* Thu Sep 06 2018 Srivatsa S. Bhat <[email protected]> - 4.8.21-1
60+
- Update to version 4.8.21
61+
62+
* Fri Aug 18 2017 Dheeraj Shetty <[email protected]> - 4.8.19-2
63+
- Disable extfs test
64+
65+
* Fri Mar 31 2017 Michelle Wang <[email protected]> - 4.8.19-1
66+
- Update package version
67+
68+
* Tue Jul 12 2016 Alexey Makhalov <[email protected]> - 4.8.17-1
69+
- Initial build. First version

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13441,8 +13441,8 @@
1344113441
"type": "other",
1344213442
"other": {
1344313443
"name": "mc",
13444-
"version": "4.8.21",
13445-
"downloadUrl": "https://ftp.midnight-commander.org/mc-4.8.21.tar.xz"
13444+
"version": "4.8.27",
13445+
"downloadUrl": "http://ftp.midnight-commander.org/mc-4.8.27.tar.xz"
1344613446
}
1344713447
}
1344813448
},

0 commit comments

Comments
 (0)