Commit Graph

170 Commits

Author SHA1 Message Date
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
Aneesh Agrawal
d1d2526fb4 samba: 4.12.6 -> 4.13.0
Previously, `vfs_snapper` was only built if `dbus` was found.
Now, `vfs_snapper` is enabled by default (on Linux)
and it requires dbus to be available:
```
Checking for dbus: not found
vfs_snapper is enabled but prerequisite dbus-1 package not found. Use
--with-shared-modules=!vfs_snapper to disable vfs_snapper support.
```

We could pass `--with-shared-modules=!vfs_snapper` to disable it,
but currently pass `--with-shared-modules=ALL`,
so add dbus as a dependency instead.
2020-12-21 10:32:50 +01:00
Jan Tojnar
32b4375f10
Merge branch 'staging-next' into staging 2020-09-29 00:12:29 +02:00
Ryan Burns
680bdea2f0 samba: 4.12.5 -> 4.12.6, fix build on darwin
Upstream commit https://gitlab.com/samba-team/devel/samba/-/commit/6e263432
fixes compilation on BSD/macOS.
2020-09-26 10:01:21 -07:00
Maximilian Bosch
0258849e61
samba: fix build w/glibc-2.32 2020-09-12 23:04:47 +02:00
Vladimír Čunát
60d89e5793
Merge branch 'master' into staging 2020-07-29 18:40:28 +02:00
Florian Klink
b4784dbb34
Merge pull request #85362 from helsinki-systems/fix-samba-kerberos
samba: Switch back to builtin Heimdal Kerberos
2020-07-23 14:33:06 +02:00
R. RyanTM
5de4c73f41 samba: 4.12.3 -> 4.12.5 2020-07-07 12:03:36 +00:00
sjau
ec756db771
Samba: 4.12.2 -> 4.12.3 2020-05-23 10:57:32 +01:00
Martin Milata
8fe050fb78 samba: 4.12.1 -> 4.12.2
Release notes: https://www.samba.org/samba/history/samba-4.12.2.html

Fixes:
https://nvd.nist.gov/vuln/detail/CVE-2020-10700
https://nvd.nist.gov/vuln/detail/CVE-2020-10704
2020-05-09 09:35:13 +02:00
Janne Heß
a3bfbbf8a0
samba: Switch back to builtin Heimdal Kerberos
When not building with the experimental (!!) system MIT Kerberos, Samba
will use the builtin Heimdal Kerberos. For this reason, enableKerberos =
true will still include a krb5 implementation, built right into Samba.

There is no benefit in using MIT krb5, however it has some downsides
like not being able to assign computer GPOs [1].

The ArchWiki [2] also mentions this in their installation section.

[1]: https://lists.samba.org/archive/samba/2018-July/216779.html
[2]: https://wiki.archlinux.org/index.php/Samba/Active_Directory_domain_controller
2020-04-16 12:18:08 +02:00
R. RyanTM
2cb5932025 samba: 4.12.0 -> 4.12.1 2020-04-11 12:06:30 +00:00
Izorkin
4b2da39fff samba: add option enableProfiling 2020-03-28 19:16:05 +03:00
Izorkin
911179ef65 samba: add option enableKerberos 2020-03-28 19:16:05 +03:00
Izorkin
4a01c9433b samba: add needed packages 2020-03-28 19:16:03 +03:00
Izorkin
0c43bd4ef8 samba: remove unused packages 2020-03-28 18:56:34 +03:00
Izorkin
e1b3a529e1 samba: fix deps 2020-03-28 18:56:34 +03:00
Izorkin
a41d96f45f samba: cleanup build configuration 2020-03-28 18:56:34 +03:00
Pascal Bach
ae29c52db5 samba: 4.11.5 -> 4.12.0
- add support for liburing on linux
- remove backported patch
- move native build dependencies to nativeBuildInputs
2020-03-07 22:57:16 +01:00
Pascal Bach
00610756df samba: 4.11.3 -> 4.11.5
This is a security release in order to address the following defects:

