Commit Graph

81 Commits

Author SHA1 Message Date
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
Thomas Gerbet
a04e670019 squid: 6.8 -> 6.10
Fixes CVE-2024-37894 / GHSA-wgvf-q977-9xjg

Changes:
https://github.com/squid-cache/squid/compare/SQUID_6_8...SQUID_6_10

Package is still tagged with `knownVulnerabilities`, a bunch of the
issues appears to not be resolved (yet?).
2024-08-20 23:31:18 +02:00
éclairevoyant
0926bdbf98
treewide: fix uses of finalAttrs.pname in source urls 2024-07-12 20:23:39 -04: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
Sarah Brofeldt
cf936e0ce4 squid: 6.7 -> 6.8 2024-03-11 09:55:42 +01:00
Nick Cao
4ff48a0179
squid: 6.6 -> 6.7
Diff: https://github.com/squid-cache/squid/compare/SQUID_6_6...SQUID_6_7
2024-03-01 15:06:14 -05:00
Ashish SHUKLA
4ef4032e6d
squid: 5.9 -> 6.6
- add finalAttrs support while here
2023-12-11 07:44:32 +05:30
Thomas Gerbet
761d125ae2 squid: mark with known vulnerabilities
https://megamansec.github.io/Squid-Security-Audit/

It does not look like the vulnerabilities are going to be fixed anytime
soon.
2023-10-14 18:14:37 +02:00
R. Ryantm
2d48d6d8a0 squid: 5.8 -> 5.9 2023-05-30 23:25:53 +00:00
R. Ryantm
040821978d squid: 5.7 -> 5.8 2023-03-05 16:42:18 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Scott
a7cb79afe4 squid: enable tests 2022-10-01 18:09:31 +01:00
Martin Weinelt
c1ec1f33b6 squid: enable parallel building 2022-09-30 22:49:25 -05:00
Martin Weinelt
5427faad32 squid: 5.6 -> 5.7
http://www.squid-cache.org/Versions/v5/squid-5.7-RELEASENOTES.html
https://www.openwall.com/lists/oss-security/2022/09/23/1
https://www.openwall.com/lists/oss-security/2022/09/23/2

Fixes: CVE-2022-41317, CVE-2022-41318
2022-09-30 22:49:25 -05:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
R. Ryantm
32cd729fba squid: 5.4.1 -> 5.6 2022-08-02 04:04:31 +00:00
Emery Hemingway
ad15abe7ff squid: 4.17 -> 5.4.1
* enable HTCP
* enable systemd support
* add NixOS option "services.squid.package"
2022-03-25 15:59:05 +00:00
R. Ryantm
c1c2f0d950 squid: 4.16 -> 4.17 2021-10-28 17:06:42 +00:00
R. RyanTM
06d67bb2c6 squid: 4.15 -> 4.16 2021-08-19 19:55:55 +00:00
Thomas Gerbet
4b66107509 squid: 4.14 -> 4.15
Fixes CVE-2021-28116, CVE-2021-31806, CVE-2021-31807, CVE-2021-31808,
CVE-2021-28652, CVE-2021-28662 and CVE-2021-28651.

https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf
https://github.com/squid-cache/squid/security/advisories/GHSA-m47m-9hvw-7447
https://github.com/squid-cache/squid/security/advisories/GHSA-jjq6-mh2h-g39h
https://github.com/squid-cache/squid/security/advisories/GHSA-572g-rvwr-6c7f
https://github.com/squid-cache/squid/security/advisories/GHSA-ch36-9jhx-phm4
2021-05-12 14:00:13 +02:00
R. RyanTM
0e05c29599 squid: 4.13 -> 4.14 2021-03-09 21:13:17 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07: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
R. RyanTM
89af243189 squid: 4.12 -> 4.13 2020-08-31 05:22:17 +00:00
R. RyanTM
d795682e5a squid: 4.11 -> 4.12 2020-07-07 17:49:01 +00:00
Martin Weinelt
a1baba2f04
squid: 4.10 → 4.11
http://www.squid-cache.org/Advisories/SQUID-2020_4.txt

Fixes: CVE-2020-11945
2020-05-08 21:56:41 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
8cf32a28fb squid: 4.9 -> 4.10 2020-01-30 13:59:46 +00:00
R. RyanTM
ba4f12dbc4 squid: 4.8 -> 4.9 2019-11-29 10:02:11 -08:00
Robin Gloster
c89e5439a1
squid: fix build with openssl 1.1 2019-08-22 15:36:40 +02:00
Robin Gloster
948b3e34a5
squid: remove v3, default to v4 2019-08-22 00:39:52 +02:00
Robert Scott
5b0db58bc1 squid: add patch fixing CVE-2019-13345 2019-07-14 21:41:26 +01:00
Robert Scott
8872a08cde squid4: 4.7 -> 4.8
fixing CVE-2019-13345
2019-07-14 21:41:05 +01:00
R. RyanTM
48178d947f squid4: 4.6 -> 4.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/squid/versions
2019-06-18 06:42:42 -07:00
xrelkd
366d269a8a squid4: 4.4 -> 4.6 2019-04-12 18:46:03 +08:00
Franz Pletz
28cdc4b921
squid4: 4.0.24 -> 4.4 2018-11-22 14:41:08 +01:00
Franz Pletz
ec3598087d
squid: 3.5.27 -> 3.5.28 2018-11-22 14:41:07 +01:00
Franz Pletz
1e15d08cac
squid4: 4.0.23 -> 4.0.24 2018-03-22 01:05:31 +01:00
Will Dietz
1ac2b79745 squid{,4}: only enable netfilter bits on non-musl 2018-02-13 09:44:47 -06:00
Andreas Rammhold
ea817d7b6f
squid: fix CVE-2018-1000024 & CVE-2018-1000027 2018-02-07 11:40:46 +01:00
Andreas Rammhold
291b05ee21
squid4: hack to detect our libxml2 2018-02-07 11:40:46 +01:00
Andreas Rammhold
5cdcd3fef4 squid4: 4.0.21 -> 4.0.23 (fixes CVE-2018-1000024 & CVE-2018-1000027) 2018-02-03 16:13:17 +01:00
John Wiegley
3deeecddad squid, squid4: Allowing build on Darwin 2018-01-17 09:53:46 -08:00
Franz Pletz
28967501e9
squid4: 4.0.20 -> 4.0.21 2017-08-27 02:33:33 +02:00
Franz Pletz
7cff97a8d4
squid: 3.5.26 -> 3.5.27 2017-08-27 02:33:32 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Franz Pletz
a7210764eb
squid4: 4.0.17 -> 4.0.20 2017-06-20 03:45:47 +02:00
Franz Pletz
fcbf28d6b5
squid: 3.5.23 -> 3.5.26 2017-06-20 03:45:46 +02:00
Michael Raskin
076e265164 squid4: init at 4.0.17 2017-01-26 09:29:54 +01:00