Import rpm: c8s

This commit is contained in:
James Antill 2023-02-27 14:20:55 -05:00
parent 22d29069b2
commit 6e0422c0f0
5 changed files with 1431 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
SOURCES/mc-4.8.19.tar.xz
/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
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
mc.spec Normal file

File diff suppressed because it is too large Load Diff

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (mc-4.8.19.tar.xz) = aec49f0da1fc69099ce9b0f71926d1e9ee6df0be12f53da94a8f5f4266612515031cd02f328a458bf78260c5efb1c8ca2c34c89e20a77567c8b987e43d446531