import mc-4.8.19-9.el8

This commit is contained in:
CentOS Sources 2019-05-07 06:36:50 -04:00 committed by Andrew Lukoshko
commit aca2d26581
5 changed files with 1430 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/mc-4.8.19.tar.xz

1
.mc.metadata Normal file
View File

@ -0,0 +1 @@
850747ae43a5c81f1dd0d906dfa9e149eb19748a SOURCES/mc-4.8.19.tar.xz

View 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
SOURCES/mc-tmpdir.patch Normal file
View 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

1397
SPECS/mc.spec Normal file

File diff suppressed because it is too large Load Diff