Commit Graph

78 Commits

Author SHA1 Message Date
Sergei Trofimovich
156a6720d8 libarchive: 3.7.3 -> 3.7.4
Changes: https://github.com/libarchive/libarchive/releases/tag/v3.7.4
2024-04-26 21:37:12 +01:00
Mario Rodas
fe789b6f97
Merge pull request #303470 from trofi/libarchive-update
libarchive: 3.7.2 -> 3.7.3
2024-04-16 08:58:11 -05:00
Vladimír Čunát
f3461509ea
libarchive: skip some tests on aarch64-linux
I don't know what to do about this.  I failed to reproduce the issue
on the aarch64.nixos.community machine but it repeats on hydra.nixos.org.
https://hydra.nixos.org/build/256164581/nixlog/8/tail
2024-04-13 13:45:12 +02:00
Sergei Trofimovich
6b147fe5a6 libarchive: 3.7.2 -> 3.7.3
Changes: https://github.com/libarchive/libarchive/releases/tag/v3.7.3
2024-04-11 22:52:32 +01:00
Thomas Gerbet
1287b64dde libarchive: pull the fix for a suspicious commit
This is a follow-up to the downgrade to version older than 5.6.x made in #300028
(also known as CVE-2024-3094).
A suspicious commit made by the same actor has been spotted in
libarchive and following up discussions a change has been made by
contributor and merged by another maintainer.
2024-04-02 02:11:23 +11:00
Sergei Trofimovich
81e8caab85 pkgsi686Linux.libarchive: pull upstream fix for 32-bit systems
Without the change `pkgsi686Linux.libarchive` tests fail as described in
https://github.com/libarchive/libarchive/issues/1968
2023-09-24 13:02:19 +01:00
Thomas Gerbet
e81936d59e libarchive: 3.6.2 -> 3.7.2
https://github.com/libarchive/libarchive/releases/tag/v3.7.0
https://github.com/libarchive/libarchive/releases/tag/v3.7.1
https://github.com/libarchive/libarchive/releases/tag/v3.7.2
2023-09-23 18:52:16 -03:00
sternenseemann
fa8eefefde libarchive: make static patch unconditional
Cabal 3.8 has the same requirements as pkgsStatic even when linking
dynamically, so this patch will be useful for compiling
haskellPackages.libarchive.

https://github.com/haskell/cabal/issues/8455
2023-08-17 18:53:29 +00:00
Adam Joseph
201148d02b libarchive: backport fix for static linking
libarchive 3.6.2 broke static linking, which is causing the
nixStatic jobs to fail on Hydra:

- https://hydra.nixos.org/job/nixpkgs/cross-trunk/powerpc64le-nixCrossStatic.nixStatic.x86_64-linux
- https://hydra.nixos.org/job/nixpkgs/cross-trunk/mips64el-nixCrossStatic.nixStatic.x86_64-linux

This commit backports the fix (merged upstream) from libarchive
3.6.3.

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2023-01-25 04:50:40 -08:00
AndersonTorres
7b9adf4dee libarchive: refactor
- Remove "override" references on all-packages.nix
- use finalAttrs style to get rid of rec
- refactor postPatch to use Nix code instead of shell script
2022-12-19 22:39:10 -03:00
R. Ryantm
047b582135 libarchive: 3.6.1 -> 3.6.2 2022-12-13 20:17:53 +00:00
Robert Scott
4aa18d9249 libarchive: disable cpio file-access-time related tests
these are mysteriously flakey on some peoples darwin systems,
which could be the result of stray accesses or timezone
issues
2022-05-02 13:00:59 +01:00
Robert Scott
6a58a9425a libarchive: disable test_write_disk_hardlink test
fails on darwin hydra
2022-04-25 21:00:51 +01:00
Robert Scott
0a74e0b66e libarchive: enable tests 2022-04-17 20:56:49 +01:00
AndersonTorres
46fe96c68d libarchive: rewriting 2022-04-14 01:50:44 -03:00
AndersonTorres
a1f6164c1d libarchive: 3.6.0 -> 3.6.1 2022-04-14 00:35:01 -03:00
7c6f434c
8188f10752
Merge pull request #166430 from alyssais/openssl-static-retry
treewide: use lib.getLib for OpenSSL libraries
2022-04-02 12:59:55 +00:00
Alyssa Ross
fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
Sandro
3812e3a10c
Merge pull request #159900 from risicle/ris-libarchive-passthru-deps 2022-03-27 16:37:21 +02:00
R. Ryantm
240ceaddb9 libarchive: 3.5.2 -> 3.6.0 2022-02-12 20:57:10 -08:00
Robert Scott
cdf5bfff4b libarchive: add some reverse dependencies to passthru.tests 2022-02-13 00:30:04 +00:00
R. RyanTM
b8bfe4d74c libarchive: 3.5.1 -> 3.5.2 2021-08-24 08:14:52 +00:00
R. RyanTM
ca0599728f libarchive: 3.5.0 -> 3.5.1 2021-01-22 21:32:54 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Jonathan Ringer
d35b703ccd libarchive: add changelog 2020-12-03 22:07:49 -08:00
R. RyanTM
e4b36a1f05 libarchive: 3.4.3 -> 3.5.0 2020-12-03 22:07:49 -08:00
John Ericson
9f05c50be1 libarchive: Fix Windows build 2020-10-29 00:38:45 +00:00
Frederik Rietdijk
af2dd0c798 Revert "Revert "Merge pull request #78910 from serokell/libarchive-zstd""
The PR was accidentally merged into master instead of staging and thus reverted. Now, in staging, we can re-revert it.

