aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/vim
AgeCommit message (Collapse)Author
2017-08-28vim: update to 8.0.0983Yi Zhao
Fixed CVE-2017-11109 since 8.0.0707 See: http://www.cvedetails.com/vulnerability-list/vendor_id-8218/product_id-14270/year-2017/opdos-1/VIM-VIM.html Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16vim: Update to 8.0.0427Paul Barker
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-11vim: add native BBCLASSEXTENDMartin Jansa
* some recipes might use xxd * with stricter host binaries available in PATH: http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html we cannot use xxd from host and it's not so common to add it into HOSTTOOL_NONFATAL * there is also smaller solution for xxd -i (which is what I need): https://github.com/gregkh/xxdi but after creating xxdi-native recipe for this I've discovered that perl on my host as well as perlnative doesn't provide File::Slurp used by this, so adding BBCLASSEXTEND here is easier solution Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13remove some more True options to getVar callsAndre McCurdy
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls. Fix a small number of cases not addressed by the original patch: http://git.openembedded.org/meta-openembedded/commit/?id=efd3696e70a6603f1a45faa4a172433514f0a487 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26vim: Update to v8.0.0022Paul Barker
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-09-05vim: split tools directory into vim-tools packageAlexandru Moise
Normal install of vim packs with it also the /usr/share/vim/vim*/tools directory that consist of a bunch of scripts such as "vim132" that just starts up vim in 132 column mode for VT-100 terminals and lookalikes. Created the vim-tools separate package for the tools directory. If anyone needs these scripts they can be added to the fs image together with their dependencies. Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06vim: Upgrade to v7.4.1689Paul Barker
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-04-28meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton
base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23vim: Upgrade to v7.4.769Paul Barker
v7.4.769 is the latest marked stable in Gentoo so we know this has had some testing. License change is simply rewording "further more" -> "furthermore". Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31vim: Move SRC_URI from Google Code to github.Philip Balister
I chose the rev that matched the existing recipe version. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-02vim: fix up for /bin/viMartin Jansa
* it was changed in: Commit: 95dc2ddce7a0ee4d16d6c69fd123e4e6921bdf2e URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=95dc2ddce7a0ee4d16d6c69fd123e4e6921bdf2e Author: Jackie Huang <jackie.huang@windriver.com> Date: Thu Nov 6 03:22:27 2014 -0500 Subject: vim: add recipe for vim-tiny but busybox still registers /bin/vi, so u-a was broken update-alternatives: Error: cannot register alternative vi to /usr/bin/vi since it is already registered to /bin/vi Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-15vim: add recipe for vim-tinyJackie Huang
Changes: - Add bb for vim-tiny based on vim.bb - Change PACKAGECONFIG and do_install for vim-tiny - Change BPN to vim in vim.bb so it works fine when required by vim-tiny - Add proper alternative links for vim and vim-tiny to avoid conflicts - Don't use do_install_append in vim.bb so it works fine when required by vim-tiny Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-27vim: Upgrade to v7.4.481Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-18vim: add ncurses-terminfo-base as a runtime dependencyChen Qi
Without this patch, we may have problem using vim. Steps to reproduce the problem is as follows: 1. Set NO_RECOMMENDATIONS to "1". 2. bitbake core-image-minimal 3. runqemu qemux86 4. On target, execute `vi 1.txt'. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30vim: Upgrade to v7.4.373Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15vim: work around rpm picking up perl as a depJackie Huang
Some perl example scripts cause RPM to add perl as a dep, which we don't want, so remove x bit as work around just like the ones for csh and awk. Refer to: 1b088e4 vim: workaround nawk dependency problem with RPM 280d150 vim: workaround a dependency problem with RPM I think a better solution might be: Split the tools directory into a new package ${PN}-tools and add RDEPENDS on csh, awk and perl for it and we don't put it in RRECOMMENDS to install along with vim. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13vim: use BPN instead of PN to fix multilib buildJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10vim: Fix packaging of common data filesPaul Barker
The majority of the vim runtime files have been moved from the package 'vim-data' to the package 'vim-common'. However, 'vim-data' was still in RRECOMMENDS and 'vim-common' was not, so the runtime files were not being installed by default. To fix this, 'vim-data' is removed from RRECOMMENDS and 'vim-common' is added instead. 'vim-data' is also removed from PACKAGES as it should now be empty. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03vim: Don't build out-of-treePaul Barker
Out-of-tree builds don't seem to work for vim, probably as it doesn't use automake. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21vim: add knob whether elf.h are checkedChong Lu
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-21vim: don't check acl header if acl support disabledChong Lu
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-21vim: add dependency and selinux and acl support controlChong Lu
1. Add explicit selinux and acl support control. 2. Vim depends on gettext-native, add to the dependency list. 3. Split binary file into vim package and put others in vim-common. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20vim: Upgrade to v7.4.258Paul Barker
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-01-22vim: Upgrade to version 7.4.155Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-18vim: Disable parallel install, it has racesKhem Raj
We end up with install errors when using high parallel factor like -j20 errors like | mkdir: cannot create directory `/``build/tmp-eglibc/work/ppce500v2-poky-linux-gnuspe/vim/7.4.27-r0/image/usr/share/vim/vim74': File exists | mkdir: cannot create directory `/build/tmp-eglibc/work/ppce500v2-poky-linux-gnuspe/vim/7.4.27-r0/image/usr/share/vim/vim74': File exists Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-19vim: upgrade to v7.4.27 and refactorPaul Barker
'vim.inc' is merged into the new recipe 'vim_7.4.27.bb', the recipe is slightly reorganised and a minor omission in the comments is corrected. DESCRIPTION is replaced with SUMMARY. PR and INC_PR values are dropped. The variable PV_MAJOR is also dropped as it isn't used. LIC_FILES_CHECKSUM is updated as an address and version number given in the license have been modified. The main license text itself is unchanged. The setting of PARALLEL_MAKE to force single-threaded compilation is removed as there is no justification in the git history for this being needed and the compilation completes fine without it. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-10vim: workaround nawk dependency problem with RPMPeter Bigot
One of the examples has a #!/usr/bin/nawk which tells RPM to add that as a dep, which we don't want. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-03vim: upgrade to v7.3.1314Paul Barker
This is the last patch in the vim 7.3 series, the next release will be vim 7.4. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20vim: add PACKAGECONFIG for aclMartin Jansa
* it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-22vim: update to 7.3.905Paul Barker
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-22vim: use correct license filePaul Barker
The vim license conditions are in the file runtime/doc/uganda.txt within the sources, not src/README.txt. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-22vim: use example vimrc from vim runtime filesPaul Barker
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-19vim: prevent binaries from being stripped too earlyPaul Barker
By default, vim binaries are stripped during the build. This prevents us from putting non-stripped binaries into a -dbg package. Passing 'STRIP=/bin/true' to configure is the method recommended in the vim Makefile to disable stripping of binaries during the build. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19vim: recommend that runtime data is installed along with binariesPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-01-31vim: use new u-a syntaxMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-31vim: implement gvim, vim-tiny as PACKAGECONFIGMartin Jansa
* only one of those should be built in sysroot, otherwise they were overwritting files provided by other alternatives * define PACKAGECONFIG options * there are no RCONFLICTS/RREPLACES/RPROVIDES, because it depends on selected PACKAGECONFIGs * add PN to VIMDIR and use VIMDIR where undefined VIMVER was (e.g. "${PN}${VIMVER}") * move checksums from .inc to recipe * vim/gvim/vim-tiny conflict is now fatal, with http://patches.openembedded.org/patch/43105/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11vim-tiny: package /usr/share/vim in PN-dataMartin Jansa
* keep it separate from PN so PN is tiny * fixes warning about a lot of unpackaged files Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11gvim: fix unpackaged files QA warningMartin Jansa
* there is a lot of stuff installed to /usr/share/vim, but gvim does not have this in FILES_PN Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-28Replace bb.data.* with d.*Paul Eggleton
Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: sed \ -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-01-20vim: workaround a dependency problem with RPMKoen Kooi
One of the examples has a #!/bin/csh which tells RPM to add that as a dep, which we don't want Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-18vim: Add vim/tiny-vim/gvim 7.2 (patchset 446)Michael Lippautz
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>