Commit Graph

207 Commits

Author SHA1 Message Date
Mats
9b5cfd41d8 samba: fix samba-tool
This commit addresses the following issues:
- samba-tool requiring python built with libxcrypt-legacy
- adding the missing markdown python package
- fixing the shebang patching so disallowedReferences passes
2023-11-24 14:31:19 +01:00
Sergei Trofimovich
c2910afd5d samba: 4.19.1 -> 4.19.2
Changes: https://www.samba.org/samba/history/samba-4.19.2.html
2023-11-06 08:13:19 +00:00
Yaya
3b9c240c73 samba: 4.18.6 -> 4.19.1
https://lists.samba.org/archive/samba-announce/2023/000651.html

Fixes CVE-2023-3961
Fixes CVE-2023-4091
Fixes CVE-2023-4154
Fixes CVE-2023-42669
Fixes CVE-2023-42670
2023-10-21 18:54:51 +02:00
Anderson Torres
e24107b347 treewide: convert configureFlags to wafConfigureFlags when appropriate 2023-09-06 10:41:28 -03:00
Anderson Torres
f2f9262b92 treewide: waf.hook -> wafHook 2023-09-06 10:41:28 -03:00
Anderson Torres
9f52275e52 treewide: change wafConfigureFlags to configureFlags
Because it makes no sense to treat it differently.
2023-09-01 15:21:21 +00:00
github-actions[bot]
ce84b1371f
Merge master into staging-next 2023-08-31 00:01:54 +00:00
Anderson Torres
a10cefb38a samba4: change wafHook to waf.hook 2023-08-26 13:12:09 +00:00
R. Ryantm
59c8dfbe6a samba: 4.18.5 -> 4.18.6 2023-08-22 21:53:26 +00:00
Mats
74bec51799 samba: 4.17.7 -> 4.18.5 2023-07-20 17:02:20 +02:00
Thomas Gerbet
3d87d858cb samba: 4.17.5 -> 4.17.7
Fixes CVE-2023-0225, CVE-2023-0922 and CVE-2023-0614.

