195 Commits

Author SHA1 Message Date
Simon Tournier
2c3d1cdfcc
gnu: Rename 'samba/fixed' to 'samba/pinned'.
* gnu/packages/samba.scm: Rename variable 'samba/fixed' to 'samba/pinned' and
'samba/fixed-patched' to 'samba/fixed'.
* gnu/packages/gnome.scm (libsoup-minimal)[inputs]: Replace 'samba/fixed' with
'samba/pinned'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-05 06:56:43 +01:00
Timotej Lazar
1df9ec6feb
gnu: cifs-utils: Update to 7.0 [fixes CVE-2022-27239].
* gnu/packages/samba.scm (cifs-utils): Update to 7.0.
[arguments]: Use new style. Drop unneeded phase 'install-man-pages.
[inputs]: Drop labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:21 +01:00
Marius Bakke
fb5514d3db
gnu: samba/fixed: Replacement package has the same store name length.
This is a follow-up to c39db91e51e55e46f177378c7b5a797441dc7d1b.

* gnu/packages/samba.scm (samba/fixed-patched)[version]: Set to 4.15.A.
2022-12-31 21:13:37 +01:00
Liliana Marie Prikler
c39db91e51
gnu: samba/fixed: Update to 4.15.13.
* gnu/packages/samba.scm (samba/fixed-patched): New variable.
(samba/fixed): Add replacement for samba/fixed-patched.
2022-12-31 08:19:34 +01:00
Liliana Marie Prikler
502f981c13
gnu: samba: Update to 4.16.8.
* gnu/packages/samba.scm (samba): Update to 4.16.8.
2022-12-31 08:19:34 +01:00
Vagrant Cascadian
15ff5eebb6
gnu: Fix various lint issues in synopsis and descriptions.
* gnu/packages/android.scm (etc1tool)[synopsis]: Drop trailing period.
* gnu/packages/bioinformatics.scm (mudskipper)[synopsis]: Likewise.
* gnu/packages/crates-io.scm (rust-async-log-attributes-1)[synopsis]: Likewise.
  (rust-atomic-polyfill-1)[synopsis]: Likewise.
  (rust-modifier-0.1)[synopsis]: Likewise.
  (rust-openssl-macros-0.1)[synopsis]: Likewise.
  (rust-syn-mid-0.5)[synopsis]: Likewise.
  (rust-toml-edit-0.14)[synopsis]: Likewise.
  (rust-valuable-derive-0.1)[synopsis]: Likewise.
  (rust-inflections-1)[synopsis]: Likewise.
* gnu/packages/databases.scm (python-databases)[synopsis]: Likewise.
* gnu/packages/games.scm (liquidwar6)[synopsis]: Likewise.
* gnu/packages/golang.scm (go-golang.org-x-sync-errgroup)[synopsis]: Likewise.
* gnu/packages/guile-xyz.scm (guile-config)[synopsis]: Likewise.
* gnu/packages/haskell-web.scm (ghc-hxt-xpath)[synopsis]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-string-qq)[synopsis]: Likewise.
* gnu/packages/machine-learning.scm (python-lap)[synopsis]: Likewise.
  (python-pyro-api)[synopsis]: Likewise.
* gnu/packages/messaging.scm (python-librecaptcha)[synopsis]: Likewise.
* gnu/packages/python-check.scm (python-pytest-cram)[synopsis]: Likewise.
* gnu/packages/python-web.scm (python-jschema-to-python)[synopsis]: Likewise.
  (python-sarif-om)[synopsis]: Likewise.
  (python-socksio)[synopsis]: Likewise.
  (python-msrest)[synopsis]: Likewise.
* gnu/packages/tor.scm (torsocks)[synopsis]: Likewise.
* gnu/packages/cran.scm (r-rlist)[synopsis]: Remove leading article.
* gnu/packages/crates-io.scm (rust-clippy-lints-0.0.153)[synopsis]: Likewise.
  (rust-simplelog-0.11)[synopsis]: Likewise.
