Commit graph

752 commits

Author SHA1 Message Date
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
Sandro 9f25fed8d0
Merge pull request #133646 from Stunkymonkey/unzip-pname-version
unzip: replace name with pname&version
2021-08-16 22:25:49 +02:00
Sandro a9f42d5907
Merge pull request #133651 from Stunkymonkey/tools-pname-version
tools: replace name with pname&version
2021-08-16 22:25:32 +02:00
Sandro 6da5aaf671
Merge pull request #133662 from Stunkymonkey/sharutils-pname-version 2021-08-16 22:22:34 +02:00
github-actions[bot] 4dfde9ac8e
Merge staging-next into staging 2021-08-15 18:01:33 +00:00
Andreas Rammhold 805859c2f8
Merge pull request #133873 from r-ryantm/auto-update/wimlib
wimlib: 1.13.2 -> 1.13.4
2021-08-15 16:09:15 +02:00
github-actions[bot] 09ab2ff775
Merge staging-next into staging 2021-08-14 18:01:37 +00:00
R. RyanTM 7467002f21 maxcso: 1.12.0 -> 1.13.0 2021-08-14 10:22:48 -07:00
R. RyanTM 966089cd21 wimlib: 1.13.2 -> 1.13.4 2021-08-14 04:14:46 +00:00
Felix Buehler 31d7bd0d59 sharutils: replace name with pname&version 2021-08-12 22:09:38 +02:00
Felix Buehler 7cd5d178fc tools: replace name with pname&version 2021-08-12 21:47:47 +02:00
Felix Buehler bd4653e232 unzip: replace name with pname&version 2021-08-12 20:45:39 +02:00
Felix Buehler 3acf13c44c zip: replace name with pname&version 2021-08-12 20:38:37 +02:00
dan4ik b866f9e5e9 corearchiver: init at 4.2.0 2021-07-22 21:05:01 +07:00
Sander van der Burg d820841025
Merge pull request #130848 from svanderburg/add-lha
lha: init at 2021-01-07
2021-07-21 23:26:39 +02:00
Sander van der Burg c450894477 lha: init at 2021-07-01 2021-07-21 00:19:42 +02:00
Sander van der Burg 37601fd76d arj: init at 3.10.22 2021-07-20 17:58:20 +02:00
Sandro b4176ae90a
Merge pull request #130472 from Stunkymonkey/inherit-version3
various: cleanup of "inherit version;"
2021-07-18 00:38:39 +02:00
Felix Buehler e023025ee0 various: cleanup of "inherit version;" 2021-07-17 22:39:35 +02:00
Sandro 10e93973f6
Merge pull request #130331 from pacien/xarchiver-unar 2021-07-17 22:18:04 +02:00
Sandro b0f93a0133
unar: remove \ from longDescription 2021-07-17 20:55:28 +02:00
pacien f8d0efbf37 xarchiver: replace unfree rar handler
Since version 0.5.4.11, Xarchiver supports using either unrar or unar to
unpack .rar files. The former being released under an unfree license,
using the latter by default is preferable.

This avoids indirectly guarding the xarchiver package under
`nixpkgs.config.allowUnfree` due to the dependency on unrar.

