[arch-commits] Commit in vim-systemd/repos/community-any (4 files)

Alexander Rødseth arodseth at archlinux.org
Mon Apr 10 13:45:35 UTC 2017


    Date: Monday, April 10, 2017 @ 13:45:34
  Author: arodseth
Revision: 221776

archrelease: copy trunk to community-any

Added:
  vim-systemd/repos/community-any/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch
    (from rev 221775, vim-systemd/trunk/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch)
  vim-systemd/repos/community-any/PKGBUILD
    (from rev 221775, vim-systemd/trunk/PKGBUILD)
Deleted:
  vim-systemd/repos/community-any/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch
  vim-systemd/repos/community-any/PKGBUILD

-----------------------------------------------------------------+
 0001-Add-more-syntax-keywords-for-service-and-socket-file.patch |   78 +++++-----
 PKGBUILD                                                        |   73 +++------
 2 files changed, 70 insertions(+), 81 deletions(-)

Deleted: 0001-Add-more-syntax-keywords-for-service-and-socket-file.patch
===================================================================
--- 0001-Add-more-syntax-keywords-for-service-and-socket-file.patch	2017-04-10 13:45:28 UTC (rev 221775)
+++ 0001-Add-more-syntax-keywords-for-service-and-socket-file.patch	2017-04-10 13:45:34 UTC (rev 221776)
@@ -1,39 +0,0 @@
---- syntax-systemd.vim	2013-04-10 18:35:36.393637187 -0400
-+++ /home/daniel/syntax-systemd.vim	2013-04-10 18:39:22.290301255 -0400
-@@ -152,7 +152,10 @@
- syn match sdServiceKey contained /^BusName=/
- syn match sdServiceKey contained /^\%(RemainAfterExit\|GuessMainPID\|PermissionsStartOnly\|RootDirectoryStartOnly\|NonBlocking\|ControlGroupModify\)=/ nextgroup=sdBool,sdErr
- syn match sdServiceKey contained /^\%(SysVStartPriority\|FsckPassNo\)=/ nextgroup=sdUInt,sdErr
--syn match sdServiceKey contained /^\%(Restart\|Timeout\)Sec=/ nextgroup=sdDuration,sdErr
-+syn match sdServiceKey contained /^\%(Restart\|Timeout\|Watchdog\)Sec=/ nextgroup=sdDuration,sdErr
-+syn match sdServiceKey contained /^StartLimit\%(Interval\|Burst\)=/ nextgroup=sdDuration,sdErr
-+syn match sdServiceKey contained /^StartLimitAction=/ nextgroup=sdLimitActionType,sdErr
-+syn match sdServiceKey contained /^\%(Success\|RestartPrevent\)ExitStatus=/ nextgroup=sdErr
- syn match sdServiceKey contained /^Sockets=/ nextgroup=sdUnitList
- syn match sdServiceKey contained /^PIDFile=/ nextgroup=sdFilename,sdErr
- syn match sdServiceKey contained /^Type=/ nextgroup=sdServiceType,sdErr
-@@ -161,6 +164,7 @@
- syn keyword sdServiceType contained nextgroup=sdErr simple forking dbus oneshot notify idle
- syn keyword sdRestartType contained nextgroup=sdErr no on-success on-failure on-abort always
- syn keyword sdNotifyType  contained nextgroup=sdErr none main all
-+syn keyword sdLimitActionType  contained nextgroup=sdErr none reboot reboot-force reboot-immediate
- 
- " [Socket] {{{1
- syn region sdSocketBlock matchgroup=sdHeader start=/^\[Socket\]/ end=/^\[/me=e-2 contains=sdSocketKey,sdExecKey
-@@ -168,7 +172,7 @@
- syn match sdSocketKey contained /^Listen\%(FIFO\|Special\)=/ nextgroup=sdFilename,sdErr
- syn match sdSocketKey contained /^\%(Socket\|Directory\)Mode=/ nextgroup=sdOctal,sdErr
- syn match sdSocketKey contained /^\%(Backlog\|MaxConnections\|Priority\|ReceiveBuffer\|SendBuffer\|IPTTL\|Mark\|PipeSize\|MessageQueueMaxMessages\|MessageQueueMessageSize\)=/ nextgroup=sdUInt,sdErr
--syn match sdSocketKey contained /^\%(Accept\|KeepAlive\|FreeBind\|Transparent\|Broadcast\)=/ nextgroup=sdBool,sdErr
-+syn match sdSocketKey contained /^\%(Accept\|KeepAlive\|FreeBind\|Transparent\|Broadcast\|PassCredentials\|PassSecurity\)=/ nextgroup=sdBool,sdErr
- syn match sdSocketKey contained /^BindToDevice=/
- syn match sdSocketKey contained /^Service=/ nextgroup=sdUnitList
- syn match sdSocketKey contained /^BindIPv6Only=/ nextgroup=sdBindIPv6,sdErr
-@@ -243,6 +247,7 @@
- hi def link sdDuration          sdValue
- hi def link sdVirtType          sdValue
- hi def link sdServiceType       sdValue
-+hi def link sdLimitActionType   sdValue
- hi def link sdNotifyType        sdValue
- hi def link sdSecurityType      sdValue
- hi def link sdSecureBits        sdValue

Copied: vim-systemd/repos/community-any/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch (from rev 221775, vim-systemd/trunk/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch)
===================================================================
--- 0001-Add-more-syntax-keywords-for-service-and-socket-file.patch	                        (rev 0)
+++ 0001-Add-more-syntax-keywords-for-service-and-socket-file.patch	2017-04-10 13:45:34 UTC (rev 221776)
@@ -0,0 +1,39 @@
+--- a/vim-scripts/syntax/systemd.vim	2013-04-10 18:35:36.393637187 -0400
++++ b/vim-scripts/syntax/systemd.vim	2013-04-10 18:39:22.290301255 -0400
+@@ -152,7 +152,10 @@
+ syn match sdServiceKey contained /^BusName=/
+ syn match sdServiceKey contained /^\%(RemainAfterExit\|GuessMainPID\|PermissionsStartOnly\|RootDirectoryStartOnly\|NonBlocking\|ControlGroupModify\)=/ nextgroup=sdBool,sdErr
+ syn match sdServiceKey contained /^\%(SysVStartPriority\|FsckPassNo\)=/ nextgroup=sdUInt,sdErr
+-syn match sdServiceKey contained /^\%(Restart\|Timeout\)Sec=/ nextgroup=sdDuration,sdErr
++syn match sdServiceKey contained /^\%(Restart\|Timeout\|Watchdog\)Sec=/ nextgroup=sdDuration,sdErr
++syn match sdServiceKey contained /^StartLimit\%(Interval\|Burst\)=/ nextgroup=sdDuration,sdErr
++syn match sdServiceKey contained /^StartLimitAction=/ nextgroup=sdLimitActionType,sdErr
++syn match sdServiceKey contained /^\%(Success\|RestartPrevent\)ExitStatus=/ nextgroup=sdErr
+ syn match sdServiceKey contained /^Sockets=/ nextgroup=sdUnitList
+ syn match sdServiceKey contained /^PIDFile=/ nextgroup=sdFilename,sdErr
+ syn match sdServiceKey contained /^Type=/ nextgroup=sdServiceType,sdErr
+@@ -161,6 +164,7 @@
+ syn keyword sdServiceType contained nextgroup=sdErr simple forking dbus oneshot notify idle
+ syn keyword sdRestartType contained nextgroup=sdErr no on-success on-failure on-abort always
+ syn keyword sdNotifyType  contained nextgroup=sdErr none main all
++syn keyword sdLimitActionType  contained nextgroup=sdErr none reboot reboot-force reboot-immediate
+ 
+ " [Socket] {{{1
+ syn region sdSocketBlock matchgroup=sdHeader start=/^\[Socket\]/ end=/^\[/me=e-2 contains=sdSocketKey,sdExecKey
+@@ -168,7 +172,7 @@
+ syn match sdSocketKey contained /^Listen\%(FIFO\|Special\)=/ nextgroup=sdFilename,sdErr
+ syn match sdSocketKey contained /^\%(Socket\|Directory\)Mode=/ nextgroup=sdOctal,sdErr
+ syn match sdSocketKey contained /^\%(Backlog\|MaxConnections\|Priority\|ReceiveBuffer\|SendBuffer\|IPTTL\|Mark\|PipeSize\|MessageQueueMaxMessages\|MessageQueueMessageSize\)=/ nextgroup=sdUInt,sdErr
+-syn match sdSocketKey contained /^\%(Accept\|KeepAlive\|FreeBind\|Transparent\|Broadcast\)=/ nextgroup=sdBool,sdErr
++syn match sdSocketKey contained /^\%(Accept\|KeepAlive\|FreeBind\|Transparent\|Broadcast\|PassCredentials\|PassSecurity\)=/ nextgroup=sdBool,sdErr
+ syn match sdSocketKey contained /^BindToDevice=/
+ syn match sdSocketKey contained /^Service=/ nextgroup=sdUnitList
+ syn match sdSocketKey contained /^BindIPv6Only=/ nextgroup=sdBindIPv6,sdErr
+@@ -243,6 +247,7 @@
+ hi def link sdDuration          sdValue
+ hi def link sdVirtType          sdValue
+ hi def link sdServiceType       sdValue
++hi def link sdLimitActionType   sdValue
+ hi def link sdNotifyType        sdValue
+ hi def link sdSecurityType      sdValue
+ hi def link sdSecureBits        sdValue

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-10 13:45:28 UTC (rev 221775)
+++ PKGBUILD	2017-04-10 13:45:34 UTC (rev 221776)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Jason St. John <jstjohn .. purdue . edu>
-
-pkgname=vim-systemd
-pkgver=20170306
-pkgrel=1
-pkgdesc='ViM syntax highlighting for systemd unit files'
-arch=('any')
-url="https://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git/"
-license=('unknown')
-depends=('vim')
-group=('vim-plugins')
-source=("syntax-systemd.vim::https://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git/plain/syntax/systemd.vim"
-        "ftdetect-systemd.vim::https://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git/plain/ftdetect/systemd.vim"
-        "syntax-udev.vim::https://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git/plain/syntax/udev.vim"
-        "ftdetect-udev.vim::https://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git/plain/ftdetect/udev.vim"
-        '0001-Add-more-syntax-keywords-for-service-and-socket-file.patch')
-sha256sums=('45e97770953d3e64be3d0e1fd2b5c75f106cbfcddd989d10eabd913afaa76e80'
-            'eb9837c5ca35cc4cc34a136805b03b0d5dc7e153ed1dac0cb3efda1479b0c19f'
-            '3fea3621f37fc0db15555b0e34b1e3be9fdaf83724c9143722498ee483407bf9'
-            'b96c381b8355a102946751d2e9e9e95025e70dfe634a44e416ca4ce291eb20b8'
-            'a04f02a99bb28cbd0aeb99e349fc39aa0e16628aabfd58cee54a76c7f0b801ad')
-
-pkgver() {
-  date +%Y%m%d
-}
-
-prepare() {
-  # Patch submitted upstream but not applied to Git tree
-  patch -Np0 --follow-symlinks -i "$srcdir/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch"
-}
-
-package() {
-  install -Dm644 syntax-systemd.vim "$pkgdir/usr/share/vim/vimfiles/syntax/systemd.vim"
-  install -Dm644 ftdetect-systemd.vim "$pkgdir/usr/share/vim/vimfiles/ftdetect/systemd.vim"
-  install -Dm644 syntax-udev.vim "$pkgdir/usr/share/vim/vimfiles/syntax/udev.vim"
-  install -Dm644 ftdetect-udev.vim "$pkgdir/usr/share/vim/vimfiles/ftdetect/udev.vim"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: vim-systemd/repos/community-any/PKGBUILD (from rev 221775, vim-systemd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-04-10 13:45:34 UTC (rev 221776)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Jason St. John <jstjohn .. purdue . edu>
+
+pkgname=vim-systemd
+pkgver=20170410
+pkgrel=1
+pkgdesc='ViM syntax highlighting for systemd unit files'
+arch=('any')
+url="http://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git/"
+license=('unknown')
+depends=('vim')
+makedepends=('git')
+group=('vim-plugins')
+source=("git+https://fedorapeople.org/cgit/wwoods/public_git/vim-scripts.git#commit=0cd43a295c"
+        '0001-Add-more-syntax-keywords-for-service-and-socket-file.patch')
+sha256sums=('SKIP'
+            'fa22fbcf59d64d80d91037987ff093ed1051e82040f0e63f6df6a1f1c3579261')
+
+prepare() {
+  patch -s -p1 -i "$srcdir/0001-Add-more-syntax-keywords-for-service-and-socket-file.patch"
+}
+
+package() {
+  for vim in {syntax,ftdetect}/{systemd,udev}.vim; do
+    install -Dm644 "vim-scripts/$vim" "$pkgdir/usr/share/vim/vimfiles/$vim"
+  done
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list