* gnu/packages/samba.scm (wsdd)[synopsis]: Likewise.
* gnu/packages/crates-io.scm (rust-spki-0.4)[synopsis]: Remove trailing
  whitespace.
* gnu/packages/golang.scm (go-github-com-mattn-go-zglob)[description]: Remove
  leading whitespace.
* gnu/packages/haskell-check.scm (ghc-crypto-cipher-tests)[description]:
  Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-ctype)[synopsis]: Remove trailing
  whitespace.
* gnu/packages/mpi.scm (openmpi-thread-multiple)[description]: Remove leading
  whitespace.
* gnu/packages/node-xyz.scm (node-string-decoder)[synopsis]: Remove trailing
  whitespace.
2022-10-31 18:13:48 -07:00
Vagrant Cascadian
a2e4e3489b
gnu: Various typo fixes.
* gnu/packages/emacs-xyz.scm (emacs-popup-kill-ring)[description]: Fix very
  sneaky "This packages" variant. Thanks to nckhexen!
* gnu/packages/bioinformatics.scm (r-icellnet)[description]: Fix use of
  "allows to".
* gnu/packages/check.scm (python-pytest-freezegun)[description]: Ditto.
* gnu/packages/linux.scm (tp-smapi-module)[description]: Ditto.
* gnu/packages/mail.scm (procmail): Ditto.
* gnu/packages/maths.scm (maxima): Ditto.
* gnu/packages/samba.scm (wsdd)[description]: Ditto.
* gnu/packages/ssh.scm (openssh): Ditto.
2022-10-24 17:35:19 -07:00
Maxim Cournoyer
16f535713e
Re-instate "gnu: samba: Fix corrupted man pages."
This reverts commit 968ec0a87, which was itself a revert of 62048ff9fc.
2022-09-27 15:45:29 -04:00
Maxim Cournoyer
2e5d79aca2
gnu: samba/fixed: Do not inherit native-inputs.
* gnu/packages/samba.scm (samba/fixed): Add a FIXME comment.
[native-inputs]: Copy the complete native inputs from samba, to protect against
unintended changes in the inherited package.
2022-09-27 15:45:21 -04:00
Maxim Cournoyer
968ec0a870
Revert "gnu: samba: Fix corrupted man pages."
This reverts commit 62048ff9fcfbe3fc790a7207fc5f6f3e0476a02a.  This caused a
half world rebuild (9K packages).
2022-09-27 15:38:10 -04:00
Maxim Cournoyer
62048ff9fc
gnu: samba: Fix corrupted man pages.
* gnu/packages/samba.scm (samba) [native-inputs]: Replace docbook-xsl with
docbook-xsl-next.
2022-09-27 14:09:50 -04:00
Lars-Dominik Braun
dc7191302e
Revert "gnu: samba: Add avahi to inputs."
This reverts commit 4cbc1622961f62f8fc3613de0c8f215e0cde6494.

samba/fixed inherits from samba, which causes ~9000 rebuilds.
2022-09-24 13:15:42 +02:00
Simon Streit
14359befa9
gnu: Add wsdd.
* gnu/packages/samba.scm (wsdd): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00
Simon Streit
4cbc162296
gnu: samba: Add avahi to inputs.
* gnu/packages/samba.scm (samba) <inputs>: Add avahi.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:38:57 +02:00
Maxime Devos
9f8f34a16a
gnu: samba: Update to 4.16.4.
As a reproducibility check, you can check the hash:

$ guix hash -r $(./pre-inst-env guix build samba --no-grafts --system=x86_64-linux)
1mg3nh705pbiz3ihq8jzkmjb15m6y8zjnzyr4hxmbciv7frgykk0

I've checked that it's correctly signed, and I've tried to verify that the PGP
key is correct -- searching for 'Samba Distribution Verification Key', the
websites of the first search results have the same key:

* https://www.linuxcompatible.org/story/samba-4150rc5-released/
* https://wiki.samba.org/index.php/Samba_4.12_Features_added/changed
* https://www.mail-archive.com/samba-announce@lists.samba.org/msg00562.html
* https://wiki.linuxfromscratch.org/blfs/ticket/14748

