Accepting request 965369 from Base:System

OBS-URL: https://build.opensuse.org/request/show/965369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=84
This commit is contained in:
Dominique Leuenberger 2022-03-31 15:18:24 +00:00 committed by Git OBS Bridge
commit 8c94e8262c
7 changed files with 19 additions and 50 deletions

View File

@ -1,2 +0,0 @@
2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407 mc-4.8.27.tar.bz2
31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4
size 2510296

2
mc-4.8.28.sha256 Normal file
View File

@ -0,0 +1,2 @@
6bb47533d7a55bb21e46292d2f94786c9037bd7a70bf02b6a3c48adb0c9ce20c mc-4.8.28.tar.bz2
e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803 mc-4.8.28.tar.xz

3
mc-4.8.28.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e994d9be9a7172e9ac4a4ad62107921f6aa312e668b056dfe5b8bcebbaf53803
size 2333072

View File

@ -1,40 +0,0 @@
diff -ru mc-4.8.10.orig/src/vfs/smbfs/helpers/lib/util.c mc-4.8.10/src/vfs/smbfs/helpers/lib/util.c
--- mc-4.8.10.orig/src/vfs/smbfs/helpers/lib/util.c 2013-06-25 23:29:14.000000000 +0200
+++ mc-4.8.10/src/vfs/smbfs/helpers/lib/util.c 2013-09-27 12:04:27.306008996 +0200
@@ -1842,11 +1842,13 @@
/* Ensure null termination. */
hostname[sizeof (hostname) - 1] = '\0';
- /* get host info */
- if ((hp = Get_Hostbyname (hostname)) == 0)
- {
- DEBUG (0, ("Get_Hostbyname: Unknown host %s\n", hostname));
- return False;
+ if (ip) { /* query the ip only if it is requested */
+ /* get host info */
+ if ((hp = Get_Hostbyname (hostname)) == 0)
+ {
+ DEBUG (0, ("Get_Hostbyname: Unknown host %s\n", hostname));
+ return False;
+ }
}
if (my_name)
@@ -2475,6 +2477,9 @@
return (ret);
}
+#if 0
+ /* IMHO this is useless and only increases the timeout */
+
/* try with all lowercase */
strlower (name2);
ret = sys_gethostbyname (name2);
@@ -2492,6 +2497,7 @@
free (name2);
return (ret);
}
+#endif
/* nothing works :-( */
free (name2);

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Mar 27 19:39:05 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to 4.8.28:
* Remove SMB support
* Add syntax highlighting for Ngspice/SPICE and DOT/Graphviz
* Support file/dir macros from mc.ect for standalone viewer
* Support Shift+Fn keys for KiTTY
* Filehighlight: graphical formats: avif, jp2, jxl, heic, heif,
psb, psd, Markdown
* bug fixes
- drop mc-startup-timeout.patch
-------------------------------------------------------------------
Thu Sep 2 11:06:43 UTC 2021 - ecsos <ecsos@opensuse.org>

View File

@ -17,7 +17,7 @@
Name: mc
Version: 4.8.27
Version: 4.8.28
Release: 0
Summary: Midnight Commander
License: GPL-3.0-or-later
@ -47,8 +47,6 @@ Patch41: mc-multi-press-f-keys.patch
# Patches from Fedora
#Patch adding -fpie and -pie to compilation and linking of setuid binaries
Patch52: mc-pie.patch
# mc-startup-timeout.patch mc3082 nadvornik@suse.cz - fix for long timeout on startup, bnc#824729
Patch60: mc-startup-timeout.patch
Patch61: mc-extd-misc.patch
Patch62: mc-extd-video.patch
Patch63: mc-extd-doc.patch
@ -108,7 +106,6 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOU
%patch32
%patch41 -p1
%patch52 -p1
%patch60 -p1
%patch100 -p1
%build
@ -123,7 +120,6 @@ export PYTHON=%{_bindir}/python3
%configure \
--localstatedir=%{_localstatedir}/lib \
--enable-charset \
--enable-vfs-smb --with-smb-configdir=%{_sysconfdir}/samba \
--disable-vfs-fish
%make_build