Commit Graph
425379 Commits
Author SHA1 Message Date
Maximilian Bosch 35b146ca31 nixos/nextcloud: fixup openssl compat change
Upon testing the change itself I realized that it doesn't build properly
because

* the `pname` of a php extension is `php-<name>`, not `<name>`.
* calling the extension `openssl-legacy` resulted in PHP trying to compile
  `ext/openssl-legacy` which broke since it doesn't exist:

      source root is php-8.1.12
      setting SOURCE_DATE_EPOCH to timestamp 1666719000 of file php-8.1.12/win32/wsyslog.c
      patching sources
      cdToExtensionRootPhase
      /nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux/setup: line 1399: cd: ext/openssl-legacy: No such file or directory

I didn't encounter that one before because I was mostly interested in
having a sane behavior for everyone not using this "feature" and the
documentation around this. My findings about the behavior with turning
openssl1.1 on/off are still valid because I tested this on `master` with
manually replacing `openssl` by `openssl_1_1` in `php-packages.nix`.

To work around the issue I had to slightly modify the extension
build-system for PHP:

* The attribute `extensionName` is now relevant to determine the output
  paths (e.g. `lib/openssl.so`). This is not a behavioral change for
  existing extensions because then `extensionName==name`.

  However when specifying `extName` in `php-packages.nix` this value is
  overridden and it is made sure that the extension called `extName` NOT
  `name` (i.e. `openssl` vs `openssl-legacy`) is built and installed.

  The `name` still has to be kept to keep the legacy openssl available
  as `php.extensions.openssl-legacy`.

Additionally I implemented a small VM test to check the behavior with
server-side encryption:

