unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26312: [PATCH] gnu: Add cifs-utils.
@ 2017-03-30 15:48 Thomas Danckaert
  2017-03-30 20:19 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Danckaert @ 2017-03-30 15:48 UTC (permalink / raw)
  To: 26312

[-- Attachment #1: 0001-gnu-Add-cifs-utils.patch --]
[-- Type: Text/X-Patch, Size: 2775 bytes --]

From 5eea8296e5d53d179bef13f6b7e47c0258a6e33a Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post@thomasdanckaert.be>
Date: Thu, 30 Mar 2017 17:47:00 +0200
Subject: [PATCH] gnu: Add cifs-utils.

* gnu/packages/samba.scm (cifs-utils): New variable.
---
 gnu/packages/samba.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 3b2a6868d..379e1306d 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -26,6 +26,8 @@
   #:use-module (guix licenses)
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages tls)
@@ -33,10 +35,53 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages openldap)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages kerberos)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python))
 
+(define-public cifs-utils
+  (package
+    (name "cifs-utils")
+    (version "6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.samba.org/pub/linux-cifs/"
+                           name "/" name "-" version ".tar.bz2"))
+       (sha256 (base32
+                "1ayghnkryy1n1zm5dyvyyr7n3807nsm6glfcbbki5c2a8w91dwmj"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("keytuils" ,keyutils)
+       ("linux-pam" ,linux-pam)
+       ("libcap-ng" ,libcap-ng)
+       ("mit-krb5" ,mit-krb5)
+       ("samba" ,samba)
+       ("talloc" ,talloc)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'autoreconf
+           (lambda _ ; install.sh is missing from release tarball
+             (zero? (system* "autoreconf" "-i"))))
+         (add-before 'configure 'set-root-sbin
+           (lambda _ ; Don't try to install in "/sbin"
+             (setenv "ROOTSBINDIR"
+                     (string-append (assoc-ref %outputs "out") "/sbin"))
+             #t)))))
+    (synopsis "User-space utilities for CIFS (Samba) mounts")
+    (description "@code{cifs-utils} is a set of user-space tools used
+by the in-kernel CIFS filesystem.")
+    (home-page "https://wiki.samba.org/index.php/LinuxCIFS_utils")
+    ;; cifs-utils is licensed as GPL3 or later, but 3 files contain LGPL code.
+    (license
+     (list gpl3+ lgpl2.1+ lgpl3+))))
+
 (define-public iniparser
   (package
     (name "iniparser")
-- 
2.11.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-04-03 20:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-30 15:48 bug#26312: [PATCH] gnu: Add cifs-utils Thomas Danckaert
2017-03-30 20:19 ` Tobias Geerinckx-Rice
2017-04-01  6:47   ` Thomas Danckaert
2017-04-01 17:18     ` Marius Bakke
2017-04-02 10:52       ` Thomas Danckaert
2017-04-02 11:35         ` Marius Bakke
2017-04-02 16:14           ` Thomas Danckaert
2017-04-03 20:02           ` Thomas Danckaert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).