821 Commits

Author SHA1 Message Date
Adam Weinberger
364b4e7b18 editors/vim: Update to 9.1.1948
Security: Arbitrary code execution (as user running vim). HIGH severity.
          https://github.com/vim/vim/security/advisories/GHSA-g77q-xrww-p834
2025-12-02 20:06:41 -05:00
Adam Weinberger
12ff82838f editors/vim: Update to 9.1.1942 2025-12-01 00:57:32 -05:00
Adam Weinberger
823c145d8e editors/vim: Update to 9.1.1840 2025-10-09 02:05:47 -04:00
Adam Weinberger
5b93ea9c80 editors/vim: Update to 9.1.1744 and handle wayland properly
Add --without-wayland for everything except the gtk3 FLAVOR. That
flavor now has a hard dep on wayland (it's already present from the
default gtk30 and libxkbcommon configurations).

This is a NOOP for everybody except gtk3 users who explicitly disabled
wayland in both gtk30 and libxkbcommon. The only effect for those
users is that wayland is now a LIB_DEP. There is no runtime effect
either way.

In the below PR, Piotr identified that vim will eagerly link against
wayland if present, even for a pure-console build.

The only toolkit that vim uses that can use wayland is gtk3, so
we now specify --without-wayland for everything else.

To complicate things, wayland support is optional in the gtk30 and
libxkbcommon ports. If either of those ports are built with wayland,
then vim has to link against libwayland-client regardless of the
relevant configure switches. So, adding a WAYLAND option for the gtk3
flavor would only work to disable wayland if it's disabled in both
gtk30 and libxkbcommon.

Instead, I'm making wayland a hard dep of the gtk3 flavor. For users
of our packages, this will be a transparent change. If your goal in
life is to never install wayland but you also want the gtk3 flavor,

PR:             289408
Reported by:    Piotr Smyrak
2025-09-09 13:01:10 -04:00
Adam Weinberger
0a6fbedce1 editors/vim: Don't clobber USES 2025-09-01 03:04:55 -04:00
Adam Weinberger
70a20866f8 editors/vim: Update to 9.1.1723
This update changes how python plugins are handled. Previosuly, we
linked directly against python, requiring all vim installations to
have a dependency on python. Perhaps that's fine for flavours like
gtk20 and gtk30, but it's burdensome and often unexpected for TUI
users.

Now, we use dynamic loading of python libraries, which means that
vim should automatically support python plugins if python is
installed. If python is NOT installed, no harm/no foul, just no
python plugin support.

I'm not expecting this to cause any issues, but if it does please
reach out!
2025-09-01 01:39:23 -04:00
Adam Weinberger
8b4e64383a editors/vim: Update to 9.1.1627 2025-08-12 18:01:16 -04:00
Adam Weinberger
f120a943d6 editors/vim: Bump PORTREVISION for previous commit
PR:		288515
2025-07-28 22:51:28 -04:00
Yusuf Yaman
4ff220b80c editors/vim: Pull in gnome.mk's gdkpixhufextra to fix runtime warnings
Non-fatal console warnings were generated when running vim-gtk3 and 2.
This is due to certain loadable modules moving from gdk-pixhuf to
gdk-pixbuf-extras.

