From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wD96K1kzCF+nEQAA0tVLHw (envelope-from ) for ; Fri, 10 Jul 2020 09:22:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MMcsJ1kzCF9JKAAAbx9fmQ (envelope-from ) for ; Fri, 10 Jul 2020 09:22:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E4EE59404CB for ; Fri, 10 Jul 2020 09:22:32 +0000 (UTC) Received: from localhost ([::1]:56300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtpEk-0002sl-SM for larch@yhetil.org; Fri, 10 Jul 2020 05:22:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtpEI-0002Hv-Gq for guix-patches@gnu.org; Fri, 10 Jul 2020 05:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtpEI-0003fS-8O for guix-patches@gnu.org; Fri, 10 Jul 2020 05:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtpEI-0003Ns-4u for guix-patches@gnu.org; Fri, 10 Jul 2020 05:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42306] [PATCH] gnu: Add nfs4-acl-tools Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jul 2020 09:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42306@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159437288212959 (code B ref -1); Fri, 10 Jul 2020 09:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2020 09:21:22 +0000 Received: from localhost ([127.0.0.1]:42310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtpDY-0003Mo-9R for submit@debbugs.gnu.org; Fri, 10 Jul 2020 05:21:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:39902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtpDT-0003Me-M5 for submit@debbugs.gnu.org; Fri, 10 Jul 2020 05:21:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtpDT-0001GJ-9W for guix-patches@gnu.org; Fri, 10 Jul 2020 05:21:11 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:38630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtpDO-0003c5-BH for guix-patches@gnu.org; Fri, 10 Jul 2020 05:21:11 -0400 Received: by mail-wr1-x444.google.com with SMTP id z13so5186635wrw.5 for ; Fri, 10 Jul 2020 02:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=oXYEHpbZJk93ZfTlXJLL8KZ/4ot4MbKgbAnFeTv0Xv4=; b=UuoNUUBRr2B8M1Wq7qcEmTW4tqfoI57G21IFb/qZljKoarWRxsUToV1FTcq5NjQx/R w/XGTBa98OkHqoulI/z1dJtzh+JzKEvyZeoYwFG2fZGEidtKYphrB2BipOLsnVX77RLF pIPiY2yko3JU0gsCTjAYKzF/5ctETP/PkqRXp77FMIfBdSkFjfRA6LDvkrGvB6zFC0aK hKBm/NZjrv0GfKbOzBv605iENVwJz1bLn0/VK2CQf8WYNu4TlwDfeWTHyvW1Ut8tN2qh 1PQxW0Zy2CCSQj8ciL6rr9yXzuhLJqcyf4+Oeg9QM58eMnSmyl49eURkFdx06LKCMPAM G01w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=oXYEHpbZJk93ZfTlXJLL8KZ/4ot4MbKgbAnFeTv0Xv4=; b=eY1/IGOg8/9uxvMuHKb/l7AuH8VyjObDpfgfRpb9B+j0i/dYHKt2zSacK4zkr6oew9 1BPGu1cJz2rZ3ZntC3kqohbYoiAKLTdNywMTz0DYLdz5SQ30Y9xemaiQLdO2zs2K0J2l oMsnCUJ3O2fjqOMl9TDsB2sQ2uFgEOpH2ocCA9zUWXPfiIXbo5lCQRkN8iS52BVTDLWg Sbgf4Bb/cg6W41jBP3w0yinL7+h/mieRjCGew9L7JaNGJ82ax48CfTYpdUZ14R6txwVP 7Alt3BgiKqwFvFuBcWJ5iuT3kMDVicP2STPbgWgx+mDD0q3aERimYgzMGaRf1qwUHKr1 uimQ== X-Gm-Message-State: AOAM531A8WjaWR3BiHRDyKx6VJAmPC8EjU5EId/IILW5VZItPOuidMWW ijdxVqYo9oRv9mb4vqtjX/i6EcGjM+WN0ACRqRk5t+Z8eswXAYQ9hS5EfOJ3XuZ1AO6bcDAspvP AOS4WW0y0FkjVKphVfSIwy5K10tE6nHO1uB9P5R0F709iYyz6XvW4BpFSn7cNncdO6w2QPFz4O2 Jworo9t3M= X-Google-Smtp-Source: ABdhPJyhOVOutvcOuv6bh42pVfwwvv593Z/Ohr4J39jyZM3+6DBLhTLkPttxPhgtUE+YXX+hs6QPNQ== X-Received: by 2002:a5d:6683:: with SMTP id l3mr20769500wru.288.1594372863474; Fri, 10 Jul 2020 02:21:03 -0700 (PDT) Received: from localhost (dynamic-2a01-0c22-d433-5200-a10e-bf30-6de0-1304.c22.pool.telefonica.de. [2a01:c22:d433:5200:a10e:bf30:6de0:1304]) by smtp.gmail.com with ESMTPSA id 1sm8236290wmf.0.2020.07.10.02.21.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 02:21:02 -0700 (PDT) Date: Fri, 10 Jul 2020 11:21:01 +0200 From: Lars-Dominik Braun Message-ID: <20200710092101.GA22947@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: none client-ip=2a00:1450:4864:20::444; envelope-from=ldb@leibniz-psychology.org; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=UuoNUUBR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: sUSHn+qJN8EL --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * gnu/packages/acl.scm (nfs4-acl-tools): New variable. * gnu/packages/patches/nfs4-acl-tools-0.3.7-fixpaths.patch: New file. * gnu/local.mk: Add it. --- gnu/local.mk | 1 + gnu/packages/acl.scm | 45 ++++++++++++ .../nfs4-acl-tools-0.3.7-fixpaths.patch | 73 +++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 gnu/packages/patches/nfs4-acl-tools-0.3.7-fixpaths.patch diff --git a/gnu/local.mk b/gnu/local.mk index 5c3b391960..1acb5c1f94 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1315,6 +1315,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/netsurf-system-utf8proc.patch \ %D%/packages/patches/netsurf-y2038-tests.patch \ %D%/packages/patches/netsurf-longer-test-timeout.patch \ + %D%/packages/patches/nfs4-acl-tools-0.3.7-fixpaths.patch \ %D%/packages/patches/ngircd-handle-zombies.patch \ %D%/packages/patches/network-manager-plugin-path.patch \ %D%/packages/patches/nsis-env-passthru.patch \ diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm index bcab125164..c9ea335615 100644 --- a/gnu/packages/acl.scm +++ b/gnu/packages/acl.scm @@ -5,6 +5,7 @@ ;;; Copyright =A9 2017 Efraim Flashner ;;; Copyright =A9 2018 Ricardo Wurmus ;;; Copyright =A9 2019 Marius Bakke +;;; Copyright =A9 2020 Lars-Dominik Braun ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,11 +25,14 @@ (define-module (gnu packages acl) #:use-module (guix licenses) #:use-module (gnu packages attr) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages gettext) #:use-module (gnu packages perl) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (gnu packages) #:use-module (guix build-system gnu)) =20 @@ -89,3 +93,44 @@ (description "Library and tools for manipulating access control lists.") (license (list gpl2+ lgpl2.1+)))) + +(define-public nfs4-acl-tools + (package + (name "nfs4-acl-tools") + (version "0.3.7") + (source (origin + (method git-fetch) + ;; tarballs are available here: + ;; http://linux-nfs.org/~bfields/nfs4-acl-tools/ + (uri (git-reference + (url "git://git.linux-nfs.org/projects/bfields/nfs4-ac= l-tools.git") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lq9xdaskxysggs918vs8x42xvmg9nj7lla21ni2scw5ljld3h1i")) + (patches (search-patches "nfs4-acl-tools-0.3.7-fixpaths.patc= h")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-bin-sh + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (substitute* "include/buildmacros" + (("/bin/sh") (string-append (assoc-ref inputs "bash-minimal= ") "/bin/sh"))) + #t))))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("bash-minimal" ,bash-minimal) + ("libtool" ,libtool))) + (inputs + `(("attr" ,attr))) + (home-page "http://linux-nfs.org/wiki/index.php/Main_Page") + (synopsis "This package contains commandline ACL utilities for the Lin= ux +NFSv4 client") + (description "Provides the commandline utilities nfs4_setfacl and +nfs4_getfacl, which are similar to their POSIX equivalents.") + (license bsd-3))) + diff --git a/gnu/packages/patches/nfs4-acl-tools-0.3.7-fixpaths.patch b/gnu= /packages/patches/nfs4-acl-tools-0.3.7-fixpaths.patch new file mode 100644 index 0000000000..23cb586766 --- /dev/null +++ b/gnu/packages/patches/nfs4-acl-tools-0.3.7-fixpaths.patch @@ -0,0 +1,73 @@ +Remove fixed search paths from autotools. + +--- a/m4/package_utilies.m4 1970-01-01 01:00:01.000000000 +0100 ++++ b/m4/package_utilies.m4 2020-07-07 12:41:48.871661042 +0200 +@@ -23,32 +23,32 @@ + AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler]) +=20 + if test -z "$MAKE"; then +- AC_PATH_PROG(MAKE, gmake,, /usr/bin:/usr/freeware/bin) ++ AC_PATH_PROG(MAKE, gmake) + fi + if test -z "$MAKE"; then +- AC_PATH_PROG(MAKE, make,, /usr/bin) ++ AC_PATH_PROG(MAKE, make) + fi + make=3D$MAKE + AC_SUBST(make) + AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make]) +=20 + if test -z "$LIBTOOL"; then +- AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin) ++ AC_PATH_PROG(LIBTOOL, glibtool) + fi + if test -z "$LIBTOOL"; then +- AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bi= n) ++ AC_PATH_PROG(LIBTOOL, libtool) + fi + libtool=3D$LIBTOOL + AC_SUBST(libtool) + AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool]) +=20 + if test -z "$TAR"; then +- AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/us= r/bin) ++ AC_PATH_PROG(TAR, tar) + fi + tar=3D$TAR + AC_SUBST(tar) + if test -z "$ZIP"; then +- AC_PATH_PROG(ZIP, gzip,, /bin:/usr/local/bin:/usr/freeware/bin) ++ AC_PATH_PROG(ZIP, gzip) + fi +=20 + zip=3D$ZIP +@@ -61,25 +61,25 @@ + AC_SUBST(makedepend) +=20 + if test -z "$AWK"; then +- AC_PATH_PROG(AWK, awk,, /bin:/usr/bin) ++ AC_PATH_PROG(AWK, awk) + fi + awk=3D$AWK + AC_SUBST(awk) +=20 + if test -z "$SED"; then +- AC_PATH_PROG(SED, sed,, /bin:/usr/bin) ++ AC_PATH_PROG(SED, sed) + fi + sed=3D$SED + AC_SUBST(sed) +=20 + if test -z "$ECHO"; then +- AC_PATH_PROG(ECHO, echo,, /bin:/usr/bin) ++ AC_PATH_PROG(ECHO, echo) + fi + echo=3D$ECHO + AC_SUBST(echo) +=20 + if test -z "$SORT"; then +- AC_PATH_PROG(SORT, sort,, /bin:/usr/bin) ++ AC_PATH_PROG(SORT, sort) + fi + sort=3D$SORT + AC_SUBST(sort) --=20 2.20.1 --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl8IMvoACgkQQhN3ARo3 hEYN/Av+PopZHUdtHs9vAgbUpsUaokmZ+qd44kjS1jXGF9zUr6RzmBMXzN+qzFYY Kxf2PP0+evXznV/RuGCTSI7LdYoXYexoZMZcrqlVoPCkfNb8pk3Xx+hRpN33VpLy /OoaqPALDDaP7paijJfsQGhqN2F9TM3KJzOWdFl0XNOwNnMJj9PFpuZsRcOhvAQy vHhmePivW1XLXgZ8QeujfrX+X/b0teZM2aVcyI6vtcBe2FldkcHn5Vba/vsnDYws 3bU4B2ch/6DorDHkWL14M4iYo0bnHJ3D9LEYqPzZco37dKxUSJ/9SgJaM5WnYSwD x1bLwjWkYqIWnenp/8JzD27DAzXRVlCruL5zC1BPNw5XCdhVaDs7GKCS7USkfeGH 7HClfEpdsXC0GaHHj3Lt0xSWFx26LQy/hnhbt5IXq5lUni7rqBvJZNA1WkegtTHS y758BThk9O9Mop2q/fUfoX/BZxfvqeHzB82Di4SPazNUsT+uF7QW4u+o3Xz2PjCQ bqMr3U6D =q4xV -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--