Users who would like to use the unfree implementation may do so by
adding the unrar package to the environment from which they are calling
xarchiver.
2021-07-16 04:43:51 +02:00
Kid c772d7503d p7zip: update owner info 2021-07-11 16:20:38 +00:00
Felix Rath 7cb8324a91
arc_unpacker: 2019-01-28 -> 2021-05-17, add darwin build (#123393)
Co-authored-by: midchildan <git@midchildan.org>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-25 00:44:09 +02:00
github-actions[bot] 3ff6965554
Merge master into staging-next 2021-05-17 06:22:23 +00:00
Ben Siraphob c5a669d3f7 treewide: remove unzip where not needed 2021-05-16 19:29:28 -07:00
Andrew Childs 0a5dcc9840 gnutar: fix cross compilation on darwin 2021-05-17 00:26:59 +09:00
Felix Rath 21108101a5 arc_unpacker: add missing hooks and clear up license 2021-05-15 13:09:27 -07:00
Felix Rath 59ceb1926a arc_unpacker: fix build 2021-05-15 13:09:27 -07:00
Sebastian Sellmeier 2b5b2b624c
xarchiver: 0.5.4.14 -> 0.5.4.17 (#122848)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-13 23:48:42 +02:00
Stéphan Kochen b7b547b7c3 bomutils: fix darwin build 2021-05-11 17:42:48 +02:00
Samuel Gräfenstein 7c710c8b74 quickbms: init at 0.11.0 2021-05-08 11:02:54 -07:00
Samuel Gräfenstein 317cc8fad0
p7zip: add meta.mainProgram 2021-04-29 14:51:50 +02:00
R. RyanTM c5baafbe22 p7zip: 17.03 -> 17.04 2021-04-06 02:27:39 -04:00
Sandro Jäckel 3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
Frederik Rietdijk cd7593f815 innoextract: drop python as dep 2021-04-03 17:06:10 +02:00
github-actions[bot] eb499aa20e
Merge master into staging-next 2021-03-25 00:17:22 +00:00
zseri 75499c628b
rpm2targz: don't put runtime deps into buildInputs 2021-03-23 13:07:53 +01:00
R. RyanTM 63e9c2fbf2 gnutar: 1.32 -> 1.34 2021-03-20 09:36:47 +01:00
Anna Kudriavtsev 3bfce611c3 7zz: init at 21.01 2021-03-19 15:01:49 -07:00
Jan Tojnar 2445e9a681
Merge branch 'master' into staging-next 2021-03-18 19:24:39 +01:00
zseri 98f353c405
rpm2targz: init at 9.0.0.5g 2021-03-17 03:00:58 +01:00
Jan Tojnar 913394a1d9
Merge branch 'staging-next' into staging 2021-03-01 19:30:56 +01:00
R. RyanTM c0903d97c4 fsarchiver: 0.8.5 -> 0.8.6 2021-02-28 12:25:16 +00:00
Ben Siraphob 127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
github-actions[bot] abe7db36a4
Merge staging-next into staging 2021-02-20 00:36:40 +00:00
Ben Siraphob 223f25cf4a treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
figsoda 6c80f90e03 xtrt: init at unstable-2021-02-17 2021-02-16 22:35:52 -05:00
volth bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
zowoq 31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00
Ben Siraphob d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
ajs124 0004c16701 p7zip: 17.01 -> 17.03 2021-01-14 02:58:41 +01: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
Ben Siraphob 3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Lucas Ransan 7fd60b3c97 p7zip: fix build on gcc10 2020-12-28 08:43:32 +01:00
Sandro 17345770a7
Merge pull request #101788 from tex/tex/xarchiver
xarchiver: fix running
2020-12-11 08:46:27 +01:00
Gabriel Ebner 02362007aa pax: init at 20201030 2020-12-03 18:03:30 +01:00
Graham Christensen bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Ryan Mulligan 28ee64cd0d
Merge pull request #86310 from marius851000/ctrtool
ctrtool: 0.16 -> 0.7 and fix cross compiling
2020-11-23 20:39:25 -08:00
midchildan 302cbf171c
arc_unpacker: init at unstable-2019-01-28 2020-11-14 18:07:03 +09:00
freezeboy 209fbcb121 unarj: remove (broken since 2016, insecure since 2015) 2020-11-02 03:10:24 +01:00
Milan Svoboda c4853561d3 fix xarchiver 2020-10-29 18:58:12 +01:00
Lassulus 8d01f0d48c
Merge pull request #89249 from david-sawatzke/maxcso-init
maxcso: init at 1.12.0
2020-08-22 16:28:53 +02:00
R. RyanTM 028853c3ef innoextract: 1.8 -> 1.9 2020-08-21 20:50:42 -07:00
Daniël de Kok fdc7e050b0
Merge pull request #95841 from prusnak/bomutils
bomutils: init at 0.2
2020-08-21 07:48:55 +02:00
Pavol Rusnak 96b6e5bc12
bomutils: init at 0.2 2020-08-20 20:45:45 +02:00
Matthew Bauer e57df5816d undmg: use file name instead of pipe
There’s some issue in really big files with pipes that doesn’t occur
in filename decompression.
2020-08-19 19:35:29 -05:00
Matthew Bauer 4694b671b1 undmg: 1.0.5 -> 1.1.0 2020-08-19 19:35:14 -05:00
Frederik Rietdijk 50c060d13d Merge master into staging-next 2020-08-01 19:37:20 +02:00
Matthew Bauer d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Matthew Bauer ec80ae2550 undmg: 1.0.3 -> 1.0.5 2020-07-28 16:42:35 -05:00
Matías Lang 410dbaa077 p7zip: fix build when enableUnfree is true
`chmod +x install.sh` was only being executed when enableUnfree was
false. Therefore, building p7zip with enableUnfree set to true would fail
because install.sh was not an executable file.
2020-07-18 17:40:14 -03:00
David Sawatzke d552a13571 maxcso: init at 1.12.0 2020-06-28 20:58:39 +02:00
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
R. RyanTM 2c58c24ef8 wimlib: 1.13.1 -> 1.13.2 2020-09-06 18:50:08 +02:00
Bart Brouns 955701709f p7zip: switch to maintained fork
This the fork that true-upstream seems to prefer, see:
https://www.7-zip.org/links.html
2020-06-11 17:16:23 +02:00
ajs124 27e5a3f6c3 unar: fix build with new gnustep-base
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230627 for reference
2020-05-22 21:01:46 +02:00
Martin Weinelt e24f5eab66
treewide: add CVE identifiers to patches
This allows tools like broken.sh to correctly identify the patched
status.
2020-05-06 23:18:09 +02:00
marius david 09852dfc4c ctrtool: 0.16 -> 0.7 and fix cross compiling 2020-05-04 12:00:33 +02:00
Peter Hoeg 5fda26c3d0
Merge pull request #86628 from peterhoeg/f/unar
unar: 1.10.1 -> 1.10.7
2020-05-03 20:51:29 +08:00
Peter Hoeg 991c4d48db unar: 1.10.1 -> 1.10.7 2020-05-03 12:45:08 +08:00
Keshav Kini 70b4e26403 afio: package has moved to GitHub
The old homepage and src URLs no longer exist.  The author of the package
confirms on GitHub that GitHub is now the official homepage (see
kholtman/afio#12).
2020-05-02 13:39:19 -07:00
Daniel Frank aa80b4780d
p7zip: mark as insecure 2020-05-01 14:26:21 +02:00
Daniel Frank dd16c3944c
p7zip: fix two CVEs 2020-05-01 14:26:18 +02:00
adisbladis 955e235da3
p7zip: Make unfree features (rar support) optional 2020-04-22 16:06:50 +01:00
Emily 95f82e2a45 p7zip: remove non-free RAR support
7-Zip's RAR implementation is built on the non-free UnRAR source code;
DOC/License.txt says:

      Licenses for files are:
    
        1) CPP/7zip/Compress/Rar* files:  GNU LGPL + unRAR restriction
        2) All other files:  GNU LGPL
    
      The GNU LGPL + unRAR restriction means that you must follow both 
      GNU LGPL rules and unRAR restriction rules.
    
    ...
    
      unRAR restriction
      -----------------
    
        The decompression engine for RAR archives was developed using source 
        code of unRAR program.
        All copyrights to original unRAR code are owned by Alexander Roshal.
    
        The license for original unRAR code has the following restriction:
    
        The unRAR sources cannot be used to re-create the RAR compression algorithm, 
        which is proprietary. Distribution of modified unRAR sources in separate form 
        or as a part of other software is permitted, provided that it is clearly
        stated in the documentation and source comments that the code may
        not be used to develop a RAR (WinRAR) compatible archiver.

The unrar licensing is [infamously restrictive and non-free][fedora];
it's inappropriate for us to keep the RAR support while labelling the
package as free software (and indeed there's a commented-out line
pointing out that the current `meta.license` is false). Unfortunately,
the 7-Zip upstream seems uninterested in replacing the code with a
freely-licensed alternative (see [7-Zip ticket #1229][7zip]).

[fedora]: https://fedoraproject.org/wiki/Licensing:Unrar
[7zip]: https://sourceforge.net/p/sevenzip/feature-requests/1229/

An alternative solution would be to mark the p7zip package as non-free
instead; I decided not to because its other functionality (especially
`.7z` support) is freely-licensed and useful, and there are free
software alternatives for extracting RAR files (e.g. in nixpkgs there's
`archiver`, which is written in a memory-safe language, and `unar`,
which at least doesn't have two patches for CVEs that haven't been
addressed upstream...).

I checked that `7z(1)` fails gracefully on `.rar` files now:
    
    emily@renko ~/tmp> curl -L -O https://www.philippwinterberg.com/download/example.rar
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 5715k  100 5715k    0     0  6716k      0 --:--:-- --:--:-- --:--:-- 6716k
    emily@renko ~/tmp> 7z x example.rar
    
    7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=en_CA.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)
    
    Scanning the drive for archives:
    1 file, 5853119 bytes (5716 KiB)
    
    Extracting archive: example.rar
    ERROR: example.rar
    Can not open the file as archive
    
        
    Can't open as archive: 1
    Files: 0
    Size:       0
    Compressed: 0
2020-04-22 15:01:48 +00:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 233165ad0f unrar: 5.9.1 -> 5.9.2 2020-04-07 21:36:22 +00:00
Vladimír Čunát 48a997cd76
Merge #66528: glibc: 2.27 -> 2.30 (into staging)
Includes update of stdenv bootstap tools (for three main platforms)
and many package fixes with new glibc.
2020-02-05 13:41:09 +01:00
R. RyanTM a91faae4a6 unrar: 5.8.5 -> 5.9.1 2020-02-04 19:51:34 +00:00
Maximilian Bosch 6b0cd9ad47
Merge branch 'staging' into glibc230
Conflicts:
	pkgs/applications/misc/vit/default.nix
2020-01-28 14:54:51 +01:00
Silvan Mosberger 80a2740991
Merge pull request #78265 from Synthetica9/https-homepages
treewide: fix redirected urls
2020-01-27 15:00:53 +01:00
Michael Weiss 983f39cdab
unrar: Install all C++ header files into the "dev" output
This is e.g. required for the rar2fs build [0], which needs at least
version.hpp, rar.hpp, dllext.hpp, dll.hpp, and headers5.hpp.

At least Gentoo does this as well [1] but most other distributions only
install dll.hpp or no header files at all.

[0]: https://github.com/NixOS/nixpkgs/pull/78189
[1]: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-arch/unrar/unrar-5.8.5.ebuild
2020-01-23 21:16:38 +01:00
Patrick Hilhorst 593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
Luka Blaskovic 89590eb7bf sharutils: fix build with glibc>=2.28 2020-01-14 08:26:59 +00:00