Dominique Leuenberger 2018-01-16 08:32:21 +00:00 committed by Git OBS Bridge
commit 97aa0c367f
5 changed files with 40 additions and 7 deletions

View File

@ -142,9 +142,9 @@ syn match sdCapDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?capability\s*,(\s*$|
" Network line
" Syntax: network domain (inet, ...) type (stream, ...) protocol (tcp, ...)
" TODO: 'owner' isn't supported, but will be (JJ, 2011-01-11)
syn match sdNetwork /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unspec|unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock|kcm|qipcrtr))?(\s+(stream|dgram|seqpacket|rdm|packet))?(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude
syn match sdNetwork /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unspec|unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock|kcm|qipcrtr|smc))?(\s+(stream|dgram|seqpacket|rdm|packet))?(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude
" network rules containing 'raw'
syn match sdNetworkDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unspec|unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock|kcm|qipcrtr))?(\s+(raw))(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude
syn match sdNetworkDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network(\s+(unspec|unix|inet|ax25|ipx|appletalk|netrom|bridge|atmpvc|x25|inet6|rose|netbeui|security|key|netlink|packet|ash|econet|atmsvc|rds|sna|irda|pppox|wanpipe|llc|ib|mpls|can|tipc|bluetooth|iucv|rxrpc|isdn|phonet|ieee802154|caif|alg|nfc|vsock|kcm|qipcrtr|smc))?(\s+(raw))(\s+tcp|\s+udp|\s+icmp)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude
" 'all networking' includes raw -> mark as dangerous
syn match sdNetworkDanger /\v^\s*(audit\s+)?(deny\s+|allow\s+)?network\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ead219e791fea02363fe1975b2dbae4cfefa503553c4ef2f972df5ba95f92c04
size 13412925

3
vim-8.0.1428.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:481f0f3478dbf6dcf4d0a63d7974966fc0773b17630c46a95825773608ea1f22
size 13415243

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Mon Jan 8 11:32:31 UTC 2018 - idonmez@suse.com
- Updated to revision 1428, fixes the following problems
* No test for expanding backticks.
* Cursor column is not updated after ]s. (Gary Johnson)
* Accessing freed memory in vimgrep.
* Accessing invalid memory with overlong byte sequence.
* No fallback to underline when undercurl is not set. (Ben Jackson)
* Error in return not caught by try/catch.
* The timer_pause test is flaky on Travis.
* execute() does not work in completion of user command. (thinca)
* "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
* The :leftabove modifier doesn't work for :copen.
* Compiler warning on 64 bit MS-Windows system.
-------------------------------------------------------------------
Mon Jan 8 11:18:32 UTC 2018 - normand@linux.vnet.ibm.com
- ignore make check transient errors for PowerPC
bypass boo#1072651
-------------------------------------------------------------------
Sun Jan 7 17:08:12 UTC 2018 - suse-beta@cboltz.de
- Update apparmor.vim (taken from AppArmor 2.12)
* add support for the "smc" network keyword
-------------------------------------------------------------------
Wed Dec 20 10:51:27 UTC 2017 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package vim
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
%define pkg_version 8.0
%define patchlevel 1417
%define patchlevel 1428
%define patchlevel_compact %{patchlevel}
%define VIM_SUBDIR vim80
%define site_runtimepath %{_datadir}/vim/site
@ -341,7 +341,12 @@ export TERM=linux
# Reset the terminal scrolling region left behind by the testsuite
trap "printf '\e[r'" EXIT
# Look for "TEST FAILURE" in the build log
%ifarch ppc ppc64 ppc64le
LC_ALL=en_US.UTF-8 make test || { echo "Ignore transient errors for PowerPC. boo#1072651"; }
%else
make test
LC_ALL=en_US.UTF-8 make test
%endif
%post
%{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/vim-nox11 20