See https://forums.freebsd.org/threads/gvim-messages-gdkpixbuf-warning-and-glib-gobject-critical.98679/
PR:		Yusuf Yaman
Reported by:	thierry, in the above FreeBSD Forums post
MFH:		2025Q3
2025-07-28 22:29:51 -04:00
Adam Weinberger
ec41dbb00c editors/vim: Update to 9.1.1563
CWE for both CVEs:

  Improper Limitation of a Pathname to a Restricted Directory ('Path
  Traversal') (CWE-22)

Security:	CVE-2025-53905
Security:	CVE-2025-53906
2025-07-18 08:45:24 -04:00
Adam Weinberger
f6ff55b015 editors/vim: Update to 9.1.1401 2025-05-21 15:18:03 -04:00
Adam Weinberger
4af95301c1 editors/vim: Update to 9.1.1378 2025-05-10 14:09:22 -04:00
Adam Weinberger
f896975905 editors/vim: Update to 9.1.1362 2025-05-03 19:51:50 -04:00
Adam Weinberger
9d7c8ff2cb editors/vim: Update to 9.1.1265 2025-04-01 12:07:19 -04:00
Charlie Li
e87d8134a3
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.

No functional or package changes.
2025-03-17 00:02:08 -04:00
Adam Weinberger
f1e4dac294 editors/vim: Update to 9.1.1198 (security)
potential data loss with zip.vim and special crafted zip files

Date: 12.03.2025
Severity: Medium
CVE: CVE-2025-29768
CWE: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
Summary

potential data loss with zip.vim and special crafted zip files
Description

Vim is distributed with the zip.vim plugin, that allows easy editing and
viewing of zip archives.

To view and extract zip files, vim uses the unzip(1) command, usually
provided by Info-ZIP, latest version on Debian is 6.0 from April 2009.

If an attacker creates an archive which contains a file -d/tmp, and a Vim
user views such a file and tries to extract such filename from
the archive, Vim will essentially run the following unzip command:

unzip -o <archive.zip> member-filename

However, since the member-filename is called -d/tmp, this is seen by
the unzip command as an additional argument and it therefore happily
extracts the whole archive into the mentioned directory, overwriting existing
files because of the -o.

Unfortunately, the latest released unzip version does not support --
as and end-of-argument marker, so we cannot use this to mark the
beginning of the member-files for unzip. Well, apparently there exists
some 6.10 beta release, that hasn't made it to an official release
yet which supports the use of the -- marker since 2010 (but this isn't
widely known).

Therefore, Vim will try to work-around it by using the [-] glob when a
filename starts with a - to protect unzip from parsing the filename as
an argument, which is just an ugly work-around.
Impact

Impact is moderate because a user must be made to view such an archive
with Vim and then press 'x' to extract such a strange filename.

The Vim project would like to thank @Ry0taK (GMO Flatt Security Inc) and
@takumi-san-ai for reporting this issue.

MFH:		2025Q1
Security:	GHSA-693p-m996-3rmf
2025-03-12 20:59:01 -04:00
Adam Weinberger
c7aeeb0958 editors/vim: Update to 9.1.1164 (security, high severity)
From the Github Advisory (https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3):
  Summary:

      Potential code execution with tar.vim and special crafted tar
      files.

  Description:

      Vim is distributed with the tar.vim plugin, that allows easy
      editing and viewing of (compressed or uncompressed) tar files.

      Since commit 129a844 (Nov 11, 2024 runtime(tar): Update tar.vim to
      support permissions), the tar.vim plugin uses the ":read " ex
      command line to append below the cursor position, however the is
      not sanitized and is taken literaly from the tar archive. This
      allows to execute shell commands via special crafted tar archives.
      Whether this really happens, depends on the shell being used
      ('shell' option, which is set using $SHELL).

  Impact:

      Impact is high but a user must be convinced to edit such a file
      using Vim which will reveal the filename, so a careful user may
      suspect some strange things going on.

  The Vim project would like to thank RyotaK (GMO Flatt Security Inc)
  for reporting this issue.

  The issue has been fixed as of Vim patch v9.1.1164.

MFH:		2025Q1
Security:	GHSA-wfmf-8626-q3r3
2025-03-02 23:00:23 -05:00
Adam Weinberger
06ceaed13f editors/vim: Update to 9.1.1117 2025-02-16 13:58:17 -05:00
Adam Weinberger
da41300ba7 editors/vim: Update to 9.1.1043 2025-01-21 00:59:24 -05:00
Adam Weinberger
6e356985a5 editors/vim: Update to 9.1.1006 2025-01-11 12:49:15 -05:00
Adam Weinberger
b98741142e editors/vim: Update to 9.1.0984 2025-01-02 21:17:40 -05:00
Adam Weinberger
28c679d66b editors/vim: Update to 9.1.0915 2024-12-09 13:26:27 -05:00
Adam Weinberger
634c56e721 editors/vim: Update to 9.1.0764 2024-10-06 13:24:47 -04:00
Adam Weinberger
58ba220c7d editors/vim: Update to 9.1.0708 2024-09-02 01:09:48 -04:00
Adam Weinberger
ff32445429 editors/vim: Update to 9.1.0697 2024-08-26 18:22:25 -04:00
Adam Weinberger
f1495ea199 editors/vim: Update to 9.1.0689 2024-08-22 16:30:20 -04:00
Adam Weinberger
64145bb14e editors/vim: Update to 9.1.0678 2024-08-16 09:26:41 -04:00
Adam Weinberger
d88bce6dfa editors/vim: Update to 9.1.0652 2024-08-01 23:47:56 -04:00
Adam Weinberger
52b4861faa editors/vim: Update to 9.1.0530 2024-07-04 23:58:15 -04:00
Adam Weinberger
a3584f5c3a editors/vim: Update to 9.1.0470 2024-06-09 01:07:37 -04:00
Adam Weinberger
bae767329e editors/vim: Update to 9.1.0404 2024-05-10 11:04:25 -04:00
Adam Weinberger
e7350d88cc editors/vim: Update to 9.1.0158
While here:
- Add explicit --disable-libsodium [1]
- Clear PORTREVISION on xxd as it gets a bump from this update

PR:		277545
Reported by:	dewayne heuristicsystems com au [1]
2024-03-08 18:50:31 -05:00
Muhammad Moinur Rahman
26ca54b51e editors/vim: Impelled to share/man
Approved by:    portmgr (blanket)
2024-01-23 20:56:21 +01:00
Baptiste Daroussin
1b819e4869 MAN?PREFIX: eleminate its usage and move man to share/man 2024-01-10 09:16:01 +01:00
Adam Weinberger
0a24bd298f editors/vim: Update to 9.1.0015 2024-01-05 21:19:07 -05:00
Nuno Teixeira
3572ca3e01 */*: Bump consumers of x11-toolkits/gtk30
New version of gtk3 in tree
2023-12-23 18:14:14 +00:00
Adam Weinberger
c480122aa3 editors/vim: Update to 9.0.2143 2023-12-02 20:12:45 -05:00
Adam Weinberger
97453cd6db editors/vim: Include GitHub URL in WWW, not pkg-descr 2023-11-25 15:58:04 -05:00
Adam Weinberger
cbcb672b07 editors/vim: Update to 9.0.2130 2023-11-25 15:55:47 -05:00
Adam Weinberger
5425c341bd editors/vim: Update to 9.0.2112 2023-11-18 21:44:24 -05:00
Dan Langille
0cc58ed59d */*: Fix broken UCL
Most of this is a missing ] or }. In one case, it was leading
whitespace before a EOM tag.

