Bug#669901: [PATCH] hibernate: Helping to update to packaging format 3.0

2012-04-22 Thread jaalto
On 2012-04-22 04:07, Andrey Rahmatullin wrote:
|  I had some free time; see attached patch to migrate to new package
|  format. Note that all files in debian/patches/* are canocalized to
|  *.patch.
|
| The patches were migrated some time ago already and are available at
| http://git.debian.org/?p=collab-maint/hibernate.git

Good to hear package has already moved to 3.0

Jari



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669901: [PATCH] hibernate: Helping to update to packaging format 3.0

2012-04-21 Thread jari . aalto
Package: hibernate
Severity: wishlist
Tags: patch

Hi Martin,

The dpatch patch management system has been deprecated for some time. The
Lintian currently flags use of dpatch packages as an error. The new 3.0
packaging format is an improved version which, among other things, contains
patch management built-in. For more information, see:

http://wiki.debian.org/Projects/DebSrc3.0

I had some free time; see attached patch to migrate to new package
format. Note that all files in debian/patches/* are canocalized to
*.patch.

Let me know if there is anything that needs adjusting or if it is ok
to upload this version in a NMU in case you are working on other
issues needing attention.

Thanks,
Jari

From a912d3fc17cce88adb7df5cce15220020ca0d58a Mon Sep 17 00:00:00 2001
From: Jari Aalto jari.aa...@cante.net
Date: Sat, 21 Apr 2012 22:35:38 +0300
Subject: [PATCH] format-3.0
Organization: Private
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto jari.aa...@cante.net
---
 debian/changelog   |   13 
 debian/compat  |2 +-
 debian/control |6 ++--
 debian/copyright   |2 +-
 debian/hibernate.postinst  |5 ++-
 debian/hibernate.prerm |6 ++--
 debian/patches/00list  |5 ---
 ...{10-grub-backup.dpatch = 10-grub-backup.patch} |   27 ---
 debian/patches/20-suspend2-note.disabled   |8 ++---
 debian/patches/50-init.d-lsb-depends.dpatch|   19 ---
 debian/patches/50-init.d-lsb-depends.patch |   22 
 debian/patches/70-laptop-mode-rename.dpatch|   19 ---
 debian/patches/70-laptop-mode-rename.patch |   18 ++
 debian/patches/80-log-permissions.dpatch   |   35 
 debian/patches/80-log-permissions.patch|   34 +++
 ...down-auto.dpatch = 99-store-ifdown-auto.patch} |8 ++---
 debian/patches/Makefile|4 ---
 debian/patches/series  |5 +++
 debian/rules   |   23 -
 debian/source/format   |1 +
 20 files changed, 129 insertions(+), 133 deletions(-)
 mode change 100644 = 100755 debian/hibernate.postinst
 mode change 100644 = 100755 debian/hibernate.prerm
 delete mode 100644 debian/patches/00list
 rename debian/patches/{10-grub-backup.dpatch = 10-grub-backup.patch} (76%)
 delete mode 100644 debian/patches/50-init.d-lsb-depends.dpatch
 create mode 100644 debian/patches/50-init.d-lsb-depends.patch
 delete mode 100644 debian/patches/70-laptop-mode-rename.dpatch
 create mode 100644 debian/patches/70-laptop-mode-rename.patch
 delete mode 100644 debian/patches/80-log-permissions.dpatch
 create mode 100644 debian/patches/80-log-permissions.patch
 rename debian/patches/{99-store-ifdown-auto.dpatch = 99-store-ifdown-auto.patch} (93%)
 delete mode 100644 debian/patches/Makefile
 create mode 100644 debian/patches/series
 create mode 100644 debian/source/format

diff --git a/debian/changelog b/debian/changelog
index f138efe..0a45237 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+hibernate (1.99-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove deprecated dpatch and upgrade to packaging format 3.0 quilt.
+  * Update to Standards-Version to 3.9.3 and debhelper to 9.
+  * Add build-arch and build-indep targets; use dh_prep in rules file.
+  * Note: Update some patches with quilt refresh to make them apply cleanly.
+  * Fix copyright-refers-to-symlink-license (Lintian).
+  * Fix maintainer-script-without-set-e (Lintian).
+  * Fix init.d-script-missing-dependency-on-local_fs (Lintian) with patch 50.
+
+ -- Jari Aalto jari.aa...@cante.net  Sat, 21 Apr 2012 22:34:33 +0300
+
 hibernate (1.99-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff --git a/debian/compat b/debian/compat
index 1e8b314..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+9
diff --git a/debian/control b/debian/control
index 6fde730..07b834b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,14 +3,14 @@ Section: utils
 Priority: extra
 Maintainer: martin f. krafft madd...@debian.org
 Uploaders: Cameron Patrick came...@patrick.wattle.id.au
-Build-Depends: debhelper ( 6), dpatch
-Standards-Version: 3.7.3
+Build-Depends: debhelper (= 9)
+Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/collab-maint/hibernate.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/hibernate.git
 
 Package: hibernate
 Architecture: all
-Depends: console-tools | kbd
+Depends: ${misc:Depends}, console-tools | kbd
 Recommends: dash, hdparm, vbetool, uswsusp
 Suggests: 915resolution, xscreensaver | kscreensaver | gnome-screensaver | xlock | vlock
 

Bug#669901: [PATCH] hibernate: Helping to update to packaging format 3.0

2012-04-21 Thread Andrey Rahmatullin
On Sat, Apr 21, 2012 at 10:38:51PM +0300, jari.aa...@cante.net wrote:
 The dpatch patch management system has been deprecated for some time. The
 Lintian currently flags use of dpatch packages as an error. The new 3.0
 packaging format is an improved version which, among other things, contains
 patch management built-in. For more information, see:
 
 http://wiki.debian.org/Projects/DebSrc3.0
 
 I had some free time; see attached patch to migrate to new package
 format. Note that all files in debian/patches/* are canocalized to
 *.patch.
The patches were migrated some time ago already and are available at
http://git.debian.org/?p=collab-maint/hibernate.git

 Let me know if there is anything that needs adjusting or if it is ok
 to upload this version in a NMU in case you are working on other
 issues needing attention.
There are tons of issues that need attention before new package version
should be uploaded. Your changes definitely do not deserve a new upload.
If you want to help with this package, look at its bugs or, to name a
relatively easy task, add 3.x kernel support to the blacklist.

 +  * Fix init.d-script-missing-dependency-on-local_fs (Lintian) with patch 50.
This is totally wrong. You should have noted X-Start-Before: mountall in
the same file. And the initscript itself is plainly wrong too, because it
relies on persistent /var/run. You claim conformance with the latest
policy while it is not true.

-- 
WBR, wRAR


signature.asc
Description: Digital signature