[Da-tools-commits] ./debian/da-backup r38: * Switch to using standard debhelper tools

Stephen Gran steve at lobefin.net
Sun Jan 6 12:49:08 UTC 2008


------------------------------------------------------------
revno: 38
committer: Stephen Gran <steve at lobefin.net>
branch nick: da-backup-common
timestamp: Sun 2008-01-06 12:49:08 +0000
message:
  * Switch to using standard debhelper tools
  * Update standards version (no changes)
  * Update compat to level 5, and change versioned Build-Depends accordingly
  * Typo fix in copyright
  * Do the real work in binary-indep rather than binary-arch, since this is an
    arch all package
added:
  debian/dirs
  debian/examples
  debian/install
  debian/manpages
modified:
  debian/changelog
  debian/compat
  debian/control
  debian/copyright
  debian/rules
-------------- next part --------------
=== added file 'debian/dirs'
--- a/debian/dirs	1970-01-01 00:00:00 +0000
+++ b/debian/dirs	2008-01-06 12:49:08 +0000
@@ -0,0 +1,4 @@
+usr/bin
+usr/sbin
+var/log/da-backup
+etc/da-backup

=== added file 'debian/examples'
--- a/debian/examples	1970-01-01 00:00:00 +0000
+++ b/debian/examples	2008-01-06 12:49:08 +0000
@@ -0,0 +1,1 @@
+conf.etc

=== added file 'debian/install'
--- a/debian/install	1970-01-01 00:00:00 +0000
+++ b/debian/install	2008-01-06 12:49:08 +0000
@@ -0,0 +1,3 @@
+da-backup usr/bin
+da-backup-manager usr/sbin
+debian/da-backup.conf etc/

=== added file 'debian/manpages'
--- a/debian/manpages	1970-01-01 00:00:00 +0000
+++ b/debian/manpages	2008-01-06 12:49:08 +0000
@@ -0,0 +1,2 @@
+da-backup.8
+da-backup-manager.8

=== modified file 'debian/changelog'
--- a/debian/changelog	2007-12-25 13:46:02 +0000
+++ b/debian/changelog	2008-01-06 12:49:08 +0000
@@ -1,3 +1,14 @@
+da-backup (1.4) unstable; urgency=low
+
+  * Switch to using standard debhelper tools
+  * Update standards version (no changes)
+  * Update compat to level 5, and change versioned Build-Depends accordingly
+  * Typo fix in copyright
+  * Do the real work in binary-indep rather than binary-arch, since this is an
+    arch all package
+
+ -- Stephen Gran <sgran at debian.org>  Sun, 06 Jan 2008 12:48:10 +0000
+
 da-backup (1.3) unstable; urgency=low
 
   * da-backup-manager

=== modified file 'debian/compat'
--- a/debian/compat	2007-11-21 19:40:21 +0000
+++ b/debian/compat	2008-01-06 12:49:08 +0000
@@ -1,1 +1,1 @@
-4
+5

=== modified file 'debian/control'
--- a/debian/control	2007-12-25 13:22:04 +0000
+++ b/debian/control	2008-01-06 12:49:08 +0000
@@ -2,8 +2,8 @@
 Section: admin
 Priority: optional
 Maintainer: Martin Schulze <joey at debian.org>
-Build-Depends: debhelper (>= 4)
-Standards-Version: 3.5.8.0
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.3
 Uploaders: Peter Palfrader <weasel at debian.org>
 
 Package: da-backup

=== modified file 'debian/copyright'
--- a/debian/copyright	2006-06-04 07:32:41 +0000
+++ b/debian/copyright	2008-01-06 12:49:08 +0000
@@ -19,5 +19,5 @@
 On Debian GNU/Linux systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.
 
-The source of the Debian package is managed through CVS.  It is publically
+The source of the Debian package is managed through CVS.  It is publicly
 available at <http://cvs.debian.org/da-backup/?cvsroot=debian-admin>.

=== modified file 'debian/rules'
--- a/debian/rules	2007-12-25 13:09:06 +0000
+++ b/debian/rules	2008-01-06 12:49:08 +0000
@@ -9,48 +9,28 @@
 	dh_testdir
 	touch build
 
-debclean:
-# Cleans debian binary directories to allow binary creation
-	rm -rf debian/da-backup
-	rm -f debian/{files,substvars}
-
-clean: debclean
+clean: 
+	dh_clean
 	dh_testdir
-	-rm -f build
-	#$(MAKE) clean
+	rm -f build
 
-instdirs = \
-	usr/bin \
-	usr/sbin \
-	usr/share/doc/da-backup/examples \
-	usr/share/man/man8 \
-	var/log/da-backup \
-	etc/da-backup
+binary-arch: build
+# Nothing to be done here
 
 binary-indep:
-# Nothing to be done here
-
-binary-arch: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs $(instdirs)
-
-	install -m 755 da-backup debian/$(package)/usr/bin/
-	install -m 755 da-backup-manager debian/$(package)/usr/sbin/
-	install -m 644 debian/da-backup.conf debian/$(package)/etc/
-	install -m 644 conf.etc debian/$(package)/usr/share/doc/da-backup/examples/etc
-	install -m 644 *.8 debian/$(package)/usr/share/man/man8
-
+	dh_installdirs
+	dh_install
+	dh_installexamples
 	dh_installdocs
 	dh_installchangelogs
 	dh_installman
 	dh_fixperms
 	dh_compress
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
-	dh_makeshlibs
 	dh_md5sums
 	dh_builddeb
 



More information about the Da-tools-commits mailing list