[Pkg-nagios-changes] [pkg-icinga2] 01/03: Add vim-icinga2 syntax package

Markus Frosch lazyfrosch at moszumanska.debian.org
Thu Feb 4 10:37:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

lazyfrosch pushed a commit to branch master
in repository pkg-icinga2.

commit 522fca2bf7dad4108fa21082bf7a1e53e9a5b90c
Author: Markus Frosch <lazyfrosch at debian.org>
Date:   Thu Feb 4 11:27:57 2016 +0100

    Add vim-icinga2 syntax package
---
 debian/.gitignore                |  1 +
 debian/control                   | 14 +++++++++++++-
 debian/vim-icinga2.README.Debian | 13 +++++++++++++
 debian/vim-icinga2.install       |  3 +++
 debian/vim-icinga2.yaml          |  5 +++++
 5 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/debian/.gitignore b/debian/.gitignore
index 14d04dc..2769616 100644
--- a/debian/.gitignore
+++ b/debian/.gitignore
@@ -6,5 +6,6 @@ files
 icinga2/
 icinga2-*/
 libicinga2/
+vim-icinga2/
 tmp/
 
diff --git a/debian/control b/debian/control
index a4f379e..7b65078 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,7 @@ Depends: icinga2-bin (= ${binary:Version}),
          icinga2-common (= ${source:Version}),
          ${misc:Depends}
 Recommends: icinga2-doc, monitoring-plugins-basic | nagios-plugins-basic, libreadline6
-Suggests: icinga2-studio
+Suggests: icinga2-studio, vim-icinga2
 Description: host and network monitoring system
  Icinga 2 is a general-purpose monitoring application to fit the needs of
  any size of network. Icinga 1.x was a Nagios fork; this new generation
@@ -299,3 +299,15 @@ Description: host and network monitoring system - studio API GUI
   * native support for Livestatus and Graphite.
  .
  This package provides a GUI for the Icinga 2 API.
+
+Package: vim-icinga2
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: vim-addon-manager
+Description: syntax highlighting for Icinga 2 config files in VIM
+ The vim-icinga2 package provides filetype detection and syntax
+ highlighting for Icinga 2 config files.
+ .
+ As per the Debian vim policy, installed addons are not activated
+ automatically, but the "vim-addon-manager" tool can be used for this
+ purpose.
diff --git a/debian/vim-icinga2.README.Debian b/debian/vim-icinga2.README.Debian
new file mode 100644
index 0000000..50366fe
--- /dev/null
+++ b/debian/vim-icinga2.README.Debian
@@ -0,0 +1,13 @@
+Dear user, this package provides the vim addon for Icinga 2, but it is not enabled
+per default.
+
+If you want to enable it for your user account just execute
+
+        vim-addons install icinga2
+
+Similarly, to enable it for all users of this system just execute (as root):
+
+        vim-addons -w install icinga2
+
+vim-addons is provided by the vim-addon-manager package, have a look at its
+manpage for more information.
diff --git a/debian/vim-icinga2.install b/debian/vim-icinga2.install
new file mode 100644
index 0000000..1ea7c93
--- /dev/null
+++ b/debian/vim-icinga2.install
@@ -0,0 +1,3 @@
+debian/vim-icinga2.yaml usr/share/vim/registry
+tools/syntax/vim/ftdetect/icinga2.vim usr/share/vim/addons/ftdetect
+tools/syntax/vim/syntax/icinga2.vim usr/share/vim/addons/syntax
diff --git a/debian/vim-icinga2.yaml b/debian/vim-icinga2.yaml
new file mode 100644
index 0000000..483a067
--- /dev/null
+++ b/debian/vim-icinga2.yaml
@@ -0,0 +1,5 @@
+addon: icinga2
+description: "Syntax highlighting for Icinga 2"
+files:
+  - ftdetect/icinga2.vim
+  - syntax/icinga2.vim

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git



More information about the Pkg-nagios-changes mailing list