|
|
|
@ -1,34 +1,33 @@
|
|
|
|
|
Summary: A text file browser similar to more, but better
|
|
|
|
|
Name: less
|
|
|
|
|
Version: 590
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 530
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
License: GPLv3+ or BSD
|
|
|
|
|
Source0: https://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: lesspipe.sh
|
|
|
|
|
Source2: less.sh
|
|
|
|
|
Source3: less.csh
|
|
|
|
|
Patch4: less-394-time.patch
|
|
|
|
|
Patch5: less-475-fsync.patch
|
|
|
|
|
Patch5: less-418-fsync.patch
|
|
|
|
|
Patch6: less-436-manpage-add-old-bot-option.patch
|
|
|
|
|
Patch7: less-436-help.patch
|
|
|
|
|
Patch8: less-458-lessecho-usage.patch
|
|
|
|
|
Patch9: less-458-less-filters-man.patch
|
|
|
|
|
Patch10: less-458-lesskey-usage.patch
|
|
|
|
|
Patch11: less-458-old-bot-in-help.patch
|
|
|
|
|
Patch12: less-590-CVE-2022-46663.patch
|
|
|
|
|
Patch13: less-590-CVE-2022-48624.patch
|
|
|
|
|
Patch14: less-590-CVE-2024-32487.patch
|
|
|
|
|
URL: https://www.greenwoodsoftware.com/less/
|
|
|
|
|
Patch12: less-530-CVE-2022-48624.patch
|
|
|
|
|
Patch13: less-530-CVE-2024-32487.patch
|
|
|
|
|
URL: http://www.greenwoodsoftware.com/less/
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The less utility is a text file browser that resembles more, but has
|
|
|
|
|
more capabilities. Less allows you to move backwards in the file as
|
|
|
|
|
well as forwards. Since less doesn't have to read the entire input file
|
|
|
|
|
before it starts, less starts up more quickly than text editors (for
|
|
|
|
|
example, vi).
|
|
|
|
|
example, vi).
|
|
|
|
|
|
|
|
|
|
You should install less because it is a basic utility for viewing text
|
|
|
|
|
files, and you'll use it frequently.
|
|
|
|
@ -43,21 +42,20 @@ files, and you'll use it frequently.
|
|
|
|
|
%patch9 -p1 -b .less-filters-man
|
|
|
|
|
%patch10 -p1 -b .lesskey-usage
|
|
|
|
|
%patch11 -p1 -b .old-bot
|
|
|
|
|
%patch12 -p1 -b .CVE-2022-46663
|
|
|
|
|
%patch13 -p1 -b .CVE-2022-48624
|
|
|
|
|
%patch14 -p1 -b .CVE-2024-32487
|
|
|
|
|
%patch12 -p1 -b .CVE-2022-48624
|
|
|
|
|
%patch13 -p1 -b .CVE-2024-32487
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
rm -f ./configure
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure
|
|
|
|
|
%make_build CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
|
|
|
|
|
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
install -p %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}
|
|
|
|
|
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d
|
|
|
|
|
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
|
|
|
|
|
|
|
|
|
@ -69,67 +67,16 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 23 2024 Matej Mužila <mmuzila@redhat.com> - 590-4
|
|
|
|
|
* Tue Apr 23 2024 Matej Mužila <mmuzila@redhat.com> - 530-3
|
|
|
|
|
- Fix CVE-2024-32487
|
|
|
|
|
- Resolves: RHEL-33773
|
|
|
|
|
- Resolves: RHEL-32738
|
|
|
|
|
|
|
|
|
|
* Wed Feb 21 2024 Matej Mužila <mmuzila@redhat.com> 590-3
|
|
|
|
|
* Wed Feb 21 2024 Matej Mužila <mmuzila@redhat.com> - 530-2
|
|
|
|
|
- Fix CVE-2022-48624
|
|
|
|
|
- Resolves: RHEL-26265
|
|
|
|
|
- Resolves: RHEL-26124
|
|
|
|
|
|
|
|
|
|
* Thu Apr 20 2023 Matej Mužila <mmuzila@redhat.com> 590-2
|
|
|
|
|
- Fix CVE-2022-46663
|
|
|
|
|
- Resolves: CVE-2022-46663
|
|
|
|
|
|
|
|
|
|
* Tue Apr 19 2022 Honza Horak <hhorak@redhat.com> - 590-1
|
|
|
|
|
- Update to the version 590
|
|
|
|
|
- Also solves the "message overlay" in the terminal
|
|
|
|
|
Resolves: #2062188
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 575-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 575-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 575-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 22 2021 Stephen Gallagher <sgallagh@redhat.com> - 575-1
|
|
|
|
|
- Update to latest version (#1919119)
|
|
|
|
|
|
|
|
|
|
* Mon Nov 30 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 568-1
|
|
|
|
|
- Update to latest version (#1818534)
|
|
|
|
|
|
|
|
|
|
* Thu Aug 20 2020 Andrew Schorr <ajschorr@fedoraproject.org> - 551-5
|
|
|
|
|
- Add zstd and brotli support to lesspipe.sh
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 551-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 551-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 551-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2019 Matej Mužila <mmuzila@redhat.com> - 551-1
|
|
|
|
|
- Update to new upstream release
|
|
|
|
|
- Resolves: #1719419
|
|
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Matej Mužila <mmuzila@redhat.com> - 550-1
|
|
|
|
|
- Update to new upstream release
|
|
|
|
|
- Resolves: #1674080
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 530-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2019 Pavel Raiskup <praiskup@redhat.com> - 530-3
|
|
|
|
|
- add lzip compression support into lesspipe.sh (rhbz#1664383)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 530-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 530-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Sat Feb 17 2018 Pavel Raiskup <praiskup@redhat.com> - 530-1
|
|
|
|
|
- new release, per upstream release notes:
|
|
|
|
|