diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4b265c1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +munin-plugin-mysql (0.3.1-1) stable; urgency=medium + + * First Debian release. + + -- Viktor Szépe Wed, 16 May 2018 08:36:25 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d087cf5 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: munin-plugin-mysql +Maintainer: Viktor Szépe +Section: perl +Priority: optional +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: libpath-class-perl, + libtest-output-perl, + libtest-regression-perl, + libtest-exception-perl +Standards-Version: 3.9.8 +Vcs-Browser: https://github.com/kjellm/munin-mysql +Vcs-Git: https://github.com/kjellm/munin-mysql.git +Homepage: http://oierud.net/bliki/ImprovedMuninGraphsForMySQL.html + +Package: munin-plugin-mysql +Architecture: all +Depends: ${misc:Depends}, + libmodule-pluggable-perl, + libdbd-mysql-perl, + munin-node +Description: Improved MySQL Graphs for Munin + Munin plugin for showing graphs of MySQL resource usage. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c12ab8e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: munin-mysql +Upstream-Contact: Kjell-Magne Øierud +Source: https://github.com/kjellm/munin-mysql + +Files: * +License: GPL-2 + /usr/share/common-licenses/GPL-2 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f535823 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 + +export DEB_BUILD_HARDENING = 1 + +BIN_PACKAGE_NAME = munin-plugin-mysql +INSTALL_ROOT = debian/$(BIN_PACKAGE_NAME) +PERL_VENDOR_LIB=$(INSTALL_ROOT)$(shell perl '-V:installvendorlib' | cut -d"'" -f2) + +%: + dh $@ + +override_dh_auto_install: + mkdir -p $(INSTALL_ROOT)/etc/munin/plugin-conf.d + mkdir -p $(INSTALL_ROOT)/etc/munin/plugins + mkdir -p $(PERL_VENDOR_LIB) + dh_auto_install -- CONFIG_DIR=$(INSTALL_ROOT)/etc/munin PLUGIN_DIR=$(INSTALL_ROOT)/usr/share/munin/plugins MUNIN_NODE=true PERL_SITELIB_DIR=$(PERL_VENDOR_LIB) + chmod -x $(INSTALL_ROOT)/etc/munin/plugin-conf.d/mysql.conf + rm $(INSTALL_ROOT)/etc/munin/plugins/mysql diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)