Commit Graph

21 Commits

Author SHA1 Message Date
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
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
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