further debian build cleanup
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@283 6180dd3e-e324-4e3e-922d-17de1ae2f315
diff --git a/COVERAGE b/COVERAGE
index 5de6b94..affdf2d 100644
--- a/COVERAGE
+++ b/COVERAGE
@@ -6,11 +6,11 @@
SCSI command sg3_utils utilities that use this SCSI command
------------ -------------------------------------------------
-ATA COMMAND PASS-THROUGH(16) sg_sat_identify, sg_sat_set_features
- (main directory); sg_sat_chk_power, sg__sat_identify,
- sg_sat_phy_event, sg__sat_set_features,
- sg_sat_smart_rd_data (previous five in the examples
- directory), ++
+ATA COMMAND PASS-THROUGH(16) sg_sat_identify, sg_sat_set_features,
+ sg_sat_phy_event, ++
+ [sg_sat_chk_power, sg__sat_identify,
+ sg__sat_set_features, sg_sat_smart_rd_data
+ (previous four in the examples directory)]
ATA COMMAND PASS-THROUGH(12) sg_sat_identify, ++
GET CONFIGURATION sg_get_config, ++
INQUIRY sg_dd, sg_format, sg_inq, sginfo,
@@ -93,4 +93,4 @@
Doug Gilbert
-15th June 2009
+23rd July 2009
diff --git a/ChangeLog b/ChangeLog
index 46f94dd..dc6fc74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,7 @@
some description at the top of its ".c" file. All utilities in the main
directory have their own "man" pages. There is also a sg3_utils man page.
-Changelog for sg3_utils-1.28 [20090722] [svn: r282]
+Changelog for sg3_utils-1.28 [20090723] [svn: r283]
- sg_unmap: new utility for thin provisioning
- add examples/sg_unmap_example.txt
- sg_read_block_limits: new utility for tape drives
diff --git a/debian/control b/debian/control
index 8807e63..31f582c 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,14 @@
Conflicts: sg-utils, cdwrite
Replaces: sg-utils
Description: utilities for devices using the SCSI command set.
+ Most OSes have SCSI pass-through interfaces that enable user space programs
+ to send SCSI commands to a device and fetch the response. With SCSI to ATA
+ Translation (SAT) many ATA disks now can process SCSI commands. Typically
+ each utility in this package implements one SCSI command. See the draft
+ standards at www.t10.org for SCSI command definitions plus SAT. ATA
+ commands are defined in the draft standards at www.t13.org . For a mapping
+ between supported SCSI and ATA commands and utility names in this package
+ see the COVERAGE file.
Package: libsgutils2-2
Section: libs
@@ -20,6 +28,7 @@
Replaces: libsgutils2
Suggests: sg3-utils
Description: utilities for devices using the SCSI command set (shared libraries)
+ Shared library used by the utilities in the sg3-utils package.
Package: libsgutils2-dev
Section: libdevel
@@ -28,4 +37,6 @@
Conflicts: libsgutils1-dev
Suggests: sg3-utils
Description: utilities for devices using the SCSI command set (developer files)
+ Developer files (i.e. headers and a static library) which are associated with
+ the utilities in the sg3-utils package.
diff --git a/debian/docs b/debian/docs
index 2df5468..2bb2714 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,8 +1,6 @@
README
README.sg_start
AUTHORS
-ChangeLog
COVERAGE
CREDITS
INSTALL
-NEWS
diff --git a/debian/libsgutils2-0-dev.dirs b/debian/libsgutils2-0-dev.dirs
deleted file mode 100644
index c4e5a97..0000000
--- a/debian/libsgutils2-0-dev.dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib
-usr/include/scsi
diff --git a/debian/libsgutils2-0-dev.install b/debian/libsgutils2-0-dev.install
deleted file mode 100644
index b2320a0..0000000
--- a/debian/libsgutils2-0-dev.install
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/include/scsi
-usr/lib/*.so
-usr/lib/*.lo
-usr/lib/*.la
-usr/lib/*.a
diff --git a/debian/libsgutils2-0.dirs b/debian/libsgutils2-0.dirs
deleted file mode 100644
index 6845771..0000000
--- a/debian/libsgutils2-0.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/debian/libsgutils2-0.install b/debian/libsgutils2-0.install
deleted file mode 100644
index 093956b..0000000
--- a/debian/libsgutils2-0.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*.so.*
diff --git a/debian/libsgutils2.install b/debian/libsgutils2.install
deleted file mode 100644
index 093956b..0000000
--- a/debian/libsgutils2.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*.so.*
diff --git a/debian/libsgutils2.postinst b/debian/libsgutils2.postinst
deleted file mode 100644
index 2be47db..0000000
--- a/debian/libsgutils2.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/libsgutils2.postrm b/debian/libsgutils2.postrm
deleted file mode 100644
index 2be47db..0000000
--- a/debian/libsgutils2.postrm
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/sg3-utils.dirs b/debian/sg3-utils.dirs
deleted file mode 100644
index e772481..0000000
--- a/debian/sg3-utils.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/bin
diff --git a/debian/sg3-utils.preinst b/debian/sg3-utils.preinst
deleted file mode 100644
index 6582964..0000000
--- a/debian/sg3-utils.preinst
+++ /dev/null
@@ -1,48 +0,0 @@
-#! /bin/sh
-# preinst script for sg-utils
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-#
-# For details see /usr/share/doc/packaging-manual/
-
-case "$1" in
- install|upgrade)
- kernel_version=`/bin/uname -r`;
- major_version=`echo $kernel_version | sed 's/\.[0-9]\+$//'`;
- minor_version=`echo $kernel_version | sed 's/.*\.\([0-9]\+\)/\1/'`;
-
- case $major_version in
- 2.[0-3])
- echo "You are running linux kernel version $kernel_version."
- echo "sg3_utils will not work on kernels older than 2.4."
- echo "If you want to run code with older kernels, please"
- echo "install sg_utils instead."
- exit 0;
- ;;
- *)
- esac
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0