fakeroot: added patch to make it work with busybox getopt, bumprev.
--HG-- extra : convert_revision : 0f6a39712ef6ec060079e50de26e54b4aff6dc45
This commit is contained in:
parent
2987df064e
commit
46bcfebf30
11
srcpkgs/fakeroot/patches/busybox_getopt_compat.diff
Normal file
11
srcpkgs/fakeroot/patches/busybox_getopt_compat.diff
Normal 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 "$@"`
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user