Commit Graph

763 Commits

Author SHA1 Message Date
Adam Weinberger 6f455db33f editors/vim: Update to 9.0.1271 2023-02-01 06:38:03 -07:00
Muhammad Moinur Rahman 2d00178fd4 */*: Fix some ports conversion from USE_RUBY to USES=ruby
In my previous commit 18c6e18 I missed some ports where RUBY was
optional. This commit fixes those missing ports and fixes INDEX build.

Approved by:	portmgr
Fixes: 18c6e18 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
2023-01-14 20:45:23 -06:00
Adam Weinberger 992c76dc49 editors/vim: Update to 9.0.1136 2023-01-02 20:07:48 -07:00
Adam Weinberger 0346db4deb editors/vim: Update to 9.0.0981 2022-12-01 06:22:01 -07:00
Adam Weinberger 90eac1c42c editors/vim: Update to 9.0.0823
Also, update the sshd syntax file to recognize the preferred
UseBlocklist in addition to UseBlacklist.

PR:		267353
2022-10-31 22:57:45 -06:00
Adam Weinberger ce6a59704c editors/vim: Update to 9.0.0735 2022-10-12 18:04:32 -06:00
Stefan Eßer fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Adam Weinberger 91ef78b58b editors/vim: Allow system vimrc, and include defaults.vim for vim-tiny
Two changes here (along with bumping to the latest upstream patch):

1) In the previous Vim commit, support for the system-wide vimrc/gvimrc
   was dropped because we went through contortions to fix loading order
   and monkey around with various defaults.

   However, many people used that file for their system. This commit
   re-adds support for loading it. All work for untangling the mess of
   loading defaults.vim and preventing circular loads is left to the
   user. We just support loading that file; what you do with it is your
   call.

2) vim-tiny is supposed to be the smallest possible Vim experience,
   being just the binary and no runtime library. However, without a
   viable defaults.vim, it's essentially just a larger, slower Vi.
   The vim-tiny package now ships with defaults.vim, which is patched
   to prevent errors from Vim loading the syntax library (which is not
   installed).
2022-09-04 10:07:01 -06:00
Adam Weinberger a058c61ea3 editors/vim: Update to 9.0.0369, and drop the FreeBSD vimrc
Our FreeBSD vimrc has caused a lot of trouble. It seriously mangles
config loading order (see below PR for the 21 comments it took before
I could get my head around it), clobbers defaults, duplicates defaults,
and simply isn't how Vim does things.

In this patch, the system vimrc is dropped entirely. Instead,
$VIMRUNTIME/defaults.vim sources $VIMRUNTIME/defaults_freebsd.vim, which
contains only FreeBSD-specific settings (today, a convenience augroup
for port creation, and a flag to let syntax/sh.vim know that /bin/sh
isn't bash).

There is no perfect solution here, but by not clobbering anything
anymore, we at least don't *prevent* other solutions. You now get Vim's
defaults, and you are free to override them in your ~/.vimrc.

PR:		251420
2022-09-03 12:03:52 -06:00
Adam Weinberger d283eb24db editors/vim: Update to 9.0.0129 2022-08-01 07:47:55 -06:00
Adam Weinberger 8380febbf3 editors/vim: Add some explanatory comments to the vimrc
Our vimrc duplicates settings from $VIMRUNTIME/defaults.vim, which
appears odd.

However, it's actually required because of vim-tiny. vim-tiny installs
an empty defaults.vim stub, meaning that it only gets the settings that
appear in our vimrc.

PR:		265502
2022-08-01 07:47:55 -06:00
Tobias C. Berner 7cd7a8d850 editors: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Andreas Kohout <shanee@augusta.de>
  *  Andrej Zverev <az@inec.ru>
  *  Andrey Zakhvatov
  *  Anton Tornqvist <antont@inbox.lv>
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Bob Eager <bob@eager.cx>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Petrik <chris@officialunix.com>
  *  Christian Brueffer <chris@unixpages.org>
  *  Craig Leres <leres@FreeBSD.org>
  *  Daniel Eischen <deischen@FreeBSD.org>
  *  David O'Brien <obrien@cs.ucdavis.edu>
  *  David Thiel <lx@redundancy.redundancy.org>
  *  Diego Depaoli <trebestie@gmail.com>
  *  Dima Dorfman <dima@unixfreak.org>
  *  Dmitri Goutnik <dg@syrec.org>
  *  Dominic Mitchell
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Frederic Cambus
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Geoffrey Mainland <mainland@apeiron.net>
  *  Grzegorz Blach <gblach@FreeBSD.org>
  *  Hakisho Nukama <nukama@gmail.com>
  *  James Bailie <jimmy@mammothcheese.ca>
  *  Janos Mohacsi <janos.mohacsi@bsd.hu>
  *  Jason Evans <jasone@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jille Timmermans (jille@quis.cx)
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Merryweather Cooper et al
  *  Jun-ichiro itojun Itoh <itojun@itojun.org>
  *  KIMURA Yasuhiro <yasu@utahime.org>
  *  Kelly Yancey <kbyanc@posi.net>
  *  Kenneth Vestergaard Schmidt <kvs@pil.dk>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Leif Pedersen <bilbo@devpit.org>
  *  MANTANI Nobutaka <nobutaka@nobutaka.com>
  *  Mark Pulford <mark@kyne.com.au>
  *  Martin Blapp
  *  Matías Pizarro <matias@pizarro.net>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Johnson <ahze@ahze.net>
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael Vasilenko <acid@stu.cn.ua>
  *  Miguel Clara <miguelmclara@gmail.com>
  *  Mohammad S. Babaei <info@babaei.net>
  *  Nicola Vitale <nivit@email.it>
  *  Olga Smirnova <mistresssilvara@hotmail.com>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Olivier Duchateau
  *  Patrick Li <pat@databits.net>
  *  Peter Wemm <peter@FreeBSD.org>
  *  Philippe Lefebvre <nemesis@balistik.net>
  *  Rimvydas Jasinskas <zrj@ef.irc>
  *  Roman Shterenzon <roman@xpert.com>
  *  Satoshi Asami (asami)
  *  Shaun Amott <shaun@FreeBSD.org>
  *  Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
  *  Shigeyuki Fukushima <shige@FreeBSD.org>
  *  Stanislav Sedov <stas@core.310.ru>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Vitaly Magerya <vmagerya@gmail.com>
  *  Xin LI <delphij@FreeBSD.org>
  *  Ying-Chieh Liao
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
  *  alepulver
  *  brett@peloton.physics.montana.edu
  *  buganini@gmail.com
  *  eric
  *  erich@rrnet.com
  *  gahr
  *  gelf
  *  giffunip@asme.org
  *  ijliao
  *  jkh
  *  joerg
  *  joseph@randomnetworks.com
  *  krion
  *  lightside <lightside@gmx.com>
  *  pgf
  *  rch@richard.eu.org
  *  tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp>
  *  tg
  *  thierry@pompo.net
  *  torstenb@FreeBSD.org
  *  verm

With hat:	portmgr
2022-07-20 16:21:49 +02:00
Adam Weinberger a8eb412d27 editors/vim: Update to 9.0.0016
This is a major release. The biggest new feature is vim9 script, a
backwards-incompatible dialect that improves some of the worst
headaches of classic vimscript.
2022-07-01 08:11:53 -06:00
Adam Weinberger f27ea6b185 editors/vim: Update to 8.2.5052 and fix vimrc clobbering
Vim runtime's defaults.vim will clobber global vimrc settings. It's
fine for the settings we provide, but other edits to that file can
get lost.

To work around this, defaults.vim is now directly sourced and a flag
is set to stop that file from getting loaded a second time. Thanks go
to Anton Saietskii for that bit of magic.

PR:	251420
2022-06-02 11:41:47 -06:00
Adam Weinberger 2530a2f683 editors/vim: Update to 8.2.5048 2022-06-01 03:23:00 -06:00
Adam Weinberger 117e5b03b2 editors/vim: Update to 8.2.4851 2022-05-01 02:04:55 -06:00
Piotr Kubaj 5765994c28 editors/vim: don't exclude RUBY on powerpc64 2022-04-22 15:37:47 +00:00
Piotr Kubaj 7633a0e575 editors/vim: RUBY works fine on powerpc64le 2022-04-17 13:05:52 +02:00
Adam Weinberger de02b1a9d2 editors/vim: Update to 8.2.4669, add x11 support, drop Athena
Vim no longer includes the Athena (Xaw) frontend, so drop the
athena flavor.

As requested by many (and based on a patch from scf), restore the x11
flavor. The x11 flavor is a bit odd; it doesn't actually include an X
GUI. As a result, when Vim got flavorized I dropped it as I thought
it was vestigial. What the x11 flavor actually provides is support for
some X interaction (mainly xclipboard), and is highly useful to people
who run console Vim within X.

The outcry was pretty swift, and I'd like to thank all the people who
took the time to email me about it, and especially scf who provided
the bulk of this patch.

I'm going to MFH this due to the athena build failure.
2022-04-02 16:13:32 -06:00
Adam Weinberger bc43a03179 editors/vim: Update to 8.2.4659 2022-04-01 03:50:54 -06:00
Adam Weinberger 5e5bcdc46a editors/vim: Update to 8.2.4485 2022-03-01 00:39:33 -07:00
Adam Weinberger 8624f226aa editors/vim: Update to 8.2.4282 2022-02-02 06:07:53 -07:00
Adam Weinberger 81b98b54e1 editors/vim: Update to 8.2.3745 2021-12-05 08:14:20 -07:00
Adam Weinberger e7ea7e874b editors/vim: Update to 8.2.3616
In particular, this picks up "patch 8.2.3582: reading uninitialized
memory when giving spell suggestions""
2021-11-18 11:52:03 -07:00
Adam Weinberger f3da483a6b editors/vim: Update to 8.2.3570
Remove x11 flavor. It adds xclip support but doesn't contain a GUI,
making it more confusing than helpful.

I doubt anyone really used it, but if so then vim-athena, the simplest
X GUI toolkit, is the one you're looking for.
2021-11-02 05:13:15 -06:00
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00
Adam Weinberger b9521189d0 editors/vim: Update to 8.2.3458
Security:	CVE-2021-3778
                CVE-2021-3796

Reported by:	TJ
2021-09-29 21:35:14 -06:00
Michael Osipov ed60959f8d editors/git: Explicitly disable X for console Builds
PR:   258407
2021-09-18 17:51:58 -06:00
Adam Weinberger b3408688b0 editors/vim: Fix build under (non-poudriere) `make install' 2021-09-03 01:28:35 -06:00
Derek Schrock a6a9141dbc editors/vim: Fix python language bindings
PR:		258234
2021-09-03 01:11:05 -06:00
Adam Weinberger fc10d4ef30 editors/vim: Define CONFLICTS_INSTALL and PKGNAMESUFFIX in just one place
Suggested by:	danfe
2021-09-02 01:30:13 -06:00
Adam Weinberger 620f205539 editors/vim: Flavorize and update to 8.2.3394
This commit completely rewires the vim ports. It includes the following:

* `vim' is now a TUI-only package. It is what the `vim-console' port
  was.

* `vim-gtk3' includes the TUI binary (vim) and a GTk3-backed GUI. It is
  what the `vim' port was.

* Each GUI toolkit has a separate package. There is vim-gtk3, -gtk2,
  -motif, -athena, and -x11.

* `vim-tiny' is still the same thing, except it includes a defaults.vim
  stub to silence a startup error message.

* Only the python3 language binding is included by default. Perl, Ruby,
  TCL, Scheme, and Lua can still be enabled via options. But there are
  very, very few plugins that require anything other than python.

* py27 support is removed entirely.

* CScope support is unconditionally enabled, but vim no longer depends
  upon it. If cscope is installed, it'll be used.

* The default ctags is now the version included in base. It's very
  rudimentary, but only a subset of users use ctags at all. Universal or
  exuberant ctags can still be enabled via option knobs.
2021-09-02 00:36:47 -06:00
Adam Weinberger 6cfa70cdef editors/vim: Explicitly disable libcanberra support
Vim will link against libcanberra if it's installed. It really doesn't
serve any particular purpose for a text editor, so it makes sense for
us to just disable it explicitly.

This change existed before, but was hidden in the GNOME option and got
removed when libgnomeui was purged.

PR:		257565
Reported by:	Philipp Ost
2021-08-02 16:35:45 -06:00
Adam Weinberger b914b06406 editors/vim: Update to 8.2.3273 2021-08-02 05:15:39 -06:00
Adam Weinberger 85aaea5e86 editors/vim: Update to 8.2.3081 2021-07-01 08:48:15 -04:00
Adam Weinberger 3fb36d0318 editors/vim: Update to 8.2.2918 2021-06-01 09:33:37 -04:00
Adam Weinberger 82c141a1b5 editors/vim: Update to 8.2.2820 2021-05-01 09:12:54 -04:00
Baptiste Daroussin c399c4d12f Prepare removal for libgnomeui
Remove the GNOME option for all ports depending on libgnomeui
2021-05-01 14:42:30 +02:00
Adam Weinberger 4d5cf5c847 Try harder to build when libsysinfo is installed
PR:		254891
2021-04-16 10:12:44 -04:00
Adam Weinberger 2ad30e919c editors/vim: Update to 8.2.2725 2021-04-06 10:40:20 -04:00
Mathieu Arnold 135fdeebb9 all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold 305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Adam Weinberger 5bc121169f editors/vim: Update to 8.2.2569 2021-03-04 21:46:51 +00:00
Adam Weinberger 6b5c80d8a4 editors/vim: Update to 8.2.2461 2021-02-03 19:12:50 +00:00
Baptiste Daroussin 73503c6770 Ensure vim uses ncursesw (the widechar version) everywhere
Reported by:	cy
2021-01-05 17:49:26 +00:00
Adam Weinberger e4a1c4e89b editors/vim: Update to 8.2.2263 2021-01-01 17:14:35 +00:00
Adam Weinberger 45e62100c8 editors/vim: Update to patchlevel 2072 2020-12-01 14:52:35 +00:00
Adam Weinberger efd2e0cc5f editors/vim: Update to patchlevel 1943 2020-11-02 23:32:53 +00:00
Mark Linimon 48aa92f9f5 Set OPTIONS_EXCLUDE_powerpc64le the same way as for powerpc64.
Approved by:	portmgr (tier-2 blanket)
2020-09-27 20:08:18 +00:00