This reverts commit 4df2f78ec7.
2020-06-04 15:30:36 +02:00
Frederik Rietdijk
08900c0554 Merge master into staging-next 2020-06-04 15:25:54 +02:00
Frederik Rietdijk
4df2f78ec7 Revert "Merge pull request #78910 from serokell/libarchive-zstd"
Should go to staging instead.

This reverts commit f8d9f59abe, reversing
changes made to b27a19d5bf.
2020-05-29 21:03:02 +02:00
Frederik Rietdijk
f8d9f59abe
Merge pull request #78910 from serokell/libarchive-zstd
libarchive: link to zstd (split zstd output)
2020-05-29 20:51:16 +02:00
Vladimír Čunát
afa9962538
Merge #78910: libarchive: link to zstd (into staging)
Also split outputs and don't provide static lib by default.
2020-05-29 15:37:55 +02:00
R. RyanTM
52ed8e3bf2 libarchive: 3.4.2 -> 3.4.3 2020-05-20 18:57:34 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
13a03f402c libarchive: 3.4.1 -> 3.4.2 2020-02-16 08:55:51 +01:00
Yorick van Pelt
414da94fed
libarchive: link against zstd 2020-02-10 20:03:59 +01:00
R. RyanTM
155fad6625 libarchive: 3.4.0 -> 3.4.1 2020-01-15 09:41:52 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Andreas Rammhold
2c5763538a
libarchive: 3.3.3 -> 3.4.0
Release notes: https://github.com/libarchive/libarchive/releases/tag/v3.4.0
2019-07-20 23:58:53 +02:00
Vladimír Čunát
5767c18d99
libarchive: apply upstream CVE patches
Fixes #57150.
2019-03-10 09:52:14 +01:00
Periklis Tsirakidis
95fa7b6370
libarchive: 3.3.2 -> 3.3.3
Update includes patches for sec issues:
- CVE-2017-14166
- CVE-2017-14501
- CVE-2017-14502
- Upstream includes patch for libressl version check

fixes #49583
2018-11-15 14:00:01 +00:00
Orivej Desh
957810e04f libarchive: fix patch hash 2018-06-04 12:49:21 +00:00
qolii
20d83e286d libarchive: pull in patch to support LibresSSL-2.7 (#41395) 2018-06-03 17:59:43 +00:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
adisbladis
d76572fa89
libarchive: Fixes for CVE-2017-14166 and CVE-2017-14502 2017-10-31 02:17:02 +08:00
Franz Pletz
f9f9749fd2
libarchive: 3.3.1 -> 3.3.2 2017-08-28 19:49:11 +02:00
Franz Pletz
bf6c90ed67
libarchive: 3.2.2 -> 3.3.1 2017-03-11 10:25:34 +01:00
Franz Pletz
ca593a7293
libarchive: add patch to fix CVE-2017-5601 2017-01-31 17:00:13 +01:00
Graham Christensen
9118702898
libarchive: 3.2.1 -> 3.2.2 for unspecified vulnerabilities
The release notes don't cover anything in particular:

ba3dec4495/NEWS (L3)
2016-11-23 23:23:48 -05:00