* For `stateVersion` below 22.11, OpenSSL 1.1 is used (in `basic.nix`
  it's checked that OpenSSL 3 is used). With that the "default"
  behavior of the module is checked.

* It is ensured that the PHP interpreter for Nextcloud's php-fpm
  actually loads the correct openssl extension.

* It is tested that (encrypted) files remain usable when (temporarily)
  installing OpenSSL3 (of course then they're not decryptable, but on a
  rollback that should still be possible).

Finally, a few more documentation changes:

* I also mentioned the issue in `nextcloud.xml` to make sure the issue
  is at least mentioned in the manual section about Nextcloud. Not too
  much detail here, but the relevant option `enableBrokenCiphersForSSE`
  is referenced.

* I fixed a few minor wording issues to also give the full context
  (we're talking about Nextcloud; we're talking about the PHP extension
  **only**; please check if you really need this even though it's
  enabled by default).

  This is because I felt that sometimes it might be hard to understand
  what's going on when e.g. an eval-warning appears without telling where
  exactly it comes from.
2022-11-11 14:45:46 +01:00
Maximilian Bosch 61128cba67 nixos/nextcloud: minor docs cleanup for openssl change
* s/NextCloud/Nextcloud/g
* `enableBrokenCiphersForSSE` should be enabled by default for any NixOS
  installation from before 22.11 to make sure existing installations
  don't run into the issue. Not the other way round.
* Update release notes to reflect on that.
* Improve wording of the warning a bit: explain which option to change
  to get rid of it.
* Ensure that basic tests w/o `enableBrokenCiphersForSSE` run with
  OpenSSL 3.
2022-11-10 12:17:43 +01:00
Raito BezariusandMaximilian Bosch 394d4de877 nextcloud25: enable by default broken ciphers for NixOS ≤ 22.11 2022-11-10 12:17:43 +01:00
Raito BezariusandMaximilian Bosch 7eefaeb5e3 nextcloud25: use openssl 1.1 as a PHP extension to fix RC4 encryption 2022-11-10 12:17:43 +01:00
markuskowaandGitHub c91f68c3d8 Merge pull request #200506 from markuskowa/upd-mpich
mpich: 4.0.2 -> 4.0.3
2022-11-10 11:47:57 +01:00
Anderson TorresandGitHub 40962b461b Merge pull request #200300 from thiagokokada/mame-tools-init
mame-tools: init at 0.249
2022-11-10 07:45:00 -03:00
7c6f434candGitHub 511bbd4c78 Merge pull request #200059 from r-ryantm/auto-update/clingo
clingo: 5.6.1 -> 5.6.2
2022-11-10 10:32:04 +00:00
Martin WeineltandGitHub 79f1abca84 Merge pull request #200245 from mweinelt/microcode-intel-20221108 2022-11-10 11:18:33 +01:00
Markus Kowalewski b2eda58270 mpich: 4.0.2 -> 4.0.3 2022-11-10 10:52:37 +01:00
Thiago Kenji Okada 891511b619 nixos/doc: document mame package changes 2022-11-10 09:47:54 +00:00
Thiago Kenji Okada d868053b40 nixos/doc: formatting improvements 2022-11-10 09:47:54 +00:00
Thiago Kenji Okada b89efbd9a4 mame-tools: init at 0.249
This commit adds a new `tools` output to `mame` and move all
non-emulator binaries to it. This is because some of those binaries
(e.g.: chdman) are useful outside of the MAME, and the MAME binary is
really big. So if you only want to use some of the MAME tools, this will
reduce the download size needed for it.

The `tools` output is declared as `mame-tools` inside
`all-packages.nix`, for easier discovery.

This is similar to how other distros packages MAME, e.g.: on Arch Linux
we have `mame` and `mame-tools`.
2022-11-10 09:47:54 +00:00
7c6f434candGitHub ec77cad97b Merge pull request #199100 from r-ryantm/auto-update/libre
libre: 2.8.0 -> 2.9.0
2022-11-10 09:45:36 +00:00
7c6f434candGitHub 373cbaa18a Merge pull request #199101 from r-ryantm/auto-update/librem
librem: 2.8.0 -> 2.9.0
2022-11-10 09:45:05 +00:00
Bobby RongandGitHub 5a9b4e6cfa Merge pull request #200468 from patryk4815/patch-1
kics: add version test
2022-11-10 17:33:21 +08:00
Ryan BurnsandGitHub d46b10c653 Merge pull request #200480 from dit7ya/cotton-darwin
cotton: fix build on darwin
2022-11-10 01:32:40 -08:00
Fabian AffolterandGitHub 7f52c75ad4 Merge pull request #200418 from r-ryantm/auto-update/python3.10-azure-eventgrid
python310Packages.azure-eventgrid: 4.9.0 -> 4.9.1
2022-11-10 10:07:15 +01:00
maxineandGitHub 6c27c5bf78 Merge pull request #200453 from samuela/upkeep-bot/vscode-1.73.1-1668040265
vscode: 1.73.0 -> 1.73.1
2022-11-10 09:55:00 +01:00
Fabian AffolterandGitHub c32d981cdd Merge pull request #200456 from r-ryantm/auto-update/python310Packages.bellows
python310Packages.bellows: 0.34.2 -> 0.34.3
2022-11-10 09:08:02 +01:00
Fabian AffolterandGitHub 9c4e8dd22c Merge pull request #200447 from r-ryantm/auto-update/python310Packages.adafruit-platformdetect
python310Packages.adafruit-platformdetect: 3.32.0 -> 3.33.0
2022-11-10 09:07:29 +01:00
Fabian AffolterandGitHub 98c4a2bec9 Merge pull request #200448 from r-ryantm/auto-update/python310Packages.aiohomekit
python310Packages.aiohomekit: 2.2.18 -> 2.2.19
2022-11-10 09:07:09 +01:00
Fabian AffolterandGitHub 2eb399bbb8 Merge pull request #200452 from r-ryantm/auto-update/python310Packages.azure-mgmt-containerservice
python310Packages.azure-mgmt-containerservice: 20.6.0 -> 20.7.0
2022-11-10 09:06:41 +01:00
Fabian AffolterandGitHub a8a9ba9e6c Merge pull request #200392 from figsoda/rustscan
rustscan: 2.2.0 -> 2.2.1
2022-11-10 09:03:44 +01:00
Fabian AffolterandGitHub 016580f6da python310Packages.azure-eventgrid: update disabled 2022-11-10 09:01:58 +01:00
Fabian AffolterandGitHub 824e86bf29 Merge pull request #200417 from r-ryantm/auto-update/python3.10-vispy
python310Packages.vispy: 0.11.0 -> 0.12.0
2022-11-10 09:00:26 +01:00
Fabian AffolterandGitHub cad37834d2 Merge pull request #200400 from r-ryantm/auto-update/python3.10-thriftpy2
python310Packages.thriftpy2: 0.4.14 -> 0.4.15
2022-11-10 08:59:55 +01:00
Fabian AffolterandGitHub 3576a788bf Merge pull request #200387 from fabaff/pytenable-bump
python310Packages.pytenable: 1.4.8 -> 1.4.9
2022-11-10 08:59:20 +01:00
Maximilian BoschandGitHub e1b2b11e34 Merge pull request #200301 from Ma27/bump-element
element-{web,desktop}: 1.11.13 -> 1.11.14
2022-11-10 08:05:18 +01:00
Valentin GagarinandGitHub bf93d04219 Merge pull request #195359 from ShamrockLee/patch-activation-hooks 2022-11-10 07:56:05 +01:00
Mostly Void 184023a1f9 cotton: fix build on darwin 2022-11-10 11:48:49 +05:30
R. RyantmandPeter Hoeg f680c2020f shards: 0.17.0 -> 0.17.1 2022-11-10 14:06:13 +08:00
Christian KöglerandGitHub 774dcada30 Merge pull request #199467 from considerate/udpreplay
udpreplay: init at 1.0.0
2022-11-10 07:06:02 +01:00
Uri BaghinandGitHub d01cb18be4 Merge pull request #200476 from r-ryantm/auto-update/opentelemetry-collector
opentelemetry-collector: 0.63.1 -> 0.64.0
2022-11-10 16:37:25 +11:00
Uri BaghinandGitHub 21cf14ca7f Merge pull request #200478 from r-ryantm/auto-update/opentelemetry-collector-contrib
opentelemetry-collector-contrib: 0.63.0 -> 0.64.0
2022-11-10 16:37:03 +11:00
Elian DoranandPeter Hoeg c3616ce837 0ad: fix icon install path 2022-11-10 12:53:39 +08:00
figsodaandGitHub 92903b2cb5 Merge pull request #200465 from r-ryantm/auto-update/nixpacks
nixpacks: 0.12.3 -> 0.13.0
2022-11-09 23:34:53 -05:00
R. Ryantm ab238f2d81 opentelemetry-collector-contrib: 0.63.0 -> 0.64.0 2022-11-10 04:33:01 +00:00
R. Ryantm 980b1ab050 opentelemetry-collector: 0.63.1 -> 0.64.0 2022-11-10 04:29:19 +00:00
github-actions[bot]andzowoq cbb048f8d9 terraform-providers.tencentcloud: 1.78.8 → 1.78.9 2022-11-10 14:00:47 +10:00
github-actions[bot]andzowoq d1f98aaf0e terraform-providers.ns1: 1.12.8 → 1.13.0 2022-11-10 14:00:47 +10:00
github-actions[bot]andzowoq 9759793e79 terraform-providers.ksyun: 1.3.57 → 1.3.58 2022-11-10 14:00:47 +10:00
github-actions[bot]andzowoq b4401413f7 terraform-providers.hcloud: 1.35.2 → 1.36.0 2022-11-10 14:00:47 +10:00
github-actions[bot]andzowoq ae2fd703e1 terraform-providers.external: 2.2.2 → 2.2.3 2022-11-10 14:00:47 +10:00
psondej d4be94cb82 kics: add version test 2022-11-10 04:31:34 +01:00
Ryan MulliganandGitHub a668cf43e0 Merge pull request #200460 from r-ryantm/auto-update/mmdoc
mmdoc: 0.12.0 -> 0.13.0
2022-11-09 19:28:23 -08:00
figsodaandGitHub f14e629058 Merge pull request #200454 from r-ryantm/auto-update/lychee
lychee: 0.10.2 -> 0.10.3
2022-11-09 22:24:07 -05:00
R. Ryantm 2a92858765 nixpacks: 0.12.3 -> 0.13.0 2022-11-10 02:26:58 +00:00
Joshua CampbellandWinter 9bbb7fb635 azure-functions-core-tools: remove jshcmpbll as maintainer
I don't use this tool anymore and dont really have the means to maintain it
2022-11-09 20:56:51 -05:00
Bobby RongandGitHub b3f58c0d86 Merge pull request #200364 from chuangzhu/tootle
tootle: fix build
2022-11-10 09:52:07 +08:00
R. Ryantm a791afd94c mmdoc: 0.12.0 -> 0.13.0 2022-11-10 01:36:33 +00:00