Release notes:
https://www.samba.org/samba/history/samba-4.17.7.html
https://www.samba.org/samba/history/samba-4.17.6.html
2023-04-11 22:35:02 +02:00
Weijia Wang
0a7667609f samba: unbreak on darwin 2023-03-17 23:50:16 +02:00
Lassulus
7b2a482ea0
Merge pull request #208795 from wucke13/dev/wucke13/fix-sssd 2023-02-09 20:50:56 +05:30
Sam Doshi
25ae7df30e samba: 4.17.4 -> 4.17.5 2023-02-04 16:56:05 +00:00
Wanja Zaeske
9b4cf10855 samba: etc
Makes samba use the nix vendored `talloc` instead of compiling its own,
bundleded version. This fixes an issue where the library may be initialized
with different magic numbers, resulting in segfaults. See in
https://github.com/NixOS/nixpkgs/issues/205859 for further detail.
2023-01-15 22:22:06 +01:00
Weijia Wang
5f40e9e178
samba: add darwin support (#207465) 2023-01-03 23:16:35 +01:00
R. Ryantm
555ba58408 samba: 4.17.3 -> 4.17.4 2022-12-26 12:58:20 +01:00
Monson Shao
0f96e0860c
samba: add notes for darwin 2022-11-23 16:15:00 +08:00
Yureka
29b2098551
samba: explicitly enable libunwind (#201875)
fixes build of pkgsMusl.samba
2022-11-22 13:11:23 +01:00
ajs124
ebf9fcd06d
Merge pull request #201553 from NixOS/upd/samba4
samba4: 4.17.2 -> 4.17.3
2022-11-17 01:03:03 +01:00
Janne Heß
667767d439
samba4: 4.17.2 -> 4.17.3 2022-11-16 22:06:50 +01:00
Ben Wolsieffer
118e531c2d samba: fix cross-compilation
The last update mistakenly removed wafHook and the patch required to make cross-
compilation work. In addition, the bundled version of heimdal is now too new to
work with asn1_compile from the heimdal package in nixpkgs (it isn't out of
date, there just hasn't been a release in years and samba uses an unreleased
version).

To fix the latter issue, the native build of samba saves asn1_compile and
compile_et from the bundled heimdal into the dev output, allowing them to be
available at build time when cross-compiling.
2022-11-13 17:46:25 -05:00
ajs124
83b70c04c8 samba4: 4.15.9 -> 4.17.2
- package uses the vendored heimdal kerberos now
- does not call waf directly anymore, because it complained
- a lot of upstream releases:
  - https://www.samba.org/samba/history/samba-4.16.0.html
  - https://www.samba.org/samba/history/samba-4.17.0.html
  - https://www.samba.org/samba/history/samba-4.17.1.html
  - https://www.samba.org/samba/history/samba-4.17.2.html
2022-11-10 14:26:02 +01:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Robert Scott
755e7195b2 samba: 4.15.5 -> 4.15.9 2022-09-11 22:20:23 +01:00
Artturin
8ea56dfc8f samba: don't depend on build python3
add disallowedReferences to prevent future regressions

buildPackages.python3Packages.python.intepreter will be python3.10 while
the one in shebang is python3

had to move the substituting to after wrapPythonPrograms because the
wrapper contained build python so something weird is going on
2022-08-31 21:40:44 +03:00
Martin Weinelt
d4aac5cd60 samba: 4.15.3 -> 4.15.5
https://www.openwall.com/lists/oss-security/2022/02/01/1

Fixes: CVE-2021-44141, CVE-2021-44142, CEV-2022-0336
(cherry picked from commit da86fe2cd6)
2022-02-01 19:17:29 +01:00
R. Ryantm
1bbb08976f samba: 4.15.2 -> 4.15.3
(cherry picked from commit 886235de96)
2022-02-01 19:17:23 +01:00
R. Ryantm
39d9d22eec samba: 4.15.1 -> 4.15.2 2021-12-07 00:50:38 +00:00
Maximilian Bosch
8464356564
Merge pull request #143544 from r-ryantm/auto-update/samba
samba: 4.15.0 -> 4.15.1
2021-11-12 11:13:06 +01:00
Janne Heß
ce5f4a0dbf
Merge pull request #144948 from helsinki-systems/feat/samba-patch-all-libs
samba4: Fix all libraries
2021-11-09 12:33:38 +01:00
Sean Buckley
416369dc84 samba: fix ceph library path 2021-11-07 10:13:06 -05:00
Janne Heß
9d8e24e854
samba4: Fix all libraries
This also fixes versioned so files that don't match *.so
2021-11-07 00:18:07 +01:00
R. Ryantm
a7540680b4 samba: 4.15.0 -> 4.15.1 2021-10-29 03:13:12 +00:00
Pascal Bach
616690dc64 samba: 4.14.7 -> 4.15.0 2021-09-22 10:02:16 +02:00
R. RyanTM
9b778be59d samba: 4.14.4 -> 4.14.7 2021-09-14 04:57:16 +00:00
Kranium Gikos Mendoza
c6f73e4bad samba: fix build hanging on armv7l configure phase 2021-08-17 19:35:39 +10:00
Artturi
61dd23eeaf
samba4: add wrapPythonPrograms (#132373) 2021-08-03 12:07:23 -04:00
Ben Wolsieffer
773369673c samba: fix cross-compilation 2021-06-28 09:44:42 -04:00
Maxine Aubrey
b760ab8cfb samba: add missing python dependencies for ldap and domain controller 2021-06-03 14:12:05 +02:00
Robert Schütz
014cc9ce0a samba: 4.13.7 -> 4.14.4
fixes https://www.samba.org/samba/security/CVE-2021-20254.html
2021-05-28 22:26:23 -07:00
Pascal Bach
83f25f503d samba: 4.13.4 -> 4.13.7 2021-03-31 23:29:58 +02:00
R. RyanTM
6d9f8bf0fe samba: 4.13.3 -> 4.13.4 2021-03-09 13:47:16 +00:00
Bernardo Meurer
1dc0745517 samba4: mark broken when enableGlusterFS is true 2021-02-07 19:46:44 -08: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
Pascal Bach
6f64a415e3 samba: mark as broken on darwin
smbclient does not properly link and when trying to run it it fails with
messages like:

dyld: Library not loaded: /private/tmp/nix-build-samba-4.7.12.drv-0/samba-4.7.12/bin/default/source3/libpopt-samba3-samba4.dylib
  Referenced from: result/bin/smbclient
  Reason: image not found
2020-12-21 14:00:47 +01:00
Pascal Bach
a9ddc4fc88 samba: fix macOS build 2020-12-21 10:33:00 +01:00
Pascal Bach
8e88dfc129 samba: 4.13.0 -> 4.13.3 2020-12-21 10:32:50 +01:00