aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fakeroot
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-12-27 19:32:39 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-12-27 19:32:39 +0100
commit38c962e6f0adbc4154cda3107404e8ce92cfbccb (patch)
tree09971c28b031b787ba663aed3a48e9b27d3c2342 /recipes/fakeroot
parent4a98e62ac35d4367d3c072819317deeda52abf5e (diff)
downloadopenembedded-38c962e6f0adbc4154cda3107404e8ce92cfbccb.tar.gz
fakeroot: added 1.14.5, deprecated 1.15.1
as 1.15.1 does not properly fetch, added a DP = -1 to it also added 1.14.5. This is similar to what has been done in the maintenance branch Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/fakeroot')
-rw-r--r--recipes/fakeroot/fakeroot-1.14.5/fix-prefix.patch15
-rw-r--r--recipes/fakeroot/fakeroot-1.14.5/quiet-getopt-check.patch12
-rw-r--r--recipes/fakeroot/fakeroot_1.14.5.bb11
-rw-r--r--recipes/fakeroot/fakeroot_1.15.1.bb2
4 files changed, 40 insertions, 0 deletions
diff --git a/recipes/fakeroot/fakeroot-1.14.5/fix-prefix.patch b/recipes/fakeroot/fakeroot-1.14.5/fix-prefix.patch
new file mode 100644
index 0000000000..72e7528b0e
--- /dev/null
+++ b/recipes/fakeroot/fakeroot-1.14.5/fix-prefix.patch
@@ -0,0 +1,15 @@
+This is not needed, kept just for reference.
+
+--- fakeroot-1.14.5.orig/scripts/fakeroot.in 2009-11-15 04:09:21.000000000 +0100
++++ fakeroot-1.14.5/scripts/fakeroot.in 2011-01-12 20:10:02.897300394 +0100
+@@ -30,8 +30,8 @@ fatal ()
+ }
+
+ # strip /bin/fakeroot to find install prefix
+-FAKEROOT_PREFIX=@prefix@
+-FAKEROOT_BINDIR=@bindir@
++FAKEROOT_BINDIR=`dirname $0`
++FAKEROOT_PREFIX=`dirname ${FAKEROOT_BINDIR}`
+
+ USEABSLIBPATH=@LDPRELOADABS@
+ LIB=lib@fakeroot_transformed@@DLSUFFIX@
diff --git a/recipes/fakeroot/fakeroot-1.14.5/quiet-getopt-check.patch b/recipes/fakeroot/fakeroot-1.14.5/quiet-getopt-check.patch
new file mode 100644
index 0000000000..bcb9083998
--- /dev/null
+++ b/recipes/fakeroot/fakeroot-1.14.5/quiet-getopt-check.patch
@@ -0,0 +1,12 @@
+busybox provided getopt prints the help-text on stderr.
+--- fakeroot-1.14.5.orig/scripts/fakeroot.in 2009-11-15 04:09:21.000000000 +0100
++++ fakeroot-1.14.5/scripts/fakeroot.in 2011-01-12 20:11:50.059891996 +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 "$@"`
diff --git a/recipes/fakeroot/fakeroot_1.14.5.bb b/recipes/fakeroot/fakeroot_1.14.5.bb
new file mode 100644
index 0000000000..1d333d2580
--- /dev/null
+++ b/recipes/fakeroot/fakeroot_1.14.5.bb
@@ -0,0 +1,11 @@
+require fakeroot.inc
+PE = "1"
+PR = "${INC_PR}.0"
+
+SRC_URI =+ "\
+ http://snapshot.debian.org/archive/debian/20110301/pool/main/f/fakeroot/fakeroot_1.14.5.orig.tar.bz2 \
+ file://quiet-getopt-check.patch \
+"
+
+SRC_URI[md5sum] = "659a1f3a36554abfc2a3eaad2fdc0604"
+SRC_URI[sha256] = "b035c834944bf9482027f48c388de8492e96609825265ac03f05408d0b3aae68"
diff --git a/recipes/fakeroot/fakeroot_1.15.1.bb b/recipes/fakeroot/fakeroot_1.15.1.bb
index 4c625caeb6..2c7ea5447e 100644
--- a/recipes/fakeroot/fakeroot_1.15.1.bb
+++ b/recipes/fakeroot/fakeroot_1.15.1.bb
@@ -1,4 +1,6 @@
require fakeroot.inc
+
+DEFAULT_PREFERENCE = "-1"
PR = "${INC_PR}.0"
SRC_URI =+ "\