12 Commits

Author SHA1 Message Date
Mingli Yu 6ef9657068 vim: improve reproducibility
Clear all_cflags, all_lflags, compiled_user
and compiled_sys to avoid introducing build
info to improve reproducibility as below:

WARNING: vim-8.1.0347-r0 do_package_qa: QA Issue: File /work/core2-64-wrs-linux/vim/8.1.0347-r0/packages-split/vim/usr/bin/vim.vim in package contained reference to tmpdir [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-02-04 22:09:31 -08:00
changqing.li@windriver.com 318c9572d2 vim/vim-tiny: upgrade 8.0.0983 -> 8.1.0.116
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-29 07:00:52 -07:00
Li Zhou eaa4b4baa6 vim: Security Advisory - vim - CVE-2017-17087
Porting the patch from <https://github.com/vim/vim/commit/
5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8> to solve CVE-2017-17087.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:25:03 -08:00
Paul Barker 078cfe871b vim: Update to 8.0.0427
8.0.0427 is currently used in Arch Linux so we know it has at least had
some testing.

Upstream has fixed the following CVEs since 8.0.0022:
* CVE-2016-1248 in 8.0.0056
* CVE-2017-5953 in 8.0.0322
* CVE-2017-6349 in 8.0.0377
* CVE-2017-6350 in 8.0.0378
See http://www.cvedetails.com/product/14270/VIM-VIM.html?vendor_id=8218

Patches are updated as src/configure.in was renamed upstream.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:34 +01:00
Paul Barker 9af1859ed1 vim: Update to v8.0.0022
v8.0.0022 is currently used in Debian Testing.

In the license file (uganda.txt) only the version number has changed.

The new version installs icons for gvim into /usr/share/icons. For now these are
just placed in the vim-common package as they use only a kB or so.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:40 +02:00
Paul Barker c31ccabca5 vim: Upgrade to v7.4.1689
v7.4.1689 is currently used in Debian Testing and Arch Linux.

The tags file used as an index to vim's documentation is not correctly created
when cross compiling in v7.4.1689. Patch 7.4.1733 is backported to fix this
issue.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:24 +02:00
Chong Lu a5cc93d8e3 vim: add knob whether elf.h are checked
Previously, it still was checked when there was no elf library in sysroots directory.
Add knob to decide whether elf.h are checked or not.

Fixed by using PACKAGECONFIG to check elf, with default disabled set.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:48 +02:00
Chong Lu 38d45f7446 vim: don't check acl header if acl support disabled
Vim/vim-tiny always check 'sys/acl.h' existence even acl support
has been disabled from configure line. This works in mostly time
but except for acl works in an odd mode - while acl was mirrored
from sstate_cache, it will install 'sys/acl.h' to sysroot dir and
and then clean the header file with sysroot_cleansstate().

If build vim/vim-tiny and acl in parallel, below errors will occur:

* os_unix.c:2668:23: fatal error: sys/acl.h: No such file or directory

This change only workaround the failure and get build running, we
still need to fix it from acl side.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:47 +02:00
Paul Barker 2bc68c32cb vim: Upgrade to v7.4.258
The patch against configure.in was resubmitted to the vim mailing list and was
merged into the upstream sources so is no longer needed.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 13:14:56 +02:00
Paul Barker 7d3febb7d3 vim: update to 7.3.905
Replace version 7.2.446 with the latest version currently available, 7.3.905.

The old fetch method was inefficient as version 7.2 was downloaded and patches
applied to get to version 7.2.446. Attempting this method with git 7.3 did not
work as not all 905 patches applied cleanly. Instead we fetch version 7.3.905
directly from the upstream mercurial repository. This causes an implicit
dependency on mercurial-native for the build which is reasonable considering
that not many images include vim by default.

The previously used patch configure.in_remove_CC_quotes.patch is still required
as these changes haven't been made upstream; this patch still applies cleanly.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-22 19:00:56 +02:00
Paul Barker 29f73dc16d vim: use example vimrc from vim runtime files
Rather than keeping our own local vimrc file we can use vimrc_example.vim from
the runtime files distributed with vim. This keeps us up-to-date with changes to
the config when we move to a new vim version.

Also tidy comments around do_install_append so that it is clearer what is
happening.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-22 19:00:56 +02:00
Michael Lippautz 55fccdc2be vim: Add vim/tiny-vim/gvim 7.2 (patchset 446)
Changes from org.oe.dev:
* Include latest (stable) patchset
* Change from RCONFLICTS to RREPLACES where possible (gvim->vim->tiny-vim)

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
2011-04-18 20:59:07 +02:00