From ef84dc8df6879ea5f92203629dc96780a9cffd8d Mon Sep 17 00:00:00 2001 From: Giuseppe Fierro Date: Mon, 17 Sep 2018 16:55:49 +0200 Subject: [PATCH] New package: nfs4-acl-tools-0.3.5 closes #2848 --- srcpkgs/nfs4-acl-tools/patches/Makefile.patch | 20 ++++++++++++++++ srcpkgs/nfs4-acl-tools/template | 24 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 srcpkgs/nfs4-acl-tools/patches/Makefile.patch create mode 100644 srcpkgs/nfs4-acl-tools/template diff --git a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch b/srcpkgs/nfs4-acl-tools/patches/Makefile.patch new file mode 100644 index 0000000000..8c8571c3b4 --- /dev/null +++ b/srcpkgs/nfs4-acl-tools/patches/Makefile.patch @@ -0,0 +1,20 @@ +--- Makefile 2018-08-21 18:07:51.000000000 +0200 ++++ Makefile.new 2018-10-02 11:16:49.335221638 +0200 +@@ -61,16 +61,7 @@ + + $(CONFIGURE): aclocal.m4 + autoconf +- ./configure \ +- --prefix=/ \ +- --exec-prefix=/ \ +- --sbindir=/bin \ +- --bindir=/usr/bin \ +- --libdir=/lib \ +- --libexecdir=/usr/lib \ +- --includedir=/usr/include \ +- --mandir=/usr/share/man \ +- --datadir=/usr/share \ ++ ./configure @configure_args@ \ + $$LOCAL_CONFIGURE_OPTIONS + touch .census + diff --git a/srcpkgs/nfs4-acl-tools/template b/srcpkgs/nfs4-acl-tools/template new file mode 100644 index 0000000000..56c11757d7 --- /dev/null +++ b/srcpkgs/nfs4-acl-tools/template @@ -0,0 +1,24 @@ +# Template file for 'nfs4-acl-tools' +pkgname=nfs4-acl-tools +version=0.3.5 +revision=1 +build_style=gnu-configure +configure_args="ac_cv_path_LIBTOOL='/usr/bin/libtool --tag=CC' + ac_cv_func_malloc_0_nonnull=yes" +hostmakedepends="automake autoconf libtool" +makedepends="attr-devel" +short_desc="Client tools for manipulating NFSv4 ACLs directly" +maintainer="Giuseppe Fierro " +license="BSD-3-Clause, LGPL-2.1-or-later, GPL-2.0-only" +homepage="http://linux-nfs.org/wiki/index.php/Main_Page" +distfiles="http://linux-nfs.org/~bfields/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=b54a1dbaeb0fd480f2b0d2767b789fa80110124b71c6a73905ade99e9229a47e +disable_parallel_build=yes + +do_configure() { + sed -i "s;@configure_args@;$(echo $configure_args | paste);" Makefile +} + +post_install() { + vlicense COPYING +}