debian/0000755000000000000000000000000012315103225007160 5ustar debian/copyright0000644000000000000000000000150312221052474011117 0ustar This package was debianized by Philipp Hug on Tue, 29 Mar 2005 20:57:04 +0200. It was downloaded from http://iscsitarget.sourceforge.net/ Upstream authors: Copyright (C) 2001-2003 InterOperability Lab (IOL) Copyright (C) 2002-2003 Ardis Technolgies Copyright (C) 2005 MING Zhang Copyright (C) 2006 FUJITA Tomonori and various contributions from iscsitarget-devel@sourceforge.net: Ali Lehmann Arne Redlich Bastiaan Bakker Dave Jiang Emmanuel Florac Florian Zierer Frederic Temporelli Henry Liu Juhani Rautiainen Junjiro Okajima K Chapman Krzysztof Blaszkowski Libor Vanek Philipp Hug Richard Bollinger Robert Whitehead Ross S. W. Walker Wang Zhenyu License: GNU General Public License version 2, see /usr/share/common-licenses/GPL-2 for more information. debian/dirs0000644000000000000000000000002112221052473010041 0ustar etc/iet usr/sbin debian/iscsitarget.overrides0000644000000000000000000000010312221052473013423 0ustar iscsitarget: non-standard-file-perm etc/iet/ietd.conf 0600 != 0644 debian/compat0000644000000000000000000000000212221052474010363 0ustar 5 debian/tests/0000755000000000000000000000000012221052474010327 5ustar debian/tests/daemon0000644000000000000000000000106312150615172011516 0ustar #!/bin/bash #-------------------------- # Testing iscitarget daemon #-------------------------- set -e # modify /etc/default/iscsitarget to enable it CONFIG_FILE=/etc/default/iscsitarget TMP_CONFIG_FILE=/etc/default/iscsitarget.old sed -e "s/ISCSITARGET_ENABLE=false/ISCITARGET_ENABLE=true/g" $CONFIG_FILE > $TMP_CONFIG_FILE mv $TMP_CONFIG_FILE $CONFIG_FILE /etc/init.d/iscsitarget start >/dev/null 2>&1 if ps aux | grep -v "grep" | grep -q "iscsitarget" > /dev/null; then echo "OK" exit 0 else echo "ERROR: ISCITARGET IS NOT RUNNING" exit 1 fi debian/tests/control0000644000000000000000000000011612150615172011731 0ustar Tests: daemon Depends: iscsitarget, iscsitarget-dkms Restrictions: needs-root debian/iscsitarget-module-_KVERS_.postinst0000644000000000000000000000005312221052474015762 0ustar #!/bin/sh set -e depmod -a & #DEBHELPER# debian/iscsitarget.install0000644000000000000000000000017012221052474013074 0ustar usr/ietd /usr/sbin usr/ietadm /usr/sbin etc/ietd.conf /etc/iet etc/initiators.allow /etc/iet etc/targets.allow /etc/iet debian/iscsitarget.init0000644000000000000000000000663212221052473012401 0ustar #!/bin/sh # ### BEGIN INIT INFO # Provides: iscsitarget # Required-Start: $remote_fs $syslog $network $time procps # Required-Stop: $remote_fs $syslog $network $time procps # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Starts and stops the iSCSI software target # Description: Starts and stops the iSCSI software target ### END INIT INFO PID_FILE=/var/run/ietd.pid CONFIG_FILE=/etc/iet/ietd.conf DAEMON=/usr/sbin/ietd PATH=/sbin:/bin:/usr/sbin:/usr/bin . /lib/lsb/init-functions # log_{warn,failure}_msg ISCSITARGET_ENABLE=false ISCSITARGET_MAX_SLEEP=3 ISCSITARGET_DEFAULTS_FILE=/etc/default/iscsitarget if [ -s "$ISCSITARGET_DEFAULTS_FILE" ]; then . "$ISCSITARGET_DEFAULTS_FILE" case "x$ISCSITARGET_ENABLE" in xtrue|xfalse) ;; *) log_failure_msg "value of ISCSITARGET_ENABLE must be either 'true' or 'false';" log_failure_msg "not starting iscsitarget." exit 1 ;; esac fi RETVAL=0 ietd_start() { log_daemon_msg "Starting iSCSI enterprise target service" modprobe -q crc32c modprobe iscsi_trgt RETVAL=$? if [ $RETVAL != "0" ] ; then log_end_msg 1 exit $RETVAL fi start-stop-daemon --start --exec $DAEMON --quiet --oknodo -- $ISCSITARGET_OPTIONS RETVAL=$? if [ $RETVAL = "0" ]; then log_end_msg 0 else log_end_msg 1 exit $RETVAL fi log_end_msg 0 exit 0 } ietd_stop() { log_daemon_msg "Removing iSCSI enterprise target devices: " pidof ietd >/dev/null 2>&1 RETVAL=$? if [ $RETVAL = "0" ] ; then # ugly, but ietadm does not allways provides correct exit values RETURN=`ietadm --op delete 2>&1` RETVAL=$? if [ $RETVAL = "0" ] && [ "$RETURN" != "something wrong" ] ; then log_end_msg 0 else log_end_msg 1 log_failure_msg "failed with reason :$RETURN" exit $RETVAL fi log_daemon_msg "Stopping iSCSI enterprise target service: " start-stop-daemon --stop --quiet --exec $DAEMON --pidfile $PID_FILE --oknodo RETVAL=$? if [ $RETVAL = "0" ]; then log_end_msg 0 else log_end_msg 1 fi else log_end_msg 0 fi # ugly, but pid file is not removed by ietd rm -f $PID_FILE # check if the module is loaded at all lsmod | grep -q iscsi_trgt RETVAL=$? if [ $RETVAL = "0" ] ; then for i in $(seq $ISCSITARGET_MAX_SLEEP); do log_daemon_msg "Removing iSCSI enterprise target modules: " modprobe -r iscsi_trgt RETVAL=$? if [ $RETVAL = "0" ]; then break fi # give iet some time to finish processing sleep 1 done modprobe -r crc32c 2>/dev/null if [ $RETVAL = "0" ]; then log_end_msg 0 else log_end_msg 1 # Lack of module unloading should be reported, # but not necessarily exit non-zero fi fi } case "$1" in start) if [ "$ISCSITARGET_ENABLE" = "true" ]; then ietd_start else log_warning_msg "iscsitarget not enabled in \"$ISCSITARGET_DEFAULTS_FILE\", not starting..." fi ;; stop) ietd_stop ;; restart|force-reload) ietd_stop sleep 1 if [ "$ISCSITARGET_ENABLE" = "true" ]; then ietd_start else log_warning_msg "iscsitarget not enabled in \"$ISCSITARGET_DEFAULTS_FILE\", not starting..." fi ;; status) status_of_proc -p $PID_FILE $DAEMON "iSCSI enterprise target" && exit 0 || exit $? ;; *) log_action_msg "Usage: $0 {start|stop|restart|status}" exit 1 esac exit 0 debian/README.Debian0000644000000000000000000000114512221052473011226 0ustar iscsitarget for Debian ---------------------- This package requires at least kernel 2.6.19. Please see the included README.gz for a description of the iSCSI enterprise target software. The Debian iscsitarget source package provides two packages, 1) iscsitarget, which the provides the userspace daemon 2) iscsitarget-dkms, which provides the dkms format package for the kernel Note: The older iscsitarget-source package has been drop in favor of the dkms package The iscsitarget package Recommends the iscsitarget-dkms package which provides the sources to build the iscsitarget kernel component debian/iscsitarget-dkms.prerm0000644000000000000000000000036412221052473013513 0ustar #!/bin/sh set -e package=iscsitarget-dkms name=iscsitarget version=`dpkg-query -W -f='${Version}' "$package" \ |rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"` dkms remove -m "$name" -v "$version" --all || true #DEBHELPER# exit 0 debian/iscsitarget.postinst0000644000000000000000000000061412221052473013313 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile /etc/ietd.conf /etc/iet/ietd.conf -- "@" dpkg-maintscript-helper mv_conffile /etc/initiators.allow /etc/iet/initiators.allow -- "@" dpkg-maintscript-helper mv_conffile /etc/initiators.deny /etc/iet/initiators.deny -- "@" # Clean up old cruft dpkg-maintscript-helper rm_conffile /etc/sysctl.d/30-iscsitarget.conf -- "@" #DEBHELPER# exit 0 debian/NEWS0000644000000000000000000000201712221052473007663 0ustar iscsitarget (1.4.20.3+svn490-1) experimental; urgency=low With this upload, the iscsitarget package will be targetted from the upstream "trunk" development branch. iscsitarget has not see a stable release in the last 2 years and most of the active changes (usually the kernel fixes) take place in the trunk branch. If you want to stick with the "stable branch, please stick to the Debian Wheezy release -- Ritesh Raj Sarraf Fri, 12 Apr 2013 13:17:41 +0530 iscsitarget (1.4.20.1-2) unstable; urgency=low The following conf file have changed locations from /etc/ to /etc/iet/ * /etc/ietd.conf => /etc/iet/ietd.conf * /etc/initiators.allow => /etc/iet/initiators.allow initiators.deny file has been deprecated upstream and thus will not be shipped going forward. The old file, if present will still be used. targets.allow file has been added, where different networks/ranges can be specified for individual targets. -- Ritesh Raj Sarraf Tue, 18 May 2010 01:07:12 +0530 debian/watch0000644000000000000000000000007612221052473010220 0ustar version=3 http://sf.net/iscsitarget/iscsitarget-(.+)\.tar\.gz debian/control.modules.in0000644000000000000000000000153712221052473012651 0ustar Source: iscsitarget Section: net Priority: optional Maintainer: Philipp Hug Uploaders: Frederik Schüler Build-Depends: debhelper (>> 5.0.0), linux-headers-_KVERS_ Standards-Version: 3.8.0 Package: iscsitarget-module-_KVERS_ Architecture: any Provides: iscsitarget-module Description: iSCSI Enterprise Target module for Linux (kernel _KVERS_) iSCSI Enterprise Target is for building an iSCSI storage system on Linux. It is aimed at developing an iSCSI target satisfying enterprise requirements. . This package contains the compiled kernel module for _KVERS_ . If you have compiled your own kernel, you will most likely need to build your own iscsitarget-modules. The iscsitarget-source package has been provided for use with the Debian kernel-package utility to produce a version of iscsitarget-module for your kernel. debian/source/0000755000000000000000000000000012221052474010465 5ustar debian/source/format0000644000000000000000000000001412221052474011673 0ustar 3.0 (quilt) debian/iscsitarget-dkms.postinst0000644000000000000000000000070212221052473014245 0ustar #!/bin/sh set -e package=iscsitarget-dkms name=iscsitarget version=`dpkg-query -W -f='${Version}' "$package" \ |rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"` isadded=`dkms status -m "$name" -v "$version"` if [ "x${isadded}" = "x" ] ; then dkms add -m "$name" -v "$version" fi if [ "$1" = 'configure' ] ; then dkms build -m "$name" -v "$version" && dkms install -m "$name" -v "$version" || true fi #DEBHELPER# exit 0 debian/patches/0000775000000000000000000000000012314062750010617 5ustar debian/patches/series0000664000000000000000000000003112314062521012022 0ustar enable-3.12-compat.patch debian/patches/enable-3.12-compat.patch0000664000000000000000000001245112314062750014733 0ustar Description: Add 3.12 compat patch to dkms configuration Author: James Page Forwarded: no --- a/dkms.conf +++ b/dkms.conf @@ -20,66 +20,69 @@ AUTOINSTALL="yes" # Patches newest - oldest, distro spec at bottom # -PATCH[0]="compat-3.9.patch" -PATCH_MATCH[0]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5|6|7|8|9)\.0)" +PATCH[0]="compat-3.12.patch" +PATCH_MATCH[0]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5|6|7|8|9|10|11|12)\.0)" -PATCH[1]="compat-3.6.patch" -PATCH_MATCH[1]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5|6)\.0)" +PATCH[1]="compat-3.9.patch" +PATCH_MATCH[1]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5|6|7|8|9)\.0)" -PATCH[2]="compat-3.5.patch" -PATCH_MATCH[2]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5)\.0)" +PATCH[2]="compat-3.6.patch" +PATCH_MATCH[2]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5|6)\.0)" -PATCH[3]="compat-3.2-3.4.patch" -PATCH_MATCH[3]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4)\.0)" +PATCH[3]="compat-3.5.patch" +PATCH_MATCH[3]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4|5)\.0)" -PATCH[4]="compat-2.6.39-3.2.patch" -PATCH_MATCH[4]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2)\.0)" +PATCH[4]="compat-3.2-3.4.patch" +PATCH_MATCH[4]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2|3|4)\.0)" -PATCH[5]="compat-2.6.38.patch" -PATCH_MATCH[5]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38)" +PATCH[5]="compat-2.6.39-3.2.patch" +PATCH_MATCH[5]="(2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)|3\.(0|1|2)\.0)" -PATCH[6]="compat-2.6.36-2.6.37.patch" -PATCH_MATCH[6]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37)" +PATCH[6]="compat-2.6.38.patch" +PATCH_MATCH[6]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38)" -PATCH[7]="compat-2.6.33-2.6.35.patch" -PATCH_MATCH[7]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35)" +PATCH[7]="compat-2.6.36-2.6.37.patch" +PATCH_MATCH[7]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37)" -PATCH[8]="compat-2.6.32.patch" -PATCH_MATCH[8]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32)" +PATCH[8]="compat-2.6.33-2.6.35.patch" +PATCH_MATCH[8]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35)" -PATCH[9]="compat-2.6.31.patch" -PATCH_MATCH[9]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31)" +PATCH[9]="compat-2.6.32.patch" +PATCH_MATCH[9]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32)" -PATCH[10]="compat-2.6.30.patch" -PATCH_MATCH[10]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30)" +PATCH[10]="compat-2.6.31.patch" +PATCH_MATCH[10]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31)" -PATCH[11]="compat-2.6.29.patch" -PATCH_MATCH[11]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29)" +PATCH[11]="compat-2.6.30.patch" +PATCH_MATCH[11]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30)" -PATCH[12]="compat-2.6.28.patch" -PATCH_MATCH[12]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28)" +PATCH[12]="compat-2.6.29.patch" +PATCH_MATCH[12]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29)" -PATCH[13]="compat-2.6.25-2.6.27.patch" -PATCH_MATCH[13]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27)" +PATCH[13]="compat-2.6.28.patch" +PATCH_MATCH[13]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28)" -PATCH[14]="compat-2.6.24.patch" -PATCH_MATCH[14]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24)" +PATCH[14]="compat-2.6.25-2.6.27.patch" +PATCH_MATCH[14]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24|25|26|27)" -PATCH[15]="compat-2.6.23.patch" -PATCH_MATCH[15]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23)" +PATCH[15]="compat-2.6.24.patch" +PATCH_MATCH[15]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23|24)" -PATCH[16]="compat-2.6.22.patch" -PATCH_MATCH[16]="2\.6\.(9|14|15|16|17|18|19|20|21|22)" +PATCH[16]="compat-2.6.23.patch" +PATCH_MATCH[16]="2\.6\.(9|14|15|16|17|18|19|20|21|22|23)" -PATCH[17]="compat-2.6.19-2.6.21.patch" -PATCH_MATCH[17]="2\.6\.(9|14|15|16|17|18|19|20|21)" +PATCH[17]="compat-2.6.22.patch" +PATCH_MATCH[17]="2\.6\.(9|14|15|16|17|18|19|20|21|22)" -PATCH[18]="compat-2.6.14-2.6.18.patch" -PATCH_MATCH[18]="2\.6\.(9|14|15|16|17|18)" +PATCH[18]="compat-2.6.19-2.6.21.patch" +PATCH_MATCH[18]="2\.6\.(9|14|15|16|17|18|19|20|21)" -PATCH[19]="compat-sles10sp2.patch" -PATCH_MATCH[19]="2\.6\.16\.60-.*" +PATCH[19]="compat-2.6.14-2.6.18.patch" +PATCH_MATCH[19]="2\.6\.(9|14|15|16|17|18)" -PATCH[20]="compat-rhel4.patch" -PATCH_MATCH[20]="2\.6\.9-.*\.(el|plus\.c4)" +PATCH[20]="compat-sles10sp2.patch" +PATCH_MATCH[20]="2\.6\.16\.60-.*" + +PATCH[21]="compat-rhel4.patch" +PATCH_MATCH[21]="2\.6\.9-.*\.(el|plus\.c4)" debian/rules0000755000000000000000000002217412314027213010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # get-orig-source target DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') get-orig-source: [ ! -f $(ORIG_FILE).gz ] || rm -f $(ORIG_FILE).gz uscan --force-download --rename --repack --download-version=$(DEB_UPSTREAM_VERSION) --destdir=. non_epoch_version=$(shell echo $(KVERS) | perl -pe 's/^\d+://') PACKAGE=iscsitarget pmodules = $(PACKAGE)-module-$(non_epoch_version) # DKMS package pdkms=iscsitarget-dkms CFLAGS = `dpkg-buildflags --get CFLAGS` CFLAGS += -Wall CFLAGS += `dpkg-buildflags --get CPPFLAGS` LDFLAGS = `dpkg-buildflags --get LDFLAGS` export CFLAGS export LDFLAGS ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif # module-assistant stuff MAJOR=$(shell echo $(KVERS) | sed -e 's/\(...\).*/\1/') ifeq ($(MAJOR),2.6) KO=k endif KERN_VER=$(shell echo $(KVERS) | cut -d "-" -f1) # Taken from upstream iscsitarget's Makefile KMAJ := $(shell echo $(KERN_VER) | \ sed -e 's/^\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*.*/\1/') KMIN := $(shell echo $(KERN_VER) | \ sed -e 's/^[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*.*/\1/') KREV := $(shell echo $(KERN_VER) | \ sed -e 's/^[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/') kver_eq = $(shell [ $(KMAJ)$(KMIN)$(KREV) -eq $(1)$(2)$(3) ] && \ echo 1 || echo 0) kver_lt = $(shell [ $(KMAJ)$(KMIN)$(KREV) -lt $(1)$(2)$(3) ] && \ echo 1 || echo 0) kver_le = $(shell [ $(KMAJ)$(KMIN)$(KREV) -le $(1)$(2)$(3) ] && \ echo 1 || echo 0) kver_gt = $(shell [ $(KMAJ)$(KMIN)$(KREV) -gt $(1)$(2)$(3) ] && \ echo 1 || echo 0) kver_ge = $(shell [ $(KMAJ)$(KMIN)$(KREV) -ge $(1)$(2)$(3) ] && \ echo 1 || echo 0) kver_lk = $(shell [ `echo $(KERN_VER) | egrep $(1)` ] && echo 1 || echo 0) ifeq ($(call kver_lt,3,13,0),1) PATCHES := $(PATCHES) compat-3.12.patch endif ifeq ($(call kver_lt,3,10,0),1) PATCHES := $(PATCHES) compat-3.9.patch endif ifeq ($(call kver_lt,3,7,0),1) PATCHES := $(PATCHES) compat-3.6.patch endif ifeq ($(call kver_le,3,5,0),1) PATCHES := $(PATCHES) compat-3.5.patch endif ifeq ($(call kver_le,3,4,0),1) PATCHES := $(PATCHES) compat-3.2-3.4.patch endif ifeq ($(call kver_le,3,2,0),1) PATCHES := $(PATCHES) compat-2.6.39-3.2.patch endif ifeq ($(call kver_le,2,6,38),1) PATCHES := $(PATCHES) compat-2.6.38.patch endif ifeq ($(call kver_le,2,6,37),1) PATCHES := $(PATCHES) compat-2.6.36-2.6.37.patch endif # Compatibility patch for kernels >= 2.6.36 <= 2.6.38 ifeq ($(call kver_le,2,6,38),1) PATCHES := $(PATCHES) compat-2.6.36-2.6.37.patch endif # Compatibility patch for kernels > 2.6.32 <= 2.6.35 ifeq ($(call kver_le,2,6,35),1) PATCHES := $(PATCHES) compat-2.6.33-2.6.35.patch endif # Compatibility patch for kernels <= 2.6.32 ifeq ($(call kver_le,2,6,32),1) PATCHES := $(PATCHES) compat-2.6.32.patch endif # Compatibility patch for kernels <= 2.6.31 ifeq ($(call kver_le,2,6,31),1) PATCHES := $(PATCHES) compat-2.6.31.patch endif # Compatibility patch for kernels <= 2.6.30 ifeq ($(call kver_le,2,6,30),1) PATCHES := $(PATCHES) compat-2.6.30.patch endif # Compatibility patch for kernels <= 2.6.29 ifeq ($(call kver_le,2,6,29),1) PATCHES := $(PATCHES) compat-2.6.29.patch endif # Compatibility patch for kernels <= 2.6.28 ifeq ($(call kver_le,2,6,28),1) PATCHES := $(PATCHES) compat-2.6.28.patch endif # Compatibility patch for kernels >= 2.6.25 and <= 2.6.27 ifeq ($(call kver_le,2,6,27),1) PATCHES := $(PATCHES) compat-2.6.25-2.6.27.patch endif # Compatibility patch for kernels <= 2.6.24 ifeq ($(call kver_le,2,6,24),1) PATCHES := $(PATCHES) compat-2.6.24.patch endif # Compatibility patch for kernels <= 2.6.23 ifeq ($(call kver_le,2,6,23),1) PATCHES := $(PATCHES) compat-2.6.23.patch endif # Compatibility patch for kernels <= 2.6.22 ifeq ($(call kver_le,2,6,22),1) PATCHES := $(PATCHES) compat-2.6.22.patch endif # Compatibility patch for kernels >= 2.6.19 and <= 2.6.21 ifeq ($(call kver_le,2,6,21),1) PATCHES := $(PATCHES) compat-2.6.19-2.6.21.patch endif # Compatibility patch for kernels >= 2.6.14 and <= 2.6.18 ifeq ($(call kver_le,2,6,18),1) PATCHES := $(PATCHES) compat-2.6.14-2.6.18.patch endif # We don't support kernels < 2.6.14 except for explicit distros ifeq ($(call kver_lt,2,6,14),1) echo "unsupported kernel" exit 1 endif kdist_clean: dh_clean $(MAKE) -C $(KSRC) SUBDIRS=$(shell pwd)/kernel clean # prep-deb-files rewrites the debian/ files as needed. See RATIONALE for # details kdist_config: prep-deb-files for p in $(PATCHES); do \ echo "Applying patch $$p"; \ test -f patches/$$p && patch -p1 < patches/$$p \ #test -f patches/compat-$(KERN_VER).patch && patch -p1 < patches/compat-$(KERN_VER).patch \ done kdist_configure: kdist_config binary-modules: prep-deb-files dh_testdir dh_testroot dh_clean -k #$(MAKE) -C $(KSRC) KERNEL_SOURCES=$(KSRC) MODVERSIONS=detect KERNEL=linux-$(KVERS) KDIR=$(KSRC) SUBDIRS=$(shell pwd)/kernel modules $(MAKE) -C $(KSRC) SUBDIRS=$(shell pwd)/kernel modules #$(MAKE) -C $(KSRC) SUBDIRS=$(shell pwd)/kernel modules_install DESTDIR=$(CURDIR)/debian/$(pmodules) install -m644 -b -D $(shell pwd)/kernel/iscsi_trgt.$(KO)o $(CURDIR)/debian/${pmodules}/lib/modules/$(KVERS)/kernel/drivers/iscsi/iscsi_trgt.$(KO)o dh_installdocs dh_installchangelogs dh_compress dh_fixperms dh_installdeb dh_gencontrol -- -v$(VERSION) dh_md5sums dh_builddeb --destdir=$(DEB_DESTDIR) #Architecture build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: dh_testdir $(MAKE) -C usr touch build-arch-stamp build-indep: build-indep-stamp build-indep-stamp: touch build-indep-stamp clean: dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# $(MAKE) -C usr clean dh_clean install: install-arch install-indep install-indep: dh_testdir dh_testroot dh_clean -k -i dh_installdirs -i # For DKMS # Create the directories to install the source into dh_installdirs -p$(pdkms) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION) dh_installdirs -p$(pdkms) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian dh_installdirs -p$(pdkms) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/include dh_installdirs -p$(pdkms) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/kernel dh_installdirs -p$(pdkms) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/patches # Copy only the driver source to the proper location cp kernel/* debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/kernel/ cp include/* debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/include/ cp patches/* debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/patches/ # Copy the needed debian/ pieces to the proper location cp debian/*-module-* \ debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian chmod 755 debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian/*-module-* cp debian/control.modules.in \ debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian/control.in cp debian/rules \ debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian cp debian/changelog \ debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian cp debian/copyright \ debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian # install debian/ files cd debian ; cp changelog control compat *.modules.in rules copyright $(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian # create toplevel module Makefile echo "obj-m = kernel/" > debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/Makefile # Prepare dkms.conf from the dkms.conf.in template sed "s/__VERSION__/$(DEB_UPSTREAM_VERSION)/g" debian/dkms.conf.in > debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/dkms.conf grep ^PATCH dkms.conf >> debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/dkms.conf dh_install -i install-arch: dh_testdir dh_testroot dh_clean -k -s dh_installdirs -s dh_install -s # install override mkdir -p debian/iscsitarget/usr/share/lintian/overrides cp debian/iscsitarget.overrides \ debian/iscsitarget/usr/share/lintian/overrides/iscsitarget # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installinit dh_installman dh_link dh_strip dh_compress dh_fixperms chmod 600 $(CURDIR)/debian/iscsitarget/etc/iet/ietd.conf dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture independant packages using the common target. binary-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common # Build architecture dependant packages using the common target. binary-arch: build-arch install-arch $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch get-orig-source debian/dkms.conf.in0000644000000000000000000000060212221052474011375 0ustar PACKAGE_NAME="iscsitarget" PACKAGE_VERSION="__VERSION__" MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build" CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean" AUTOINSTALL=yes BUILT_MODULE_NAME[0]="iscsi_trgt" BUILT_MODULE_LOCATION[0]="kernel/" DEST_MODULE_LOCATION[0]="/kernel/drivers/iscsi/" debian/README.source0000644000000000000000000000026612221026525011346 0ustar These days, I extract the source from a git-svn cloned repo, using: git archive --format=tar.gz --prefix=iscsitarget-1.4.20.3+svn496/ HEAD >/tmp/iscsitarget-1.4.20.3+svn496.tar.gz debian/docs0000644000000000000000000000006212221052474010036 0ustar README README.initiators README.mcs README.vmware debian/iscsitarget.default0000644000000000000000000000016312221052474013054 0ustar ISCSITARGET_ENABLE=false ISCSITARGET_MAX_SLEEP=3 # ietd options # See ietd(8) for details ISCSITARGET_OPTIONS="" debian/iscsitarget.manpages0000644000000000000000000000010312221052473013214 0ustar doc/manpages/ietadm.8 doc/manpages/ietd.8 doc/manpages/ietd.conf.5 debian/changelog0000644000000000000000000005063112315103224011036 0ustar iscsitarget (1.4.20.3+svn499-0ubuntu2) trusty; urgency=medium * debian/patches/enable-3.12-compat.patch: Ensure patches are applied correctly by dkms for kernels < 3.13. -- James Page Thu, 27 Mar 2014 20:14:11 +0000 iscsitarget (1.4.20.3+svn499-0ubuntu1) trusty; urgency=medium * New upstream snapshot including fixes for: - [r499] Compatibility with 3.13 kernel (LP: #1291641). - [r498] Fix backward compatibility patch rules for 3.x kernels. - [r497] Fix SERVICE ACTION IN / READ CAPACITY (16) - regression from r488. -- James Page Mon, 24 Mar 2014 13:13:42 +0000 iscsitarget (1.4.20.3+svn496-1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - d/iscsitarget.init: If module unloading fails after stopping ietd, report it but still exit zero since this doesn't justify causing package operations to fail. - d/docs: Install README.initiators and README.mcs. - d/p/*: Tidied redundant patches. * Dropped, included in new snapshot: - Re-sync with upstream accepted patches for 3.7->3.10 kernel support: - d/p/iscsitarget-svn495.patch: Support for 3.7 and 3.8 kernels - d/p/iscsitarget-svn496.patch: Support kernels up to and including 3.10. -- James Page Tue, 12 Nov 2013 11:11:50 +0000 iscsitarget (1.4.20.3+svn496-1) unstable; urgency=low * [798662d] Imported Upstream version 1.4.20.3+svn496 Closes: #717155 * [947f06d] Add README.source * [6e18336] Try harder to unload the kernel module. Thanks to David Mohr (Closes: #679515) * [ca83a57] Drop patch 001-fix-build-3.8.patch -- Ritesh Raj Sarraf Thu, 26 Sep 2013 18:15:08 +0530 iscsitarget (1.4.20.3+svn490-2ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - d/iscsitarget.init: If module unloading fails after stopping ietd, report it but still exit zero since this doesn't justify causing package operations to fail. - d/docs: Install README.initiators and README.mcs. * Re-sync with upstream accepted patches for 3.7->3.10 kernel support: - d/p/iscsitarget-svn495.patch: Support for 3.7 and 3.8 kernels - d/p/iscsitarget-svn496.patch: Support kernels up to and including 3.10. * Dropped: - d/p/001-fix-build-3.8.patch: Dropped in preference to upstream committed patch. - d/p/*: Tidied redundant patches. -- James Page Fri, 05 Jul 2013 09:04:22 +0100 iscsitarget (1.4.20.3+svn490-2) unstable; urgency=low * Upload to unstable -- Ritesh Raj Sarraf Sun, 16 Jun 2013 14:07:47 +0530 iscsitarget (1.4.20.3+svn490-1) experimental; urgency=low * [6457029] Imported Upstream version 1.4.20.3+svn490 (Closes: #698757, #696383) * [22f9a74] Drop patches, applied upstream - inactive-sessions.patch - iscsitarget-prelim-1.4.20.3.patch - 0001-Makefile-changes-to-support-3.x-kernels.patch - 0002-Fix-send_data_rsp-to-handle-sense-data-correctly.patch - 0003-Compile-fix-for-kernels-3.1-and-3.2.patch * [1b1225b] Add patch 001-fix-build-3.8.patch -- Ritesh Raj Sarraf Fri, 12 Apr 2013 13:00:43 +0530 iscsitarget (1.4.20.2-11) experimental; urgency=low * [6dfdd7c] Add iscsitarget-dkms to Recommends and drop iscsitarget-module * [281b4a4] Update README.Debian explaining the new DKMS package. Thanks to Olaf van der Spek (Closes: #668382) * [a0d484c] Drop patch fix-build-3-2.patch * [afdf1df] Add patches from 1.4.20 stable branch (Closes: #685422) -- Ritesh Raj Sarraf Sat, 15 Sep 2012 12:55:24 +0530 iscsitarget (1.4.20.2-10ubuntu4) saucy; urgency=low * d/p/fix-3.10-kernel-match.patch: Fixup patch pattern matching for >= 3.10 kernels. * d/p/kernel-3.10-support.patch: Add support for Linux 3.10 (LP: #1195607). -- James Page Wed, 03 Jul 2013 09:27:28 +0100 iscsitarget (1.4.20.2-10ubuntu3) saucy; urgency=low * debian/tests: Add autopkgtest. -- Yolanda Fri, 10 May 2013 22:47:14 +0200 iscsitarget (1.4.20.2-10ubuntu2) raring; urgency=low * Fix compatibility with Linux 3.8 kernel (LP: #1117288): - d/p/iscsitarget-svn486.patch: Cherry picked patch from upstream VCS which adds support for 3.6 kernel. - d/p/fix-dkms.conf: Refreshed for backward compat < 3.6,3.8 kernel. - d/p/kernel-3.8-compat.patch: Fix compatibility Linux 3.8 kernel. -- James Page Tue, 12 Mar 2013 10:13:09 +0000 iscsitarget (1.4.20.2-10ubuntu1) quantal; urgency=low * Merge from Debian testing. Remaining changes: - d/iscsitarget.init: If module unloading fails after stopping ietd, report it but still exit zero since this doesn't justify causing package operations to fail. - d/docs: Install README.initiators and README.mcs. - d/p/fix-send-data-rsp.patch: Pick change @462 from upstream svn to prevent a assertion failure in iscsi.c@492. - d/p/linux-3.2-includes.patch: Add additional includes of linux/export.h and linux/module.h, resolving dkms build failures with > linux 3.2. - d/p/fix-dkms.patch: Add missing patch entries to the dkms.conf file. * Fix DKMS compatibility with Linux 3.5 kernel (LP: #1045706): - d/p/iscsitarget-svn{444,471}.patch: Cherry picked patches from upstream VCS trunk, resolving dkms build failures with > linux 3.5. - d/p/fix-linux3.5.patch: Rework usage of ioc_task_link, resolving dkms build failures with > linux 3.5. * Ensure ietadm can detect inactive sessions (LP: #967984): - d/p/iscsitarget-svn478.patch: Cherry picked patch from upstream VCS trunk which ensures that events are propagated correctly to ietd. -- James Page Tue, 04 Sep 2012 13:43:21 +0100 iscsitarget (1.4.20.2-10) unstable; urgency=low * [2bebbc2] don't prompt on modified conffiles. Thanks to Andreas Beckmann (Closes: #661397) * Upload to unstable -- Ritesh Raj Sarraf Wed, 14 Mar 2012 01:06:13 +0530 iscsitarget (1.4.20.2-9) experimental; urgency=low * [7ad9219] Clean up old sysctl knob. Thanks to Martin Braure de Calignon (Closes: #645582) * [0802fff] Use corrent message type. Thanks to Vincent Pelletier (Closes: #647923) * [dcab13f] Drop unmaintained iscsitarget-source package * [099cc1a] add quilt header to patch * [93dc585] Fix LSB Headers -- Ritesh Raj Sarraf Wed, 22 Feb 2012 18:39:35 +0530 iscsitarget (1.4.20.2-8) experimental; urgency=low * [735c872] Add patch to fix build on 3.2 kernels (Closes: #659560) -- Ritesh Raj Sarraf Wed, 15 Feb 2012 22:01:15 +0530 iscsitarget (1.4.20.2-7) unstable; urgency=low * [6ea2c52] Patch clean-up * [627d8e4] Enable hardened build flags. Thanks to Moritz Muehlenhoff (Closes: #656867) -- Ritesh Raj Sarraf Wed, 01 Feb 2012 00:43:21 +0530 iscsitarget (1.4.20.2-6) unstable; urgency=low * SVN 1.4.20@453 - Co-ordinated with upstream on the stability of the tree * [494142b] Drop double installation of upstream changelog. Thanks to Christian Pernegger (Closes: #633005) * [71de4f8] Add package linux-headers to Recommends. Thanks to George Shuklin (Closes: 636157, 628428) * [8344c44] Add support to provide daemon options. Thanks to Alfredo Sola, Robbert Rijkse (Closes: 609582, 545536) * [8208ade] Drop debian/30-iscsitarget.conf. (Closes: 636497) We should not play with kernel sysct knobs right from the package. Setting those values will depend on a per machine basis * [0e96f0e] Update Standards Version to 3.9.2. No changes required -- Ritesh Raj Sarraf Sun, 07 Aug 2011 02:09:59 +0530 iscsitarget (1.4.20.2-5ubuntu3) precise; urgency=low * d/patches/fix-send-data-rsp.patch: Pick change @462 from upstream svn to prevent a assertion failure in iscsi.c@492. (LP: #882540) -- Stefan Bader Wed, 11 Apr 2012 11:02:19 +0100 iscsitarget (1.4.20.2-5ubuntu2) precise; urgency=low * debian/patches/linux-3.2-includes.patch: Added additional includes of linux/export.h and a linux/module.h, resolving dkms build failures with > linux 3.2. Original patch courtesy of Kiall Mac Innes. (LP: #905987) -- Dave Walker (Daviey) Fri, 10 Feb 2012 12:16:11 +0000 iscsitarget (1.4.20.2-5ubuntu1) oneiric; urgency=low * Resynchronise with Debian experimental. Remaining changes: - If module unloading fails after stopping ietd, report it but still exit zero since this doesn't justify causing package operations to fail. - Install README.initiators and README.mcs. * Add missing patch entries to the dkms.conf file. -- Stefan Bader Thu, 30 Jun 2011 16:39:31 +0100 iscsitarget (1.4.20.2-5) experimental; urgency=low * Sync to 1.4.20 branch. This is equivalent of 1.4.20.3 and includes all commits up till revision 1.4.20@453 * Add linux-headers packages to Suggests (Closes: #628428) -- Ritesh Raj Sarraf Tue, 14 Jun 2011 09:30:01 +0530 iscsitarget (1.4.20.2-4expr2) experimental; urgency=low * Sync to 1.4.20 branch. This is equivalent of 1.4.20.3 and includes all commits up till revision 1.4.20@445 (Closes: #618682, #622318, #610309) -- Ritesh Raj Sarraf Tue, 26 Apr 2011 15:40:17 +0530 iscsitarget (1.4.20.2-4) unstable; urgency=low * Last upload was incorrect. Really upload to unstable now -- Ritesh Raj Sarraf Sat, 12 Feb 2011 01:59:17 +0530 iscsitarget (1.4.20.2-3) unstable; urgency=low * Upload to unstable -- Ritesh Raj Sarraf Thu, 10 Feb 2011 20:13:59 +0530 iscsitarget (1.4.20.2-2) experimental; urgency=low [ Michael Prokop ] * NIPQUAD definition has been removed in kernel 2.6.36, adjust kernel/conn.c accordingly so iscsitarget compiles against kernel 2.6.36. (Closes: #604641) -- Ritesh Raj Sarraf Sat, 08 Jan 2011 21:57:56 +0545 iscsitarget (1.4.20.2-1ubuntu1) maverick; urgency=low * Resynchronise with Debian (update to 1.4.20.2 in conjunction with recent kernel changes fixes LP: #604087). Remaining changes: - If module unloading fails after stopping ietd, report it but still exit zero since this doesn't justify causing package operations to fail. * Install README.initiators and README.mcs (LP: #606068). -- Colin Watson Fri, 20 Aug 2010 02:30:33 +0100 iscsitarget (1.4.20.2-1) unstable; urgency=low * New Upstream Bug Fix Release * Fix incorrect path installation. Correct path is /etc/iet/ * Update Standards Version to 3.9.1 (No changes required) * Add DKMS support for iscsitarget kernel module building * Add iscsitarget-dkms to Suggests * Change PID_FILE to ietd.pid. This was causing the ietd daemon to not be killed. Not very sure, perhaps upstream must have changed to ietd.pid from iscsi_trgt.pid (Closes: #589738) -- Ritesh Raj Sarraf Tue, 03 Aug 2010 13:38:08 +0530 iscsitarget (1.4.20.1-2) unstable; urgency=low * Change address to my official Debian address and remove the DMUA flag * Handle older kernel versions patches that upstream still supports. This should allow compiling iscsitarget with older kernels now. (Closes: #581200) * Drop initiators.deny file in further installations which is already deprecated upstream * Switch config files directory to /etc/ietd as upstream recommends it and document this change in NEWS.Debian * Add post-installation script to handle migration of old config file to the new location -- Ritesh Raj Sarraf Sat, 05 Jun 2010 22:52:42 +0530 iscsitarget (1.4.20.1-1) unstable; urgency=low * New Upstream Bugfix Release * Switch to 3.0 (quilt) source format -- Ritesh Raj Sarraf Mon, 03 May 2010 14:24:52 +0530 iscsitarget (1.4.20-1) unstable; urgency=low [ Philipp Hug ] * This package is group maintained now * Changed maintainer to alioth project mailing list [ Ritesh Raj Sarraf ] * New Upstream Release (Closes: #566509) * Add myself to Uploaders * LSB-ize the iscsitarget init script (Closes: #506588, #546477) * Add misc:Depends * Bump Standards Version. (No Changes Required) * Add DM Upload: yes * Add debian/source/format specifying the source format * Explain a little more about iscsitarget-module package and how it is made available, in README.Debian * Add Vcs headers -- Ritesh Raj Sarraf Sun, 18 Apr 2010 21:34:09 +0530 iscsitarget (1.4.19+svn275-ubuntu2) lucid; urgency=low * Install /etc/targets.allow. -- Colin Watson Fri, 23 Apr 2010 20:30:40 +0100 iscsitarget (1.4.19+svn275-ubuntu1) lucid; urgency=low * Merge from upstream SVN repo at svn://svn.berlios.de/iscsitarget/trunk -LP: #494693 -- Tim Gardner Wed, 09 Dec 2009 18:25:18 +0000 iscsitarget (0.4.17+svn229-1.4) unstable; urgency=low * Non-maintainer upload. * [f1d4105] Depend on procps (Closes: #569684) -- Guido Günther Tue, 16 Feb 2010 11:34:37 +0100 iscsitarget (0.4.17+svn229-1.3) unstable; urgency=low * Non-maintainer upload. * [2a179ca] Let propcs handle the sysctl knobs to make it more obvious to the sysadmin what's going on. (Closes: #543604) -- Guido Günther Sat, 23 Jan 2010 17:36:12 +0100 iscsitarget (0.4.17+svn229-1.2) unstable; urgency=low * Non-maintainer upload. * Include patch from Petter Reinholdtsen : - Fix incorrect provides and dependencies in init.d script (to solve release goal). (Closes: #542248) -- Michael Prokop Thu, 24 Sep 2009 00:05:36 +0200 iscsitarget (0.4.17+svn229-1.1) unstable; urgency=low * Non-maintainer upload. (Closes: #523374, #544941) * New upstream snapshot. * Bump Standards-Version to 3.8.3. -- Michael Prokop Fri, 11 Sep 2009 00:09:42 +0200 iscsitarget (0.4.16+svn162-3ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes (LP: #310321): - debian/control: Depend on lsb-base >= 3.2-14. - debian/prerm: Maintainer script to allow intrepid->jaunty upgrades of iscsitarget to succeed. - debian/iscsitarget.init: lsb-ized the entire init script. -- Nick Ellery Sun, 21 Dec 2008 13:40:23 -0800 iscsitarget (0.4.16+svn162-3) unstable; urgency=medium [ Jon Dowland ] * Add /etc/default/iscsitarget to determine whether to start the iscsitarget automatically or not. Default to not (environment might not have the correct module). Closes: #506099. -- Frederik Schüler Wed, 03 Dec 2008 15:07:17 +0100 iscsitarget (0.4.16+svn162-2ubuntu2) jaunty; urgency=low * debian/iscsitarget.prerm: Maintainer script to allow intrepid->jaunty upgrades of iscsitarget to succeed, if using the buggy iscsi_trgt.ko module that won't unload properly. -- Dustin Kirkland Mon, 24 Nov 2008 16:44:39 -0600 iscsitarget (0.4.16+svn162-2ubuntu1) jaunty; urgency=low * Merge from debian unstable, fixes LP: #298520 - Remaining changes: + debian/iscsitarget.init: lsb-ized the entire init script (Debian Bug: #506588) + debian/control: depend on lsb-base >= 3.2-14 - Dropped changes: + debian/rules, usr/misc.h: -D_GNU_SOURCE no longer required, __qelem is explicitly defined by source -- Dustin Kirkland Sat, 22 Nov 2008 15:14:12 -0600 iscsitarget (0.4.16+svn162-2) unstable; urgency=high * Fix initscript. (Closes: #484107) -- Frederik Schüler Sat, 04 Oct 2008 20:27:14 +0200 iscsitarget (0.4.16+svn162-1) unstable; urgency=low * New upstream snapshot. * Fix bashism in initscript. (Closes: #486035) * Bump standards to 3.8.0, no changes needed. * List all copyright holders and contributors in the copyright file. -- Frederik Schüler Mon, 30 Jun 2008 00:11:39 +0200 iscsitarget (0.4.15+svn148-2.1ubuntu2) intrepid; urgency=low * debian/rules, usr/misc.h: + Use of struct cred required -D_GNU_SOURCE (LP: #247360) + Enabling -D_GNU_SOURCE defines struct qelem so the local definition is unnessecary. -- Bobby R. Ward Thu, 10 Jul 2008 19:03:55 +0000 iscsitarget (0.4.15+svn148-2.1ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Update kernel modules to build for several architectures. - Fixed init script. -- Chuck Short Tue, 17 May 2008 10:03:55 -0500 iscsitarget (0.4.15+svn148-2.1) unstable; urgency=low * Non-maintainer upload * Fix failure to build kernel modules for several architectures with kernel version 2.6.24 or later. (Closes: #480734) -- Ben Hutchings Mon, 19 May 2008 02:01:36 +0100 iscsitarget (0.4.15+svn148-2) unstable; urgency=high * Fix initscript, thanks to Gilles Mocellin for the patch. (Closes: #470411) -- Frederik Schüler Tue, 11 Mar 2008 23:01:45 +0100 iscsitarget (0.4.15+svn148-1) unstable; urgency=low * New upstream snapshot. - Adds support for 2.6.24 kernels. (Closes: #461753) * Fix bashism in initscript.(Closes: #464993) -- Frederik Schüler Tue, 19 Feb 2008 20:52:01 +0100 iscsitarget (0.4.15+svn145-1) unstable; urgency=low * New upstream snapshot. - support 2.6.23 kernels. (Closes: #449237) - fix ia64 FTBFS. (Closes: #457615) * Update to standards version 3.7.3, no changes needed. * Fix kbuild-clean target, thanks to Jeremy Laine for the fix. * Add lsb section to the iscsitarget initscript. * Add lintian override for /etc/ietd.conf permissions. -- Frederik Schüler Sat, 29 Dec 2007 22:53:26 +0100 iscsitarget (0.4.15-5ubuntu2) hardy; urgency=low * Correct bashisms in init script (LP: #160106) * Set maintainer to MOTU -- John Dong Thu, 31 Jan 2008 09:28:53 -0500 iscsitarget (0.4.15-5ubuntu1) hardy; urgency=low * Fix kernel source to build with 2.6.24. -- Chuck Short Tue, 29 Jan 2008 08:56:31 -0500 iscsitarget (0.4.15-5) unstable; urgency=high * Urgenc: high due to security update. * Fix /etc/ietd.conf permissions. (Closes: #448873) * Fix module-assistant build. Thanks to Franklin PIAT for the patch. (Closes: #448195) -- Frederik Schüler Sun, 04 Nov 2007 18:54:41 +0100 iscsitarget (0.4.15-4) unstable; urgency=low [ Frederik Schüler ] * Fix build failure on linux-2.6.22 (Closes: #432522) * Add toplevel Makefile to the module sources (Closes: #431765) * iscsitarget-source: do not recommend iscsitarget (Closes: #433318) -- Frederik Schüler Mon, 24 Sep 2007 12:15:50 +0200 iscsitarget (0.4.15-3) unstable; urgency=low * Don't depend on iscsitarget-module (Closes: #431302) -- Philipp Hug Mon, 02 Jul 2007 15:39:36 +0200 iscsitarget (0.4.15-2) unstable; urgency=low * Uploaded to unstable -- Philipp Hug Sat, 16 Jun 2007 21:48:42 +0200 iscsitarget (0.4.15-1) experimental; urgency=low * New upstream release * Uploaded to experimental (Closes: #304330) -- Philipp Hug Mon, 16 Apr 2007 22:18:57 +0200 iscsitarget (0.4.14+svn92-1) UNRELEASED; urgency=low * New upstream snapshot for kernels 2.6.19 and later. -- Frederik Schüler Sun, 14 Jan 2007 23:05:56 +0100 iscsitarget (0.4.13-3) unstable; urgency=low * Added missing config files -- Philipp Hug Sun, 26 Mar 2006 15:30:10 +0000 iscsitarget (0.4.13-2) unstable; urgency=low * Fixed init script * Build-Dependency on libssl-dev * depmod -a was not called * Recompiled on unstable/sid -- Philipp Hug Sun, 22 Jan 2006 18:23:50 +0100 iscsitarget (0.4.13-1) unstable; urgency=low * New upstream release -- Philipp Hug Sun, 22 Jan 2006 17:26:19 +0100 iscsitarget (0.4.11-1) experimental; urgency=low * New upstream release -- Philipp Hug Thu, 14 Jul 2005 13:07:45 +0200 iscsitarget (0.4.6-2) experimental; urgency=low * Fixed kernel module build * Added patch for < 2.6.11 kernels, not yet applied * Added depmod -a to postinst * Changed section to net -- Philipp Hug Tue, 29 Mar 2005 23:12:36 +0200 iscsitarget (0.4.6-1) experimental; urgency=low * Initial Release. -- Philipp Hug Tue, 29 Mar 2005 20:57:04 +0200 debian/control0000644000000000000000000000340512221052473010571 0ustar Source: iscsitarget Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian iSCSI Maintainers Uploaders: Philipp Hug , Guido Guenther , Frederik Schüler , Ritesh Raj Sarraf Build-Depends: debhelper (>= 5.0.0), libssl-dev, bzip2 Standards-Version: 3.9.2 Homepage: http://iscsitarget.sourceforge.net/ Vcs-Git: git://git.debian.org/git/pkg-iscsi/iscsitarget.git Vcs-Browser: http://git.debian.org/?p=pkg-iscsi/iscsitarget.git XS-Testsuite: autopkgtest Package: iscsitarget Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, procps, lsb-base (>= 3.2-14) Recommends: iscsitarget-dkms Conflicts: iscsitarget-source Description: iSCSI Enterprise Target userland tools iSCSI Enterprise Target is for building an iSCSI storage system on Linux. It is aimed at developing an iSCSI target satisfying enterprise requirements. . This package contains the userland part; you require the kernel module for proper operation. Package: iscsitarget-dkms Architecture: all Depends: dkms (>= 1.95), make, ${misc:Depends} Recommends: linux-headers Suggests: iscsitarget Conflicts: iscsitarget-source Description: iSCSI Enterprise Target kernel module source - dkms version iSCSI Enterprise Target is for building an iSCSI storage system on Linux. It is aimed at developing an iSCSI target satisfying enterprise requirements. . This package provides the source code for the iscsitarget kernel module. The iscsitarget package is also required in order to make use of this module. Kernel source or headers are required to compile this module. . This package contains the source to be built with dkms.