https://groups.google.com/g/linux.samba/c/k3xaN0TIcQU has a different key,
but as mentioned on the previous locations, the key has changed.

I have also checked the source code diff (using diffoscope) between the the
current version and the previous, nothing appears 'suspicious' (with the
caveat that it is written in C).

According to "guix refresh -l" there aren't too many dependents.  I'm
currently rebuilding them, no failures so far except for lxde, but it already
failed to build before this patch.

* gnu/packages/samba.scm (samba): Update to 4.16.4. To help future updaters,
add the current PGP fingerprint in a comment.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-27 23:48:56 +02:00
Marius Bakke
b160795a0b
gnu: samba: Update to 4.16.2.
* gnu/packages/samba.scm (samba): Update to 4.16.2.
2022-07-13 23:25:12 +02:00
Guillaume Le Vaillant
f65ac6556d
gnu: Use license: prefix in (gnu packages samba).
* gnu/packages/samba.scm: Import (guix licenses) with the "license:" prefix to
  solve the conflict between the 'openssl' variables from (guix licenses) and
  from (gnu packages tls). Adjust all license fields.
  (ppp)[inputs]: Simplify list of inputs.
2022-06-25 18:20:28 +02:00
Guillaume Le Vaillant
2383144417
gnu: ppp: Update source url.
* gnu/packages/samba.scm (ppp)[source]: Use new url.
2022-06-25 18:12:31 +02:00
Jean-Pierre De Jesus DIAZ
aae46e30d9
gnu: ppp: Fix cross-compilation.
* gnu/packages/samba.scm (ppp)[arguments]: Use G-Expressions. Remove
unused substitution. Fix OpenSSL and libpcap include paths.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-25 17:55:49 +02:00
Marius Bakke
03b8798df1
gnu: samba: Update to 4.15.5 [security fixes].
This fixes CVE-2021-44141, CVE-2021-44142, and CVE-2022-0336.

* gnu/packages/samba.scm (samba): Update to 4.15.5.
2022-02-07 23:47:23 +01:00
Maxim Cournoyer
a02c1ce716
gnu: samba: Update to 4.15.3.
* gnu/packages/samba.scm (samba): Update to 4.15.3.
[source]: Delete snippet; pyiso8601 is no longer bundled.
[arguments]: Adjust make-flags and arguments to use G-Exp.
[phases]{configure}: Add the '--with-system-mitkrb5', '--with-system-mitkdc'
and '--with-experimental-mit-ad-dc' configure flags.
[inputs]: Replace heimdal with mit-krb5.
[native-inputs]: Use new style.
{python-cryptography, python-dnspython, python-markdown}
{python-pyasn1}: New inputs.
(samba/fixed): Update to 4.15.3 and hide package.
2022-01-10 11:51:30 -05:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Ludovic Courtès
e77df67cc2
gnu: libsoup: Depend on a fixed version of Samba.
This avoids big rebuilds when Samba is upgraded.

