less: 608 -> 633
This commit is contained in:
parent
fdd73b14e8
commit
a7cd664d2b
1 changed files with 2 additions and 12 deletions
|
@ -1,31 +1,21 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, ncurses
|
, ncurses
|
||||||
, pcre2
|
, pcre2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "less";
|
pname = "less";
|
||||||
version = "608";
|
version = "633";
|
||||||
|
|
||||||
# Only tarballs on the website are valid releases,
|
# Only tarballs on the website are valid releases,
|
||||||
# other versions, e.g. git tags are considered snapshots.
|
# other versions, e.g. git tags are considered snapshots.
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.greenwoodsoftware.com/less/less-${version}.tar.gz";
|
url = "https://www.greenwoodsoftware.com/less/less-${version}.tar.gz";
|
||||||
hash = "sha256-ppq+LgoSZ3fgIdO3OqMiLhsmHxDmRiTUHsB5aFpqwgk=";
|
hash = "sha256-LyAdZLgouIrzbf5s/bo+CBns4uRG6+YiSBMgmq7+0E8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# https://github.com/advisories/GHSA-5xw7-xf7p-gm82
|
|
||||||
name = "CVE-2022-46663.patch";
|
|
||||||
url = "https://github.com/gwsw/less/commit/a78e1351113cef564d790a730d657a321624d79c.patch";
|
|
||||||
hash = "sha256-gWgCzoMt1WyVJVKYzkMq8HfaTlU1XUtC8fvNFUQT0sI=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
# Look for ‘sysless’ in /etc.
|
# Look for ‘sysless’ in /etc.
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
|
|
Loading…
Reference in a new issue