summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4bb2fb3a1f..03aa4ab1ded 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nfs4-acl-tools
pkgdesc = commandline ACL utilities for the Linux NFSv4 client
pkgver = 0.3.3
- pkgrel = 1
+ pkgrel = 2
url = http://www.citi.umich.edu/projects/nfsv4/linux/nfs4-acl-tools/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 382b6a2f26f..f076802368e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Seiwald <michael@mseiwald.at>
pkgname=nfs4-acl-tools
pkgver=0.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="commandline ACL utilities for the Linux NFSv4 client"
arch=('i686' 'x86_64')
url="http://www.citi.umich.edu/projects/nfsv4/linux/nfs4-acl-tools/"
@@ -24,6 +24,15 @@ md5sums=('ece4d5599c3b8470990ee1adbe22e047')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/attr_xattr_h/sys_xattr_h/' configure
+ for f in configure libnfs4acl/nfs4_acl_for_path.c libnfs4acl/nfs4_set_acl.c nfs4_setfacl/nfs4_setfacl.c; do
+ sed -i 's/attr\/xattr.h/sys\/xattr.h/' $f
+ done
+
+ sed '35 a #include <attr/attributes.h>' libnfs4acl/nfs4_set_acl.c
+ sed '37 a #include <attr/attributes.h>' libnfs4acl/nfs4_acl_for_path.c
+
+
./configure --prefix=/usr
make
}