iscsi-initiator-utils/iscsi-initiator-utils.spec

171 lines
6.1 KiB
RPMSpec
Raw Normal View History

auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
Summary: iSCSI daemon and utility programs
Name: iscsi-initiator-utils
Version: 6.2.0.695
Release: 0.6
Source0: http://people.redhat.com/mchristi/iscsi/FC6/open-iscsi/rpm/open-iscsi-6.2.0.695.tar.bz2
Source1: iscsi.init
2006-06-05 17:50:57 +00:00
Patch0: open-iscsi-5.0.5.595-update-initscripts-and-docs.patch
Patch1: open-iscsi-5.0.5.595-add-iscsi-iname.patch
Patch2: iscsi-initiator-utils-fix-session-mixup-on-restart.patch
Patch3: iscsi-initiator-utils-use-var-for-pid.patch
2006-10-02 23:32:45 +00:00
Patch4: iscsi-initiator-utils-use-var-for-lock.patch
Patch5: iscsi-initiator-utils-use-var-for-config.patch
2006-06-05 17:50:57 +00:00
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
Group: System Environment/Daemons
License: GPL
URL: http://www.open-iscsi.org
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
Buildroot: %{_tmppath}/%{name}-root
BuildRequires: openssl-devel
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
Prereq: /sbin/chkconfig
ExcludeArch: s390 s390x
%description
The iscsi package provides the server daemon for the iSCSI protocol,
as well as the utility programs used to manage it. iSCSI is a protocol
for distributed disk access using SCSI commands sent over Internet
Protocol networks.
%prep
%setup -q -n open-iscsi-%{version}
2006-06-05 17:50:57 +00:00
%patch0 -p1 -b .update-initscripts-and-docs
2006-01-23 20:26:19 +00:00
%patch1 -p1 -b .add-iscsi-iname
%patch2 -p1 -b .fix-session-mixup-on-restart
%patch3 -p1 -b .use-var-for-pid
2006-10-02 23:32:45 +00:00
%patch4 -p1 -b .use-var-for-lock
%patch5 -p1 -b .use-var-for-config
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
%build
make OPTFLAGS="%{optflags}" -C usr
make OPTFLAGS="%{optflags}" -C utils
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/sbin
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
mkdir -p $RPM_BUILD_ROOT/etc/iscsi
mkdir -p $RPM_BUILD_ROOT/etc/iscsi
mkdir -p $RPM_BUILD_ROOT/etc/iscsi
mkdir -p $RPM_BUILD_ROOT/var/lib/iscsi
mkdir -p $RPM_BUILD_ROOT/var/lib/iscsi/nodes
mkdir -p $RPM_BUILD_ROOT/var/lib/iscsi/send_targets
mkdir -p $RPM_BUILD_ROOT/var/lock/iscsi
2006-06-05 17:50:57 +00:00
install -s -m 755 usr/iscsid usr/iscsiadm utils/iscsi-iname usr/iscsistart $RPM_BUILD_ROOT/sbin
install -m 644 doc/iscsiadm.8 $RPM_BUILD_ROOT/%{_mandir}/man8
install -m 644 doc/iscsid.8 $RPM_BUILD_ROOT/%{_mandir}/man8
#install -m 755 etc/initd/initd.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/iscsi
install -m 644 etc/iscsid.conf $RPM_BUILD_ROOT/etc/iscsi
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/iscsi
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ ! -f /etc/iscsi/initiatorname.iscsi ]; then
echo "InitiatorName=`/sbin/iscsi-iname`" > /etc/iscsi/initiatorname.iscsi
2006-06-05 17:50:57 +00:00
fi
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
/sbin/chkconfig --add iscsi
%preun
if [ "$1" = "0" ]; then
/sbin/chkconfig --del iscsi
fi
%files
%defattr(-,root,root)
%doc README
%dir /var/lib/iscsi/nodes
%dir /var/lib/iscsi/send_targets
%dir /var/lock/iscsi
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
%config /etc/rc.d/init.d/iscsi
%attr(0600,root,root) %config(noreplace) /etc/iscsi/iscsid.conf
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
/sbin/*
%{_mandir}/*/*
%changelog
* Thu Oct 5 2006 Mike Christie <mchristie@redhat.com> - 6.2.0.695-0.6
- BZ 209523 make sure the network is not going to get shutdown so
iscsi devices (include iscsi root and dm/md over iscsi) get syncd.
- BZ 209415 have package create iscsi var dirs
* Tue Oct 3 2006 Mike Christie <mchristie@redhat.com> - 6.2.0.695-0.5
- BZ 208864 move /etc/iscsi/nodes and send_targets to /var/lib/iscsi
2006-10-02 23:32:45 +00:00
* Mon Oct 1 2006 Mike Christie <mchristie@redhat.com> - 6.2.0.695-0.4
- BZ 208548 move /etc/iscsi/lock to /var/lock/iscsi/lock
* Wed Sep 27 2006 Jeremy Katz <katzj@redhat.com> - 6.2.0.695-0.3
- Add fix for initscript with pid file moved
* Tue Sep 26 2006 Mike Christie <mchristie@redhat.com> - 6.2.0.695-0.2
- BZ 208050 - change default initiator name to reflect redhat
- Move pid from /etc/iscsi to /var/run/iscsid.pid
* Fri Sep 15 2006 Mike Christie <mchristie@redhat.com> - 6.2.0.695-0.1
- Add compat with FC kernel so iscsid will pass startup checks and run.
- Fix bug when using hw iscsi and software iscsi and iscsid is restarted.
- Fix session matching bug when hw and software iscsi is both running
* Tue Sep 5 2006 Jeremy Katz <katzj@redhat.com> - 6.1.1.685-0.1
- Fix service startup
- Fix another case where cflags weren't being used
* Mon Aug 28 2006 Mike Christie <mchristie@redhat.com> - 6.1.1.685
- Rebase to upstream to bring in many bug fixes and rm db.
- iscsi uses /etc/iscsi instead of just etc now
* Fri Jul 21 2006 Jeremy Katz <katzj@redhat.com> - 6.1.1.645-1
- fix shutdown with root on iscsi
* Thu Jul 13 2006 Mike Christie <mchristie@redhat.com> - 6.1.1.645
- update to upstream 1.1.645
- Note DB and interface changed so you must update kernel, tools and DB
2006-07-12 17:33:34 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.0.5.595-2.1.1
- rebuild
2006-07-12 17:23:57 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.0.5.595-2.1
- rebuild
* Wed Jun 21 2006 Mike Christie <mchristi@redhat.com> - 6.0.5.595-2
- add PatM's statics.c file. This is needed for boot since
there is no getpwuid static available at that time.
* Tue Jun 20 2006 Jeremy Katz <katzj@redhat.com> - 6.0.5.595-1
- ensure that we respect %%{optflags}
- cleaned up initscript to make use of standard functions, return right
values and start by default
- build iscsistart as a static binary for use in initrds
2006-06-05 17:50:57 +00:00
* Tue May 30 2006 Mike Christie <mchristi@redhat.com>
- rebase package to svn rev 595 to fix several bugs
NOTE!!!!!!!! This is not compatible with the older open-iscsi modules
and tools. You must upgrade.
* Thu May 18 2006 Mike Christie <mchristi@redhat.com>
- update package to open-iscsi svn rev 571
NOTE!!!!!!!! This is not compatible with the older open-iscsi modules
and tools. You must upgrade.
* Fri Apr 7 2006 Mike Christie <mchristi@redhat.com>
- From Andy Henson <andy@zexia.co.uk>:
Autogenerate /etc/initiatorname.iscsi during install if not already present
- Remove code to autogenerate /etc/initiatorname.iscsi from initscript
- From dan.y.roche@gmail.com:
add touch and rm lock code
- update README
- update default iscsid.conf. "cnx" was not supported. The correct
id was "conn".
2006-02-11 03:39:24 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0.5.476-0.1
- bump again for double-long bug on ppc(64)
* Mon Jan 23 2006 Mike Christie <mchristi@redhat.com>
- rebase package to bring in ppc64 unsigned long vs unsigned
long long fix and iscsadm return value fix. Also drop rdma patch
becuase it is now upstream.
* Wed Dec 14 2005 Mike Christie <mchristi@redhat.com>
auto-import changelog data from iscsi-initiator-utils-3.6.0.2-0.1.src.rpm * Wed Jul 14 2004 AJ Lewis <alewis@redhat.com> 3.6.0.2-0.1 - update to 3.6.0.2 upstream - add iscsi-ls to installed binaries - add iscsi-ls.1 manpage to man1 - remove /dev/iscsi reference (no longer used) * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Mon Feb 03 2003 Michael K. Johnson <johnsonm@redhat.com> 3.1.0.3-3 - rebuild, 3.1.0.3-3 * Mon Nov 11 2002 Michael K. Johnson <johnsonm@redhat.com> - Fixed typo in initscript to allow to function * Thu Oct 17 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 3.1.0.3 for draft 16 compliance - /etc/initiatorname.iscsi should be mode 600 - C++ all gone, no need for libstdc++ static link * Wed Aug 14 2002 Bob Matthews <bmatthews@redhat.com> - fix perms on /etc/iscsi.conf * Mon Jul 15 2002 Michael K. Johnson <johnsonm@redhat.com> - add status function * Thu May 02 2002 Michael K. Johnson <johnsonm@redhat.com> - hack to link statically against libstdc++ so /sbin does not depend on /usr * Wed Apr 10 2002 Michael K. Johnson <johnsonm@redhat.com> - update to 2.1.0.20 * Fri Oct 26 2001 Than Ngo <than@redhat.com> 2.0.1.8-3 - cleanup startup script - add excludearch s390 s390x * Tue Aug 28 2001 Michael K. Johnson <johnsonm@redhat.com> - clean up shutdown (#52440) * Mon Aug 13 2001 Michael K. Johnson <johnsonm@redhat.com> - update to 2.0.1.8 for draft 6 compliance * Mon Aug 13 2001 Bob Matthews <bmatthews@redhat.com> - fix typo in initscripts (#51585) * Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - fix up initscript output (#50502) * Wed Jul 25 2001 Jeremy Katz <katzj@redhat.com> - source /etc/init.d/functions in the initscript * Tue Jul 24 2001 Michael K. Johnson <johnsonm@redhat.com> - initial packaging
2004-09-09 06:23:12 +00:00
- initial packaging
2006-01-23 20:26:19 +00:00