summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-02-02 08:48:30 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-02-02 08:48:30 +0000
commitfb10af9ca4baebe462fd5a35ba090d062aca95fc (patch)
treea5cf2899b5e5fff5c8527345fb3ce722b5e1dc96 /sys-block
parentAdd patch to build with gcc4.1 fixing regular expression (bump because the pa... (diff)
downloadhistorical-fb10af9ca4baebe462fd5a35ba090d062aca95fc.tar.gz
historical-fb10af9ca4baebe462fd5a35ba090d062aca95fc.tar.bz2
historical-fb10af9ca4baebe462fd5a35ba090d062aca95fc.zip
New version.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/open-iscsi/ChangeLog10
-rw-r--r--sys-block/open-iscsi/Manifest36
-rw-r--r--sys-block/open-iscsi/files/digest-open-iscsi-0.5.4853
-rw-r--r--sys-block/open-iscsi/open-iscsi-0.5.485.ebuild93
4 files changed, 139 insertions, 3 deletions
diff --git a/sys-block/open-iscsi/ChangeLog b/sys-block/open-iscsi/ChangeLog
index f46b036e1e10..8e750b23c07b 100644
--- a/sys-block/open-iscsi/ChangeLog
+++ b/sys-block/open-iscsi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/open-iscsi
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.6 2005/11/06 06:39:16 robbat2 Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.7 2006/02/02 08:48:30 robbat2 Exp $
+
+*open-iscsi-0.5.485 (02 Feb 2006)
+
+ 02 Feb 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +open-iscsi-0.5.485.ebuild:
+ New version.
*open-iscsi-0.4.438 (06 Nov 2005)
diff --git a/sys-block/open-iscsi/Manifest b/sys-block/open-iscsi/Manifest
index 2467e9a83c76..385b5cb17c6e 100644
--- a/sys-block/open-iscsi/Manifest
+++ b/sys-block/open-iscsi/Manifest
@@ -1,14 +1,48 @@
-MD5 4c461f092d2444bf80cb51bf516469d9 ChangeLog 1701
+MD5 53459728464da1411c18b161dcccf98b ChangeLog 1835
+RMD160 c6845380fe0596b14d1c03a2692520febc1acd76 ChangeLog 1835
+SHA256 b7339aee6d7e0e1b70f813688e111064a8a188e1dfd774e93d36434b5dff35d3 ChangeLog 1835
MD5 087c05b579d7b3dbce791fcb8ed1219f files/backward-compile-2.6.13.patch 472
+RMD160 a17b352422d0613089cee57d837b9dfd28196c4f files/backward-compile-2.6.13.patch 472
+SHA256 061903e19e737b4d4b7453f241c9ae91713040c382abe0417a1174365d300b3b files/backward-compile-2.6.13.patch 472
MD5 20bcd1f0060b30662979dd4d9d8a9a93 files/digest-open-iscsi-0.4.413 70
+RMD160 b45a10e9a387e6507b4db640359ab447410f5618 files/digest-open-iscsi-0.4.413 70
+SHA256 1e0584a6a1ade0df5da4dadf1394c6ba3900827d0590b1ac2d4a1a130bdd2be8 files/digest-open-iscsi-0.4.413 70
MD5 20bcd1f0060b30662979dd4d9d8a9a93 files/digest-open-iscsi-0.4.413-r1 70
+RMD160 b45a10e9a387e6507b4db640359ab447410f5618 files/digest-open-iscsi-0.4.413-r1 70
+SHA256 1e0584a6a1ade0df5da4dadf1394c6ba3900827d0590b1ac2d4a1a130bdd2be8 files/digest-open-iscsi-0.4.413-r1 70
MD5 a63ea3ffa94d6406ec4b32bdcb71c043 files/digest-open-iscsi-0.4.434 70
+RMD160 9096787d1924c0077ab03207961fbdb4667de65f files/digest-open-iscsi-0.4.434 70
+SHA256 b96f25063b41abc5aa19badbebbcca3fc88149defa57635198b6ec4fca0f2aca files/digest-open-iscsi-0.4.434 70
MD5 704df438b6376aaefa71e2797126ad58 files/digest-open-iscsi-0.4.438 70
+RMD160 3a646bdfc33319fd09b55dd8130e940d82e2dee7 files/digest-open-iscsi-0.4.438 70
+SHA256 7432ac473f806b4dba6bacff272cb5e224d04d23afd0aa1a96aafd67dd0a4775 files/digest-open-iscsi-0.4.438 70
+MD5 9878fff8ccf7d43ac07c315700a91c04 files/digest-open-iscsi-0.5.485 256
+RMD160 9ee348cf082366f049d35080b09e42185046f38c files/digest-open-iscsi-0.5.485 256
+SHA256 f34b16ca4e8890ddd22cee025968c95d455343d8b50ee8d974af98a248f5dde3 files/digest-open-iscsi-0.5.485 256
MD5 ec58849ae9c14ba36b99b28f204bd9be files/initiatorname.iscsi 422
+RMD160 c84baa808fc303916f426ff9e47e202015dec931 files/initiatorname.iscsi 422
+SHA256 a0561e28b0d3af179a453cb02327f4eb9d2959823fbdadbe747cfeb8de456f01 files/initiatorname.iscsi 422
MD5 c6ed0fd5937c35362e510fd1c4f17232 files/iscsid-init.d 2381
+RMD160 522d91a8115a82e44efdb4e4b23dbb7eb4b58971 files/iscsid-init.d 2381
+SHA256 6912514bbea1cf259ad150d71f5e1c45565dd35d77c431e72a5f050ce9823910 files/iscsid-init.d 2381
MD5 1b1ec0732d8609b14f7aae743da78f49 files/r438-idbm-file-locking.diff 865
+RMD160 30c4b04f2ce8aab0755fb1eb792a265a1f7cff88 files/r438-idbm-file-locking.diff 865
+SHA256 6840ebe2fde815306a46a443b207e8c99beae14ea3e0558b20c51df2abfe56b2 files/r438-idbm-file-locking.diff 865
MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
+RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223
+SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223
MD5 7fcd7e8864c82b54398d2181c5e659d5 open-iscsi-0.4.413-r1.ebuild 2394
+RMD160 d6dd34f59a6b11452c89a777020f60ffcae8eef2 open-iscsi-0.4.413-r1.ebuild 2394
+SHA256 10e01838bbdeb794e07f69eb670a9479f3741a5ebd93f4af0884abe22e0de3e1 open-iscsi-0.4.413-r1.ebuild 2394
MD5 88e0027844d0bb73925ed95ba41cd2ca open-iscsi-0.4.413.ebuild 2321
+RMD160 f232af13cf8ae8cd73baf37cae28943cbd6dcf90 open-iscsi-0.4.413.ebuild 2321
+SHA256 75da62c482d9972e7aa8e19ff1f893f5bd5d94a3bb7356d2488ecd15319e6513 open-iscsi-0.4.413.ebuild 2321
MD5 12868d97cb8d79a096d44f6f4fe24b9e open-iscsi-0.4.434.ebuild 2448
+RMD160 6632baabfbbdb8b0abc9b8b83014107bb79efa6a open-iscsi-0.4.434.ebuild 2448
+SHA256 73ba96fc61924c90d5ea08288fc946617ec8362e447e91807471dc5e9e02f2d2 open-iscsi-0.4.434.ebuild 2448
MD5 b5c3021e5b5533835ede6a2315f10812 open-iscsi-0.4.438.ebuild 2801
+RMD160 a66346768e1c1c3c5d83da0c88b7c4864bbb7e13 open-iscsi-0.4.438.ebuild 2801
+SHA256 a35e63673bea49e25382c358b2fbefcb9610ed5c3a2e5174d3f3fbe3178c080f open-iscsi-0.4.438.ebuild 2801
+MD5 bacb95d49276c1e79a097cd913c24ba7 open-iscsi-0.5.485.ebuild 2761
+RMD160 4ada5d053ae62cef723151433c667b7d58f6f2b7 open-iscsi-0.5.485.ebuild 2761
+SHA256 a44ec801640449656871731042b0c202401104fcff16d4ed4d1260a530859ea4 open-iscsi-0.5.485.ebuild 2761
diff --git a/sys-block/open-iscsi/files/digest-open-iscsi-0.5.485 b/sys-block/open-iscsi/files/digest-open-iscsi-0.5.485
new file mode 100644
index 000000000000..3ca542aebcf5
--- /dev/null
+++ b/sys-block/open-iscsi/files/digest-open-iscsi-0.5.485
@@ -0,0 +1,3 @@
+MD5 faebe1c44484cd140ff99bcff0aab129 open-iscsi-0.5.485.tar.gz 157355
+RMD160 fe976a223503baa904d39784326bd7fbf8c9ca62 open-iscsi-0.5.485.tar.gz 157355
+SHA256 f98b175226d0eedd7f3ee5e15537d1c9e46dc096a95b18edc4d8433bba6952a5 open-iscsi-0.5.485.tar.gz 157355
diff --git a/sys-block/open-iscsi/open-iscsi-0.5.485.ebuild b/sys-block/open-iscsi/open-iscsi-0.5.485.ebuild
new file mode 100644
index 000000000000..029614e3db07
--- /dev/null
+++ b/sys-block/open-iscsi/open-iscsi-0.5.485.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/open-iscsi-0.5.485.ebuild,v 1.1 2006/02/02 08:48:30 robbat2 Exp $
+
+inherit versionator linux-mod eutils flag-o-matic
+
+DESCRIPTION="Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720."
+HOMEPAGE="http://www.open-iscsi.org/"
+#SRC_URI="http://www.open-iscsi.org/bits/${MY_P}.tar.gz"
+#SRC_URI="mirror://gentoo/${P}.tar.gz"
+SRC_URI="mirror://gentoo/${P}.tar.gz http://dev.gentoo.org/~robbat2/distfiles/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="debug"
+DEPEND="virtual/libc
+ virtual/linux-sources"
+RDEPEND="${DEPEND}
+ virtual/modutils
+ sys-apps/util-linux"
+
+MODULE_NAMES_ARG="kernel/drivers/scsi:${S}/kernel"
+MODULE_NAMES="iscsi_tcp(${MODULE_NAMES_ARG}) scsi_transport_iscsi(${MODULE_NAMES_ARG})"
+BUILD_TARGETS="all"
+CONFIG_CHECK="CRYPTO_MD5 CRYPTO_CRC32C"
+ERROR_CFG="open-iscsi needs both MD5 and CRC32C support in your kernel."
+
+src_unpack() {
+ unpack ${A}
+ #export EPATCH_OPTS="-d${S}/kernel -p0"
+ export EPATCH_OPTS="-d${S}"
+ if [ $KV_PATCH -lt 11 ]; then
+ die "Sorry, your kernel must be 2.6.11 or newer!"
+ elif [ $KV_PATCH -eq 11 ]; then
+ einfo "2.6.11 found"
+ epatch ${S}/kernel/2.6.11-compat.patch
+ elif [ $KV_PATCH -eq 12 ]; then
+ einfo "2.6.12 found"
+ epatch ${S}/kernel/2.6.12-compat.patch
+ elif [ $KV_PATCH -eq 13 ]; then
+ einfo "2.6.13 found"
+ epatch ${S}/kernel/2.6.13-compat.patch
+ elif [ $KV_PATCH -eq 14 ]; then
+ einfo "2.6.14 found"
+ epatch ${S}/kernel/2.6.14-and-2.6.15-compat.patch
+ elif [ $KV_PATCH -eq 15 ]; then
+ einfo "2.6.15 found"
+ epatch ${S}/kernel/2.6.14-and-2.6.15-compat.patch
+ else
+ einfo "2.6.16 or newer found."
+ einfo "Please file a bug if this does not compile."
+ fi
+}
+
+src_compile() {
+ einfo "Building kernel modules"
+ export KSRC="${KERNEL_DIR}"
+ use debug && append-flags -DDEBUG_TCP -DDEBUG_SCSI
+ linux-mod_src_compile || die "failed to build modules"
+ einfo "Building userspace"
+ cd ${S}/usr && CFLAGS="" emake OPTFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ einfo "Installing kernel modules"
+ export KSRC="${KERNEL_DIR}"
+ #S=${S}/kernel
+ linux-mod_src_install
+
+ einfo "Installing userspace"
+ dosbin usr/iscsid usr/iscsiadm
+
+ doman doc/*[1-8]
+ dodoc README THANKS
+ docinto test
+ dodoc test/*
+
+ insinto /etc
+ doins etc/iscsid.conf
+ doins ${FILESDIR}/initiatorname.iscsi
+ newinitd ${FILESDIR}/iscsid-init.d iscsid
+
+ # security
+ keepdir /var/db/iscsi
+ fperms 700 /var/db/iscsi
+ fperms 600 /etc/iscsid.conf
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ [ -d /var/db/iscsi ] && chmod 700 /var/db/iscsi
+ [ -f /etc/iscsid.conf ] && chmod 600 /etc/iscsid.conf
+}