浏览代码

Add Debian packaging for 0.9

Sven Velt 8 年之前
父节点
当前提交
6e74192b5d
共有 12 个文件被更改,包括 96 次插入0 次删除
  1. 2 0
      .gitattribute
  2. 6 0
      .gitignore
  3. 5 0
      debian/changelog
  4. 1 0
      debian/compat
  5. 25 0
      debian/control
  6. 30 0
      debian/copyright
  7. 5 0
      debian/dirs
  8. 0 0
      debian/docs
  9. 7 0
      debian/mymonplugins.install
  10. 3 0
      debian/mymonplugins.links
  11. 11 0
      debian/rules
  12. 1 0
      debian/source/format

+ 2 - 0
.gitattribute

@@ -0,0 +1,2 @@
+debian/	export-ignore
+

+ 6 - 0
.gitignore

@@ -1,3 +1,9 @@
 *.pyc
 .*.swp
 
+debian/debhelper-build-stamp
+debian/files
+debian/mymonplugins/
+debian/*.log
+debian/*.substvars
+

+ 5 - 0
debian/changelog

@@ -0,0 +1,5 @@
+mymonplugins (0.9-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Sven Velt <sven@velt.de>  Fri, 09 Dec 2016 08:15:46 +0100

+ 1 - 0
debian/compat

@@ -0,0 +1 @@
+9

+ 25 - 0
debian/control

@@ -0,0 +1,25 @@
+Source: mymonplugins
+Section: net
+Priority: extra
+Maintainer: Sven Velt <sven@velt.de>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Homepage: https://gogs.velt.biz/velt.biz/MyMonPlugins/wiki
+Vcs-Git: https://gogs.velt.biz/velt.biz/MyMonPlugins.git
+Vcs-Browser: https://gogs.velt.biz/velt.biz/MyMonPlugins
+
+Package: mymonplugins
+Architecture: all
+Depends: ${misc:Depends}, python, python2.7
+Description: "My Monitoring Plugins" collection (former "teamix Monitoring-Plugins")
+ Plugins which were written by Sven Velt:
+  - check_apaches.py
+  - check_collectd.py
+  - check_cups.py
+  - check_iface-dns.py
+  - check_livestatus_latency.py
+  - check_naf.py
+  - check_nagiostats.py
+  - check_netconnections.py
+  - check_sensors.py
+  - check_zypper.sh

+ 30 - 0
debian/copyright

@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: MyMonPlugins
+Source: https://gogs.velt.biz/velt.biz/MyMonPlugins/wiki
+
+Files: *
+Copyright: 2015- Sven Velt <sven-mymonplugins@velt.biz>
+           2010-2015 by Sven Velt and team(ix) GmbH, Nuernberg, Germany
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2016 Sven Velt <sven@velt.de>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+

+ 5 - 0
debian/dirs

@@ -0,0 +1,5 @@
+usr/lib/nagios/plugins
+usr/share/mymonplugins
+etc/pnp4nagios/templates.d
+etc/pnp4nagios/check_commands
+

+ 0 - 0
debian/docs


+ 7 - 0
debian/mymonplugins.install

@@ -0,0 +1,7 @@
+monitoringplugin.py	/usr/lib/nagios/plugins/
+check_*.py		/usr/lib/nagios/plugins/
+check_*.sh		/usr/lib/nagios/plugins/
+
+commands.cfg		/usr/share/mymonplugins/
+PNP			/usr/share/mymonplugins/
+

+ 3 - 0
debian/mymonplugins.links

@@ -0,0 +1,3 @@
+/usr/share/mymonplugins/PNP/templates				/etc/pnp4nagios/templates.d/mymonplugins
+/usr/share/mymonplugins/PNP/check_commands/check_naf.cfg	/etc/pnp4nagios/check_commands/check_naf.cfg
+

+ 11 - 0
debian/rules

@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_VERBOSE=1
+export DH_OPTIONS
+
+
+%:
+	dh $@
+
+

+ 1 - 0
debian/source/format

@@ -0,0 +1 @@
+3.0 (quilt)