Hi Stephen,

I've made NMU for hdparm, addressing bugs (#602522, #639660, #631614, #622568, 
#563762, #609273, #533190, #545005 and #511283).

Please find the list of changes below, (debdiff is attached).

It would be nice if you could use it as base for next package release and  
acknowledge this work or alternatively this package can be sponsored as is.

Please get the source package from 

http://mentors.debian.net/debian/pool/main/h/hdparm/hdparm_9.39-0.1.dsc

I will be happy to join you as co-maintainer for this package if you wish.

Thank you.

All the best,
Dmitry.


hdparm (9.39-0.1) unstable; urgency=low

  * Non-maintainer upload.
  * New upstream release [February 2012]
    (Closes: #602522 N:"new upstream release")
    (Closes: #639660 N:"New Upstream Version")
    (Closes: #631614 N:"wiper.sh stopped working, due to missing rdev")
  * added patch to allow building debugging symbols with new release
  * install UDEV rule to /lib/udev/rules.d
    (Closes: #622568 I:"still ships rules files in /etc/udev/")
    (Closes: #563762 normal "hdparm.rules should live in /lib/udev/")
  * install wiper.sh to /usr/lib/hdparm/
    (Closes: #609273 N:"wiper.sh is compressed and put under doc directory")
  * added homepage to debian/control
    (Closes: #533190 M:"Add Homepage")
    (Closes: #545005 M:"debian/control is missing Homepage field")
  * no longer install contrib/*
    (Closes: #511283 M:"contributed scripts have become irrelevant")
  * debian/copyright:
    • updated and converted to DEP-5
    • added copyrights of debian contributors
    • audit of upstream licenses/copyrights - all information is included
  * debian/watch
    • to version 3
    • updated to fetch from sf.net
  * debian/control
    • XC-Package-Type changed to Package-Type
    • standards to 3.9.2
    • updated descriptions of packages
  * debhelper & compat to version 9
  * package to source format 3
  * dropped CDBS, now using straight debhelper only
  * dropped old debian/rules and made it again from scratch
    as part of packaging update (also removes copyright inconsistency)
  * full lintianisation:
    + patch to correct spelling and FSSTND-dir in man page
    + patch to correct spelling in executable
    + added Description to init script
  * dropped obsolete files:
    - debian/hdparm.postinit
    - debian/hdparm.postrm
    - debian/hdparm.dirs
    - debian/hdparm.dev
  * debian/hdparm.preinst - cleanup
  * hdparm.postinst is updated to clean up old rules from /etc/udev

 -- Dmitry Smirnov <[email protected]>  Thu, 23 Feb 2012 23:13:37 +1100
--- hdparm-9.32/debian/84-hdparm.rules	1970-01-01 10:00:00.000000000 +1000
+++ hdparm-9.39/debian/84-hdparm.rules	2008-11-03 09:10:45.000000000 +1100
@@ -0,0 +1,2 @@
+ACTION=="add", SUBSYSTEM=="block", KERNEL=="[sh]d[a-z]", RUN+="/etc/init.d/hdparm hotplug"
+
--- hdparm-9.32/debian/changelog	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/changelog	2012-02-24 04:57:26.000000000 +1100
@@ -1,3 +1,51 @@
+hdparm (9.39-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release [February 2012]
+    (Closes: #602522 N:"new upstream release")
+    (Closes: #639660 N:"New Upstream Version")
+    (Closes: #631614 N:"wiper.sh stopped working, due to missing rdev")
+  * added patch to allow building debugging symbols with new release
+  * install UDEV rule to /lib/udev/rules.d
+    (Closes: #622568 I:"still ships rules files in /etc/udev/")
+    (Closes: #563762 normal "hdparm.rules should live in /lib/udev/")
+  * install wiper.sh to /usr/lib/hdparm/
+    (Closes: #609273 N:"wiper.sh is compressed and put under doc directory")
+  * added homepage to debian/control
+    (Closes: #533190 M:"Add Homepage")
+    (Closes: #545005 M:"debian/control is missing Homepage field")
+  * no longer install contrib/*
+    (Closes: #511283 M:"contributed scripts have become irrelevant")
+  * debian/copyright:
+    • updated and converted to DEP-5
+    • added copyrights of debian contributors
+    • audit of upstream licenses/copyrights - all information is included
+  * debian/watch
+    • to version 3
+    • updated to fetch from sf.net
+  * debian/control
+    • XC-Package-Type changed to Package-Type
+    • standards to 3.9.2
+    • updated descriptions of packages
+  * debhelper & compat to version 9
+  * package to source format 3
+  * dropped CDBS, now using straight debhelper only
+  * dropped old debian/rules and made it again from scratch
+    as part of packaging update (also removes copyright inconsistency)
+  * full lintianisation:
+    + patch to correct spelling and FSSTND-dir in man page
+    + patch to correct spelling in executable
+    + added Description to init script
+  * dropped obsolete files:
+    - debian/hdparm.postinit
+    - debian/hdparm.postrm
+    - debian/hdparm.dirs
+    - debian/hdparm.dev
+  * debian/hdparm.preinst - cleanup
+  * hdparm.postinst is updated to clean up old rules from /etc/udev
+
+ -- Dmitry Smirnov <[email protected]>  Thu, 23 Feb 2012 23:13:37 +1100
+
 hdparm (9.32-1) unstable; urgency=low
 
   * New upstream version (closes: #574897)
--- hdparm-9.32/debian/compat	2008-11-03 09:02:49.000000000 +1100
+++ hdparm-9.39/debian/compat	2012-02-24 00:42:09.000000000 +1100
@@ -1 +1 @@
-5
+9
--- hdparm-9.32/debian/control	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/control	2012-02-24 04:25:05.000000000 +1100
@@ -2,8 +2,9 @@
 Section: admin
 Priority: optional
 Maintainer: Stephen Gran <[email protected]>
-Build-Depends: cdbs (>> 0.4.37), debhelper (>= 5.0), dpkg-dev (>= 1.13.19)
-Standards-Version: 3.9.1
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.13.19)
+Standards-Version: 3.9.2
+Homepage: http://sourceforge.net/projects/hdparm/
 
 Package: hdparm
 Architecture: any
@@ -11,6 +12,10 @@
 Suggests: apmd
 Replaces: apmd (<= 3.0.2-1.15)
 Description: tune hard disk parameters for high performance
+ hdparm is a command line utility to set and view ATA hard disk
+ hardware parameters. It can set parameters such as drive caches,
+ sleep mode, power management, acoustic management, and DMA settings.
+ .
  Get/set device parameters for Linux SATA/IDE drives.
  Primary use is for enabling irq-unmasking and IDE multiplemode.
 
@@ -20,14 +25,22 @@
 Section: debug
 Depends: hdparm (= ${binary:Version}), ${misc:Depends}
 Description: debug files for hdparm
+ hdparm is a command line utility to set and view ATA hard disk
+ hardware parameters. It can set parameters such as drive caches,
+ sleep mode, power management, acoustic management, and DMA settings.
+ .
  This package contains the stripped debugging symbols for hdparm
 
 Package: hdparm-udeb
-XC-Package-Type: udeb
+Package-Type: udeb
 Section: debian-installer
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: tune hard disk parameters for high performance
+ hdparm is a command line utility to set and view ATA hard disk
+ hardware parameters. It can set parameters such as drive caches,
+ sleep mode, power management, acoustic management, and DMA settings.
+ .
  Get/set device parameters for Linux SATA/IDE drives.
  .
  This is a minimal package for use in debian-installer.
--- hdparm-9.32/debian/copyright	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/copyright	2012-02-24 03:03:21.000000000 +1100
@@ -1,19 +1,103 @@
-This package was debianized by Christopher L Cheney <[email protected]> on
-Wed, 21 Nov 2001 15:51:14 -0600.
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: hdparm
+Source: http://sf.net/hdparm/
+Comment:
+ Command line interface to get/set hard disk parameters
 
-It was downloaded from http://www.ibiblio.org/pub/Linux/system/hardware
-
-Upstream Author: Mark S. Lord <[email protected]>
 
+Files: debian/*
 Copyright:
+         © 2003-2010 Stephen Gran <[email protected]>
+         © 2003      Andrew Suffield <[email protected]>
+         © 2010      Ben Hutchings <[email protected]>
+         © 1994      Bruce Perens <[email protected]>
+         © 2001-2003 Christopher L Cheney <[email protected]>
+         © 2002      Chris Hanson <[email protected]>
+         © 2012      Dmitry Smirnov <[email protected]>
+         © 1995      Guy R. Thomas <[email protected]>
+         © 1996-2001 Steve Dunham <[email protected]>
+License: BSD-Style
+
+
+Files: debian/20hdparm
+Copyright: © 2000-2002 Massachusetts Institute of Technology
+License: GPL-2+
+
+
+Files: *
+Copyright:  © 1994-2012 Mark S. Lord <[email protected]>
+License: BSD-Style
+
+
+Files:
+ fibmap.c
+ fwdownload.c
+Copyright:  © 2008 EMC Corporation
+            © 2008 Mark Lord
+License: GPL-2 or BSD-Style
+
+
+Files:
+ hdparm.c
+ sgio.c
+ identify.c
+Copyright:  © 1994-2012  Mark Lord
+License: freely-distributable
+ freely distributable
+
+
+Files: wiper/wiper.sh
+Copyright: 2009-2010, Mark Lord.
+License: GPL-2
+
+
+Files: wiper/contrib/raid1ext4trim.sh-1.4
+Copyright: 2010, Chris Caputo.
+License: GPL-2
+
+
+Files: dvdspeed.c
+Copyright: 2004, Thomas Fritzsche <[email protected]>
+License: BSD-Style
+Comment:
+ under same licensing terms as hdparm
+
+
+License: BSD-Style
+ BSD-Style Open Source License
+ You may freely use, modify, and redistribute the hdparm program,
+ as either binary or source, or both.
+ .
+ The only condition is that my name and copyright notice
+ remain in the source code as-is.
+
+
+License: GPL-2
+ This program 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; version 2
+ of the License.
+ .
+ This program 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.
+ .
+ On Debian systems, The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+
+
+License: GPL-2+
+ This program 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in /usr/share/common-licenses/GPL-2 file.
 
-/* hdparm.c - Command line interface to get/set hard disk parameters */
-/*          - by Mark Lord © 1994-2008 -- freely distributable */
-
-License:
-
-You may freely use, modify, and redistribute the hdparm program,
-as either binary or source, or both.
-
-The only condition is that my name and copyright notice
-remain in the source code as-is.
--- hdparm-9.32/debian/hdparm.dev	2008-11-03 09:04:46.000000000 +1100
+++ hdparm-9.39/debian/hdparm.dev	1970-01-01 10:00:00.000000000 +1000
@@ -1,8 +0,0 @@
-#!/bin/sh
-# $DEVNAME device name
-# $ACTION action add/remove
-
-[ -n "$DEVNAME" ] || exit 0
-[ "$DEVNAME" != "${DEVNAME#/}" ] || exit 0
-[ "$ACTION" = 'add' ] || exit 0
-[ -x /etc/init.d/hdparm ] && ACTION=$ACTION DEVNAME=$DEVNAME /etc/init.d/hdparm hotplug
--- hdparm-9.32/debian/hdparm.dirs	2008-11-03 09:15:19.000000000 +1100
+++ hdparm-9.39/debian/hdparm.dirs	1970-01-01 10:00:00.000000000 +1000
@@ -1 +0,0 @@
-etc/udev/rules.d
--- hdparm-9.32/debian/hdparm.docs	2008-11-03 09:08:52.000000000 +1100
+++ hdparm-9.39/debian/hdparm.docs	2012-02-24 04:48:44.000000000 +1100
@@ -1,2 +1,3 @@
 README.acoustic
 debian/changelog.old
+TODO
--- hdparm-9.32/debian/hdparm.init	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/hdparm.init	2012-02-24 03:07:20.000000000 +1100
@@ -8,6 +8,7 @@
 # Default-Start:     S
 # Default-Stop:
 # Short-Description: Tune IDE hard disks
+# Description: Set parameters for SATA/IDE drives.
 ### END INIT INFO
 
 set -e
--- hdparm-9.32/debian/hdparm.install	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/hdparm.install	2012-02-24 04:18:10.000000000 +1100
@@ -1,9 +1,11 @@
-debian/20hdparm		etc/apm/event.d/
-debian/tmp/sbin/hdparm
-contrib/fix_standby.c   usr/share/doc/hdparm/contrib
-contrib/idectl          usr/share/doc/hdparm/contrib
-contrib/README          usr/share/doc/hdparm/contrib
-contrib/ultrabayd       usr/share/doc/hdparm/contrib
+sbin/hdparm
 debian/hdparm.conf	etc/
-debian/hdparm.rules     etc/udev/
-wiper/wiper.sh          usr/share/doc/hdparm/contrib
+debian/84-hdparm.rules	lib/udev/rules.d/
+debian/20hdparm		etc/apm/event.d/
+wiper/wiper.sh		usr/lib/hdparm/
+
+# see #511283
+#contrib/idectl		usr/lib/hdparm/
+#contrib/ultrabayd	usr/lib/hdparm/
+#contrib/fix_standby.c	usr/share/doc/hdparm/contrib
+#contrib/README		usr/share/doc/hdparm/contrib
--- hdparm-9.32/debian/hdparm.postinit	2008-11-03 08:49:22.000000000 +1100
+++ hdparm-9.39/debian/hdparm.postinit	1970-01-01 10:00:00.000000000 +1000
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# Clean up cdbs damage
-rm -f /etc/udev/rules.d/50-hdparm.rules
-
-
-if dpkg --compare-versions "$2" lt "8.6-1ubuntu1"; then
-	update-rc.d -f hdparm remove
-fi
-
-#DEBHELPER#
--- hdparm-9.32/debian/hdparm.postinst	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/hdparm.postinst	2012-02-24 05:13:58.000000000 +1100
@@ -1,13 +1,18 @@
 #!/bin/sh
 set -e
 
-if [ -z "$2" ] || dpkg --compare-versions "$2" lt 6.1-6 ; then
-  if [ ! -L /etc/udev/rules.d/z60_hdparm.rules ]; then
-    ln -s ../hdparm.rules /etc/udev/rules.d/z60_hdparm.rules
-  fi
+# not using dpkg-maintscript-helper here because removed files
+# are not configuration files.
+if [ -z "$2" ] || dpkg --compare-versions "$2" lt 9.39~ ; then
+    rm -f /etc/udev/hdparm.rules /etc/udev/rules.d/z60_hdparm.rules
+    # Clean up cdbs damage (moved here from postinit) 
+    rm -f /etc/udev/rules.d/50-hdparm.rules
 fi
 
 if [ -n "$2" ] && dpkg --compare-versions "$2" lt 8.9-2; then
   rm -fv /etc/rc0.d/K75hdparm /etc/rc6.d/K75hdparm
 fi
+
+
+
 #DEBHELPER#
--- hdparm-9.32/debian/hdparm.postrm	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/hdparm.postrm	1970-01-01 10:00:00.000000000 +1000
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-
-case "$1" in
-  purge)
-  [ ! -L /etc/udev/rules.d/z60_hdparm.rules ] || rm /etc/udev/rules.d/z60_hdparm.rules
-  ;;
-esac
-
-#DEBHELPER#
--- hdparm-9.32/debian/hdparm.preinst	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/hdparm.preinst	2012-02-24 04:28:26.000000000 +1100
@@ -19,26 +19,4 @@
     fi
 }
 
-if [ "$1" = install ] || [ "$1" = upgrade ]; then
-  if dpkg --compare-versions "$2" le 6.1-6; then
-    if dpkg --compare-versions "$2" gt 6.1-2; then
-      for conffile in /etc/init.d/hdparm.dev /etc/dev.d/block//hdparm.block /etc/dev.d/block/hdparm.dev; do
-        [ ! -e "$conffile" ] || rm_conffile "$conffile"
-      done
-    elif dpkg --compare-versions "$2" lt 5.5-5; then
-      update-rc.d -f hdparm remove > /dev/null 2>&1
-      if dpkg --compare-versions "$2" lt 5.4-6; then
-        [ ! -e /etc/hdparm.conf ] || rm_conffile "/etc/hdparm.conf"
-        if dpkg --compare-versions "$2" ge 5.4-3; then
-          if [ -e /etc/default/hdparm ]; then  
-            echo -n "Moving old /etc/default/hdparm to /etc/hdparm.conf . . "
-            mv /etc/default/hdparm /etc/hdparm.conf
-            echo "done."
-          fi
-        fi
-      fi
-    fi
-  fi
-fi
-
 #DEBHELPER#
--- hdparm-9.32/debian/hdparm.rules	2008-11-03 09:10:45.000000000 +1100
+++ hdparm-9.39/debian/hdparm.rules	1970-01-01 10:00:00.000000000 +1000
@@ -1,2 +0,0 @@
-ACTION=="add", SUBSYSTEM=="block", KERNEL=="[sh]d[a-z]", RUN+="/etc/init.d/hdparm hotplug"
-
--- hdparm-9.32/debian/hdparm-udeb.install	2008-11-03 09:05:47.000000000 +1100
+++ hdparm-9.39/debian/hdparm-udeb.install	2012-02-24 03:50:31.000000000 +1100
@@ -1 +1 @@
-debian/tmp/sbin/hdparm
+sbin/hdparm
--- hdparm-9.32/debian/patches/make.patch	1970-01-01 10:00:00.000000000 +1000
+++ hdparm-9.39/debian/patches/make.patch	2012-02-24 04:38:39.000000000 +1100
@@ -0,0 +1,24 @@
+Last-Update: 2012-02-24
+Author: Dmitry Smirnov <[email protected]>
+Forwarded: not-needed
+Description: build with debugging symbols
+
+
+--- a/Makefile
++++ b/Makefile
+@@ -15,7 +15,6 @@
+ 
+ CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
+ 
+-LDFLAGS = -s
+ #LDFLAGS = -s -static
+ INSTALL = install
+ INSTALL_DATA = $(INSTALL) -m 644
+@@ -28,7 +27,6 @@
+ 
+ hdparm: hdparm.h sgio.h $(OBJS)
+ 	$(CC) $(LDFLAGS) -o hdparm $(OBJS)
+-	$(STRIP) hdparm
+ 
+ hdparm.o:	hdparm.h sgio.h
+ 
--- hdparm-9.32/debian/patches/man.patch	1970-01-01 10:00:00.000000000 +1000
+++ hdparm-9.39/debian/patches/man.patch	2012-02-24 04:37:22.000000000 +1100
@@ -0,0 +1,129 @@
+Last-Update: 2012-02-24
+Author: Dmitry Smirnov <[email protected]>
+Forwarded: no
+Description: correct man page (lintianisation)
+ fix for the following lintian warnings:
+ * hyphen-used-as-minus-sign
+ * FSSTND-dir-in-manual-page
+
+
+--- a/hdparm.8
++++ b/hdparm.8
+@@ -346,9 +346,9 @@
+ option should therefore only be set after one has achieved confidence in
+ correct system operation with a chosen set of configuration settings.
+ In practice, all that is typically necessary to test a configuration
+-(prior to using -k) is to verify that the drive can be read/written,
++(prior to using \-k) is to verify that the drive can be read/written,
+ and that no error logs (kernel messages) are generated in the process
+-(look in /var/adm/messages on most systems).
++(look in /var/log/messages on most systems).
+ .TP
+ .I -K
+ Set the drive\'s "keep_features_over_reset" flag.  Setting this enables
+@@ -579,7 +579,7 @@
+ share a power supply.  Primarily for use in large RAID setups.
+ This feature is usually disabled and the drive is powered-up in the
+ .B active
+-mode (see -C above).
++mode (see \-C above).
+ Note that a drive may also allow enabling this feature by a jumper.
+ Some SATA drives support the control of this feature by pin 11 of
+ the SATA power connector. In these cases, this command may be
+@@ -674,7 +674,7 @@
+ provides a safe fix for the problem for use with earlier kernels.
+ .TP
+ .I -v 
+-Display some basic settings, similar to -acdgkmur for IDE.
++Display some basic settings, similar to \-acdgkmur for IDE.
+ This is also the default behaviour when no options are specified.
+ .TP
+ .I --verbose 
+@@ -767,19 +767,19 @@
+ .B USE AT YOUR OWN RISK.
+ .TP
+ .I --security-help             
+-Display terse usage info for all of the --security-* options.
++Display terse usage info for all of the \--security-* options.
+ .TP
+ .I --security-freeze             
+ Freeze the drive\'s security settings.
+ The drive does not accept any security commands until next power-on reset.
+-Use this function in combination with --security-unlock to protect drive
++Use this function in combination with \--security-unlock to protect drive
+ from any attempt to set a new password. Can be used standalone, too.
+ No other options are permitted on the command line with this one.
+ .TP
+ .I --security-unlock PWD 
+ Unlock the drive, using password PWD.
+ Password is given as an ASCII string and is padded with NULs to reach 32 bytes.
+-The applicable drive password is selected with the --user-master switch
++The applicable drive password is selected with the \--user-master switch
+ (default is "user" password).
+ No other options are permitted on the command line with this one.
+ .TP
+@@ -790,15 +790,15 @@
+ Use the special password
+ .B NULL
+ to set an empty password.
+-The applicable drive password is selected with the --user-master switch
++The applicable drive password is selected with the \--user-master switch
+ (default is "user" password)
+-and the applicable security mode with the --security-mode switch.
++and the applicable security mode with the \--security-mode switch.
+ No other options are permitted on the command line with this one.
+ .TP
+ .I --security-disable PWD 
+ Disable drive locking, using password PWD.
+ Password is given as an ASCII string and is padded with NULs to reach 32 bytes.
+-The applicable drive password is selected with the --user-master switch
++The applicable drive password is selected with the \--user-master switch
+ (default is "user" password).
+ No other options are permitted on the command line with this one.
+ .TP
+@@ -809,7 +809,7 @@
+ Use the special password
+ .B NULL
+ to represent an empty password.
+-The applicable drive password is selected with the --user-master switch
++The applicable drive password is selected with the \--user-master switch
+ (default is "user" password).
+ No other options are permitted on the command line with this one.
+ .TP
+@@ -817,15 +817,15 @@
+ Enhanced erase (locked) drive, using password PWD
+ .B (DANGEROUS).
+ Password is given as an ASCII string and is padded with NULs to reach 32 bytes.
+-The applicable drive password is selected with the --user-master switch
++The applicable drive password is selected with the \--user-master switch
+ (default is "user" password).
+ No other options are permitted on the command line with this one.
+ .TP
+ .I --user-master USER
+ Specifies which password (user/master) to select.
+ .B Defaults to "user" password.
+-Only useful in combination with --security-unlock, --security-set-pass,
+---security-disable, --security-erase or --security-erase-enhanced.
++Only useful in combination with \--security-unlock, \--security-set-pass,
++\--security-disable, \--security-erase or \--security-erase-enhanced.
+         u       user password
+         m       master password
+ 
+@@ -833,7 +833,7 @@
+ .I --security-mode MODE 
+ Specifies which security mode (high/maximum) to set.
+ .B Defaults to high.
+-Only useful in combination with --security-set-pass.
++Only useful in combination with \--security-set-pass.
+         h       high security
+         m       maximum security
+ 
+@@ -850,7 +850,7 @@
+ a few drive/controller combinations are not 100% compatible.  Filesystem
+ corruption may result.  Backup everything before experimenting!
+ .PP
+-Some options (e.g. -r for SCSI) may not work with old kernels as 
++Some options (e.g. \-r for SCSI) may not work with old kernels as 
+ necessary ioctl()\'s were not supported.
+ .PP
+ Although this utility is intended primarily for use with SATA/IDE hard disk
--- hdparm-9.32/debian/patches/series	1970-01-01 10:00:00.000000000 +1000
+++ hdparm-9.39/debian/patches/series	2012-02-24 02:49:36.000000000 +1100
@@ -0,0 +1,3 @@
+spelling.patch
+man.patch
+make.patch
--- hdparm-9.32/debian/patches/spelling.patch	1970-01-01 10:00:00.000000000 +1000
+++ hdparm-9.39/debian/patches/spelling.patch	2012-02-24 04:35:23.000000000 +1100
@@ -0,0 +1,17 @@
+Last-Update: 2012-02-24
+Author: Dmitry Smirnov <[email protected]>
+Forwarded: no
+Description: correct spelling in executable (lintianisation)
+
+
+--- a/hdparm.c
++++ b/hdparm.c
+@@ -1517,7 +1517,7 @@
+ 	" --security-erase    PASSWD  Erase a (locked) drive.\n"
+ 	" --security-erase-enhanced PASSWD   Enhanced-erase a (locked) drive.\n"
+ 	"\n"
+-	" The above four commands may optionally be preceeded by these options:\n"
++	" The above four commands may optionally be preceded by these options:\n"
+ 	" --security-mode  LEVEL      Use LEVEL to select security level:\n"
+ 	"                                  h   high security (default).\n"
+ 	"                                  m   maximum security.\n"
--- hdparm-9.32/debian/rules	2012-02-24 06:01:04.000000000 +1100
+++ hdparm-9.39/debian/rules	2012-02-24 03:56:38.000000000 +1100
@@ -1,33 +1,18 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2003 Jeff Bailey <[email protected]>
-#
-# This program 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, or (at
-# your option) any later version.
-#
-# This program 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 program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
-
-DEB_DH_INSTALLINIT_ARGS := '--no-start'
-#DEB_DH_LINK_ARGS := ../init.d/hdparm /etc/rcS.d/S07hdparm.first
-DEB_UPDATE_RCD_PARAMS := 'start 07 S . '
-DEB_FIXPERMS_EXCLUDE:= 20hdparm
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
-
-DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp
-
-common-install-prehook-arch::
-	install -d $(CURDIR)/debian/tmp/sbin
-binary-predeb/hdparm::
-	chmod 755 $(CURDIR)/debian/hdparm/etc/apm/event.d/20hdparm
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+
+override_dh_auto_install:
+	dh_auto_install --destdir=$(CURDIR)/debian/tmp
+
+override_dh_installinit:
+	dh_installinit --no-start --update-rcd-params='start 07 S . '
+
+override_dh_strip:
+	dh_strip --dbg-package=hdparm-dbg
+
--- hdparm-9.32/debian/source/format	1970-01-01 10:00:00.000000000 +1000
+++ hdparm-9.39/debian/source/format	2011-11-09 08:53:25.000000000 +1100
@@ -0,0 +1 @@
+3.0 (quilt)
--- hdparm-9.32/debian/watch	2008-11-03 09:11:21.000000000 +1100
+++ hdparm-9.39/debian/watch	2012-02-23 23:23:28.000000000 +1100
@@ -1,2 +1,4 @@
-version=2
-http://www.ibiblio.org/pub/Linux/system/hardware (?:.*/)?hdparm-?_?([\w+\d+\.]+|\d+)(\.tar|\.tgz)(\.gz|\.bz2|) debian uupdate
+version=3
+
+http://sf.net/hdparm/hdparm[-_]([\d+\.]+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) \
+ debian uupdate

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to