Commit Graph

767 Commits

Author SHA1 Message Date
Robert Scott
58784f72d5
Merge pull request #209367 from LeSuisse/unzip-CVE-2022-0529-CVE-2022-0530
unzip: apply patch for CVE-2022-0529 and CVE-2022-0530
2023-01-12 22:04:11 +00:00
tricktron
b3091f774e
pax: fix build with musl (#193195)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-01-07 23:52:04 +01:00
Thomas Gerbet
0a3e68ba84 unzip: apply patch for CVE-2022-0529 and CVE-2022-0530
https://lists.debian.org/debian-lts-announce/2022/09/msg00028.html
https://github.com/ByteHackr/unzip_poc
2023-01-06 21:10:03 +01:00
Arnout Engelen
1880157ac1
gbl: fix darwin-aarch64 build
Compilation failed due to an old transitive dependency on 'ring',
https://github.com/briansmith/ring/issues/1063.
2023-01-04 09:21:57 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Zhaofeng Li
73410c1043 zarchive: init at 0.1.2 2022-10-31 14:03:26 -06:00
toonn
721d63b05c unrar: 6.1.7 -> 6.2.1 2022-10-29 11:39:43 -05:00
Damien Cassou
610c33b041
payload_dumper: init at unstable-2022-04-11 2022-10-24 09:15:52 +02:00
Piotr Halama
357600c08f unar: fix linker failure 2022-10-20 13:19:43 +02:00
José Romildo Malaquias
84c468fb53
Merge pull request #193837 from r-ryantm/auto-update/xarchiver
xarchiver: 0.5.4.18 -> 0.5.4.19
2022-10-04 17:58:55 -03:00
R. Ryantm
2f06a5fb8e wimlib: 1.13.5 -> 1.13.6 2022-10-01 05:30:36 +00:00
R. Ryantm
88eed8261d xarchiver: 0.5.4.18 -> 0.5.4.19 2022-10-01 03:43:14 +00:00
Dmitry Kalinkin
ca6034728b unzip: fix 404'd patch url 2022-09-28 15:03:46 -04:00
Anthony Roussel
f39c54608a rar: 6.11 -> 6.12 2022-08-25 21:44:02 +02:00
R. Ryantm
5f439dcf51 xarchiver: 0.5.4.17 -> 0.5.4.18 2022-08-02 06:16:22 +00:00
Vladimír Čunát
4ba8bc7d40
Merge branch 'master' into staging-next 2022-07-24 09:44:09 +02:00
Thiago Kenji Okada
d383e90ace _7zz: build on macOS 2022-07-23 21:20:22 +01:00
Thiago Kenji Okada
2458b102be _7zz: 22.00 -> 22.01 2022-07-23 12:26:18 +01:00
Thiago Kenji Okada
217e40ec41 _7zz: improve update.sh script 2022-07-23 12:26:17 +01:00
Sandro
8a5a3cb200
Merge pull request #181574 from shyim/patch-5 2022-07-17 00:04:18 +02:00
Shyim
41bf342f0a unzip: fix symlink unpacking issues on larger zips
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-07-16 11:06:56 +01:00
github-actions[bot]
fa96a4fa79
Merge master into staging-next 2022-07-16 00:02:26 +00:00
Yuriy Taraday
ee0389d810 runzip: enable for Darwin
It builds and works just fine on Darwin, it just needs explicit
libiconv dependency.
2022-07-15 19:00:18 +04:00
github-actions[bot]
1a74c5d703
Merge master into staging-next 2022-07-14 18:01:27 +00:00
Elis Hirwing
729fb87ae3
treewide: Drop myself as maintainer for some packages I don't use 2022-07-14 14:39:58 +02:00
PedroHLC ☭
5bb06a6970
unzip: no-lchmod build flag 2022-07-05 10:07:06 -03:00
github-actions[bot]
86c34bf774
Merge master into staging-next 2022-06-27 12:01:26 +00:00
Robert Schütz
2b9bd14ba9 unrar: 6.1.6 -> 6.1.7 2022-06-27 00:20:30 +00:00
github-actions[bot]
b1e76b5db1
Merge master into staging-next 2022-06-27 00:02:25 +00:00
Robert Schütz
e6a76ff9ae _7zz: 21.07 -> 22.00 2022-06-26 19:31:21 +00:00
github-actions[bot]
46b42d9734
Merge staging-next into staging 2022-06-16 23:27:58 +00:00
Robert Scott
61c35da607 treewide/servers,tools: add sourceType binaryNativeCode for many packages 2022-06-16 20:21:42 +01:00
Sergei Trofimovich
ffb456ae61 fetchzip: force UTF-8 compatibel locale to unpack non-ASCII symbols
musl and darwin support UTF-8 locales without any extras. As a result
unzip can unpack UTF-8 filenames there as is. But on glibc without
locale archive presence files get mangled as:

    deps/αβ -> deps/#U03b1#U03b2

This makes `fetchzip` fixed-output derivations unstable.

Tested this change to fail in `coq.src` which was generated in system
that mangles UTF-8 symbols:

    $ nix build -f. coq.src --rebuild -L
    source> trying https://github.com/coq/coq/archive/V8.15.2.zip
    source>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    source>                                  Dload  Upload   Total   Spent    Left  Speed
    source>   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
    source> 100 8945k  100 8945k    0     0  1513k      0  0:00:05  0:00:05 --:--:-- 1989k
    source> unpacking source archive /build/V8.15.2.zip
    error: hash mismatch in fixed-output derivation '/nix/store/hrnyykm7wgw8vxisgq7hc2bg5gr0y6s8-source.drv':
             specified: sha256-h81nFqkuvZkMR7YLHy7laTq5yOhjMW+w6rYzncxvyD4=
                got:    sha256-DTspmwyD3Evl1CUmvUy2MonbLGUezvsHN3prmP9eK2I=

Note: it means that some of existing caches for fixed output
derivations become incorrect. It should not break already cached
tarballs on cache.nixos.org thus the impact should not be widespread.
2022-06-11 11:25:58 +01:00
Rick van Schijndel
cd3c25616d treewide: pkgs/tools: mark broken for darwin
All packages that were failing on x86_64-darwin are marked broken.
I'm assuming here that these are also broken on aarch64-darwin.
2022-05-29 10:56:04 +02:00
Artturin
b3caa2f1fe treewide: extraPostFetch -> postFetch 2022-05-23 17:18:50 +03:00
Armeen Mahdian
5421bf0ed9 arc_unpacker: unstable-2021-05-17 -> unstable-2021-08-06 2022-05-13 18:35:46 -05:00
Mario Rodas
907fd6ddf5
Merge pull request #172181 from raboof/gbl-support-on-darwin
gbl: darwin support
2022-05-09 09:08:04 -05:00
Arnout Engelen
b7c8400546
gbl: darwin support
Co-authored-by: Bobby Rong <rjl931189261@126.com>
2022-05-09 14:23:24 +02:00
Malo Bourgon
16e15fa68f treewide: add meta.mainProgram to many packages 2022-05-04 18:08:19 -07:00
Bobby Rong
11dbf9489d
gbl: use testers.testVersion 2022-04-26 17:50:18 +08:00
ajs124
0251903afe
Merge pull request #155001 from raboof/gbl-init-at-0.3.1
gbl: init at 0.3.1
2022-04-25 10:42:11 +01:00
Arnout Engelen
48bf204a58
gbl: init at 0.3.1 2022-04-25 10:35:30 +02:00
Rick van Schijndel
87d34a6b89
Merge pull request #169856 from samuelgrf/remove-samuelgrf-from-maintainers
treewide: remove samuelgrf from maintainers
2022-04-24 22:18:43 +02:00
Alexander Bich
e92dc71fee
bomutils: fix build with gcc 11 (#169845) 2022-04-23 10:28:12 +02:00
Samuel Gräfenstein
0c890f5866
treewide: remove samuelgrf from maintainers 2022-04-22 23:21:58 +02:00
Artturin
f1c7f19e49 treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
Domen Kožar
9268d492f3
Merge pull request #168792 from roblabla/fix-wimlib-darwin
wimlib: Fix build on darwin.
2022-04-20 12:22:21 +01:00
Thiago Kenji Okada
21a40059dd _7zz: useUasm only in x86 platforms
`uasm` is x86 only.

It seems that in `aarch64-linux` at least, the optimizing build is done
without using any third-party tool (maybe using GCC's own assembly?).
2022-04-19 01:01:32 +01:00
Thiago Kenji Okada
b2d35019c0 _7zz: cross-compilation fixes 2022-04-18 22:55:43 +01:00
Thiago Kenji Okada
8d81114a37 _7zz: build with useUasm in more platforms 2022-04-18 18:21:35 +01:00
roblabla
f5b1bd166a wimlib: Fix build on darwin.
Wimlib works just fine on darwin, but two adjustments need to be made:

- Tests need to be disabled, as they rely on glibc-isms (such as
  lgetattr).

- cdrkit and syslinux dependencies are dropped, as those binaries are
  linux-only.
2022-04-15 17:28:16 +02:00
Thiago Kenji Okada
be3b235cd1 rar: 6.0.2 -> 6.11
Also add support for aarch64-darwin.
2022-03-28 06:48:33 -03:00
Thiago Kenji Okada
b83c8aff1e rar: fix build on darwin
See https://github.com/NixOS/nixpkgs/pull/163924.
2022-03-28 06:48:33 -03:00
j-k
c12cec8bc3
_7zz: correct license (#163999)
* _7zz: correct license and remove p7zip dependency

The code under Compress/Rar* is licensed under a specific unRAR license
Also Compress/LzfseDecoder.cpp is covered by BSD3

The unRAR code is removed from the `.tar.xz` since the license posits you
agree or remove the code from your hard drive
This adds some complexity to updating 7zz so there is also an update
script

Meta has been updated and tweaked

Source is now downloaded from sourceforge in the `.tar.xz` version to
avoid depending on p7zip

* _7zz: add notice of the license updates and optional unRAR licenced code
2022-03-18 12:47:19 +08:00
06kellyjac
4a7586cda1 p7zip: clarify license and remove unRAR code from src drv
The code under Compress/Rar* is licensed under a specific unRAR license
Also Compress/LzfseDecoder.cpp is covered by BSD3

The unRAR code is removed from the source drv since the license posits you
agree or remove the code from your hard drive
This adds some complexity to updating p7zip so there is also an update
script

Meta has been updated and tweaked
2022-03-16 13:38:47 +00:00
R. Ryantm
52ea9d622a unrar: 6.1.5 -> 6.1.6 2022-03-11 07:03:54 +00:00
R. Ryantm
6fede79227 unrar: 6.1.4 -> 6.1.5 2022-02-26 10:15:23 -06:00
R. RyanTM
d013bbaab9
unshield: 1.4.3 -> 1.5.1
* unshield: 1.4.3 -> 1.5.0 (#148886)

* unshield: 1.5.0 -> 1.5.1
Fix library name and versioning broken in 1.5.0

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-02-24 15:54:57 +01:00
Renaud
4c742e80ca
Merge pull request #153891 from ehmry/tarlz
tarlz: 0.21 -> 0.22
2022-02-16 12:32:56 +01:00
Pascal Wittmann
b01700309d
Merge pull request #157808 from chkno/fix-sources.gentoo.org-urls
Fix broken sources.gentoo.org fetch URLs
2022-02-02 10:25:16 +01:00
Scott Worley
f998cd7e54 Fix broken sources.gentoo.org fetch URLs
sources.gentoo.org is deprecated:
https://gitweb.gentoo.org/sites/www.git/commit/_includes/layout/header.html?id=526ebb46632332d44b91e0cc5a517d137845053a
2022-02-01 22:48:42 -08:00
Thiago Kenji Okada
7319edcda5 7zz: compile optimized assembly code for x86_64
Use uasm to compile the optimized code instead of generic C code for
faster operations.

Before:
```
7zz x   10.83s user 0.40s system 98% cpu 11.439 total
```

After:
```
7zz x   6.87s user 0.40s system 98% cpu 7.395 total
```
2022-01-31 12:17:51 -03:00
R. Ryantm
e8b0af1b58 unrar: 6.1.3 -> 6.1.4 2022-01-25 18:54:36 +00:00
Andreas Rammhold
31e5b8dc21
Remove myself from maintainers
I don't have time and energy to deal with all of this anymore.
2022-01-20 00:24:52 +01:00
Emery Hemingway
253c12e0ac tarlz: 0.21 -> 0.22 2022-01-18 20:49:46 +01:00
7c6f434c
372e11acc2
Merge pull request #154089 from NickCao/zpaq
zpaq: cleanup and fix cross compilation
2022-01-09 13:41:10 +00:00
Nick Cao
a2aee62573
zpaqd: fix cross compilation 2022-01-09 09:44:43 +08:00
Nick Cao
c9f08ace52
zpaq: cleanup and fix cross compilation 2022-01-09 09:39:13 +08:00
Thiago Kenji Okada
2320573b69 7zz: 21.04 -> 21.07 2022-01-07 17:53:09 +08:00
Ben Siraphob
0f050a1236
treewide: replace http://github.com with https://github.com 2022-01-07 09:58:36 +07:00
AndersonTorres
6369dd9432 unzoo: init at 4.4 2022-01-02 20:20:33 -03:00
R. Ryantm
961d76098c wimlib: 1.13.4 -> 1.13.5 2021-12-30 22:16:14 -08:00
cirno-999
c033826f39 torrent7z: init at 1.3
torrent7z: apply suggestions from code review

Co-authored-by: legendofmiracles <30902201+legendofmiracles@users.noreply.github.com>
2021-12-26 23:04:01 +01:00
github-actions[bot]
0757d9c156
Merge master into staging-next 2021-12-21 12:01:23 +00:00
Felix Buehler
a3a2568e53 zpaqd: refactor 2021-12-21 11:50:09 +01:00
Martin Weinelt
423119b70b
Merge branch 'master' into staging-next 2021-12-13 12:20:07 +01:00
R. Ryantm
e190b6b169 unrar: 6.1.2 -> 6.1.3 2021-12-13 10:38:57 +00:00
R. Ryantm
9a7f7f9b77 tarlz: 0.11 -> 0.21 2021-12-13 10:05:54 +00:00
github-actions[bot]
ffbac7335b
Merge master into staging-next 2021-12-06 18:01:23 +00:00
R. Ryantm
65b3286a92 unrar: 6.0.7 -> 6.1.2 2021-12-06 12:55:03 +00:00
github-actions[bot]
503c981111
Merge master into staging-next 2021-12-03 12:01:25 +00:00
Emery Hemingway
7fff1e9c0c tarlz: init at 0.11 2021-12-03 10:23:33 +00:00
Alyssa Ross
e0d3296bab cpio: add debug output 2021-12-02 16:33:13 -08:00
Domen Kožar
43a7d62e07
Merge pull request #146843 from arkivm/darwin-fixes-arc_unpacker
arc_unpacker: Move to catch2 to support aarch64-darwin
2021-11-22 08:50:48 +01:00
Vikram Narayanan
7d6b3abe12 arc_unpacker: Move to catch2 to support aarch64-darwin
catch is ancient and has no support for aarch64-darwin. The following
snippet is an example of what is supported on darwin platforms in catch
(i.e., prior to v2).
```
#ifdef CATCH_PLATFORM_MAC
#if defined(__ppc64__) || defined(__ppc__)
    #define CATCH_TRAP() \
	__asm__("li r0, 20\nsc\nnop\nli r0, 37\nli r4, 2\nsc\nnop\n" \
	: : : "memory","r0","r3","r4" ) /* NOLINT */
#else
    #define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
#endif
```
2021-11-21 19:32:25 -08:00
Sebastián Mancilla
a99b61127e arj: fix build on darwin
Fix wrong header for statfs function.

Use gccStdenv to build with GCC on all systems. GCC is hardcoded in
configure.in, but after setting CC_FOR_BUILD to cc to use Clang, the
build fails anyway when running a post-compilation command:

    clang -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"<out>/lib/arj\"" -D_UNIX  -g -O2   -o darwin20.6.0/en/rs/arj/arj <objects_files>
    : darwin20.6.0/en/rs/arj/arj
    ./darwin20.6.0/en/rs/tools/join ./darwin20.6.0/en/rs/arj/arj ./darwin20.6.0/en/rs/arjsfxjr/arjsfxjr
    JOIN v 1.30  [26/04/2003]  Not a part of any binary package!

    Copying .. done!
    ./darwin20.6.0/en/rs/tools/join ./darwin20.6.0/en/rs/arj/arj ./darwin20.6.0/en/rs/arjsfx/arjsfx
    JOIN v 1.30  [26/04/2003]  Not a part of any binary package!

    Copying ... done!
    ./darwin20.6.0/en/rs/tools/join ./darwin20.6.0/en/rs/arj/arj ./darwin20.6.0/en/rs/arjsfxv/arjsfxv
    JOIN v 1.30  [26/04/2003]  Not a part of any binary package!

    Copying ..... done!
    ./darwin20.6.0/en/rs/tools/join ./darwin20.6.0/en/rs/arj/arj ./darwin20.6.0/en/rs/sfxstub/sfxstub
    JOIN v 1.30  [26/04/2003]  Not a part of any binary package!

    Copying . done!
    rm -f ./darwin20.6.0/en/rs/help.arj
    TZ=UTC0 ./darwin20.6.0/en/rs/arj/arj a ./darwin20.6.0/en/rs/help.arj -+ -t1f -2d -e -jm -jh65535 -jt -hdo200506231314 ./resource/en/arj?.txt
    ARJ32 v 3.10, Copyright (c) 1998-2004, ARJ Software Russia.

    Creating archive  : ./darwin20.6.0/en/rs/help.arj
    Adding    ./resource/en/arjl.txt       37.2%
    Adding    ./resource/en/arjs.txt       47.3%
    Testing arjl.txt                    OK
    Testing arjs.txt                    OK
         2 file(s)
    ./darwin20.6.0/en/rs/tools/join ./darwin20.6.0/en/rs/arj/arj ./darwin20.6.0/en/rs/help.arj
    JOIN v 1.30  [26/04/2003]  Not a part of any binary package!

    Copying . done!
    ./darwin20.6.0/en/rs/tools/postproc darwin20.6.0/en/rs/arj/arj
    POSTPROC v 1.30  [17/01/2003]  Not a part of any binary package!

    Patch not found
    make[1]: *** [GNUmakefile:398: darwin20.6.0/en/rs/arj/arj] Error 3
2021-11-21 13:09:42 -03:00
Sebastián Mancilla
9c177f0a1f pax: fix build on darwin 2021-11-18 12:34:04 -08:00
Thiago Kenji Okada
1cfd83e859
Merge pull request #145444 from thiagokokada/build-unar-on-macosx
unar: make it build on Darwin
2021-11-12 11:12:36 -03:00
Peter Hoeg
0437e90238
7zz: 21.01 -> 21.04 (#145031)
* 7zz: 21.01 -> 21.04

Also build from source instead of using the binaries.

We cannot (yet) build the fully optimized version as it requires the
ASMC assembler which currently doesn't build with GCC.
2021-11-12 10:57:14 +08:00
Thiago Kenji Okada
6add5e0656 unar: make it build on Darwin
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-11-10 21:56:38 -03:00
Artturin
710974d801 unrar-wrapper: init at 1.0.0 2021-11-09 20:25:49 +02:00
dan4ik
c33e391712 CuboCore.packages: added 2021-10-20 22:35:34 +07:00
Michael Raskin
d86eb3b53e
Merge pull request #141081 from trofi/fix-p7zip-determinism
p7zip: fix determinism of compressed manpages
2021-10-09 13:19:15 +00:00
Sergei Trofimovich
edf8f5d054 p7zip: fix determinism of compressed manpages
diffoscope shown non-determinism in embedded gzip timestamp:

  --- p7zip-17.04/share/man/man1/7z.1.gz
  +++ p7zip-17.04.check/share/man/man1/7z.1.gz
  ─ filetype from file(1)
  @@ -1 +1 @@
  -gzip compressed data, was "7z.1", last modified: Fri Oct  1 14:14:55 2021, from Unix
  +gzip compressed data, was "7z.1", last modified: Sat Oct  9 08:15:33 2021, from Unix

Fix it by using `gzip -n`.
2021-10-09 09:16:06 +01:00
figsoda
91c2bef35c xtrt: set meta.mainProgram 2021-10-08 15:25:10 -04:00
Ryan Burns
41574158a0 libgpg-error: rename from libgpgerror
Matches pname and upstream project name
2021-10-06 18:23:43 -07:00
github-actions[bot]
243d76071f
Merge master into staging-next 2021-10-02 06:00:58 +00:00
figsoda
e54a0fce93
Merge pull request #139993 from thiagokokada/make-rar-works-on-macos
rar: add support to x86_64-darwin
2021-10-01 22:12:14 -04:00
github-actions[bot]
c641792c36
Merge master into staging-next 2021-10-01 12:01:14 +00:00
Thiago Kenji Okada
4a719dfa45 unrar: 5.9.2 -> 6.0.7 2021-10-01 09:42:01 +02:00