Import rpm: c8s
This commit is contained in:
parent
22d29069b2
commit
6e0422c0f0
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
SOURCES/mc-4.8.19.tar.xz
|
||||
/mc-4.8.19.tar.xz
|
20
Extends-TMPDIR_DEFAULT-to-mc-wrapper-scripts.patch
Normal file
20
Extends-TMPDIR_DEFAULT-to-mc-wrapper-scripts.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- contrib/mc-wrapper.csh.in~ 2017-02-24 14:25:57.000000000 -0600
|
||||
+++ contrib/mc-wrapper.csh.in 2017-05-17 07:39:06.830108548 -0500
|
||||
@@ -3,7 +3,7 @@
|
||||
if ($?TMPDIR) then
|
||||
setenv MC_PWD_FILE $TMPDIR/mc-$MC_USER/mc.pwd.$$
|
||||
else
|
||||
- setenv MC_PWD_FILE /tmp/mc-$MC_USER/mc.pwd.$$
|
||||
+ setenv MC_PWD_FILE /var/tmp/mc-$MC_USER/mc.pwd.$$
|
||||
endif
|
||||
|
||||
@bindir@/mc -P "$MC_PWD_FILE" $*
|
||||
--- contrib/mc-wrapper.sh.in~ 2017-02-24 14:25:57.000000000 -0600
|
||||
+++ contrib/mc-wrapper.sh.in 2017-05-17 07:38:48.348215251 -0500
|
||||
@@ -1,5 +1,5 @@
|
||||
MC_USER=`id | sed 's/[^(]*(//;s/).*//'`
|
||||
-MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
|
||||
+MC_PWD_FILE="${TMPDIR-/var/tmp}/mc-$MC_USER/mc.pwd.$$"
|
||||
@bindir@/mc -P "$MC_PWD_FILE" "$@"
|
||||
|
||||
if test -r "$MC_PWD_FILE"; then
|
11
mc-tmpdir.patch
Normal file
11
mc-tmpdir.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/global.h~ 2016-09-22 20:24:12.000000000 +0200
|
||||
+++ lib/global.h 2016-12-09 11:34:47.376367101 +0100
|
||||
@@ -125,7 +125,7 @@
|
||||
#define PATH_SEP_STR "/"
|
||||
#define IS_PATH_SEP(c) ((c) == PATH_SEP)
|
||||
#define PATH_ENV_SEP ':'
|
||||
-#define TMPDIR_DEFAULT "/tmp"
|
||||
+#define TMPDIR_DEFAULT "/var/tmp"
|
||||
#define SCRIPT_SUFFIX ""
|
||||
#define get_default_editor() "vi"
|
||||
#define OS_SORT_CASE_SENSITIVE_DEFAULT 1
|
Loading…
Reference in New Issue
Block a user