forked from kiss-community/repo
fakeroot: remove from repositories.
This commit is contained in:
parent
ec5f790d6d
commit
7416ccb169
@ -1,27 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < silence-dlerror.patch
|
||||
patch -p0 < fakeroot-no64.patch
|
||||
patch -p0 < fakeroot-stdint.patch
|
||||
patch -p0 < busybox_compat_force_abslibpath.patch
|
||||
patch -p1 < xstatjunk.patch
|
||||
|
||||
export CONFIG_SHELL=/bin/sh
|
||||
export CFLAGS="-D_STAT_VER=0 $CFLAGS"
|
||||
|
||||
./bootstrap
|
||||
|
||||
ac_cv_func_capset=no \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static
|
||||
|
||||
make DESTDIR="$1" install
|
||||
|
||||
# Remove docs.
|
||||
rm -rf "$1/usr/share/man/nl"
|
||||
rm -rf "$1/usr/share/man/pt"
|
||||
rm -rf "$1/usr/share/man/sv"
|
||||
rm -rf "$1/usr/share/man/fr"
|
||||
rm -rf "$1/usr/share/man/es"
|
||||
rm -rf "$1/usr/share/man/de"
|
@ -1,6 +0,0 @@
|
||||
009cd6696a931562cf1c212bb57ca441a4a2d45cd32c3190a35c7ae98506f4f6 fakeroot_1.23.orig.tar.xz
|
||||
d0a6aa8aa462eb4b390d02e177d07df3f2ed5b7961595a22dd38a94043ad8290 busybox_compat_force_abslibpath.patch
|
||||
4fd7a4c8d05dd71414c3e82887780b76d93f599944260c41d769cb463e660bbf fakeroot-no64.patch
|
||||
1b0be39e41ce78116de4db7aed1b025a64427d780f666a860ed30ad1512588ad fakeroot-stdint.patch
|
||||
347f6496c93ed0d91dcb554db92602b50520a16308e3b8bc33822bd69966267b silence-dlerror.patch
|
||||
c4350c514797f0b48440d412380fe1d612958e3cbf1f3b74e3eb5faf2bad6ee0 xstatjunk.patch
|
@ -1,3 +0,0 @@
|
||||
linux-headers make
|
||||
automake make
|
||||
libtool make
|
@ -1,14 +0,0 @@
|
||||
- Always force absolute path for LD_PRELOAD.
|
||||
- Make getopt test work with busybox implementation.
|
||||
|
||||
--- scripts/fakeroot.in.orig 2011-12-01 05:00:36.000000000 +0100
|
||||
+++ scripts/fakeroot.in 2012-02-01 16:04:04.707499043 +0100
|
||||
@@ -33,7 +33,7 @@ fatal ()
|
||||
FAKEROOT_PREFIX=@prefix@
|
||||
FAKEROOT_BINDIR=@bindir@
|
||||
|
||||
-USEABSLIBPATH=@LDPRELOADABS@
|
||||
+USEABSLIBPATH=1
|
||||
LIB=lib@fakeroot_transformed@@DLSUFFIX@
|
||||
PATHS=@libdir@:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
|
||||
FAKED=${FAKEROOT_BINDIR}/@faked_transformed@
|
@ -1,17 +0,0 @@
|
||||
--- libfakeroot.c.orig
|
||||
+++ libfakeroot.c
|
||||
@@ -81,12 +81,14 @@
|
||||
#define SEND_STAT64(a,b,c) send_stat64(a,b,c)
|
||||
#define SEND_GET_STAT(a,b) send_get_stat(a,b)
|
||||
#define SEND_GET_STAT64(a,b) send_get_stat64(a,b)
|
||||
+#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b,c)
|
||||
#define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b,c)
|
||||
#else
|
||||
#define SEND_STAT(a,b,c) send_stat(a,b)
|
||||
#define SEND_STAT64(a,b,c) send_stat64(a,b)
|
||||
#define SEND_GET_STAT(a,b) send_get_stat(a)
|
||||
#define SEND_GET_STAT64(a,b) send_get_stat64(a)
|
||||
+#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b)
|
||||
#define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b)
|
||||
#endif
|
||||
|
@ -1,34 +0,0 @@
|
||||
--- faked.c.orig
|
||||
+++ faked.c
|
||||
@@ -514,11 +514,11 @@
|
||||
|
||||
#ifdef FAKEROOT_DB_PATH
|
||||
if (find_path(i->buf.dev, i->buf.ino, roots, path))
|
||||
- fprintf(f,"mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu %s\n",
|
||||
+ fprintf(f,"mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64" %s\n",
|
||||
(uint64_t) i->buf.mode,(uint64_t) i->buf.uid,(uint64_t) i->buf.gid,
|
||||
(uint64_t) i->buf.nlink,(uint64_t) i->buf.rdev,path);
|
||||
#else
|
||||
- fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
|
||||
+ fprintf(f,"dev=%"PRIx64",ino=%"PRIu64",mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64"\n",
|
||||
(uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
|
||||
(uint64_t) i->buf.uid,(uint64_t) i->buf.gid,(uint64_t) i->buf.nlink,
|
||||
(uint64_t) i->buf.rdev);
|
||||
@@ -544,7 +544,7 @@
|
||||
|
||||
while(1){
|
||||
#ifdef FAKEROOT_DB_PATH
|
||||
- r=scanf("mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu "DB_PATH_SCAN"\n",
|
||||
+ r=scanf("mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64" "DB_PATH_SCAN"\n",
|
||||
&stmode, &stuid, &stgid, &stnlink, &strdev, &path);
|
||||
if (r != 6)
|
||||
break;
|
||||
@@ -559,7 +559,7 @@
|
||||
stdev = path_st.st_dev;
|
||||
stino = path_st.st_ino;
|
||||
#else
|
||||
- r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
|
||||
+ r=scanf("dev=%"PRIx64",ino=%"PRIu64",mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64"\n",
|
||||
&stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
|
||||
if (r != 7)
|
||||
break;
|
@ -1,17 +0,0 @@
|
||||
diff --git a/libfakeroot.c b/libfakeroot.c
|
||||
index f867758..7ef6e47 100644
|
||||
--- a/libfakeroot.c
|
||||
+++ b/libfakeroot.c
|
||||
@@ -256,10 +256,12 @@ void load_library_symbols(void){
|
||||
/* clear dlerror() just in case dlsym() legitimately returns NULL */
|
||||
msg = dlerror();
|
||||
*(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
|
||||
+#ifdef LIBFAKEROOT_DEBUGGING
|
||||
if ( (msg = dlerror()) != NULL){
|
||||
fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
|
||||
/* abort ();*/
|
||||
}
|
||||
+#endif /* LIBFAKEROOT_DEBUGGING */
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- fakeroot-1.18.4.orig/configure.ac 2012-06-02 18:23:41.000000000 +0000
|
||||
+++ fakeroot-1.18.4/configure.ac 2015-09-24 23:15:56.917470073 +0000
|
||||
@@ -301,7 +301,7 @@
|
||||
FUNC=`echo $SEARCH|sed -e 's/.*%//'`
|
||||
PRE=`echo $SEARCH|sed -e 's/%.*//'`
|
||||
FOUND=
|
||||
- for WRAPPED in __${PRE}x${FUNC} _${PRE}x${FUNC} __${PRE}${FUNC}13 ${PRE}${FUNC}; do
|
||||
+ for WRAPPED in ${PRE}${FUNC}; do
|
||||
AC_CHECK_FUNCS($WRAPPED,FOUND=$WRAPPED)
|
||||
dnl
|
||||
dnl to unconditionally define only the _* functions, comment out the 2 lines above,
|
@ -1,6 +0,0 @@
|
||||
https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.23.orig.tar.xz
|
||||
patches/busybox_compat_force_abslibpath.patch
|
||||
patches/fakeroot-no64.patch
|
||||
patches/fakeroot-stdint.patch
|
||||
patches/silence-dlerror.patch
|
||||
patches/xstatjunk.patch
|
@ -1 +0,0 @@
|
||||
1.23 6
|
Loading…
Reference in New Issue
Block a user