* gnu/packages/samba.scm (samba/fixed): New variable.
* gnu/packages/gnome.scm (libsoup-minimal)[inputs]: Use it instead of
SAMBA.
2021-11-17 23:57:49 +01:00
Efraim Flashner
42eb5b67e3
gnu: samba: Update to 4.13.14.
* gnu/packages/samba.scm (samba): Update to 4.13.14.
2021-11-10 00:09:40 +02:00
Tobias Geerinckx-Rice
34d76cbc1d
gnu: ldb: Update to 2.4.1.
* gnu/packages/samba.scm (ldb): Update to 2.4.1.
[source]: Don't explicitly return #t from snippet.
2021-11-03 03:10:52 +01:00
Tobias Geerinckx-Rice
22fee8a020
gnu: cifs-utils: Use @acronym{} in description.
* gnu/packages/samba.scm (cifs-utils)[description]: Substitute Texinfo
@acronym{} for @dfn{}.
2021-10-04 13:31:36 +02:00
Tobias Geerinckx-Rice
15e5d22fcb
gnu: cifs-utils: Fix support for dropping capabilities.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Add a new
'trigger-bootstrap phase.
2021-10-04 13:31:36 +02:00
Tobias Geerinckx-Rice
ac22683d64
gnu: cifs-utils: Update to 6.14.
* gnu/packages/samba.scm (cifs-utils): Update to 6.14.
2021-10-04 13:31:35 +02:00
Tobias Geerinckx-Rice
0448bff770
gnu: cifs-utils: Build & install man pages.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Add "--enable-man"
to #:configure-flags.  Remove useless 'create-man8dir phase.  Add a new
'install-man-pages phase to do just that.
[native-inputs]: Add python-docutils.
2021-10-04 13:31:35 +02:00
Efraim Flashner
a4c456c80c
gnu: ldb: Update to 2.4.0.
* gnu/packages/samba.scm (ldb): Update to 2.4.0.
2021-08-04 16:34:32 +03:00
Efraim Flashner
a34f36b06c
gnu: talloc: Update to 2.3.3.
* gnu/packages/samba.scm (talloc): Update to 2.3.3.
2021-08-04 16:34:32 +03:00
Efraim Flashner
f71b381d1f
gnu: samba: Update to 4.13.10.
* gnu/packages/samba.scm (samba): Update to 4.13.10.
[source]: Remove patch.
* gnu/packages/patches/samba-fix-fcntl-hint-detection.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-08-04 16:34:32 +03:00
Efraim Flashner
7aad3dea66
gnu: tevent: Update to 0.11.0.
* gnu/packages/samba.scm (tevent): Update to 0.11.0.
[native-inputs]: Add cmocka.
2021-08-04 16:34:32 +03:00
Tobias Geerinckx-Rice
0379b6e806
gnu: cifs-utils: Update to 6.13.
* gnu/packages/samba.scm (cifs-utils): Update to 6.13.
2021-04-18 20:26:59 +02:00
Tobias Geerinckx-Rice
ade77dd0d3
gnu: Fix input typoes.
* gnu/packages/crates-io.scm (rust-nettle-sys-2)[inputs]: Move ‘,’ to
its operand.
* gnu/packages/docbook.scm (docbook-dsssl)[native-inputs]: Likewise.
(docbook-dsssl-doc)[native-inputs]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-helm-slack)[propagated-inputs]:
Likewise.
* gnu/packages/kde-multimedia.scm (audiocd-kio)[inputs]: Likewise.
* gnu/packages/kde-pim.scm (akonadi-mime, kalarmcal, kcalendarsupport)
(keventviews, kmailtransport, kpimtextedit)[inputs]: Likewise.
* gnu/packages/mpd.scm (cantata)[inputs]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835): Likewise.
* gnu/packages/samba.scm (samba)[native-inputs]: Likewise.
* gnu/packages/xdisorg.scm (dex)[inputs]: Likewise.
2021-03-06 16:44:09 +01:00
Tobias Geerinckx-Rice
a3600f8d8b
gnu: samba: Update to 4.13.4.
* gnu/packages/samba.scm (samba): Update to 4.13.4.
2021-02-07 23:27:18 +01:00
Tobias Geerinckx-Rice
23c2f0affe
gnu: talloc: Update to 2.3.2.
* gnu/packages/samba.scm (talloc): Update to 2.3.2.
2021-02-07 23:27:17 +01:00
Vincent Legoll
bd46b80aa1
gnu: ppp: Update to 2.4.9.
* gnu/packages/samba.scm (ppp): Update to 2.4.9.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-11 11:48:50 +02:00
Tobias Geerinckx-Rice
43cb64d09b
gnu: cifs-utils: Update to 6.12.
* gnu/packages/samba.scm (cifs-utils): Update to 6.12.
[arguments]: Remove obsolete 'bootstrap phase replacement.
2021-01-02 18:54:26 +01:00
Tobias Geerinckx-Rice
0ca4778dc2
gnu: samba: Update to 4.13.3.
* gnu/packages/samba.scm (samba): Update to 4.13.3.
2020-12-22 13:09:29 +01:00
Tobias Geerinckx-Rice
ac37c10de7
gnu: samba: Update to 4.13.2.
* gnu/packages/samba.scm (samba): Update to 4.13.2.
2020-11-07 13:40:45 +01:00
Maxim Cournoyer
25e811583f
gnu: samba: Prepare for tests.
* gnu/packages/samba.scm (samba)[arguments]: Update comment regarding the test
suite failure.
[make-flags]: Run the test suite with the '--quick' option, as it is very slow otherwise.
[phases]{configure}: Add the '--enable-selftest' argument.
[inputs]: Add libtirpc.
2020-11-03 00:11:06 -05:00
Maxim Cournoyer
3185c29ac1
gnu: samba: Unbundle cmocka, heimdal; add gamin.
* gnu/packages/samba.scm (samba)[snippet]: Update comment.
[phases]{configure}: Remove '--bundled-libraries=com_err' argument.
[inputs]: Add cmocka, heimdal, gamin.  Remove TODO comment.
2020-11-03 00:11:06 -05:00
Maxim Cournoyer
db29ee0b1b
gnu: samba: Set localstatedir to /var.
It previously defaulted to a $PREFIX/var, where $PREFIX was the root of the
installation directory (under /gnu/store) of Samba.

