summaryrefslogtreecommitdiffstats
path: root/source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch')
-rw-r--r--source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch b/source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch
new file mode 100644
index 000000000..779012238
--- /dev/null
+++ b/source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch
@@ -0,0 +1,11 @@
+--- ./rpm2targz.orig 2022-01-28 23:26:57.686681986 -0600
++++ ./rpm2targz 2022-01-28 23:28:18.872683802 -0600
+@@ -175,7 +175,7 @@
+ fi
+ mkdir -p $DEST
+ ( cd $DEST
+- cpio -i -m -d < $ofn 1> /dev/null 2> /dev/null
++ cpio -i -m -d --no-absolute-filenames < $ofn 1> /dev/null 2> /dev/null
+ rm -f $ofn
+ find . -type d -perm 700 -exec chmod 755 {} \;
+ )