summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/open-iscsi/ChangeLog8
-rw-r--r--sys-block/open-iscsi/Manifest14
-rw-r--r--sys-block/open-iscsi/files/digest-open-iscsi-0.4.4341
-rw-r--r--sys-block/open-iscsi/open-iscsi-0.4.434.ebuild86
4 files changed, 103 insertions, 6 deletions
diff --git a/sys-block/open-iscsi/ChangeLog b/sys-block/open-iscsi/ChangeLog
index 963039b6b316..a0a53bba41cf 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.4 2005/09/23 05:55:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.5 2005/11/03 05:51:55 robbat2 Exp $
+
+*open-iscsi-0.4.434 (03 Nov 2005)
+
+ 03 Nov 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +open-iscsi-0.4.434.ebuild:
+ Version bump.
*open-iscsi-0.4.413-r1 (23 Sep 2005)
diff --git a/sys-block/open-iscsi/Manifest b/sys-block/open-iscsi/Manifest
index c8a79100d739..63e286301b57 100644
--- a/sys-block/open-iscsi/Manifest
+++ b/sys-block/open-iscsi/Manifest
@@ -1,8 +1,12 @@
-MD5 7fcd7e8864c82b54398d2181c5e659d5 open-iscsi-0.4.413-r1.ebuild 2394
-MD5 88e0027844d0bb73925ed95ba41cd2ca open-iscsi-0.4.413.ebuild 2321
MD5 56bbfacc84d067cf96fa2da2bc8a8d50 ChangeLog 1266
-MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
-MD5 ec58849ae9c14ba36b99b28f204bd9be files/initiatorname.iscsi 422
MD5 20bcd1f0060b30662979dd4d9d8a9a93 files/digest-open-iscsi-0.4.413 70
-MD5 c6ed0fd5937c35362e510fd1c4f17232 files/iscsid-init.d 2381
MD5 20bcd1f0060b30662979dd4d9d8a9a93 files/digest-open-iscsi-0.4.413-r1 70
+MD5 dee08f7edc747fc6940722e786edab16 files/digest-open-iscsi-0.4.420 70
+MD5 a63ea3ffa94d6406ec4b32bdcb71c043 files/digest-open-iscsi-0.4.434 70
+MD5 ec58849ae9c14ba36b99b28f204bd9be files/initiatorname.iscsi 422
+MD5 c6ed0fd5937c35362e510fd1c4f17232 files/iscsid-init.d 2381
+MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
+MD5 7fcd7e8864c82b54398d2181c5e659d5 open-iscsi-0.4.413-r1.ebuild 2394
+MD5 88e0027844d0bb73925ed95ba41cd2ca open-iscsi-0.4.413.ebuild 2321
+MD5 7fcd7e8864c82b54398d2181c5e659d5 open-iscsi-0.4.420.ebuild 2394
+MD5 04b608a2a93ee2580c20436c4e02cba5 open-iscsi-0.4.434.ebuild 2451
diff --git a/sys-block/open-iscsi/files/digest-open-iscsi-0.4.434 b/sys-block/open-iscsi/files/digest-open-iscsi-0.4.434
new file mode 100644
index 000000000000..00e36a609f63
--- /dev/null
+++ b/sys-block/open-iscsi/files/digest-open-iscsi-0.4.434
@@ -0,0 +1 @@
+MD5 37912a494e212da9734eddf0e62bf792 open-iscsi-0.4-434.tar.gz 148526
diff --git a/sys-block/open-iscsi/open-iscsi-0.4.434.ebuild b/sys-block/open-iscsi/open-iscsi-0.4.434.ebuild
new file mode 100644
index 000000000000..aa77bb62e4ca
--- /dev/null
+++ b/sys-block/open-iscsi/open-iscsi-0.4.434.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2005 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.4.434.ebuild,v 1.1 2005/11/03 05:51:55 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/"
+MY_PV="$(replace_version_separator 2 '-')"
+MY_P="${PN}-${MY_PV}"
+#SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+SRC_URI="http://www.open-iscsi.org/bits/${MY_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"
+S="${WORKDIR}/${MY_P}"
+
+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}
+ convert_to_m ${S}/kernel/Makefile
+ export EPATCH_OPTS="-d${S}/kernel -p0"
+ if [ $KV_PATCH -lt 11 ]; then
+ die "Sorry, your kernel must be 2.6.11 or newer!"
+ elif [ $KV_PATCH -eq 11 ]; then
+ epatch ${S}/kernel/backward-compile-2.6.11.patch
+ elif [ $KV_PATCH -eq 12 ]; then
+ epatch ${S}/kernel/backward-compile-2.6.12.patch
+ fi
+ sed -i.orig \
+ -e '/^CFLAGS/s,-O2,,g' \
+ -e '/^CFLAGS/s,-g,,g' \
+ ${S}/usr/Makefile || die "Failed to clean up CFLAGS"
+}
+
+src_compile() {
+ einfo "Building kernel modules"
+ export KSRC="${KERNEL_DIR}"
+ use debug && append-flags -DDEBUG_TCP -DDEBUG_SCSI
+ #S=${S}/kernel
+ linux-mod_src_compile || die "failed to build modules"
+ einfo "Building userspace"
+ cd ${S}/usr && emake || 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 TODO
+ 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
+}