* gnu/packages/samba.scm (samba)[phases]{configure}: Add --localstatedir=/var
option.
{disable-etc-samba-directory-creation}: Rename to
disable-etc,var-samba-directories-setup and prevent creating directories under
both sysconfdir and localstatedir.
2020-11-03 00:11:06 -05:00
Maxim Cournoyer
0c96afe9b5
gnu: samba: Update to 4.13.1.
* gnu/packages/samba.scm (samba): Update to 4.13.1.
[native-inputs]: Add libxml2.
[phases]{locate-docbook-stylesheets}: Rename to...
{setup-docbook-stylesheets}: ...this.  Setup offline Samba DTD catalog, and
have it used along any pre-existing XML_CATALOG_FILES environment variable in
the build script.
2020-11-03 00:11:05 -05:00
Pierre Langlois
d3456739c5
gnu: samba: Fix fcntl hint detection in configure script.
The configure script generates a C program to detect support for
lifetime hints on files.  But this program could crash, potentially
leaving a stale unreadable file behind which could cause the
patch-generated-file-shebang phase to fail.

Reported upstream <https://bugzilla.samba.org/show_bug.cgi?id=14503>.

* gnu/packages/patches/patches/samba-fix-fcntl-hint-detection.patch: New
file.
* gnu/packages/samba.scm (samba)[origin]: Add patch.
* gnu/local.mk (dist_patch_DATA): Register patch.
2020-09-22 19:52:07 +01:00
Pierre Langlois
a2b25890ee
gnu: samba: Update to 4.12.7 [security fixes].
Fixes CVE-2020-1472 with 4.12.7.
Fixes CVE-2020-10730, CVE-2020-10745, CVE-2020-10760 and CVE-2020-14303
with 4.12.4.

* gnu/packages/samba.org (samba): Update to 4.12.7.
2020-09-21 20:45:44 +01:00
Tobias Geerinckx-Rice
b1e5eb31cd
gnu: cifs-utils: Update to 6.11 [fixes CVE-2020-14342].
* gnu/packages/samba.scm (cifs-utils): Update to 6.11.
2020-09-04 20:56:07 +02:00
Tobias Geerinckx-Rice
ae05ac8fd2
gnu: iniparser: Edit synopsis & description.
* gnu/packages/samba.scm (iniparser)[synopsis, description]: Flesh out.
2020-06-02 20:50:18 +02:00
Tobias Geerinckx-Rice
ebde5cfdf2
gnu: iniparser: Fix cross-compilation.
* gnu/packages/samba.scm (iniparser)[arguments]: Use CC-FOR-TARGET.
2020-06-02 20:50:18 +02:00