From 44b665ec0d85762381c370f58d991292e118f99e Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Mon, 7 Jun 2010 21:13:23 +0200 Subject: [PATCH] - fixes for lintian --- debian/control | 4 ++-- debian/copyright | 20 ++++++++++++++++++++ debian/postinst | 2 +- debian/postrm | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 debian/copyright diff --git a/debian/control b/debian/control index d2db3d9..68defe6 100644 --- a/debian/control +++ b/debian/control @@ -3,11 +3,11 @@ Section: net Priority: optional Maintainer: Dinko Korunic Build-Depends: debhelper (>= 4) -Standards-Version: 3.7.2 +Standards-Version: 3.8.0 Package: monit-cn Architecture: all -Depends: monit (>= 1:4.10.1-4), carnet-tools-cn (>= 2.8.1), awk +Depends: monit (>= 1:4.10.1-4), carnet-tools-cn (>= 2.8.1), gawk | mawk Description: A utility for monitoring and managing daemons or similar programs monit is a utility for monitoring and managing daemons or similar programs running on a Unix system. It will start specified programs diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..46d11ef --- /dev/null +++ b/debian/copyright @@ -0,0 +1,20 @@ +Copyright: + + Copyright (C) 2009 Dinko Korunic, CARNet, Grupa za izradu paketa + + This program 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, version 2. + + This program 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, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +On Debian GNU systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/postinst b/debian/postinst index 0c25939..f9d94b3 100755 --- a/debian/postinst +++ b/debian/postinst @@ -116,7 +116,7 @@ fi # reload init, since we have new configuration echo "CN: (Re)starting monit service, please check /var/log/daemon.log" pkill -9 -f '/usr/sbin/monit$' || true -kill -HUP 1 +kill -SIGHUP 1 # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff --git a/debian/postrm b/debian/postrm index 541b7c1..00891bb 100755 --- a/debian/postrm +++ b/debian/postrm @@ -44,7 +44,7 @@ echo "CN: Stopping monit service" pkill -9 -f /usr/sbin/monit || true # reload init -kill -HUP 1 +kill -SIGHUP 1 # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. -- 1.7.10.4