Commit Graph

233 Commits

Author SHA1 Message Date
Alexey Dokuchaev
bf294827ef misc/mc: improve the check whether installed diff(1) is GNU or BSD
In 2017, GNU diff had been replaced by BSD licensed diff in our base,
but some features of GNU diff had not been implemented, particularly,
the ``group format'' family of options.  Instead of checking for the
${OSVERSION} value, check if installed diff(1) implementation is GNU
or BSD one based on the --version output.

Because conditions are subject to immediate expansion, we cannot use
${DIFF} and ${GREP} variables; however, literal ``diff'' is actually
correct in this particular case as user's preferred diff(1) does not
necessarily point to ``/usr/bin/diff'' which ${DIFF} expands to.

While here, amend the EDITOR option description so it clearly refers
to the internal *text* editor.
2021-09-26 15:44:55 +00:00
Alexey Dokuchaev
d37893d25e misc/mc: handling of the port's options had been improved (+)
- Use correct helper for X11 option, which is --with-x, not --enable-x
- Do not pass bogus --without-smb-foobar=... options when SMB support
  is disabled
- Allow to build with Aspell support in the internal editor while here

PR:	258632
2021-09-22 06:29:22 +00:00
Alexey Dokuchaev
27d49c4c90 misc/mc: update Midnight Commander to version 4.8.27, but not only
- Don't try to patch up unsupported compiler warning options and fix
  the configure script detection logic instead (it correctly passes
  -Werror in Clang's case, but assumes that $CC is literally called
  `clang' which is, of course, wrong on both FreeBSD and in general)
- Keep the UNRAR_VERSION adjustment for now: even though it had been
  fixed upstream, with version 7 it would brake again
- Expand the creator line in the Makefile to include Torsten's full
  name, with his permission.  We have other people named Torsten in
  the project these days, and this change makes it less confusing

PR:	253796, 257888
2021-08-20 09:01:54 +00:00
Alexey Dokuchaev
4eb8288331 misc/mc: the port had been improved (+)
- By popular demand, disable EXTATTR option by default: the benefits
  it provides are outweighed by having to pull `sysutils/e2fsprogs'
  port as dependency and various troubles people are having with it.
  While here, adjust the description as it was is a bit misleading:
  it is not limited exclusively to ext2fs, but can also manage UFS-
  specific flags like append-only, etc. [1]

- Fix ZIP/UNZIP program detection and add missing dependency on the
  `archivers/zip' as FreeBSD does not provide native zip(1) program.
  This bug had been present since late 2014: when fixing PR 193766,
  an incomplete patch had been committed; it went unnoticed because
  apparently users rarely create ZIP archives, and extraction worked
  because `archivers/unzip' is very commonly installed package [2]

PR:	249284, 256766 [1]
	256546, 193766 [2]
2021-06-24 08:03:15 +00:00
Alexey Dokuchaev
b20b92686b misc/mc: the port had been improved (+)
- GC outdated CONFLICTS (misc/mc-light had been removed on 2019-10-16)
- Add missing SCREEN_DESC (screen library) option description
- Offer new option, EXTATTR (ext2fs extended attributes support) and
  ensure, in somewhat ugly way, that dependency on `sysutils/e2fsprogs'
  won't be silently picked up if this option is disabled
- Tell users that /bin/sh, our base system sh(1), is not supported as
  concurrent subshell because it does not allow "precmd" hooks [1]
- Fix entering RAR archives after `archivers/unrar` had been updated
  to version 6.x [2]
- Use helper target and simplify installation of documentation files

PR:	208391 [1], 251404 [2]
2021-05-27 08:42:43 +00:00
Alexey Dokuchaev
93f016f6e0 graphics/*gphoto2;misc/mc: take maintainership. 2021-05-22 03:25:48 +00:00
Ben Woods
95d52e52fb */*: Fix ENOTIME: return my ports to the pool
Reset maintainership of my ports to ports@FreeBSD.org so others can
step in to help where I haven't been able to find the time.
2021-05-22 10:13:01 +08:00
Mathieu Arnold
614b5da0cb Ports should not change their names depending on options.
Reported by:	tech-lists zyxst net
2021-05-03 15:00:24 +02:00
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Ben Woods
77b285d5be misc/mc: Fix build with ncurses option
PR:		252903
Submitted by:	Rozhuk Ivan <rozhuk.im@gmail.com>
Reported by:	jakub_lach@mailplus.pl
Reported by:	mbeis@xs4all.nl
Reported by:	m.bueker@berlin.de
Reported by:	michael.osipov@siemens.com
2021-01-26 23:04:55 +00:00
Ben Woods
4c1ebe9463 misc/mc: Update to 4.8.26
Changes this release:
  https://midnight-commander.org/wiki/NEWS-4.8.26
2021-01-21 23:21:34 +00:00
Ben Woods
4e09eb482b misc/mc: Update to 4.8.24
Upstream have also added python 3 support with this release.

Changes this release:
  https://midnight-commander.org/wiki/NEWS-4.8.24

PR:		242898
2020-01-20 22:55:55 +00:00
Ben Woods
fb869c5a59 misc/mc: Update to 4.8.23
Changes this release:
  https://midnight-commander.org/wiki/NEWS-4.8.23

PR:		242280
Submitted by:	Leonid Nevecherya <nevecherya@gmail.com>
2019-12-07 00:33:46 +00:00
Niclas Zeising
7ad72d866d Add USES=xorg USES=gl, ports categories l and m
Add USES=xorg and USES=gl to ports in categories starting with 'l' and 'm'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:09:44 +00:00
Koichiro Iwao
e7c081a46c New port: misc/mc-nox11: misc/mc but without x11 dependencies
PR:		238425
Submitted by:	Dmitry Wagin <dmitry.wagin@ya.ru>
Approved by:	portmgr (maintainer timeout: 2 months)
2019-10-28 00:34:10 +00:00
Tobias Kortkamp
1ab56f56d8 misc/mc: Do not override variables after bsd.port.pre.mk
At least the Python run dependency is not added on FreeBSD >= 12.0
because of it.

PR:		234587
Approved by:	woodsb02 (maintainer timeout, 4 weeks)
2019-01-31 11:15:15 +00:00
Ben Woods
6d6344948c misc/mc: Tidy up Makefile
This is a no-op
2019-01-19 08:13:31 +00:00
Ben Woods
e9577fc830 misc/mc: Update to 4.8.22
PR:		234598
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com>
2019-01-19 07:43:52 +00:00
Emanuel Haupt
0bfe2bbcad - Update misc/mc to 4.8.21
- Update WWW (current URL returns: HTTP/1.1 301 Moved Permanently)
- Pacify portlint

PR:             229581
Approved by:    maintainer-timeout (woodsb02, 47 days)
2018-08-23 08:19:02 +00:00
Dmitry Marakasov
2c4e104442 - Fix LICENSE
- Add LICENSE_FILE
- Add missing run-dependency on python
- Fix shebangs properly, do not fix shebangs on files which do not have them

Approved by:	portmgr blanket
2018-02-15 17:35:05 +00:00
Ben Woods
80e4f7aae2 misc/mc: Fix SUBSHELL blank terminal upon opening in xterm with Slang
Note: Unfortunately this does not fix this issue on the FreeBSD console.

PR:		217758
Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru>
Reported by:	Dron <dron_2@ua.fm>
Reported by:	danfe
MFH:		2017Q4
2017-12-17 06:58:41 +00:00
Ben Woods
a45e32b94b misc/mc: Update to 4.8.20
Changes this release:
  https://midnight-commander.org/wiki/NEWS-4.8.20
2017-12-16 05:42:53 +00:00
Ben Woods
6569209074 misc/mc: Fix invalid tty baudrate detection disabling verbose mode
PR:		220944
Submitted by:	Michael Büker <m.bueker@berlin.de>
Obtained from:	https://midnight-commander.org/ticket/2452#comment:15
MFH:		2017Q3
2017-07-23 15:26:36 +00:00
Ben Woods
aac5c98a37 misc/mc: Use textproc/diffutils on FreeBSD 12
- The new bsddiff in FreeBSD 12 does not yet support --old-group-format
- Fix python shebangfix to require python2

PR:		219277
Submitted by:	bsam
2017-05-29 13:50:20 +00:00
Ben Woods
1ee4fa3feb misc/mc: Only install desktop entry and icon if X11 option is enabled
PR:		214812
Submitted by:	Robert Schulze <rs@bytecamp.net>
2017-03-06 08:05:54 +00:00
Ben Woods
64ffdffd69 misc/mc: Update to 4.8.19
Changes this release:
  http://midnight-commander.org/wiki/NEWS-4.8.19
2017-03-06 07:31:21 +00:00
Ben Woods
a917eac09b misc/mc: Update to 4.8.18
- Silence post-patch sed commands
- Remove patch-src_cons.handler.c; changes upstreamed

Changes this release:
  http://www.midnight-commander.org/wiki/NEWS-4.8.18

Approved by:	adamw (mentor, implicit)
2016-10-15 02:39:02 +00:00
Ben Woods
b63955e458 misc/mc: Update to 4.8.17
- Remove patches for upstream tickets 2742, 3611, 3617 (resolved)
- Move patch of lib/tty/win.c to lib/tty/tty-ncurses.c (upstream change)
- Add patch of src/cons.handler.c to fix build, reported upstream [1]

Changes this release:
  https://www.midnight-commander.org/wiki/NEWS-4.8.17

  [1] https://www.midnight-commander.org/ticket/3643

Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D6321
2016-05-11 11:44:40 +00:00
Ben Woods
a8f5e2ec0c Update the maintainer email address for the ports I
maintain to woodsb02@FreeBSD.org

Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D6278
2016-05-09 20:46:48 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Mark Felder
24ef2042c1 misc/mc: Multiple fixes
- Fix subshell functionality for csh users
- Make SFTP an option, enabled by default
- Fix SIGILL on FreeBSD 9.x
- Fix perl ls helper with fish shell

PR:		207487, 208027, 208102, 208104
2016-03-18 12:04:32 +00:00
Mark Felder
14821daa57 misc/mc: Update to 4.8.16
Changelog:	https://www.midnight-commander.org/wiki/NEWS-4.8.16

PR:		207959
2016-03-14 22:47:03 +00:00
Bartek Rutkowski
31f70bc508 misc/mc: fix - delete patch obsolete after 4.8.15 update
PR:		204724
Submitted by:	Boris Korzun <drtr0jan@yandex.ru>
Approved by:	portmgr (blanket)
2015-11-25 12:29:01 +00:00
Bartek Rutkowski
3ab3644bb4 misc/mc: update 4.8.14 -> 4.8.15
- Rewrite port options code

PR:		204724
Submitted by:	Ben Woods <woodsb02@gmail.com> (maintainer)
2015-11-25 11:34:46 +00:00
Adam Weinberger
94b2fc3431 Fix "Cannot create pipe streams" when running shell commands using the Filtered
View menu item on the File menu.

PR:		199366
Reported by:	Trond.Endrestol@ximalas.info
Patch by:	Ben Woods (maintainer)
2015-04-27 12:19:45 +00:00
Kurt Jaeger
e550c2e5d2 misc/mc: 4.8.13 -> 4.8.14
- With patch from Ranjan1018 <214748mv@gmail.com> to fix man page
  display error from PR 195309
- submitter becomes maintainer

PR:		198829
Submitted by:	Ben Woods <woodsb02@gmail.com>
2015-03-23 20:46:40 +00:00
Kurt Jaeger
34b490f0fd misc/mc: really re-add small patch that was deleted in r369133
Thanks to tijl: patch syntax was bogus and was ignored.

PR:		194627
2014-12-09 15:58:50 +00:00
Kurt Jaeger
30c08bc033 misc/mc: re-add small patch that was deleted in r369133
Change:
save/restore the sub-shell's screen on Ctrl+O and/or command execution

PR:	194627
Submitted by:	andriys@gmail.com
2014-12-09 12:03:13 +00:00
Rusmir Dusko
027ec4f82c - Reset maintainer to ports@ 2014-11-21 19:48:12 +00:00
Rusmir Dusko
606ab7031e - Bump PORTREVISION for pkg-plist change, remove @dirm* [1]
Reported by:	jhale [1]
2014-09-24 05:29:56 +00:00
Rusmir Dusko
762f9fab41 - Update to 4.8.13, announce message is here:
http://www.midnight-commander.org/wiki/NEWS-4.8.13

- Use ZIP=${ZIP_CMD} instead of ZIP=${UNZIP_CMD} [1]
- Change patch files/patch-lib__tty__win, changed by upstream
- Remove obsolete patch files/patch-mc-wrapper

PR:		193766
Submitted by:	Dominik Kows <dkolowski@gmail.com> [1]
2014-09-23 22:49:48 +00:00
Dmitry Marakasov
9eebbe52c0 - Switch to USES=libtool
- Fix python shebangs

Approved by:	portmgr blanket
2014-06-15 23:44:00 +00:00
Rusmir Dusko
b7bc5996be - Bump PORTREVISION for dependencies changes
- Remove USE_PYTHON=yes and USE_RUBY=yes

Reported by:	timur@, Sergey V. Dyatko <sergey.dyatko@gmail.com>
2014-04-03 11:26:23 +00:00
Rusmir Dusko
de831e2067 - Update to 4.8.12, announce message is here:
http://www.midnight-commander.org/wiki/NEWS-4.8.12

- Change master sites, add icon
- Use tar:xz instead of USE_XZ=yes
- Add USES shebangfix and SHEBANG_FILES
- Add USE_PYTHON=yes and USE_RUBY=yes
- Add pkg-message, information to reinstall if problems and for Screen
  Option
- Remove TODO from DOCS
- Add REINPLACE, fix deprecated messages
- Add Desktop entry file
- Remove obsolete patches, changed by upstream
2014-04-02 22:30:28 +00:00
Rusmir Dusko
a88615c385 - Fix build with Option NCURSES, add patches
Reported by:	"Herbert J. Skuhra" <hskuhra@eumx.net>
Approved by:	pawel / wg (mentors, implicit)
2013-12-07 10:27:08 +00:00
Rusmir Dusko
0eefe19536 - Update to 4.8.11
- Remove obsolete patches

Approved by:	pawel / wg (mentors, implicit)
2013-12-06 23:49:35 +00:00
Rusmir Dusko
d8269f53d2 - Pass maintainership to submitter
Approved by:	pawel / wg (mentors, implicit), fjoe (maintainer)
2013-11-02 22:13:00 +00:00
Rusmir Dusko
85f78c35ac - Change SMB and NCURSES
- Change pkg-plist, fix MAN

PR:		ports/183170 ports/183284 ports/183402
Submitted by:	various
Approved by:	pawel / wg (mentors, implicit)
2013-11-02 22:08:01 +00:00
Rusmir Dusko
f202310163 - Update to 4.8.10
- Use the new format for LIB_DEPENDS
- Remove PORTDATA use full pkg-plist
- Add DOCS and NCURSES Options
- Add EDITOR to default Options
- Remove NLS and EDIT from default Options
- Support STAGEDIR and add OPTIONS_SUB
- Add DOCS
- Remove obsolete REINPLACE_CMD
- Add patch, resolve Syntax error

PR:		ports/181364
Submitted by:	nemysis (self)
Approved by:	pawel / wg (mentors, implicit), maintainer timeout
2013-10-21 21:07:18 +00:00
Baptiste Daroussin
8ac99398e2 Add NO_STAGE all over the place in preparation for the staging support (cat: misc) 2013-09-20 20:50:57 +00:00