Commit Graph

534 Commits

Author SHA1 Message Date
Yarny0
377cbbdc30 cups: add 'cups-pdf' vm test to passthru.tests
While aimed at the cups-pdf printing package,
this vm tests also serves as a test for
the cups printing module in general.
2024-10-27 10:45:38 +01:00
Thomas Gerbet
16caf1231b cups-filters: remove support for legacy CUPS browsing and for LDAP
Fixes CVE-2024-47176 and CVE-2024-47850. NixOS is not affected by these security issues by
default because we do not ship the default configuration file so it fallbacks to `BrowseRemoteProtocols dnssd`.

631/udp is removed from the open firewall ports, it was by the CUPS
browsing protocol.
2024-10-07 22:28:12 +02:00
Thomas Gerbet
d726e2d301 cups-filters: apply patch for CVE-2024-47076
Advisory:
https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
2024-09-26 23:51:12 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Philip Taron
9062806b52
brgenml1lpr: remove with statements 2024-08-18 06:31:18 -07:00
Felix Buehler
eb4b691723 samsung-unified-linux-driver_1_00_36: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Peder Bergebakken Sundt
d1d4ca2ebe
Merge pull request #330458 from lluchs/canon-cups-ufr2-5.90
canon-cups-ufr2: 5.70 -> 5.90
2024-08-04 22:07:15 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Lukas Werling
aea44d2f19 canon-cups-ufr2: 5.70 -> 5.90 2024-07-27 18:46:40 +02:00
Martin Weinelt
176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Michael Hoang
eb725313bc treewide: remove Enzime 2024-07-09 14:32:33 +10:00
Weijia Wang
7038f0bab2
Merge pull request #320583 from r-ryantm/auto-update/cups
cups: 2.4.8 -> 2.4.10
2024-07-07 14:52:44 +02:00
éclairevoyant
83a657cacd
Merge pull request #324353 from delan/bye
maintainers: remove delan
2024-07-03 17:39:29 +00:00
Delan Azabani
01aa077998 maintainers: remove delan 2024-07-03 19:54:30 +08:00
Jussi Kuokkanen
9b4703cf14 pkgs/misc: remove licenses.gpl2 2024-07-03 14:24:14 +03:00
R. Ryantm
9088fd75eb cups: 2.4.8 -> 2.4.10 2024-06-24 13:17:02 +00:00
Samuel Dionne-Riel
c7882d9a4d hll2390dw-cups: Drop unmaintained package 2024-06-21 01:06:01 -04:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
github-actions[bot]
ddde12c6f7
Merge master into staging-next 2024-06-03 18:02:09 +00:00
Sandro Jäckel
41452802cb
treewide: fix all obviously wrong mkEnableOptions 2024-06-03 13:20:32 +02:00
github-actions[bot]
97d15b22bf
Merge master into staging-next 2024-06-02 18:01:10 +00:00
Sandro
380c5735c0
Merge pull request #309334 from Yarny0/foomatic-db-update 2024-06-02 17:58:13 +02:00
github-actions[bot]
f4392ae842
Merge master into staging-next 2024-06-01 18:01:06 +00:00
Artturin
3be6823649
Merge pull request #270437 from mtzanidakis/fix/cups-brother-hl1210w
cups-brother-hl1210w: fix ppd symlink path
2024-06-01 16:12:07 +03:00
Yarny0
df4cbbc521 foomatic-db*: migrate to pkgs/by-name overlay 2024-05-05 12:40:48 +02:00
R. Ryantm
36b16a08fe cups: 2.4.7 -> 2.4.8 2024-04-26 12:34:01 +00:00
Yarny0
08fd84846e foomatic-db-engine: unstable-2024-02-10 -> unstable-2024-04-05
Due to the sole new commit

a2b12271e1
"Fix wget / curl auto-detection at configure"

curl (or wget) is now a mandatory (runtime!) dependency.
2024-04-06 12:21:08 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Weijia Wang
498ce719b1
Merge pull request #291174 from LucienLeMagicien/brlaser-2a49e32
brlaser: 6 -> 6-unstable-2023-02-30
2024-03-07 12:43:29 +01:00
Artturi
70576b917e
Merge pull request #291609 from Artturin/printcleanup1
{mfcj6510,mfcj470}dwcupswrapper: cleanup
2024-02-29 02:58:59 +02:00
Sandro
3beaece283
Merge pull request #288566 from Yarny0/foomatic-db-engine-update
foomatic-db-engine: unstable-2022-05-03 -> unstable-2024-02-10
2024-02-27 22:55:17 +01:00
Artturin
72def8dad2 {mfcj6510,mfcj470}dwcupswrapper: cleanup
`cleanupPhase` doesn't exist
2024-02-26 19:10:53 +02:00
LucienLeMagicien
02ad1f9442 brlaser: v6 -> 6-unstable-2023-02-30
`brlaser` v6 was released in 2019. Since then, a bug preventing some models
of Brother printers from printing images or pdfs with images has been fixed,
but there hasn't been any new Github releases.

https://github.com/pdewacht/brlaser/issues/52
2024-02-24 23:49:14 +01:00
Yarny0
86f579309d foomatic-db-engine: unstable-2022-05-03 -> unstable-2024-02-10
Just one new commit:
fa91bdfd87
"Use XML Make or Model for 1284DeviceID line if other info is missing"
2024-02-13 14:50:32 +01:00
Yarny0
d12a6c07bf foomatic-db: unstable-2023-09-02 -> unstable-2024-02-09
Adds "Generic PS Printer" and "Generic PDF Printer".
2024-02-09 12:07:03 +01:00
Guillaume Girol
d4c1c32dc5 cnijfilter_2_80: disable fortify3 hardening
the cups filter crashes with hardening

Fixes https://github.com/NixOS/nixpkgs/issues/276125
2023-12-27 12:00:00 +00:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Manolis Tzanidakis
33dc92d62a
cups-brother-hl1210w: fix ppd symlink path 2023-11-27 17:44:19 +02:00
Paul Meyer
2c97a5caa7 maintainers: remove jfrankenau
due to inactivity.
2023-11-20 08:44:58 +01:00
Artturi
713b8c1531
Merge pull request #200773 from phrogg/mfc465cn 2023-11-18 20:47:03 +02:00
Phil R
b79483b619 mfc465cn{lpr,cupswrapper}: init at 1.0.1-1 2023-11-18 20:45:28 +02:00
Artturi
2d24100bcf
Merge pull request #246429 from marcovergueira/dcp375cw-lpr-cupswrapper 2023-11-18 17:52:35 +02:00
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
github-actions[bot]
9776723357
Merge master into staging-next 2023-11-11 18:00:58 +00:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
github-actions[bot]
4c838ddf14
Merge master into staging-next 2023-10-27 18:01:08 +00:00
Nicolas Benes
80c6277f6a cups-kyodialog: 9.2-20220928 -> 9.3-20230720 2023-10-26 21:47:07 +02:00