Commit Graph

749 Commits

Author SHA1 Message Date
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
Thiago Kenji Okada
2fd4fbe866 rar: add support to x86_64-darwin 2021-09-30 00:00:39 -03:00
github-actions[bot]
1994a3055b
Merge master into staging-next 2021-09-30 00:01:51 +00:00
Thiago Kenji Okada
316bc514fa rar: init at 6.0.2 2021-09-29 11:18:54 -03:00
Vladimír Čunát
a641e599a8
Merge branch 'staging-next' into staging 2021-09-26 15:03:03 +02:00
Vladimír Čunát
c3330fa752
cpio: clean up the nix expression 2021-09-25 18:40:56 +02:00
Vladimír Čunát
3194ce025c
cpio: add two subsequent upstream patches
They fix bugs in the first patch.
2021-09-25 18:39:29 +02:00
Vladimír Čunát
09d25d706f
Merge #137500: sharutils: fix for -fno-common
... into staging
2021-09-24 11:04:23 +02:00
Sergei Trofimovich
0fb411389c sharutils: pull pending upstream fix for -fno-common compiler
Fixes build failure against upstream gcc (defaults -fno-common)
2021-09-12 09:18:41 +01:00
Sergei Trofimovich
f55fb21340 cpio: pull upstream fix for -fno-common compiler
Fixes build failure against upstream gcc (defaults -fno-common).
2021-09-12 08:12:18 +01:00
github-actions[bot]
d370d9ee99
Merge staging-next into staging 2021-09-11 18:01:51 +00:00
github-actions[bot]
c435b0e35f
Merge master into staging-next 2021-09-11 18:01:16 +00:00
timor
5aaf779d48 unp: 2.0-pre7 -> 2.0-pre9 2021-09-10 22:19:27 +02:00
Luke Granger-Brown
9094826af8 Merge remote-tracking branch 'upstream/staging-next' into staging-fix 2021-09-07 16:23:11 +00:00
Vladimír Čunát
09f5763784
Merge branch 'master' into staging-next
Conflicts:
 - pkgs/development/python-modules/pathspec/default.nix
   The hashes are equivalent, so it's not a real conflict.
 - pkgs/top-level/static.nix
   I can't see a solution, deffered redoing this to the later PR:
   https://github.com/NixOS/nixpkgs/pull/136849
2021-09-07 08:43:26 +02:00
Martin Weinelt
7f732aca66 Revert "Merge remote-tracking branch 'origin/python-unstable' into staging-next"
This reverts commit b041b2e1b2, reversing
changes made to 5b6c2380ad.
2021-09-05 15:02:25 +02:00
Rick van Schijndel
e4cbd7d9b5 cabextract: support cross-compilation 2021-09-05 11:21:16 +02:00
Robert Scott
b2c07a1a29 cpio: add patch for CVE-2021-38185 2021-08-22 17:54:26 +01:00
Jan Tojnar
e286e1cfa0 Merge branch 'staging-next' into staging
- boost 167 removed on staging-next (7915d1e03f) × boost attributes are inherited on staging (d20aa4955d)

- linux kernels were moved to linux-kernels.nix on staging-next (c62f911507) × hardened kernels are versioned on staging (a5341beb78) + removed linux_5_12 (e55554491d)

- conflict in node-packages – I regenerated it using node2nix from nixos-unstable (does not build on staging)
2021-08-17 18:52:37 +02:00