mc upgrade to 4.8.27 (#1878)

* cherry-picking mc upgrade to v4.8.27

* correcting cgmanifest url

Co-authored-by: Thomas Crain <thcrain@microsoft.com>
This commit is contained in:
Max Brodeur-Urbas 2022-01-12 14:25:00 -08:00 committed by GitHub
parent 7b19901a67
commit 3c75efd5fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 40 deletions

View File

@ -1,5 +1,5 @@
{
"Signatures": {
"mc-4.8.21.tar.xz": "8f37e546ac7c31c9c203a03b1c1d6cb2d2f623a300b86badfd367e5559fe148c"
"mc-4.8.27.tar.xz": "31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4"
}
}

View File

@ -1,58 +1,69 @@
Summary: File manager
Name: mc
Version: 4.8.21
Release: 4%{?dist}
License: GPLv3+
URL: http://www.midnight-commander.org
Group: Applications/System
Summary: File manager
Name: mc
Version: 4.8.27
Release: 1%{?dist}
License: GPLv3+
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: https://ftp.midnight-commander.org/%{name}-%{version}.tar.xz
Patch0: disable-extfs-test.patch
Requires: glib pcre slang
BuildRequires: glib-devel pcre-devel slang-devel
Group: Applications/System
URL: https://www.midnight-commander.org
Source0: http://ftp.midnight-commander.org/%{name}-%{version}.tar.xz
Patch0: disable-extfs-test.patch
BuildRequires: glib-devel
BuildRequires: pcre-devel
BuildRequires: slang-devel
Requires: glib
Requires: pcre
Requires: slang
%description
MC (Midnight Commander) is a text-mode full-screen file manager and visual shell
%prep
%setup -q
%patch0 -p1
%autosetup -p1
%build
./configure \
--prefix=%{_prefix} \
--sysconfdir=/etc
make %{?_smp_mflags}
%configure
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
%check
make %{?_smp_mflags} -k check
%make_build -k check
%files
%defattr(-,root,root)
%license COPYING
/etc/*
/usr/bin/*
%exclude /usr/lib
/usr/libexec/*
/usr/share/*
%exclude /usr/src
%{_sysconfdir}/*
%{_bindir}/*
%exclude %{_libdir}
%{_libexecdir}/*
%{_datadir}/*
%exclude %{_prefix}/src
%changelog
* Mon Nov 01 2021 Thomas Crain <thcrain@microsoft.com> - 4.8.27-1
- Upgrade to latest version to fix CVE-2021-36370
- License verified
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 4.8.21-4
- Added %%license line automatically
* Tue Apr 21 2020 Eric Li <eli@microsoft.com> 4.8.21-3
- Fix Source0: and delete sha1. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 4.8.21-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Thu Sep 06 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.8.21-1
- Update to version 4.8.21
* Fri Aug 18 2017 Dheeraj Shetty <dheerajs@vmware.com> 4.8.19-2
- Disable extfs test
* Fri Mar 31 2017 Michelle Wang <michellew@vmware.com> 4.8.19-1
- Update package version
* Tue Jul 12 2016 Alexey Makhalov <amakhalov@vmware.com> 4.8.17-1
- Initial build. First version
* Tue Apr 21 2020 Eric Li <eli@microsoft.com> - 4.8.21-3
- Fix Source0: and delete sha1. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 4.8.21-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Thu Sep 06 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> - 4.8.21-1
- Update to version 4.8.21
* Fri Aug 18 2017 Dheeraj Shetty <dheerajs@vmware.com> - 4.8.19-2
- Disable extfs test
* Fri Mar 31 2017 Michelle Wang <michellew@vmware.com> - 4.8.19-1
- Update package version
* Tue Jul 12 2016 Alexey Makhalov <amakhalov@vmware.com> - 4.8.17-1
- Initial build. First version

View File

@ -13441,8 +13441,8 @@
"type": "other",
"other": {
"name": "mc",
"version": "4.8.21",
"downloadUrl": "https://ftp.midnight-commander.org/mc-4.8.21.tar.xz"
"version": "4.8.27",
"downloadUrl": "http://ftp.midnight-commander.org/mc-4.8.27.tar.xz"
}
}
},