- CVE-2019-14902: Replication of ACLs set to inherit down a subtree on AD Directory not automatic.
- CVE-2019-14907: Crash after failed character conversion at log level 3 or above.
- CVE-2019-19344: Use after free during DNS zone scavenging in Samba AD DC.
2020-01-27 13:40:09 +01:00
Robert Scott
6e61548dd1 samba: remove no-longer-necessary darwin test hack
test is skipped automatically now
2020-01-27 13:40:09 +01:00
Robert Scott
5e7dc6248f samba: 4.10.11 -> 4.11.3 2020-01-27 13:40:09 +01:00
Markus Wamser
7e93638ca7 samba: 4.10.10 -> 4.10.11 (#75456)
Security fix: CVE-2019-14861, CVE-2019-14870

This update is only a security fix. See
https://www.samba.org/samba/history/samba-4.10.11.html
2019-12-11 11:12:49 +01:00
Dima
0de2c3011e samba: 4.10.8 -> 4.10.10 - security
Addresses issue: https://github.com/NixOS/nixpkgs/issues/73682
Samba fixes overview for reference:
https://www.samba.org/samba/history/security.html
2019-11-19 14:22:25 +01:00
Will Dietz
b5b92e015c
samba: 4.10.6 -> 4.10.8 (security!)
https://www.samba.org/samba/history/samba-4.10.8.html
https://www.samba.org/samba/history/samba-4.10.7.html
2019-09-13 22:45:24 -05:00
WilliButz
9378ff1cb5
samba4Full: fix build
The pkgconfig requirements for glusterfs-api were not satisfied without
uuid, resulting in Waf not setting the correct API version for glusterfs
during the build and consequently incompatible function calls in samba.

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
2019-09-13 21:13:48 +02:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +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
R. RyanTM
4aa0c20bea samba: 4.10.5 -> 4.10.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/samba/versions
2019-07-20 09:07:28 -07:00
Robert Scott
cd24ce1c0f samba: 4.10.4 -> 4.10.5
Security release fixing CVE-2019-12435 & CVE-2019-12436
2019-06-21 00:08:13 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer
3db2fc56ff
Merge pull request #59795 from jacereda/samba-darwin
samba: fix darwin build
2019-06-10 21:30:59 -04:00
Markus Kowalewski
cf178af4f8 samba: 4.10.3 -> 4.10.4 2019-05-28 09:09:42 +02:00
R. RyanTM
fc0d4e98ef samba: 4.10.2 -> 4.10.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/samba/versions
2019-05-28 09:09:42 +02:00
Jorge Acereda
b172ff55e3 samba: use fixDarwinDylibNames 2019-04-20 14:33:35 +02:00
Jorge Acereda
78c018ba8e samba: fix darwin build 2019-04-17 22:50:08 +02:00
Aneesh Agrawal
85d16a33ec samba: 4.7.10 -> 4.10.2
Release notes: https://www.samba.org/samba/history/samba-4.10.2.html
Notably, Samba 4.10.0 is the first with Python 3 support,
and the 4.10 line will be the last supporting Python 2,
so switch to Python 3.

Add myself as a maintainer.
2019-04-13 10:31:07 -07:00
Andreas Rammhold
5acc543233 samba4: apply patch for CVE-2019-3824 2019-03-20 14:18:58 +01:00
Andrew Dunham
2acd0004c1 samba: 4.7.10 -> 4.7.12
Version 4.7.12 is a security release.

This fixes a couple of security related issues:
 - https://www.samba.org/samba/security/CVE-2018-14629.html
 - https://www.samba.org/samba/security/CVE-2018-16841.html
 - https://www.samba.org/samba/security/CVE-2018-16851.html
 - https://www.samba.org/samba/security/CVE-2018-16853.html
2019-02-24 02:36:41 -05:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Joachim F
48fd1fb0d7
Merge pull request #48794 from markuskowa/fix-samba-ib
samba: remove defunct infiniband support
2018-10-23 14:38:41 +00:00
Daniël de Kok
d620d8fa67 samba4: 4.7.9 -> 4.7.10 (#48787)
Changes: https://www.samba.org/samba/history/samba-4.7.10.html
2018-10-22 02:04:38 +02:00
Markus Kowalewski
8d7870d6c5
samba: remove defunct infiniband support
Even if infiniband support is enabled the option
is ignored by the configure script and no depencies
to libibverbs.so or librdmacm.so is contained in
the output.
2018-10-21 22:35:21 +02:00
Andreas Rammhold
67ea2c0ffe
samba: 4.7.6 -> 4.7.9
Version 4.7.9 is a security release. The versions 4.7.7 & 4.7.8 contain
numerous bug fixes.

This fixes a couple of security related issues:
 - https://www.samba.org/samba/security/CVE-2018-10858.html
 - https://www.samba.org/samba/security/CVE-2018-10918.html
 - https://www.samba.org/samba/security/CVE-2018-10919.html
 - https://www.samba.org/samba/security/CVE-2018-1139.html

Changelogs for the version upgrades can be found below.

 - https://www.samba.org/samba/history/samba-4.7.7.html
 - https://www.samba.org/samba/history/samba-4.7.8.html
 - https://www.samba.org/samba/history/samba-4.7.9.html
2018-08-15 23:39:16 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Ryan Mulligan
fce8f26af6 treewide: http -> https (#42665) 2018-06-27 22:12:57 +02:00
Matthew Bauer
b0cb40ed4b samba: support darwin
- add macos patch
2018-06-10 22:45:40 -04:00
Franz Pletz
d2582dc92a
samba: 4.7.5 -> 4.7.6 for multiple CVEs
Fixes CVE-2018-1050, CVE-2018-1057.
2018-03-13 15:31:54 +01:00
Tim Steinbach
a14df21aae
samba: 4.7.4 -> 4.7.5
Also, fix kerberos dependency to include krb5kdc
2018-03-07 22:23:59 -05:00
Luke Adams
d937ea3101 samba: split 4.x-no-persistent-install.patch
reason: Second hunk does not work on 4.8-master
2018-01-26 22:37:17 +01:00
Lengyel Balazs
49aa5804ed samba: apply patch mailinglist, which fixes #ifdef boundaries
http://samba.2283325.n4.nabble.com/Fix-compilation-of-Samba-4-7-4-with-disabled-ADS-td4728041.html
2018-01-18 23:49:31 +01:00
Lengyel Balazs
5ca7b34ed8 samba: 4.6.11 -> 4.7.4 2018-01-18 21:27:54 +01:00
Andreas Rammhold
45f0c0b80e
samba: 4.6.8 -> 4.6.11 to address CVEs CVE-2017-14746 & CVE-2017-15275
More details at [1] & [2]

[1] https://www.samba.org/samba/security/CVE-2017-15275.html
[2] https://www.samba.org/samba/security/CVE-2017-14746.html
2017-11-21 18:11:28 +01:00
Franz Pletz
15a6c2c4fc
samba: 4.6.7 -> 4.6.8 for multiple CVEs
Fixes CVE-2017-12150, CVE-2017-12151, CVE-2017-12163.
2017-09-28 14:52:36 +02:00
Maximilian Güntner
e6353a82bf
samba: 4.6.4 -> 4.6.7 2017-09-01 21:00:31 +02:00
Armijn Hemel
87262e6196 samba: 4.6.3 -> 4.6.4 2017-05-25 00:46:07 +02:00
Pascal Bach
6f7347ec58 samba: 4.5.8 -> 4.6.3 2017-05-21 15:24:03 +04:00
Armijn Hemel
f7580a1f06 samba: 4.5.3 -> 4.5.8 2017-05-14 15:59:40 +03:00
Nikolay Amiantov
21439ef416 samba: enable parallel building 2017-03-20 15:24:00 +03:00
Nikolay Amiantov
b0a1028a1a samba4: 4.4.6 -> 4.5.3 2016-12-20 21:30:00 +03:00
Nikolay Amiantov
4ceca4fe4f samba4: 4.3.11 -> 4.4.6 2016-10-16 19:58:12 +03:00
Eelco Dolstra
3b89a6e020 samba: Use bundled tdb and ldb 2016-09-30 21:22:57 +02:00
Vladimír Čunát
e9687611b6 samba4: fix crashes by bundling tevent
See #19013 for details and discussion.
2016-09-30 20:58:29 +02:00
Eelco Dolstra
50e2161ee1 samba: 4.3.8 -> 4.3.11 2016-09-19 20:03:40 +02:00
Tristan Helmich
192dc27dc3 samba4Full: 4.3.6 -> 4.3.8 (#14661)
Fixes the following security issues:
 * CVE-2015-5370 (Multiple errors in DCE-RPC code)
 * CVE-2016-2110 (Man in the middle attacks possible with NTLMSSP)
 * CVE-2016-2111 (NETLOGON Spoofing Vulnerability)
 * CVE-2016-2112 (LDAP client and server don't enforce integrity)
 * CVE-2016-2113 (Missing TLS certificate validation)
 * CVE-2016-2114 ("server signing = mandatory" not enforced)
 * CVE-2016-2115 (SMB IPC traffic is not integrity protected)
 * CVE-2016-2118 (SAMR and LSA man in the middle attacks possible)

See http://badlock.org/ for details.
2016-04-13 17:59:03 +02:00
Graham Christensen
fb0fcdddd5 samba: 4.3.1 -> 4.3.6 for CVE-2015-7560 CVE-2016-0771 2016-03-14 10:50:39 -05:00
Nikolay Amiantov
82560aefd7 samba: reduce closure size 2016-02-28 12:49:34 +03:00
William A. Kennington III
491764afc0 samba: 4.3.0 -> 4.3.1 2015-10-21 21:49:10 -07:00
William A. Kennington III
58a45a4459 samba: 4.2.3 -> 4.3.0 2015-09-18 14:52:51 -07:00
Luca Bruno
04356dc250 samba: drop heimdal compat patch to fix the build (ZHF) 2015-07-21 18:54:08 +02:00
Luca Bruno
14502c6446 Revert "Revert "samba: 4.2.1 -> 4.2.3""
This reverts commit eee8823c37.

Wrong revert. Sorry.
2015-07-21 17:37:08 +02:00
Luca Bruno
eee8823c37 Revert "samba: 4.2.1 -> 4.2.3"
This reverts commit be0f468926.
2015-07-21 17:22:01 +02:00
Vladimír Čunát
9f37e91ec5 Merge master into staging
There are larger-rebuild changes: gnutls and samba.
2015-07-17 06:38:04 +02:00
William A. Kennington III
be0f468926 samba: 4.2.1 -> 4.2.3 2015-07-15 12:55:39 -07:00
William A. Kennington III
612f0bdd67 Merge branch 'master.upstream' into staging.upstream 2015-06-30 23:58:07 -07:00
Michael Raskin
124a61f10d Fix alternative samba configuration evaluations 2015-06-28 13:41:27 +03:00
William A. Kennington III
f93d565c28 Merge branch 'master.upstream' into staging.upstream 2015-06-27 10:44:00 -07:00
Michael Raskin
9bf2c6a8ab Fix wrong condition related to enableKerberos 2015-06-27 11:40:38 +03:00
Eelco Dolstra
8b2f226a96 Fix Samba build 2015-06-11 01:22:37 +02:00
Eelco Dolstra
5d8fe045b6 Revert "Refactor mkFlag out of old packages"
This reverts commit 3117e0c897.

Conflicts:
	pkgs/development/libraries/wayland/default.nix
	pkgs/servers/samba/4.x.nix
2015-06-04 14:54:50 +02:00