PR:		259533
Approved by:	portmgr (blanket)
2023-11-03 12:00:08 +00:00
Adam Weinberger
a89482deae editors/vim: Update to 9.0.2073 2023-10-27 07:36:20 -04:00
Adam Weinberger
03717b9571 editors/vim: Update to 9.0.2050 2023-10-19 06:52:42 -04:00
Adam Weinberger
b7b471cbcf editors/vim: Update to 9.0.2018 2023-10-12 00:23:39 -04:00
Adam Weinberger
d8c5a74823 editors/vim: Update to 9.0.1994 2023-10-06 00:18:40 -04:00
Adam Weinberger
6ad4b13d88 editors/vim: Update to 9.0.1976 2023-10-02 22:14:31 -04:00
Adam Weinberger
9d1c9b818d editors/vim: Add XXD option
Rather than conflicting with xxd (which presents a dependency problem
for users who don't want to install vim), add an option to depend on
xxd. So, the vim port will no longer install xxd, but the option is
on by default so most users won't see a difference (other than the new
dependency).

PR:		274104
Reported by:	corvink
2023-10-02 22:14:31 -04:00
Adam Weinberger
099b4ded05 editors/vim: Update to 9.0.1968 2023-10-02 06:56:05 -04:00
Adam Weinberger
1af7bd7447 editors/vim: Update to 9.0.1876
Contains various security fixes (mainly for overflows).
2023-09-05 15:16:20 -04:00
Adam Weinberger
e1c732e1da editors/vim: Update to 9.0.1857
On 5 August, 2023, Bram Moolenaar, the long-time maintainer and
architect of Vim, passed away. In addition to being a legendary
software engineer and open-source advocate, he was a major
philanthropist. His impact on the OSS world was immense, as was
his dedication to speaking out for those whose voices are too
often missed.. The Vim project remains in good hands with the
Vim community.
2023-09-03 14:45:40 -04:00