Commit Graph

67 Commits

Author SHA1 Message Date
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Yorick van Pelt
118d43a22a asterisk: drop v18, bump asterisk-lts and asterisk alias 2025-10-19 17:36:14 +02:00
R. Ryantm
9449ada53e asterisk: 20.15.1 -> 20.15.2
This also updates asterisk 18 (18.26.3 -> 18.26.4).
The new version requires pjproject
to be updated: 2.14.1 -> 2.15.1 .
Luckily, this is the version that is also used by
other asterisk version, so we simply drop the old
pjproject and unconditionally use version 2.15.1 .

Co-authored-by: Yarny0 <41838844+Yarny0@users.noreply.github.com>
2025-09-03 16:37:04 +02:00
Franz Pletz
1b2c6b9f40 asterisk: update dependencies 2025-07-30 18:08:27 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Thomas Gerbet
7c5a432dbc asterisk_18: 18.21.0 -> 18.23.1, asterisk_20: 20.6.0 -> 20.8.1
Fixes CVE-2024-35190.

Changelogs:
https://github.com/asterisk/asterisk/releases/tag/20.8.1
https://github.com/asterisk/asterisk/releases/tag/20.8.0
https://github.com/asterisk/asterisk/releases/tag/20.7.0
https://github.com/asterisk/asterisk/releases/tag/18.23.1
https://github.com/asterisk/asterisk/releases/tag/18.23.0
https://github.com/asterisk/asterisk/releases/tag/18.22.0
https://github.com/asterisk/asterisk/releases/tag/18.21.0
2024-05-21 21:02:03 +02:00
Thomas Gerbet
1137e416f8 asterisk_18: 18.17.1 -> 18.20.1, asterisk_20: 20.2.1 -> 20.5.1
Fixes CVE-2023-49294, CVE-2023-49786,  CVE-2022-23537.

Changelogs:
https://github.com/asterisk/asterisk/releases/tag/18.20.1
https://github.com/asterisk/asterisk/releases/tag/18.20.0
https://github.com/asterisk/asterisk/releases/tag/18.19.0
https://github.com/asterisk/asterisk/releases/tag/18.18.1
https://github.com/asterisk/asterisk/releases/tag/18.18.0
https://github.com/asterisk/asterisk/releases/tag/20.5.0
https://github.com/asterisk/asterisk/releases/tag/20.4.0
https://github.com/asterisk/asterisk/releases/tag/20.3.1
https://github.com/asterisk/asterisk/releases/tag/20.3.0
2023-12-15 16:00:16 +01:00
Yarny0
09ee8956b9 asterisk: add meta.mainProgram 2023-09-05 11:34:04 +02:00
Yorick
84a29b4872 Merge pull request #243446 from LeSuisse/asterisk-CVE-2023-27585
asterisk: apply patch for pjsip CVE-2023-27585
2023-07-15 15:53:25 +02:00
Robert Schütz
2289a489c2 asterisk: use latest python for update script 2023-07-14 07:33:52 -07:00
Thomas Gerbet
2a3d310709 asterisk: apply patch for pjsip CVE-2023-27585
https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr
2023-07-14 12:17:43 +02:00
Yorick van Pelt
44a4afba11 asterisk: drop pjsip 2.12 and patches, no longer used 2023-04-23 15:58:39 +02:00
Yorick van Pelt
0a8004f496 asterisk: drop 16 and 19
These will go EOL within the 23.05 support window.
2023-04-23 15:56:57 +02:00
Yorick van Pelt
f51c667a29 asterisk: 18.16.0 -> 18.17.1, 20.1.0 -> 20.2.1
pjsip 2.13.0 and related security patches have been added
2023-04-23 15:55:53 +02:00
Janik H
1bfefc7b43 asterisk: autoformat default.nix 2023-03-14 18:33:33 +01:00
Janik H
3266f88f3d asterisk: add sub-package with ldap support 2023-03-14 18:31:51 +01:00
Thomas Gerbet
1c5020b684 asterisk: 16.29.0 -> 16.30.0, 18.15.0 -> 18.16.0, 19.7.0 -> 19.8.0, 20.0.0 -> 20.1.0
Fixes CVE-2022-37325, CVE-2022-42705 and CVE-2022-42706.

