fakeroot: added patch to make it work with busybox getopt, bumprev.

--HG--
extra : convert_revision : 0f6a39712ef6ec060079e50de26e54b4aff6dc45
This commit is contained in:
Juan RP 2010-01-15 20:08:17 +01:00
parent 2987df064e
commit 46bcfebf30
2 changed files with 18 additions and 9 deletions

View File

@ -0,0 +1,11 @@
--- scripts/fakeroot.in.orig 2010-01-15 20:06:08.160073189 +0100
+++ scripts/fakeroot.in 2010-01-15 20:06:19.679197650 +0100
@@ -43,7 +43,7 @@ export FAKED_MODE
libfound=no
-GETOPTEST=`getopt --version`
+GETOPTEST=`getopt --version 2>/dev/null`
case $GETOPTEST in
getopt*) # GNU getopt
FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`

View File

@ -1,19 +1,17 @@
# Template file for 'fakeroot'
pkgname=fakeroot
version=1.14.4
revision=1
distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2"
build_style=gnu_configure
short_desc="Gives a fake root environment"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3236394b2f280637bc977515e46e66cf999e1db74ea7402048e64113b70b9660
long_desc="
This package is intended to enable something like:
This package is intended to remove the need to become root for a package build.
This is done by setting LD_PRELOAD to libfakeroot.so, which provides wrappers
around getuid, chown, chmod, mknod, stat, and so on, thereby creating a fake
root environment."
dpkg-buildpackage -rfakeroot
i.e. to remove the need to become root for a package build. This is done by
setting LD_PRELOAD to libfakeroot.so, which provides wrappers around getuid,
chown, chmod, mknod, stat, and so on, thereby creating a fake root
environment."
Add_dependency full glibc
base_chroot=yes
Add_dependency run glibc