[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/295: gnu: Add autofs.
From: |
guix-commits |
Subject: |
26/295: gnu: Add autofs. |
Date: |
Mon, 27 Jul 2020 06:25:08 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 5c10200b5499826a2e430a46fdb664d269857278
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jun 6 05:10:23 2020 +0200
gnu: Add autofs.
* gnu/packages/file-systems.scm (autofs): New public variable.
Co-authored-by: Oleg Pykhalov <go.wigust@gmail.com>
---
gnu/packages/file-systems.scm | 76 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index dd72152..eee218d 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -41,27 +41,103 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
+ #:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages documentation)
#:use-module (gnu packages docbook)
#:use-module (gnu packages flex)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages kerberos)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
#:use-module (gnu packages nfs)
#:use-module (gnu packages onc-rpc)
+ #:use-module (gnu packages openldap)
#:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages rsync)
+ #:use-module (gnu packages sssd)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages xml))
+(define-public autofs
+ (package
+ (name "autofs")
+ (version "5.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kernel.org/linux/daemons/autofs/"
+ "v" (version-major version) "/"
+ "autofs-" version ".tar.xz"))
+ (sha256
+ (base32 "1vya21mb4izj3khcr3flibv7xc15vvx2v0rjfk5yd31qnzcy7pnx"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--enable-ignore-busy" ; during shutdown
+ "--enable-sloppy-mount" ; support mount(8) -s
+ "--with-libtirpc"
+ (string-append "--with-openldap="
+ (assoc-ref %build-inputs "openldap"))
+ (string-append "--with-sasl="
+ (assoc-ref %build-inputs "cyrus-sasl"))
+ "HAVE_SSS_AUTOFS=1" ; required to make sssldir click
+ (string-append "sssldir="
+ (assoc-ref %build-inputs "sssd")
+ "/lib/sssd/modules"))
+ #:tests? #f ; no test suite
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'fix-hard-coded-search-path
+ (lambda _
+ (substitute* "configure"
+ (("^searchpath=\".*\"")
+ "searchpath=\"$PATH\""))
+ #t))
+ (add-before 'install 'omit-obsolete-lookup_nis.so-link
+ ;; Building lookup_yp.so depends on $(YPCLNT) but this doesn't,
+ ;; leading to a make error. Since it's broken, comment it out.
+ (lambda _
+ (substitute* "modules/Makefile"
+ (("ln -fs lookup_yp.so" match)
+ (string-append "# " match)))
+ #t)))))
+ (native-inputs
+ `(("bison" ,bison)
+ ("flex" ,flex)
+ ("pkg-config" ,pkg-config)
+ ("rpcsvc-proto" ,rpcsvc-proto)))
+ (inputs
+ `(("cyrus-sasl" ,cyrus-sasl)
+ ("e2fsprogs" ,e2fsprogs) ; for e[234]fsck
+ ("libtirpc" ,libtirpc)
+ ("libxml2" ,libxml2) ; needed for LDAP, SASL
+ ("mit-krb5" ,mit-krb5) ; needed for LDAP, SASL
+ ("nfs-utils" ,nfs-utils) ; for mount.nfs
+ ("openldap" ,openldap)
+ ("openssl" ,openssl) ; needed for SASL
+ ("sssd" ,sssd)
+ ("util-linux" ,util-linux))) ; for mount, umount
+ ;; XXX A directory index is the closest thing this has to a home page.
+ (home-page "https://www.kernel.org/pub/linux/daemons/autofs/")
+ (synopsis "Kernel-based automounter for Linux")
+ (description
+ "Autofs is a kernel-based automounter for use with the Linux autofs4
+module. It automatically mounts selected file systems when they are used and
+unmounts them after a set period of inactivity. This provides
+centrally-managed, consistent file names for users and applications, even in a
+large and/or frequently changing (network) environment.")
+ ;; fedfs/ is GPL-2-only but not built.
+ (license (list license:bsd-3 ; modules/cyrus-sasl.c
+ license:gpl2+)))) ; the rest
+
(define-public fsarchiver
(package
(name "fsarchiver")
- 07/295: gnu: opusfile: Do not build static libraries., (continued)
- 07/295: gnu: opusfile: Do not build static libraries., guix-commits, 2020/07/27
- 09/295: gnu: spdlog: Update to 1.6.1., guix-commits, 2020/07/27
- 02/295: hurd-boot: Mount /proc, add /etc/mtab., guix-commits, 2020/07/27
- 04/295: gnu: slynk: Update to 20200626., guix-commits, 2020/07/27
- 05/295: gnu: Add dhewm3., guix-commits, 2020/07/27
- 06/295: gnu: opusfile: Update to 0.12., guix-commits, 2020/07/27
- 20/295: gnu: libcyaml: Remove unused input., guix-commits, 2020/07/27
- 11/295: gnu: libconfuse: Do not build static libraries., guix-commits, 2020/07/27
- 18/295: gnu: libzip: Update to 1.7.1., guix-commits, 2020/07/27
- 10/295: gnu: libconfuse: Update to 3.3., guix-commits, 2020/07/27
- 26/295: gnu: Add autofs.,
guix-commits <=
- 34/295: gnu: dropbear: Update to 2020.80 [fix for CVE-2018-20685]., guix-commits, 2020/07/27
- 24/295: gnu: python-setproctitle: Fix build., guix-commits, 2020/07/27
- 08/295: gnu: feh: Update to 3.4.1., guix-commits, 2020/07/27
- 16/295: gnu: exempi: Update to 2.5.2., guix-commits, 2020/07/27
- 30/295: daemon: Recognize SHA3 and BLAKE2s., guix-commits, 2020/07/27
- 27/295: bash completion: Complete 'guix environment' properly., guix-commits, 2020/07/27
- 35/295: gnu: r-dexseq: Update to 1.34.1., guix-commits, 2020/07/27
- 40/295: gnu: r-ggpubr: Update to 0.4.0., guix-commits, 2020/07/27
- 36/295: gnu: r-biocviews: Update to 1.56.1., guix-commits, 2020/07/27
- 38/295: gnu: r-jsonlite: Update to 1.7.0., guix-commits, 2020/07/27