[arch-commits] Commit in fakeroot/trunk (PKGBUILD fakeroot.install)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Mar 9 16:57:42 UTC 2009


    Date: Monday, March 9, 2009 @ 12:57:42
  Author: andyrtr
Revision: 29506

upgpkg: fakeroot 1.12.2-2
    back to sysv ipc usage, added README+install note

Modified:
  fakeroot/trunk/PKGBUILD
  fakeroot/trunk/fakeroot.install

------------------+
 PKGBUILD         |    7 +++++--
 fakeroot.install |    2 ++
 2 files changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-09 12:55:13 UTC (rev 29505)
+++ PKGBUILD	2009-03-09 16:57:42 UTC (rev 29506)
@@ -4,7 +4,7 @@
 
 pkgname=fakeroot
 pkgver=1.12.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -19,7 +19,10 @@
 build() {
   cd ${srcdir}/$pkgname-$pkgver
   ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
-	 --disable-static --with-ipc=tcp
+	 --disable-static --with-ipc=sysv
+	# --with-ipc=tcp is currently broken and no option on smp systems
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
+  # install README for sysv/tcp usage
+  install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
 }

Modified: fakeroot.install
===================================================================
--- fakeroot.install	2009-03-09 12:55:13 UTC (rev 29505)
+++ fakeroot.install	2009-03-09 16:57:42 UTC (rev 29506)
@@ -6,6 +6,8 @@
 		sbin/ldconfig -r .
 		echo "done."
 	fi
+echo "The package is built using sysv ipc. If this causes segfaults"
+echo "see included README file and rebuild the pkg --with-ipc=tcp"
 }
 
 # arg 1: the new package version




More information about the arch-commits mailing list