SHA256
1
0
forked from pool/less

6 Commits

Author SHA256 Message Date
71a4346c4d Accepting request 1251057 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1251057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/less?expand=0&rev=78
2025-03-07 15:38:45 +00:00
4327688f38 - Trim trailing spaces.
- Add CVE reference.

OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=113
2025-03-06 22:44:01 +00:00
ab1085021f Accepting request 1232652 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1232652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/less?expand=0&rev=77
2024-12-20 14:24:27 +00:00
188936d16d Update to 668
* Fix crash when using --header on command line 
  * Fix possible crash when scrolling left/right or toggling -S 
  * Fix bug when using #stop in a lesskey file 
  * Fix bug when using --shift or --match-shift on command line with a parameter starting with '.' 
  * Fix bug in R command when file size changes 
  * Fix bug using --header when file does not fill screen 
  * Fix ^X bug when output is not a terminal 
  * Fix bug where ^Z is not handled immediately 
  * Fix bug where first byte from a LESSOPEN filter is deleted if it is greater than 0x7F 
  * Fix uninitialized variable in edit_ifile 
  * Fix incorrect handling of UTF-8 chars in prompts
- Add reproducible.patch to override build date (boo#1047218)

OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=111
2024-12-19 17:44:35 +00:00
1d8656bd99 Accepting request 1218137 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1218137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/less?expand=0&rev=76
2024-10-25 17:19:07 +00:00
df30e10fb7 - Change preprocessor dependencies from Requires to Recommends. It's disabled by
default and they are not necessary for less.

OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=109
2024-10-24 21:27:31 +00:00
7 changed files with 54 additions and 8 deletions

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed
size 648198

BIN
less-668.sig Normal file

Binary file not shown.

BIN
less-668.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sun Dec 15 06:16:41 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Update to 668
* Fix crash when using --header on command line
* Fix possible crash when scrolling left/right or toggling -S
* Fix bug when using #stop in a lesskey file
* Fix bug when using --shift or --match-shift on command line with a parameter starting with '.'
* Fix bug in R command when file size changes
* Fix bug using --header when file does not fill screen
* Fix ^X bug when output is not a terminal
* Fix bug where ^Z is not handled immediately
* Fix bug where first byte from a LESSOPEN filter is deleted if it is greater than 0x7F
* Fix uninitialized variable in edit_ifile
* Fix incorrect handling of UTF-8 chars in prompts
- Add reproducible.patch to override build date (boo#1047218)
-------------------------------------------------------------------
Mon Oct 21 14:48:40 UTC 2024 - Antonio Feijoo <antonio.feijoo@suse.com>
- Change preprocessor dependencies from Requires to Recommends. It's disabled by
default and they are not necessary for less.
-------------------------------------------------------------------
Fri Jul 12 19:50:55 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
@@ -48,7 +71,7 @@ Mon May 27 14:43:39 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
* Fix display bug when using -w with an empty line with a CR/LF line ending (github #474).
* When substituting '#' or '%' with a filename, quote the filename if it contains a space (github #480).
* Fix wrong sleep time when system has usleep but not nanosleep (github #489).
* Fix bug when file name contains a newline.
* Fix bug when file name contains a newline (CVE-2024-32487, bsc#1222849).
* Fix bug when file name contains nonprintable characters (github #503).
* Fix DJGPP build (github #497).
* Update Unicode tables.

View File

@@ -23,7 +23,7 @@
%define use_usretc 1
%endif
Name: less
Version: 661
Version: 668
Release: 0
Summary: Text File Browser and Pager Similar to more
License: BSD-2-Clause OR GPL-3.0-or-later
@@ -38,12 +38,13 @@ Source5: https://www.greenwoodsoftware.com/less/less-%{version}.sig
Source6: https://www.greenwoodsoftware.com/less/pubkey.asc#/%{name}.keyring
Patch0: less-429-shell.patch
Patch2: less-429-more.patch
Patch3: reproducible.patch
BuildRequires: automake
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
Requires: file
# lessopen.sh uses which
Requires: /usr/bin/which
# weak dependencies required only by preprocessor, which is disabled by default
Recommends: file
Recommends: /usr/bin/which
%description
less is a text file browser and pager similar to more. It allows

22
reproducible.patch Normal file
View File

@@ -0,0 +1,22 @@
https://github.com/gwsw/less/pull/567
From c02f7554a1e5685e4332fb6857e95761953c8db4 Mon Sep 17 00:00:00 2001
From: Mark Nudelman <markn@greenwoodsoftware.com>
Date: Mon, 9 Sep 2024 14:48:10 -0700
Subject: [PATCH] Allow SOURCE_DATE_EPOCH to override timestamps in generated
files.
Related to #567.
diff --git a/mkhelp.pl b/mkhelp.pl
index e93535b..452d9a0 100755
--- a/mkhelp.pl
+++ b/mkhelp.pl
@@ -7,7 +7,7 @@ use strict;
# whose content is the input to this script.
{
- my ($sec,$min,$hour,$mday,$mon,$year) = gmtime();
+ my ($sec,$min,$hour,$mday,$mon,$year) = gmtime($ENV{SOURCE_DATE_EPOCH} // time());
printf "/* This file was generated by mkhelp.pl from less.hlp at %d:%02d on %d/%d/%d */\n",
$hour, $min, $year+1900, $mon+1, $mday;
print "#include \"less.h\"\n";