Commit graph

15 commits

Author SHA1 Message Date
rillig
925e4b7eca Fixed pkglint warnings. 2006-06-17 16:52:27 +00:00
joerg
096b86e54c Use PTHREAD_* from pkgsrc, not the hardcoded values in the package. 2006-06-03 00:46:43 +00:00
agc
f604a61fa6 Update devel/netbsd-iscsi to 20060527:
+ portability fix
+ make the maximum number of sessions handled by the target dynamic, and
  default to 16, not 4
2006-05-27 21:32:30 +00:00
agc
1798094808 Upgrade to version 20060526 of netbsd-iscsi.
Changes since previous version:

+ include "compat.h" for a definition of the uuid_t structure - fixes
the build on Solaris (thanks to John Weekley for testing the fix).
This should also fix a problem in the bulk build.

+ rewrite the report_luns() function to something which is much easier
to read, and following Dan Carosone's and Matt Green's suggestions.

+ abstract the htobe64() function if it is available

+ tested only with little-endian initiators so far

+ bump version to 20060526
2006-05-26 16:41:09 +00:00
agc
0c73ae8313 Update the NetBSD iSCSI target to version 20060520:
Adjust the data VPD returns, to work around a problem in the Cisco
initiator (used on Solaris 10 Update 1) - the initiator demands that a
UUID is returned, so give it one.

Add autoconf glue for that, and a compat uuid_create(3) and
uuid_to_string(3).

This still spews a lot of output via the target's syslog, but persevere,
since it does actually make the target work with the Solaris initiator:

        solaris10# format
        Searching for disks...done


        AVAILABLE DISK SELECTIONS:
               0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
                  /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
               1. c2t5d0 <DEFAULT cyl 96 alt 2 hd 64 sec 32>
                  /iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
        Specify disk (enter its number): ^D
        solaris10# df -k /mnt
        Filesystem            kbytes    used   avail capacity  Mounted on
        /dev/dsk/c2t5d0s0      91407    1041   81226     2%    /mnt
        solaris10# uname -a
        SunOS solaris10 5.10 Generic_118844-26 i86pc i386 i86pc
        solaris10#
2006-05-21 09:51:00 +00:00
agc
8bf3b43307 Update to version 20060424 of devel/netbsd-iscsi.
Changes since previous version:

+ Some minor formatting cleanup in the header files.
+ Properly pad the names with spaces (with thanks to Bill Studenmund)
+ Use the official T10 vendor name, "NetBSD".
+ Minor cleanup in the INQUIRY command
+ Rather than just punting on the REPORT LUNs SCSI command, emulate it
properly.  This change makes the target work with the Solaris initiator:

        AVAILABLE DISK SELECTIONS:
               0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
                  /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
               1. c2t5d0 <DEFAULT cyl 97 alt 2 hd 64 sec 32>
                  /iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
        Specify disk (enter its number): 1
2006-04-24 22:03:06 +00:00
agc
bb4979f5ed Bump version to netbsd-20060417 to include the build fixes for Mac OS X. 2006-04-18 06:57:26 +00:00
agc
55876e9b16 Bug fixes for platforms with stricter alignment than i386 - be careful
with those 16 bit values.

Fixes NetBSD iSCSI target when running on Solaris 9 on Sparc.
2006-04-15 23:48:11 +00:00
agc
8dd96e6728 Update to version 20060415 - a bugfix for running the NetBSD iSCSI target
on big-endian Solaris platforms.
2006-04-15 08:53:15 +00:00
agc
a704ee4a09 Update to netbsd-iscsi-20060402.
Differences include better tracing functionality, and some internal
changes for some functions returning boolean values.

The target now runs again on my big-endian UltrasparcIIi Solaris 9
machine.
2006-04-02 12:16:43 +00:00
agc
aaf9959ef8 Update devel/netbsd-iscsi to 20060329 - more Solaris 9 portability mods. 2006-03-29 21:46:04 +00:00
agc
80e317adbd Update the (leaf package) NetBSD iSCSI target software to version 20060327,
to pick up portability mods.

Notable changes in this version:

+ now runs on FreeBSD 6.0 (thanks to F. Senault)

+ now runs on Solaris 9

+ Vital Product Data part of INQUIRY SCSI command handling added (to
  appease the Solaris initiator, untested as yet, due to Solaris 10
  update 1/06 not running on my Ultrasparc hardware).
2006-03-28 07:35:08 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
agc
566a327b32 Update the netbsd-iscsi package to version 20060219.
Differences from previous version:

+	when looking for the target name supplied by the initiator during full-phase
	login, break out of the loop immediately a match is found.

+	only syslog information if it's available

+	Present multiple targets properly

+	Check that the initiator address is allowed to discover targets.

+	Log a LOG_INFO error if an initiator attempts to discover targets it
	shouldn't be.
2006-02-19 21:30:30 +00:00
agc
105ae1b5f8 Initial import of the NetBSD iSCSI target and test harness, version
20060209. This is taken from the NetBSD src/dist/iscsi tree.

	iSCSI is an IETF standard (RFC 3720) for remote access to block-level
	storage.  It can be thought of as similar to NFS, except that an NFS
	server exports files; the iSCSI target exports blocks to the iSCSI
	initiators, which are the clients.

	To set up the target, you need to edit the /etc/iscsi/targets file.
	It has a certain layout, to provide a means of (a) mirroring and (b)
	combining multiple areas to present one large contiguous area of
	storage.  This can be multiply-layered.

This package will replace the earlier intel-iscsi package, on which it is
based.
2006-02-09 16:49:07 +00:00