[arch-commits] Commit in attr/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sun Mar 20 22:30:28 UTC 2011


    Date: Sunday, March 20, 2011 @ 18:30:28
  Author: allan
Revision: 115738

upgpkg: attr 2.4.44-3
fix file ownership

Modified:
  attr/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-20 21:03:28 UTC (rev 115737)
+++ PKGBUILD	2011-03-20 22:30:28 UTC (rev 115738)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 pkgname=attr
 pkgver=2.4.44
-pkgrel=2
+pkgrel=3
 pkgdesc="Extended attribute support library for ACL support"
 arch=('i686' 'x86_64')
 url="http://oss.sgi.com/projects/xfs/"
@@ -18,6 +18,10 @@
 
 build() {
   cd $srcdir/attr-$pkgver 
+  
+  # prevent binaries being owned by nobody:nobody
+  sed -i 's#-o $(PKG_USER) -g $(PKG_GROUP)##' include/buildmacros
+  
   autoconf
   ./configure --prefix=/usr 
   sed -i -e 's/man2//g' man/Makefile




More information about the arch-commits mailing list