Update packaging to dh7
authorAlexander Chernyakhovsky <achernya@mit.edu>
Sat, 1 Jun 2013 19:03:35 +0000 (15:03 -0400)
committerAlexander Chernyakhovsky <achernya@mit.edu>
Sat, 1 Jun 2013 19:03:35 +0000 (15:03 -0400)
Makefile [new file with mode: 0644]
debian/changelog
debian/compat
debian/control
debian/rules
debian/xvm-munin-console-config.displace [new file with mode: 0644]
debian/xvm-munin-host-config.displace [new file with mode: 0644]
debian/xvm-munin-master-config.displace [new file with mode: 0644]
debian/xvm-munin-remote-config.displace [new file with mode: 0644]
templatize-munin-config [moved from debian/transform_munin-node.conf.xvm.mako with 100% similarity]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..2cc73e1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+all: munin-node.conf.xvm.mako
+
+munin-node.conf.xvm.mako:
+        ./templatize-munin-config < /etc/munin/munin-node.conf > $@
+
+clean:
+        rm -f munin-node.conf.xvm.mako
+
+.PHONY: clean
index e384f3a..54ae2c8 100644 (file)
@@ -1,3 +1,10 @@
+xvm-munin-config (0.0.14) unstable; urgency=low
+
+  * Switch to dh7
+  * Bump standards version
+    
+ -- Alexander Chernyakhovsky <achernya@mit.edu>  Sat, 01 Jun 2013 15:02:55 -0400
+
 xvm-munin-config (0.0.13) unstable; urgency=low
 
   * Ensure that UUIDs begin with a letter and not a number, to work around
index 7ed6ff8..7f8f011 100644 (file)
@@ -1 +1 @@
-5
+7
index 996e1da..61e9d4d 100644 (file)
@@ -2,8 +2,8 @@ Source: xvm-munin-config
 Section: servers
 Priority: extra
 Maintainer: SIPB XVM Project <xvm@mit.edu>
-Build-Depends: cdbs, debhelper (>= 5), config-package-dev, munin-node
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 7), config-package-dev (>= 5.0~), munin-node
+Standards-Version: 3.9.3
 
 Package: xvm-munin-host-config
 Architecture: all
index 92796aa..3c8e24d 100755 (executable)
@@ -1,27 +1,3 @@
 #!/usr/bin/make -f
-
-DEB_DIVERT_EXTENSION = .xvm
-
-DEB_DIVERT_FILES_xvm-munin-host-config += \
-       /etc/munin/munin-node.conf.xvm
-DEB_DIVERT_FILES_xvm-munin-master-config += \
-       /etc/munin/munin-node.conf.xvm
-DEB_DIVERT_FILES_xvm-munin-remote-config += \
-       /etc/munin/munin-node.conf.xvm
-DEB_DIVERT_FILES_xvm-munin-console-config += \
-       /etc/munin/munin-node.conf.xvm
-
-include /usr/share/cdbs/1/rules/config-package.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-
-common-build-indep:: debian/munin-node.conf.xvm.mako
-
-binary-post-install/%::
-       mkdir -p $(DEB_DESTDIR)/etc/munin
-       touch $(DEB_DESTDIR)/etc/munin/munin-node.conf.xvm
-
-debian/munin-node.conf.xvm.mako: $(call debian_check_files,/etc/munin/munin-node.conf)
-       debian/transform_munin-node.conf.xvm.mako < $< > $@
-
-clean::
-       rm -f debian/munin-node.conf.xvm.mako
+%:
+       dh $@ --with config-package
diff --git a/debian/xvm-munin-console-config.displace b/debian/xvm-munin-console-config.displace
new file mode 100644 (file)
index 0000000..bd6957b
--- /dev/null
@@ -0,0 +1 @@
+/etc/munin/munin-node.conf.xvm
diff --git a/debian/xvm-munin-host-config.displace b/debian/xvm-munin-host-config.displace
new file mode 100644 (file)
index 0000000..bd6957b
--- /dev/null
@@ -0,0 +1 @@
+/etc/munin/munin-node.conf.xvm
diff --git a/debian/xvm-munin-master-config.displace b/debian/xvm-munin-master-config.displace
new file mode 100644 (file)
index 0000000..bd6957b
--- /dev/null
@@ -0,0 +1 @@
+/etc/munin/munin-node.conf.xvm
diff --git a/debian/xvm-munin-remote-config.displace b/debian/xvm-munin-remote-config.displace
new file mode 100644 (file)
index 0000000..bd6957b
--- /dev/null
@@ -0,0 +1 @@
+/etc/munin/munin-node.conf.xvm