Commit Graph

38 Commits

Author SHA1 Message Date
Andrew Borodin f57daa1678 Ticket #3355: mc-wrapper: don't cd to the same directory.
This would make a subsequent "cd -" more convenient. If you don't alter
the directory in mc, after exiting a "cd -" does nothing, whereas it
could take you to the actual previous directory.

Thanks Egmont Koblinger <egmont@gmail.com> for the initial patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-29 19:10:17 +03:00
tikhonov d369b2e193 mc-wrapper: use `whoami` instead of `id | sed ...`.
If AD authorization is used, then the "id" command works for a very long
time (since it unloads all groups in the domain), it seems to me that it
is more correct to use the "whoami" command.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andreas Mohr 03ab1e49ac Ticket #3550: unset MC_USER.
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-01-02 20:36:41 +03:00
Egmont Koblinger d350d81627 Ticket #3181: fix creating of shell wrappers.
contrib/Makefile.am: mc.sh and friends should depend on config.status.
In this case contrib/*.?sh are recreated after each rerun of configure.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-01-09 20:46:10 +03:00
Adrian Bunk adbb6492ec Ticket #2871: remove the empty contrib/dist/debian/
It was empty and the up-to-date Debian packaging is anyway
maintained separately in Debian.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 17:17:03 +04:00
Slava Zanko 0138645541 Ticket 1551: Update GPL version from 2 to 3
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-10-18 14:08:34 +03:00
Slava Zanko 3bf0ede28f Ticket #2602: cleanup branch
Added %{_libexecdir}/mc/fish directory to spec file

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-09 12:01:23 +03:00
Slava Zanko 5171b0294e Removed file contrib/dist/mc.qpg.in
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko fcc98371d6 Removed unneded utility mcmfmt
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Andrew Borodin 84f8ae790f Fixed file list in RPM spec.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin 6a55c9320e Ticket #2279: mcserver is deprecated.
Removed mcserver and mcfs support.

Reasons:
(1) no longer builds
(2) no one is willing to support it
(3) possibly contains unfixed security holes
(4) makes no sense in view of the availability of FISH

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 18:36:54 +04:00
Slava Zanko 878a0fdc85 mc.spec: Added perl in build requires
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-24 14:42:01 +03:00
Yury V. Zaytsev 1b9da36dc3 Ticket #2159: After the inclusion of mcdiff the SPEC needs an update
Build fails with the following message:

    Installed (but unpackaged) file(s) found:
      /usr/bin/mcdiff

To fix this issue %{_bindir}/mcdiff has to be added to the list of the
packaged files.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-29 08:57:31 +02:00
Andrew Borodin 14b61d876c Ticket #2037: minor changes in source tree.
mc.charsets was moved from contrib/ to misc/.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 16:36:05 +00:00
Andrew Borodin aa6f8e45e7 Fixed file list in RPM spec file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Leonid Myravjev 56d955152c Ticket #1838: source_codepage autodetect with enca program.
Added support of autodetect codepages via 'enca' program.

New parameter in user configuration file (~/.mc/ini):

[Misc]
autodetect_codeset=(one of `enca --list languages | cut -d : -f1`)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

Little code cleanup.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Type accuracy. Added missing includes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-08 15:56:48 +02:00
Slava Zanko 7f4f0cb660 Ticket #1905: Rework the versioning scheme.
We have a problem with the current mc-x.y.z-preW versioning scheme for
both Redhat and Debian. The problem is that

(1) mc-1:4.7.0-1.fc12.x86_64
(2) mc-1:4.7.0.pre4.231.g8cfffc5-1.fc12.x86_64

(1) is considered to be older than (2)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-30 22:22:53 +02:00
Yury V. Zaytsev 81324fc2ab Ticket #1904: Bump epoch because of braindead versioning scheme used.
* Bump epoch, because otherwise users wouldn't be able to upgrade
properly from older RPMs. The versioning scheme has to be revisited.

* Add changelog entry.

* Small corrections to the changelog.
2009-12-25 22:41:41 +01:00
Yury V. Zaytsev d8531dbbb5 Ticket #1848: Rewritten and simplified static build procedure for legacy distros.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2009-11-29 16:19:54 +03:00
Martin Petricek abd3553c91 Removed stale entry (mc.ext) from contrib/.gitignore 2009-11-08 22:18:55 +01:00
Andrew Borodin b1994a1cc8 Added new keybinding files in mc.spec.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:32 +03:00
Slava Zanko 8da65a8874 Ticket #1618: Rpm build trouble.
Changed mc.spec for valid building of packages.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-22 10:49:21 +03:00
Slava Zanko bf74086506 Added mc.keymap into spec file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:34 +00:00
Slava Zanko e7fe016742 Added new installed files into mc.spec.in
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:57:45 +03:00
Slava Zanko 1c07f8bc9b Ticket #418. Post-fixies
Added filehighlight.ini into RPM spec-file.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-05 13:06:54 +03:00
Yury V. Zaytsev 324c7cecb6 Ticket #1438: Update RPM SPEC file to fix rpmlint warnings and compilation on EL*
mc.spec.in:
	- Fixed EL4 (and supposedly EL3) builds
	- Fixed some of rpmlint warnings

    Author: Yury V. Zaytsev

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-06 21:04:53 +04:00
Sergei Trofimovich 55e7db14a5 gentoo.ebuild: moved to http://repo.or.cz/w/slyfox-gentoo.git
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-04 00:01:07 +03:00
Sergei Trofimovich 7989ab80d5 gentoo ebuild: Restored samba dep, added >=glib-2.6 constraint, fixed tty perms
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 23:31:52 +03:00
Sergei Trofimovich 42efe18ff4 gentoo ebuild: fixed depends, cons.saver perms, wiped unused USE flags
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 14:12:50 +03:00
Yury V. Zaytsev 8ccfa2fa3c Ticket #1394: pack shell wrappers at /usr/libexec/mc/mc*sh to RPM.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-07-04 18:09:28 +04:00
Slava Zanko faac6020ad Ticket #413 (Make dist do not include mc.charset)
Description:
If before
  make dist*
  ./configure

was invoked without parameters next build from resulted tarball with
  ./configure --enable-charset
stop on error "mc.charset not found".
"./configure --enable-charset" hack before make dist* resolve this trouble.

Fix issue: In contrib/Makefile.am EXTRA_DIST variable was contain filenames relative to --enable-charset option.
Now mc.charsets file alvays present in EXTRA_DIST variable.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-18 14:13:54 +03:00
Sergei Trofimovich d962211bcb gentoo: added git ebuild for Gentoo
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-05-29 23:48:52 +03:00
Slava Zanko abcd23406d remove ChangeLog files from mc tree
Description by Sergei Trofimovich:

GNU ChangeLog? files are result of CVS stupidpity about changeset tracking.
Currently constantly updated ChangeLogs? diverge in different branches and cause collisions(!)
when 'git merge' (almost ANY SINGLE MERGE!).

Major changes can be described in NEWS file, minor changes can be autogenerated via 'git log'/'git shortlog'
and friends (if needed at all).
2009-05-27 14:53:23 +03:00
Slava Zanko 289959792e scripts mc.sh, mc.csh, mc-wrapper.csh and mc-wrapper.sh now install into %{libexec}/mc directory 2009-05-22 13:36:27 +03:00
Slava Zanko 0c17219b2a Move global config files from pkg_datadir to sysconfdir
* Also fixed 'make dist' command
 * changed contrib/dist/redhat/mc.spec.in for builds with new dir
2009-05-21 01:01:10 +03:00
Slava Zanko f49ce170f0 Move some files from contrib into misc directory
Also fix error with make install action
2009-05-08 16:56:02 +03:00
Mikhail S. Pobolovets a55a505160 Move all stuff from lib to contrib
Also added template in contrib/distr for some distro-related files (spec, deb, ebuild, etc)
2009-05-08 15:12:48 +03:00
Enrico Weigelt, metux IT service 52897029dc mc.qpg.in mc.spec.in pkginfo.in prototype.in: moved to contrib/dist 2009-05-08 13:23:42 +03:00