1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
Commit graph

139 commits

Author SHA1 Message Date
Adam Joseph c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Yaya 50bf74d608 cups: 2.4.6 -> 2.4.7
https://github.com/OpenPrinting/cups/releases/tag/v2.4.7

Fixes CVE-2023-4504
2023-09-20 21:00:09 +00:00
R. Ryantm e4a1b664ea cups: 2.4.5 -> 2.4.6 2023-07-01 03:00:17 +00:00
Jonas Heinrich 1ff6509383 cups: 2.4.3 -> 2.4.5
Diff: https://github.com/OpenPrinting/cups/compare/None...v2.4.4
2023-06-14 10:06:58 +02:00
Weijia Wang 6bd9402c5f cups: fix build on darwin 2023-06-03 01:35:10 +02:00
Martin Weinelt 2ca22f6b82
cups: 2.4.2 -> 2.4.3
Resolves a heap buffer overflow in the log formatter, when the log level
is set to DEBUG.

https://github.com/OpenPrinting/cups/releases/tag/v2.4.3

Fixes: CVE-2023-32234
2023-06-02 02:05:43 +02:00
Martin Weinelt 84fb288f46
cups: fix nixos test references
The tests were split up in two, but the references were not updated.
2023-06-02 02:05:13 +02:00
Sandro Jäckel 09e07a3ad3
cups: remove with lib over entire file 2023-01-23 22:45:25 +01:00
Adam Joseph 42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Michele Guerini Rocco 5dff7733aa
Merge pull request #203454 from rnhmjoj/pr-cups-socket
nixos/hardware/printers: stop cupsd when unneeded
2022-12-21 23:06:00 +01:00
Weijia Wang fcd6daeffe
cups: unpin 2.2.6 on darwin (#200206) 2022-12-02 02:37:13 +01:00
rnhmjoj a5eb3b03ff
cups: fix cups.socket unit
The cups.socket unit shouldn't be part of cups.service: stopping the
service would stop the socket and break subsequent socket activations.

See https://github.com/apple/cups/issues/6005
2022-11-28 14:49:40 +01:00
Weijia Wang f09703cd25 cups: fix build on darwin 2022-11-03 00:28:21 +01:00
Rick van Schijndel ae33e7cf40 cups: support prefixed pkg-config
Otherwise configure fails with the following error:
- configure: error: Need pkg-config to enable libusb support.
2022-10-19 20:38:28 +02:00
Thomas Gerbet c590c23f49 cups: 2.4.1 -> 2.4.2
Fixes CVE-2022-26691.
https://github.com/OpenPrinting/cups/releases/tag/v2.4.2
2022-05-27 14:33:28 +02:00
Jonas Heinrich f48c4bb72d cups: 2.4.0 -> 2.4.1 2022-02-04 14:19:32 -08:00
Jonas Heinrich e5213f40db cups: Add passthru printing test 2022-02-03 09:39:39 -08:00
Jonas Heinrich 7f431c8cc5
cups: 2.3.3op2 -> 2.4.0 (#148611) 2021-12-28 17:43:07 -05:00
toonn 24dd96ebd4 cups: Only apply patch for appropriate version 2021-11-24 15:17:13 -08:00
toonn 36a953f78c cups: Apply patch unconditionally
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-24 15:17:13 -08:00
toonn ea50c9776c cups: Change condition so patch won't remain forever
By changing the condition for the patch it'll hopefully break when the
version is updated for Darwin and not stick around forever.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-24 15:17:13 -08:00
toonn 5a12a87aed cups: Include TargetConditionals.h on Darwin 2021-11-24 15:17:13 -08:00
Alyssa Ross eef72d8f9c pkgsMusl.cups: enable systemd support
We previously weren't able to build systemd for Musl, but now we
can!  (But not statically.)  So there's no longer any reason to have
systemd support in CUPS disabled by default for pkgsMusl.
2021-11-04 10:44:10 +00:00
Naïm Favier 2f8ae51da9
cups: 2.3.3 -> 2.3.3op2
https://github.com/OpenPrinting/cups/releases/tag/v2.3.3op1
https://github.com/OpenPrinting/cups/releases/tag/v2.3.3op2
2021-09-19 16:17:05 +02:00
Dmitry Kalinkin c457d983c7
cups: remove assert that breaks systemd = null deep override
This is another case of #73102
2021-01-28 15:56:25 -05:00
Ben Siraphob fce00d15c2 pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Martin Milata 4ea28e76c2 cups: 2.3.1 -> 2.3.3
https://github.com/apple/cups/releases/tag/v2.3.3

Fixes:

https://nvd.nist.gov/vuln/detail/CVE-2019-8842
https://nvd.nist.gov/vuln/detail/CVE-2020-3898
2020-05-01 08:48:02 +02:00
Florian Klink 2c621ff4f4 cups: request libusb1 directly 2020-04-27 12:19:12 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 84457be75a cups: 2.3.0 -> 2.3.1 2020-01-06 00:17:30 -08:00
markuskowa c683b19886
Merge pull request #70969 from doronbehar/update-cups
cups: 2.2.12 -> 2.3.0
2019-11-02 14:56:10 +01:00
(cdep)illabout 664823c11c cups: enable compiling with musl
When compiling `cups` with `pkgsMusl`, `cups` can't depend on `systemd`
because `systemd` is not able to be built with musl.
2019-10-28 18:30:32 +01:00
Doron Behar e25b5910a1 cups: 2.2.12 -> 2.3.0 2019-10-11 14:15:42 +03:00
worldofpeace 061ea7d1cc cups: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:08 -04:00
Will Dietz 772e2aa94b cups: 2.2.11 -> 2.2.12 (security!)
https://github.com/apple/cups/releases/tag/v2.2.12
2019-09-06 19:33:43 +02:00
Frederik Rietdijk fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02: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
Matthew Bauer e9b7085ff8 cups: add myself as maintainer 2019-08-14 11:47:48 -04:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM 0e13c900e8 cups: 2.2.10 -> 2.2.11
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cups/versions
2019-04-01 00:57:23 -07:00
Jascha Geerds ffedc3e4a9 misc: Remove myself from list of maintainers
Unfortunately I don't have the time anymore to maintain those
packages.
2019-03-12 23:50:52 +01:00
Matthew Bauer bb874163fd cups: use v2.2.6 on darwin
This is the last version known to build.

Fixes #53609.
2019-01-07 19:41:12 -06:00
Will Dietz ec040d9b22 cups: drop patches
(cherry picked from commit 085a74cb42074384958c23bd762af589da570042)
2018-12-20 10:43:36 -06:00
Will Dietz 61e9fc2e52 cups: 2.2.9 -> 2.2.10
https://www.cups.org/blog/2018-12-07-cups-2.2.10.html
2018-12-19 09:21:54 +01:00
Will Dietz bf174887e5 cups: 2.2.6 -> 2.2.9
https://github.com/apple/cups/releases/tag/v2.2.9
https://github.com/apple/cups/releases/tag/v2.2.8
https://github.com/apple/cups/releases/tag/v2.2.7
2018-12-19 09:21:54 +01:00
Robin Gloster adaffa3c01
cups: fix cross 2018-11-29 04:58:35 +01:00
Jan Malakhovski a12d40eb7e cups: fix tests 2018-08-11 09:35:22 +00:00
Vladimír Čunát 514e3e8a07
cups: fix patch download without a rebuild
One needs to specify git commit to make the fetch always work.
Close #38113.
2018-03-30 21:35:09 +02:00
Vladimír Čunát e719327694
Merge #35113: cups: upstream patch for a bug 2018-02-24 22:30:18 +01:00