Commit Graph

30 Commits

Author SHA1 Message Date
Fabrice Fontaine 584f4e7198 utils/vim: add license info
vim is licensed under its own Vim license:
https://spdx.org/licenses/Vim.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-01-30 10:06:37 -08:00
Nick Hainke f1bacdc1dc vim: update to 9.0
Remove upstreamed patches:
- 001-support-defining-compilation-date-in-SOURCE_DATE_EPOCH.patch
  -> 8f1dde5021
- 020-macos.patch
  -> 5289783e0b

Refresh patches:
- 002-remove_helptags_generation.patch

Release Notes:
https://www.vim.org/vim90.php

Add to configure_args:
 --disable-libsodium

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-22 01:25:51 -07:00
Karel Kočí 46c058468a vim: variants conflict with each other
This adds conflicts between the variants,
because they provide the same files, and it should not be
possible to install them side by side. Otherwise, it might happen that
half files would be from one variant and the other half from the
other.

Also, adds provides as if you request to install ``vim`` and
``vim-full``, then the request could be satisfied even they collide,
because ``vim-full`` provides ``vim`` package.

Signed-off-by: Karel Kočí <cynerd@email.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[add commit message]
2022-08-23 21:17:08 -07:00
Marko Ratkaj defd5be6cd vim: update maintainer email
Signed-off-by: Marko Ratkaj <markoratkaj@gmail.com>
2022-03-31 12:52:00 +02:00
Rosen Penev 74daf78dd6 vim: remove vim/host
The only use of it is for xxd. tools/xxd was added in base so this can
go.

https://github.com/openwrt/openwrt/commit/c4dd2441e7

added it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-17 10:04:40 +01:00
Rosen Penev 6c73457c09 vim: fix compilation with macOS
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-05 17:33:28 -07:00
Sergio E. Nemirowski 6583ef0049 vim: install vimdiff symlink for vim-full
vim-full comes with diff feature

Signed-off-by: Sergio E. Nemirowski <sergio@outerface.net>
2021-05-06 14:31:50 -07:00
Rosen Penev d5ddc98cb6 vim: fix compile with BUILD_NLS
Avoids having to use msgfmt, which happens to be broken with gettext-full.

msgfmt is used for the desktop gvim application, which is not used here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-27 01:40:26 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Paul Spooren d964a3ba92 vim: run test.sh only for vim{-full,-fuller}
Previously the test.sh script would also run for the `vim-help` package
which isn't a binary package but just a tar archive.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-10-09 15:54:04 -10:00
Paul Spooren edb8bda1f7 vim: add runtime test
Run test script to see if compiled binary prints sane output.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-18 13:18:06 -10:00
Rosen Penev 67d6989c1e
vim: explicitly disable selinux
Now that libselinux is in the tree, vim picks it up.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-18 00:23:02 -07:00
Rosen Penev a52f36cbb8
vim: update to 8.2
Removed multibyte options. They must now be enabled.

Refreshed patches.

Commented out autowrite as requested in
https://github.com/openwrt/packages/pull/12177

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-28 15:46:52 -07:00
Rosen Penev 53a7735233
vim: install vimdiff symlink for vim-fuller
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 18:23:48 -08:00
Sebastian Kemper dc727a2430 vim/host: fix build failures
Indeterminably vim/host fails on the build bots:

objects/fileio.o: In function `readfile':
fileio.c:(.text+0x5b3f): undefined reference to `libiconv_close'
fileio.c:(.text+0x61ad): undefined reference to `libiconv_close'
fileio.c:(.text+0x62f6): undefined reference to `libiconv'
fileio.c:(.text+0x6794): undefined reference to `libiconv_close'
objects/fileio.o: In function `buf_write_bytes':
fileio.c:(.text+0xa1fe): undefined reference to `libiconv'
fileio.c:(.text+0xa54a): undefined reference to `libiconv'
objects/fileio.o: In function `buf_write':
fileio.c:(.text+0xaf48): undefined reference to `libiconv_close'
objects/mbyte.o: In function `my_iconv_open.part.18':
mbyte.c:(.text+0x2ced): undefined reference to `libiconv_open'
mbyte.c:(.text+0x2d3a): undefined reference to `libiconv'
mbyte.c:(.text+0x2d5f): undefined reference to `libiconv_close'
objects/mbyte.o: In function `convert_setup_ext':
mbyte.c:(.text+0x33bf): undefined reference to `libiconv_close'
objects/mbyte.o: In function `string_convert_ext':
mbyte.c:(.text+0x363c): undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
link.sh: Linking failed
Makefile:1949: recipe for target 'vim' failed

This is addressed by pulling in libiconv/host. Also configure switches
are added that keep external dependencies to a minimum, for instance
avoiding to link to X11 or gettext.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-02 13:17:01 +01:00
Jan Pavlinec f2417d7198
vim: patch security issue
Fixes CVE-2019-12735

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-06-06 15:54:55 +02:00
Rosen Penev 7df4cc1a43 vim: Remove bogus libelf dependency
Unused and Unneeded.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-02 16:21:37 -07:00
Rosen Penev 8e93386b80
vim: Add host build to install xxd
Packages such as ttyd and device-observatory need this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-10 16:23:00 -07:00
Felix Fietkau f3b7a2dd2d vim: fix build on non-linux systems after upgrade
The configure script calls uname directly and assumes that it returns
the system to build for.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-10-10 10:50:25 +02:00
Rosen Penev 193b7ea072 vim: Update to 8.1
Switch URL to HTTP. More reliable.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-20 20:34:21 -07:00
Felix Fietkau 3b45e95542 vim: disable darwin support
Fixes build on Mac OS X hosts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-07-02 17:00:44 +02:00
Alexander Couzens abdca7c61f
vim: remove build timestamp/hostname/username
Build timestamp prevents reproducible builds [0].
Same for other irrelevant informations e.g. hostname, username.
Thanks to debian for the patch.

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-04 23:57:05 +01:00
Marko Ratkaj 93feea7ffa vim: bump to 8.0.586
Upgrade vim to version 8.0.586

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-10-17 15:18:08 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Shane Peelar a5218a505c vim: Add "fuller" package
The fuller package is built with --with-features=big and contains
the files that would normally live in /usr/share/vim/, including
syntax highlighting and colours.  This package supports truecolor
support in terminals.

Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
2017-02-02 14:38:51 -05:00
Shane Peelar 33b52a63e9 vim: Update Vim to 8.0.069
Vim stable is at version 8 now

Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
2017-02-02 09:35:59 -05:00
Florian Fieber 9f4c0abc22 vim: Fix editing crontabs with crontab -e
Per default, vim creates a new file and keeps the original file as backup.
This leads to crontab checking the backup file for changes instead of the
one actually being edited, resulting in any changes being silently dropped.
Since busybox's crontab saves temporary crontab files in "/etc/crontabs.*"
vim's default of "backupskip=/tmp/*" doesn't circumvent this.

This commit fixes this issue by appending "/etc/crontabs.*" to "backupskip".

Signed-off-by: Florian Fieber <florian@florianfieber.de>
2015-06-05 20:32:44 +02:00
Ted Hess 87f1259fda vim: Fix false broken package status (buildbot)
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-05-21 16:02:31 -04:00
Marko Ratkaj 1c9dfa57bb vim: fix acl detection bug
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-03-12 23:33:36 +01:00
Marko Ratkaj c48fe5e030 vim: import from old packages
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-03-02 19:57:02 +01:00