Commit Graph

57 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
R. Ryantm
95a721b533 freeswitch: 1.10.11 -> 1.10.12 2024-08-04 01:11:06 +00:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Mikael Fangel
21acf7c055
freeswitch: 1.10.10 -> 1.10.11 2023-12-22 21:10:35 +01:00
Mikael Fangel
b153175ff3
freeswitch: patch CVE-2023-5217 and CVE-2023-44488
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
Co-authored-by: Thomas Gerbet <thomas@gerbet.me>
2023-10-09 22:18:07 +02:00
R. Ryantm
0af1a3b6ce freeswitch: 1.10.9 -> 1.10.10 2023-08-26 13:37:52 +00:00
misuzu
c34918a1c2 freeswitch: remove misuzu as maintainer 2023-04-17 19:32:16 +03:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
misuzu
0e3da35852 freeswitch: mark as broken on darwin 2023-02-04 13:03:14 +02:00
misuzu
0745cc22b6 freeswitch: 1.10.8 -> 1.10.9
https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Release-Notes/FreeSWITCH-1.10.x-Release-notes_25460878/
https://github.com/signalwire/freeswitch/releases/tag/v1.10.9
https://github.com/signalwire/freeswitch/compare/v1.10.8...v1.10.9
2023-02-04 13:03:14 +02:00
Martin Weinelt
51fcbf5bb7 Merge remote-tracking branch 'origin/master' into staging-next 2022-10-16 00:18:40 +02:00
misuzu
4a9250a8b2 freeswitch: 1.10.7 -> 1.10.8 2022-10-15 11:20:55 +03:00
Martin Weinelt
76700598c5
freeswitch: fix build with libxcrypt 2022-10-09 18:14:33 +02:00
Jonas Heinrich
58ba283555 freeswitch: Fix build error 2022-09-20 16:03:24 +02:00
misuzu
88f3af6d1e freeswitch: 1.10.6 -> 1.10.7 2021-10-31 12:46:39 +02:00
misuzu
ef32c9e3b8 freeeswitch: enable strictDeps 2021-05-10 21:23:53 +03:00
misuzu
85fb843759 freeeswitch: move perl, which and yasm to nativeBuildInputs 2021-05-10 17:24:46 +03:00
misuzu
a7b56e41d4 freeswitch: 1.10.5 > 1.10.6 2021-05-10 17:24:40 +03: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
ajs124
19ddb6e657 freeswitch: use spandsp3 2020-11-18 17:13:30 +01:00
ajs124
8385c2f9c6 freeswitch: 1.10.3 -> 1.10.5
now depends on spandsp and sofia_sip instead of carrying them in-tree
2020-11-17 02:23:14 +01:00
Lassulus
4b891a5643
Merge pull request #89556 from helsinki-systems/freeswitch-formats
freeswitch: Add support for mod_opusfile
2020-06-06 11:51:11 +02:00
Janne Heß
86d311660a
freeswitch: Add support for mod_opusfile
Also switch to callPackage, add the webm module (untested), and
fix the av module.
2020-06-05 21:54:40 +02:00
Janne Heß
eab71dfe5b
freeswitch: Disable advertisement banners
These are banners about a conference nobody cares about. They just spam
the journal without being interesting to anyone.
2020-06-05 18:39:51 +02:00
misuzu
fa0bc05978 freeswitch: 1.10.2 -> 1.10.3 2020-05-11 17:02:16 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
misuzu
ed41104a3b freeswitch: include configuration templates, enable parallel building 2020-01-07 16:52:57 +02:00
misuzu
6d66795575 freeswitch: 1.8.7 -> 1.10.2 2020-01-01 23:07:45 +02:00
misuzu
96f4563f1e freeswitch: fix gsmopen build and enable by default for linux 2020-01-01 18:09:54 +02:00
R. RyanTM
bdb37efc6f freeswitch: 1.8.5 -> 1.8.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/freeswitch/versions
2019-08-04 02:34:15 -07:00
Patrick Mahoney
6bdbe09925 freeswitch: remove helper script to reduce closure size
This helper script appears to compile freeswitch modules and requires
perl. Seems more useful at compile-time rather than the main output.
2019-02-12 13:53:27 -06:00
Patrick Mahoney
085725bd43 freeswitch: 1.6.20 -> 1.8.5 2019-02-12 13:53:26 -06:00
Patrick Mahoney
540b35f830 freeswitch: introduce configurable compile-time module selection
The 'modules.conf' file in the root of the source determines which
modules to build. Not all of the build inputs have been correctly
moved into their respective module as this requires a bit of work and
trial-and-error.
2019-02-12 13:53:26 -06:00
pmahoney
6195a47d25 freeswitch: expose compilation option to enable postgres support (#54593) 2019-02-02 00:39:15 +02:00
Patrick Mahoney
5234948642 freeswitch: build on darwin
- relax platform requirement
- include required apple framework
2018-12-10 16:49:26 -06:00
Lluís Batlle i Rossell
66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02: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
R. RyanTM
34aad990ee freeswitch: 1.6.19 -> 1.6.20
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/freeswitch/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/freeswitch -h` got 0 exit code
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli -h` got 0 exit code
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli --help` got 0 exit code
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli -V` and found version 1.6.20
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli -v` and found version 1.6.20
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli --version` and found version 1.6.20
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli -h` and found version 1.6.20
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fs_cli --help` and found version 1.6.20
- ran `/nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20/bin/fsxs --help` got 0 exit code
- found 1.6.20 with grep in /nix/store/l4s511s11hp68d9nask5izbjp46d38a6-freeswitch-1.6.20
- directory tree listing: https://gist.github.com/9f4955edd83c39fb3a3623049474525a
2018-03-31 09:28:17 -07:00
Ryan Mulligan
561a90f6f3 freeswitch: 1.6.15 -> 1.6.19
Semi-automatic update. These checks were done:

- built on NixOS
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/freeswitch -h` got 0 exit code
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli -h` got 0 exit code
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli --help` got 0 exit code
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli -V` and found version 1.6.19
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli -v` and found version 1.6.19
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli --version` and found version 1.6.19
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli -h` and found version 1.6.19
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fs_cli --help` and found version 1.6.19
- ran `/nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19/bin/fsxs --help` got 0 exit code
- found 1.6.19 with grep in /nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19
- found 1.6.19 in filename of file in /nix/store/jpf73ild0rhyvsgngigp3ksb94nmf6pk-freeswitch-1.6.19
2018-03-08 05:21:39 -08:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Kranium Gikos Mendoza
50edaffb0c freeswitch: fix build 2017-09-16 20:08:08 +10:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Robin Gloster
d7e5883d5e
freeswitch: 1.6.9 -> 1.6.15 2017-02-17 00:14:13 +01:00
Vladimír Čunát
686bb1a6e4 freeswitch: fix build when sandboxed 2016-09-03 12:49:59 +02:00
obadz
3de6e5be50 Merge branch 'master' into staging
Conflicts:
      pkgs/applications/misc/navit/default.nix
      pkgs/applications/networking/mailreaders/alpine/default.nix
      pkgs/applications/networking/mailreaders/realpine/default.nix
      pkgs/development/compilers/ghc/head.nix
      pkgs/development/libraries/openssl/default.nix
      pkgs/games/liquidwar/default.nix
      pkgs/games/spring/springlobby.nix
      pkgs/os-specific/linux/kernel/perf.nix
      pkgs/servers/sip/freeswitch/default.nix
      pkgs/tools/archivers/cromfs/default.nix
      pkgs/tools/graphics/plotutils/default.nix
2016-08-27 23:54:54 +01:00
Robin Gloster
4685018b59
freeswitch: 1.2.3 -> 1.6.9 2016-08-24 23:23:03 +00:00
Robin Gloster
9c3518bd6d freeswitch: 1.2.3 -> 1.6.6 2016-03-29 10:58:19 +00:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
fc71f3f570 freeswitch: turn off format hardening 2016-02-11 01:38:14 +00:00