debianize (v0.1)
authorChristian Arnold <arnold@schlittermann.de>
Tue, 01 Feb 2011 14:26:14 +0100
changeset 1 5acc6b846267
parent 0 f405871d0603
child 2 e6a93f3c4bd5
debianize (v0.1)
.hgignore
debian/changelog
debian/compat
debian/control
debian/copyright
debian/dirs
debian/files
debian/rules
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,7 @@
+syntax: glob
+*.swp
+check_client_cert
+
+syntax: regexp
+(build|configure)-stamp$
+debian/nagios-plugin-check-client-cert[./]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/changelog	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,6 @@
+nagios-plugin-check-client-cert (0.1) stable; urgency=low
+
+  * Initial release
+
+ -- Christian Arnold <arnold@schlittermann.de>  Tue, 01 Feb 2011 14:11:33 +0100
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/compat	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,1 @@
+7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/control	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,13 @@
+Source: nagios-plugin-check-client-cert
+Section: net
+Priority: extra
+Maintainer: Christian Arnold <arnold@schlittermann.de>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.7.3
+
+Package: nagios-plugin-check-client-cert
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, perl-base, libdate-manip-perl
+Description: nagios plugin to check ssl client certificate expire date
+ This plugin read certificate status informations from file
+ and report epire date for certificates.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/copyright	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,34 @@
+This package was debianized by Christian Arnold <arnold@schlittermann.de> on
+Tue, 01 Feb 2011 14:11:33 +0100
+
+It was downloaded from https://keller.schlittermann.de/hg/ius/nagios/nagios-plugin-client-cert/
+
+Upstream Author(s):
+
+	Christian Arnold <arnold@schlittermann.de>
+
+Copyright:
+
+	<Copyright (C) 2011 Schlittermann internet & unix support>
+
+License:
+
+    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 package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2011, Christian Arnold <arnold@schlittermann.de> and
+is licensed under the GPL, see above.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/dirs	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/files	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,1 @@
+nagios-plugin-check-client-cert_0.1_all.deb net extra
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/rules	Tue Feb 01 14:26:14 2011 +0100
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp  
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/nagios-plugin-check-client-cert.sgml > nagios-plugin-check-client-cert.1
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/nagios-plugin-check-client-cert.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/nagios-plugin-check-client-cert install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure