diff mbox

gnu: Add libnfsidmap

Message ID 1472363051-23664-1-git-send-email-john@darrington.wattle.id.au
State New
Headers show

Commit Message

John Darrington Aug. 28, 2016, 5:44 a.m. UTC
* gnu/packages/linux.scm (libnfsidmap): New variable.
---
 gnu/packages/linux.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Ludovic Courtès Aug. 29, 2016, 4:27 p.m. UTC | #1
Hi John!

John Darrington <john@darrington.wattle.id.au> skribis:

> * gnu/packages/linux.scm (libnfsidmap): New variable.

[...]

> +    (synopsis
> +     "A library for mapping between names and ids; Mainly intended for NFSv4")

Rather something like “NFSv4 support library for name/ID mapping”?

> +    (description "Libnfsidmap is a library holding mulitiple methods of
> +mapping names to ids and visa versa, mainly for NFSv4.  It provides an
> +extensible array of mapping functions, currently consisting of two choices;

Should be colon instead of semicolon.

> +the default nsswitch and the experimental umich_ldap.")
               ^                             ^
Probably @code here.

> +    (license (license:non-copyleft "file://COPYING"
> +                                   "See COPYING in the distribution."))))

OK with these changes, thank you!

Ludo’.
diff mbox

Patch

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1fd792d..1173550 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -14,6 +14,7 @@ 
 ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 David Craven <david@craven.ch>
+;;; Copyright © 2016 John Darrington <jmd@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -196,6 +197,30 @@ 
 `insmod', `lsmod', and more.")
     (license license:gpl2+)))
 
+(define-public libnfsidmap
+  (package
+    (name "libnfsidmap")
+    (version "0.25")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append
+                   "http://www.citi.umich.edu/projects/nfsv4/linux/"
+                   name "/" name "-" version ".tar.gz"))
+             (sha256
+              (base32
+               "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5"))))
+    (build-system gnu-build-system)
+    (home-page
+     "http://www.citi.umich.edu/projects/nfsv4/crossrealm/libnfsidmap_config.html")
+    (synopsis
+     "A library for mapping between names and ids; Mainly intended for NFSv4")
+    (description "Libnfsidmap is a library holding mulitiple methods of
+mapping names to ids and visa versa, mainly for NFSv4.  It provides an
+extensible array of mapping functions, currently consisting of two choices;
+the default nsswitch and the experimental umich_ldap.")
+    (license (license:non-copyleft "file://COPYING"
+                                   "See COPYING in the distribution."))))
+
 (define %boot-logo-patch
   ;; Linux-Libre boot logo featuring Freedo and a gnu.
   (origin