diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.debian4 | 14 | ||||
-rw-r--r-- | debian/changelog | 278 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 43 | ||||
-rw-r--r-- | debian/copyright | 24 | ||||
-rw-r--r-- | debian/docs | 7 | ||||
-rw-r--r-- | debian/libsgutils2-2.install | 1 | ||||
-rw-r--r-- | debian/libsgutils2-dev.install | 4 | ||||
-rwxr-xr-x | debian/rules | 83 | ||||
-rw-r--r-- | debian/sg3-utils.examples | 1 | ||||
-rw-r--r-- | debian/sg3-utils.install | 2 |
11 files changed, 458 insertions, 0 deletions
diff --git a/debian/README.debian4 b/debian/README.debian4 new file mode 100644 index 00000000..900b04e8 --- /dev/null +++ b/debian/README.debian4 @@ -0,0 +1,14 @@ +For whatever reason Debian build scripts (e.g. debhelper and dbclean) +seem to have changed in such a way to be Debian 4.0 ("etch") unfriendly. + +So when the ./build_debian.sh script is called on a Debian 4.0 system, +it fails saying the debhelper is too old. That can be fixed by editing +the 'control' file, changing this line: + Build-Depends: debhelper (>> 7), libtool, libcam-dev [kfreebsd-i386 kfreebsd-amd64] +to: + Build-Depends: debhelper, libtool, libcam-dev [kfreebsd-i386 kfreebsd-amd64] + +The script then dies in dbclean and the hack to get around that is to +edit the 'compat' file. It contains "7" which needs to be changed to +"4". Evidently "4" is deprecated and "5" is preferable and should work. + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..9ebae1eb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,278 @@ +sg3-utils (1.48-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Sat, 12 Nov 2022 21:00:00 -0500 + +sg3-utils (1.47-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Tue, 09 Nov 2021 12:00:00 -0500 + +sg3-utils (1.46-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Mon, 29 Mar 2021 01:00:00 -0400 + +sg3-utils (1.45-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Sat, 29 Feb 2020 20:00:00 -0500 + +sg3-utils (1.44-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Wed, 12 Sep 2018 14:00:00 -0400 + +sg3-utils (1.43-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Tue, 11 Sep 2018 09:00:00 -0400 + +sg3-utils (1.42-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Wed, 17 Feb 2016 15:00:00 -0500 + +sg3-utils (1.41-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Tue, 28 Apr 2015 11:00:00 -0400 + +sg3-utils (1.40-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Mon, 10 Nov 2014 23:00:00 -0500 + +sg3-utils (1.39-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Thu, 12 Jun 2014 09:00:00 -0400 + +sg3-utils (1.38-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Tue, 01 Apr 2014 15:00:00 -0400 + +sg3-utils (1.37-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Mon, 14 Oct 2013 15:00:00 -0400 + +sg3-utils (1.36-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Fri, 31 May 2013 10:00:00 -0400 + +sg3-utils (1.35-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Thu, 17 Jan 2013 19:00:00 -0500 + +sg3-utils (1.34-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Sat, 13 Oct 2012 19:00:00 -0400 + +sg3-utils (1.33-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Wed, 18 Jan 2012 14:00:00 -0500 + +sg3-utils (1.32-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Wed, 22 Jun 2011 16:00:00 -0400 + +sg3-utils (1.31-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Wed, 16 Feb 2011 16:00:00 -0500 + +sg3-utils (1.30-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Fri, 05 Nov 2010 10:30:00 -0400 + +sg3-utils (1.29-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Wed, 31 Mar 2010 23:00:00 -0400 + +sg3-utils (1.28-0.1) unstable; urgency=low + + * New upstream version + + -- Douglas Gilbert <dgilbert@interlog.com> Fri, 02 Oct 2009 00:20:00 -0400 + +sg3-utils (1.27-0.1) unstable; urgency=low + + [ Martin Pitt ] + * Non-maintainer upload; this package blocks DeviceKit, and maintainer is + apparently not active any more. Also clean up and modernize the package + somewhat while we are at it. + * New upstream release (required for current devicekit-disks). + (Closes: #532546). Upstream original tarball repacked to not contain + debian/ directory. + * Rename libsgutils1{,-dev} to libsgutils2-2{,-dev}, upstream bumped SONAME. + Also call the library libgsutils2-2 to match SONAME. Add + Conflicts/Replaces for "libsgutils2" to provide a clean upgrade from the + packages as provided by Upstream and Ubuntu. + * debian/rules: Update build rules for upstream Makefile → autotools switch. + * debian/rules: Fix cleaning a clean source package. + * Demote Recommends to Suggests; the library doesn't actually call the + binaries in sg3-utils. (Closes: #532547) + * Drop debian/*.dirs, unnecessary with dh_install. + * Drop sg3-utils.preinst, not necessary to deal with kernel 2.4 any more. + * Drop libsgutils2-0.install, libsgutils2-0-dev.install, these packages + don't exist. + * Drop libsgutils2.post{inst,rm}: Basically empty, debhelper will create its + own. + * libsgutils2-dev.install: Drop *.lo. + * debian/compat: 4 -> 7. Bump debhelper build-depends accordingly. + * debian/control: Bump Standards-Version to 3.8.2. + * debian/control: Modernize package description for Linux 2.6. + (Closes: #506578) + * debian/rules: Drop -k argument from dh_clean (thanks lintian). + + [ Frank Lichtenheld ] + * debian/control, debian/rules: Add dependency of libsgutils-dev on + libcam-dev on kfreebsd-*. (Closes: #519460) + + -- Martin Pitt <mpitt@debian.org> Mon, 22 Jun 2009 12:04:20 +0200 + +sg3-utils (1.24-2) unstable; urgency=low + + * Cleaned up package description (Closes: #445920). + * Don't make libtool think rpath is necessary (Closes: #451153) + * Capitalized Linux in extended description (Closes: #457526). + * Completed sentence in libsgutils1 long description (Closes: #421391). + * Added patch from Aurelian Jarno to build on kfreebsd-* (Closes: #455430). + * Symlinks in examples directory cleaned up (Closes: #372610). + + -- Eric Schwartz (Skif) <emschwar@debian.org> Sun, 30 Dec 2007 11:52:58 -0700 + +sg3-utils (1.24-1) unstable; urgency=low + + * New upstream release + * Conflicts with upstream libsgutils package libsgutils-1-0 (closes: #391077) + + -- Eric Schwartz (Skif) <emschwar@debian.org> Tue, 5 Jun 2007 17:04:21 -0600 + +sg3-utils (1.21-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS due to old syscall usage (Closes: #395512). + + -- Luk Claes <luk@debian.org> Sun, 5 Nov 2006 17:23:29 +0100 + +sg3-utils (1.21-2) unstable; urgency=low + + * Added Depends on libsgutils1 to libsgutils1-dev (closes: #387798) + + -- Eric Schwartz (Skif) <emschwar@debian.org> Fri, 22 Sep 2006 00:20:28 -0600 + +sg3-utils (1.21-1) unstable; urgency=low + + * New upstream release + + -- Eric Schwartz (Skif) <emschwar@debian.org> Wed, 13 Sep 2006 21:54:30 -0600 + +sg3-utils (1.20-1) unstable; urgency=low + + * New upstream release + + -- Eric Schwartz (Skif) <emschwar@debian.org> Wed, 26 Apr 2006 22:31:15 -0600 + +sg3-utils (1.17-3) unstable; urgency=low + + * Cleaned up sg_read(8) manpage (Closes: #294521) + + -- Eric Schwartz (Skif) <emschwar@debian.org> Mon, 13 Feb 2006 17:59:46 -0700 + +sg3-utils (1.17-2) unstable; urgency=low + + * Add libtool to build-depends + + -- Eric Schwartz (Skif) <emschwar@debian.org> Tue, 4 Oct 2005 19:40:00 -0600 + +sg3-utils (1.17-1) unstable; urgency=low + + * New upstream version + + -- Eric Schwartz (Skif) <emschwar@debian.org> Sat, 1 Oct 2005 13:26:16 -0600 + +sg3-utils (1.08-2) unstable; urgency=low + + * Fix packaging bug that accidentally left off binaries. Sigh. + (closes: #271906) + + -- Eric Schwartz (Skif) <emschwar@debian.org> Wed, 15 Sep 2004 22:40:06 -0600 + +sg3-utils (1.08-1) unstable; urgency=low + + * New upstream version + * Unified package description with list of tools actually installed + (closes: #271093) + + -- Eric Schwartz (Skif) <emschwar@debian.org> Sun, 12 Sep 2004 21:22:42 -0600 + +sg3-utils (1.05-1) unstable; urgency=low + + * New upstream release + * updated description to match tools in package (closes: #221143) + + -- Eric Schwartz <emschwar@debian.org> Tue, 18 Nov 2003 22:22:29 -0700 + +sg3-utils (1.03-1) unstable; urgency=low + + * New upstream release (closes: #181999) + + -- Eric Schwartz <emschwar@debian.org> Tue, 29 Apr 2003 20:18:30 -0600 + +sg3-utils (0.95-4) unstable; urgency=low + + * Only warns if installed on a kernel version < 2.4 (closes: #136434) + + -- Eric Schwartz <emschwar@debian.org> Tue, 28 May 2002 22:55:29 -0600 + +sg3-utils (0.95-3) unstable; urgency=low + + * Extended description to include descriptions of all tools included in + the package. (closes: #121968) + + -- Eric Schwartz <emschwar@debian.org> Sun, 13 Jan 2002 17:09:27 -0700 + +sg3-utils (0.95-2) unstable; urgency=low + + * Packaging manpages (closes: #122692) + * Conflicts with cdwrite (closes: #123779) + + -- Eric Schwartz <emschwar@debian.org> Wed, 2 Jan 2002 01:05:08 -0700 + +sg3-utils (0.95-1) unstable; urgency=low + + * Initial Release. + * Adjusted Makefile to include $DESTDIR + + -- Eric Schwartz <emschwar@debian.org> Wed, 14 Nov 2001 17:05:56 -0700 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..83646432 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: sg3-utils +Section: admin +Priority: optional +Maintainer: Eric Schwartz (Skif) <emschwar@debian.org> +Build-Depends: debhelper (>> 7), libtool, libcam-dev [kfreebsd-i386 kfreebsd-amd64] +Standards-Version: 3.8.2 + +Package: sg3-utils +Architecture: any +Depends: ${shlibs:Depends} +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. Also some support for NVMe devices, especially via + sg_ses to NVMe enclsoures. + +Package: libsgutils2-2 +Section: libs +Depends: ${shlibs:Depends} +Architecture: any +Conflicts: libsgutils2 +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 +Architecture: any +Depends: libsgutils2-2 (= ${binary:Version}), ${shlibs:Depends}, ${kfreebsd:Depends} +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/copyright b/debian/copyright new file mode 100644 index 00000000..7f1906bb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ + +Copyright (c) 1999-2018, Douglas Gilbert +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..67fe85ab --- /dev/null +++ b/debian/docs @@ -0,0 +1,7 @@ +README +README.sg_start +AUTHORS +COVERAGE +CREDITS +INSTALL +ChangeLog diff --git a/debian/libsgutils2-2.install b/debian/libsgutils2-2.install new file mode 100644 index 00000000..093956b1 --- /dev/null +++ b/debian/libsgutils2-2.install @@ -0,0 +1 @@ +usr/lib/*.so.* diff --git a/debian/libsgutils2-dev.install b/debian/libsgutils2-dev.install new file mode 100644 index 00000000..5d09f30f --- /dev/null +++ b/debian/libsgutils2-dev.install @@ -0,0 +1,4 @@ +usr/include/scsi +usr/lib/*.so +usr/lib/*.la +usr/lib/*.a diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..d3a2b0ce --- /dev/null +++ b/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# This version is for a hypothetical package that builds an +# architecture-dependant package, as well as an architecture-independent +# package. + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --bindir=/usr/bin --prefix=/usr --mandir=\$${prefix}/share/man + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + PREFIX=/usr MANDIR=/usr/share/man $(MAKE) -e + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + rm -f build-stamp configure-stamp debian/substvars + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) -e install DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr + + dh_install --autodest --sourcedir=debian/tmp + + dh_installman + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: build install +# nothing to do here + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installexamples -a + dh_installmenu -a + dh_installchangelogs ChangeLog -a + dh_strip -a + dh_link -a + dh_compress -a -X archive -X .c -X .h + dh_fixperms -a + dh_makeshlibs -V -v + dh_installdeb -a +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) + echo kfreebsd:Depends=libcam-dev >>debian/libsgutils2-dev.substvars +endif + dh_shlibdeps -ldebian/tmp/usr/lib -L libsgutils2 + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/sg3-utils.examples b/debian/sg3-utils.examples new file mode 100644 index 00000000..e39721e2 --- /dev/null +++ b/debian/sg3-utils.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/sg3-utils.install b/debian/sg3-utils.install new file mode 100644 index 00000000..6161376a --- /dev/null +++ b/debian/sg3-utils.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/man8/* |