summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-07-13 23:37:12 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-07-13 23:37:12 +0400
commit57f36a21e40531503a738668cb1aaafe719e8b4f (patch)
treede2956f87385712d4100fd8eb7c63f9d2511f62a
parentf175eeab1d5adaccf80bd5a343c14d80bb655241 (diff)
downloaddh-smf-57f36a21e40531503a738668cb1aaafe719e8b4f.tar.gz
Added debian/
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright12
-rw-r--r--debian/install1
-rw-r--r--debian/manpages1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
8 files changed, 53 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2c2df7a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+dh-smf (1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Sat, 13 Jul 2013 23:35:18 +0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ac8754b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: dh-smf
+Section: devel
+Priority: optional
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.4
+
+Package: dh-smf
+Architecture: all
+Multi-Arch: foreign
+Depends: ${perl:Depends}, ${misc:Depends}, debhelper, libxml-simple-perl
+Suggests: libxml2-utils, python-manifold
+Enhances: debhelper
+Description: debhelper addons to work with SMF
+ This package includes dh_smf program to help maintaining SMF services.
+ .
+ Service Management Facility (SMF) is a feature of the Solaris operating
+ system that creates a supported, unified model for services and service
+ management on each Solaris system and replaces init.d scripts
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0cb2633
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,12 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2012 Igor Pashev <pashev.igor@gmail.com>
+License: GPL-2+
+ 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in file "/usr/share/common-licenses/GPL-2".
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..cb7d740
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+dh_smf usr/bin
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..6eb112e
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+dh_smf.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e4de1be
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+version := $(shell dpkg-parsechangelog | sed -nr 's/^Version: (.*)/\1/p')
+pod2man := pod2man -r "dh-smf v$(version)" -c dh-smf
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ perl -c dh_smf
+ $(pod2man) --section=1 dh_smf dh_smf.1
+
+override_dh_clean:
+ dh_clean dh_smf.1
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)