3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

38 commits

Author SHA1 Message Date
TredwellGit 2acd087dca lz4: patch CVE-2021-3520 and null pointer dereference 2021-05-30 02:08:18 +00:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
John Ericson f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Emery Hemingway f909429a9a lz4: 1.9.2 -> 1.9.3 2020-11-16 19:58:00 +01:00
Martin Milata 18ac6ba903 lz4: 1.9.1 -> 1.9.2
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2019-17543
Release notes: https://github.com/lz4/lz4/releases/tag/v1.9.2
2020-03-12 22:55:06 +00:00
Vladimír Čunát cfa1f136db
lz4: split binaries into a separate output
It's a little suspicious that the binaries are (apparently)
linked statically, but I assume upstream has some reasons (e.g. speed).
2020-02-10 21:31:48 +01:00
Vladimír Čunát 35b13b52cd
lz4: do the refactoring forgotten after PR #51965 2020-02-10 21:30:50 +01:00
John Ericson 774e88cd86 lz4: Fix MinGW build 2019-11-13 20:40:15 +00:00
Will Dietz 1b0cd28a51 lz4: pick upstream fix for Darwin, move to pname 2019-05-04 17:33:46 +02:00
Will Dietz 9d36a79ba6 lz4: 1.8.3 -> 1.9.1 (#59812)
* lz4: 1.8.3 -> 1.9.0

https://github.com/lz4/lz4/releases/tag/v1.9.0

* lz4: 1.9.0 -> 1.9.1

fixes read out-of-bounds issue w/1.9.0
2019-04-27 07:17:04 +02:00
John Ericson e0a4d1083f
Merge pull request #51965 from vaibhavsagar/fix-static-lz4
lz4: Fix pkgsStatic build
2018-12-13 18:28:05 -05:00
Vaibhav Sagar cb5a7bdc3a lz4: fix pkgsStatic build 2018-12-13 18:00:26 -05:00
Will Dietz 55b6cad537 lz4: 1.8.2 -> 1.8.3 (#47547) 2018-10-02 00:14:26 +02:00
Benjamin Hipple 1baf5cfa7c lz4: 131 -> v1.8.2 (#41293)
Upgrades lz4 from version 131 (released 2015-06-29) to v1.8.2 (released 2018-05-07)
2018-06-03 12:17:32 +00:00
Tobias Geerinckx-Rice 0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
c0bw3b 525380b472 treewide: abandon Google Code homepages 2017-11-03 18:52:28 +00:00
Vladimír Čunát e68d8e05aa Revert "lz4: 131 -> 1.7.3"
This reverts commit 1f0a12ee8d.
Systemd build was broken and such change should probably go through
staging anyway.
2016-11-17 21:51:34 +01:00
Tobias Geerinckx-Rice 1f0a12ee8d
lz4: 131 -> 1.7.3
‘make install’ now supports FreeBSD out of the box (untested).
2016-11-17 16:27:31 +01:00
Eelco Dolstra b87d5abafd lz4: Don't install static library 2016-09-05 19:10:27 +02:00
Tobias Geerinckx-Rice 7d2f8eca1b Revert "lz4: be just a bit more reproducible"
This reverts commit efc359c231,
as it is no longer needed.

See: efc359c231 (commitcomment-15680107)
2016-01-26 16:48:29 +01:00
Tobias Geerinckx-Rice efc359c231 lz4: be just a bit more reproducible 2016-01-26 06:13:05 +01:00
Tobias Geerinckx-Rice 9fb8020e4e Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00
janus 9897b35661 FreeBSD: patch expat, kerberos, libedit, ossp-uuid, lz4, sharutils, add libelf-freebsd 2016-01-01 17:01:13 +00:00
Dan Peebles 51ebb5a9aa lz4: mark as working on all unixes
I've only tested on darwin, but it looks like a pretty vanilla package
2015-12-30 17:45:13 -05:00
Tobias Geerinckx-Rice 2798b02ad0 Convert some *Flags from strings to lists 2015-11-26 23:45:31 +01:00
Pascal Wittmann 7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Tobias Geerinckx-Rice c0f59dc0bb lz4: remove test restrictions
Tests are still disabled by default.
2015-07-31 02:02:07 +02:00
Tobias Geerinckx-Rice e0038d7571 lz4 130 -> 131
Changes:
- liblz4: xxhash symbols are dynamically changed (namespace
  emulation) to avoid symbol conflict
- liblz4.a (static library) no longer compiled with -fPIC by
  default
2015-06-30 09:49:52 +02:00
William A. Kennington III 7a0bbce2e6 lz4: Don't test by default as it takes forever 2015-06-24 17:51:59 -07:00
Tobias Geerinckx-Rice d904b54c0e lz4: fix make test
I'll assume this is an oversight due to hasty releasing and can be
reverted in version 131.
2015-05-30 21:09:26 +02:00
Tobias Geerinckx-Rice cbbd7230ac lz4 129 -> 130
Hotfix, solving issues with lz4cat.

- Fixed: incompatibility sparse mode vs console (#105)
- Fixed: LZ4IO exits too early when frame crc not present (#106)
- Fixed: incompatibility sparse mode vs append mode (#110)
- Performance fix: big compression speed boost for clang (+30%)
- New: cross-version test
2015-05-30 21:09:25 +02:00
Tobias Geerinckx-Rice a989b629d9 lz4 128 -> 129
- New: LZ4_compress_fast()
- Changed: New lz4 and lz4hc compression API. Previous function
  prototypes still supported.
- Changed: Sparse file support enabled by default
- New: LZ4 CLI improved performance compressing/decompressing multiple
  files
- Added: LZ4_compress_destSize()
- Fixed: GCC 4.9+ vector optimization
- Changed: Enums converted to LZ4F_ namespace convention
- Added: AppVeyor CI environment, for Visual tests
- Modified:Obsolete functions generate warnings
- Fixed : Bug #75 (unfinished stream)
- Updated: Documentation converted to MarkDown format
2015-05-12 18:13:05 +02:00
Tobias Geerinckx-Rice fbeb8bd898 lz4, xdelta: explicitly mark test requirements as such in code 2015-04-19 03:45:58 +02:00
Tobias Geerinckx-Rice 1926a7aa32 Tidy nckx-maintained packages
- Use fetchFromGitHub when possible
- Build in parallel if supported
2015-04-08 02:29:42 +02:00
Tobias Geerinckx-Rice f97f3d7a1b lz4 127 -> 128
Tests now fail when run in parallel. Don't.
2015-04-01 20:23:47 +02:00
Tobias Geerinckx-Rice d14ba81572 lz4: run tests
Data safety > valgrind.
2015-01-20 07:31:00 +01:00
Tobias Geerinckx-Rice 8257ed81c9 Add lz4: very fast lossless compression 2015-01-13 23:54:02 +01:00