https://downloads.asterisk.org/pub/security/AST-2022-007.html
https://downloads.asterisk.org/pub/security/AST-2022-008.html
https://downloads.asterisk.org/pub/security/AST-2022-009.html

Changelogs:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-20.1.0
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-19.8.0
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.16.0
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-16.30.0

Patches for CVE-2022-31031 and CVE-2022-39244 in pjsip are already been
applied by Asterik upstream so we drop them. pjsip patches for CVE-2022-23537
and CVE-2022-23547 have been added.
2023-01-14 18:11:41 +01:00
Yorick van Pelt
94b4a737bf asterisk: fix comment about version 2022-11-16 11:44:45 +01:00
Yorick van Pelt
de995f3058 asterisk: patch pjsip CVE-2022-31031, CVE-2022-39244, CVE-2022-39269
Also remove pjsip 2.12, which was unused
2022-11-16 11:32:55 +01:00
Yorick van Pelt
f010cdcad3 asterisk: 16.26.1 -> 16.29.0, 18.12.1 -> 18.15.0, 19.4.1 -> 19.7.0, init 20.0.0 2022-11-15 14:52:23 +01:00
Yorick van Pelt
5d62b7f79f asterisk: 16.25.1 -> 16.26.1, 18.11.1 -> 18.12.1, 19.3.1 -> 19.4.1 2022-05-24 14:04:17 +02:00
Yorick van Pelt
237b5838d3 asterisk: update updateScript to include python deps 2022-05-24 13:49:28 +02:00
Lorenz Brun
b71ff4c656 asterisk: add support for open-source opus codec 2022-04-08 13:23:11 +02:00
Lorenz Brun
c7390885a9 asterisk: update all packages 2022-04-08 08:15:42 +00:00
Sandro Jäckel
8547db919a treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Yorick van Pelt
ab3980e73a asterisk: add update script 2021-08-07 13:37:01 +02:00
Yorick van Pelt
4f8cfd1c2e asterisk: clarify license 2021-04-21 01:00:40 +02:00
Yorick van Pelt
ae79547cf2 asterisk: 13.38.0 -> 13.38.2, 16.15.0 -> 16.17.0, 17.9.0 -> 17.9.3, 18.1.0 -> 18.3.0
Security fixes
2021-04-21 01:00:40 +02: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
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
Graham Christensen
bc49a0815a utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Janne Heß
1027c0635d asterisk: Bump all packages 2020-11-19 17:13:38 +01:00
Janne Heß
523debafc4 asterisk: Bump all packages 2020-11-09 12:36:03 +01:00
ajs124
bf4f302804 Merge pull request #101761 from helsinki-systems/init/asterisk18
asterisk_18: Init at 18.0.0
2020-11-08 17:31:37 +01:00
Janne Heß
038793bd1e asterisk_18: Init at 18.0.0
I hope I bumped all attributes correctly.
2020-10-26 14:10:29 +01:00
Janne Heß
722c94310c asterisk: Bump all packages 2020-10-26 13:58:41 +01:00
Janne Heß
c5e8dbc4f1 asterisk: Bump all packages
All packages were outdated.
Asterisk 15 is not supported anymore, but there is 17 now.

All versions bumped pjproject to 2.10 which requires overriding the
prefix.

Since Asterisk 17, `make install-headers` seems to be needed.
2020-10-07 18:02:37 +02:00
Pavol Rusnak
fadcfc3ea4 treewide: per RFC45, remove more unquoted URLs 2020-04-18 14:04:37 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00: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
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Guillaume Maudoux
acc86c8944 asterisk: 15.3.0 -> 15.7.0, 13.20.0 -> 13.24.1, add 16.x 2019-02-07 07:55:46 +01:00
Jan Malakhovski
67a5c0da41 tree-wide: fix all revs of fetchsvn 2018-11-08 05:29:47 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Samuel Leathers
561bd16d01 asterisk: add xmpp/motif support 2018-07-04 00:17:52 -04:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Tim Digel
b4ac50a816 asterisk: 14.6.1 -> 15.3.0, 13.17.1 -> 13.20.0 2018-04-13 08:02:00 +02:00