summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-05-28 07:50:33 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-05-28 07:50:33 +0000
commit65a46714e81e8467ac16d1c9826ef78db75f4171 (patch)
treeb56a34d24b9b888e74a9e217a0156b4521b4a345 /sys-block
parentFix tests (diff)
downloadgentoo-2-65a46714e81e8467ac16d1c9826ef78db75f4171.tar.gz
gentoo-2-65a46714e81e8467ac16d1c9826ef78db75f4171.tar.bz2
gentoo-2-65a46714e81e8467ac16d1c9826ef78db75f4171.zip
Bug #159587, version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/iscsitarget/ChangeLog10
-rw-r--r--sys-block/iscsitarget/files/digest-iscsitarget-0.4.153
-rw-r--r--sys-block/iscsitarget/iscsitarget-0.4.15.ebuild56
3 files changed, 67 insertions, 2 deletions
diff --git a/sys-block/iscsitarget/ChangeLog b/sys-block/iscsitarget/ChangeLog
index 0cc190d19529..f21c28848401 100644
--- a/sys-block/iscsitarget/ChangeLog
+++ b/sys-block/iscsitarget/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/iscsitarget
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.5 2006/12/27 13:54:01 robbat2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.6 2007/05/28 07:50:33 robbat2 Exp $
+
+*iscsitarget-0.4.15 (28 May 2007)
+
+ 28 May 2007; Robin H. Johnson <robbat2@gentoo.org>
+ +iscsitarget-0.4.15.ebuild:
+ Bug #159587, version bump.
27 Dec 2006; Robin H. Johnson <robbat2@gentoo.org>
files/iscsitarget-0.4.14-isns-compilefix.patch:
diff --git a/sys-block/iscsitarget/files/digest-iscsitarget-0.4.15 b/sys-block/iscsitarget/files/digest-iscsitarget-0.4.15
new file mode 100644
index 000000000000..43fcafc237a8
--- /dev/null
+++ b/sys-block/iscsitarget/files/digest-iscsitarget-0.4.15
@@ -0,0 +1,3 @@
+MD5 81390e388d87e3cc17383ef5f4322c28 iscsitarget-0.4.15.tar.gz 102922
+RMD160 d7d787f1fcbdb124d17eaaa62eaa47c21b6e5dd2 iscsitarget-0.4.15.tar.gz 102922
+SHA256 da8eb570f9abb6e50c515321747407e9945f5a83bab774c42ed41809234505cb iscsitarget-0.4.15.tar.gz 102922
diff --git a/sys-block/iscsitarget/iscsitarget-0.4.15.ebuild b/sys-block/iscsitarget/iscsitarget-0.4.15.ebuild
new file mode 100644
index 000000000000..a24105eff4a1
--- /dev/null
+++ b/sys-block/iscsitarget/iscsitarget-0.4.15.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/iscsitarget-0.4.15.ebuild,v 1.1 2007/05/28 07:50:33 robbat2 Exp $
+
+inherit linux-mod eutils
+
+DESCRIPTION="Open Source iSCSI target with professional features"
+HOMEPAGE="http://iscsitarget.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE=""
+
+RDEPEND="dev-libs/openssl"
+DEPEND="${RDEPEND}
+ virtual/linux-sources"
+MODULE_NAMES="iscsi_trgt(kernel/iscsi:${S}/kernel)"
+CONFIG_CHECK="CRYPTO_CRC32C"
+ERROR_CFG="iscsitarget needs support for CRC32C in your kernel."
+
+src_unpack() {
+ unpack ${A}
+ EPATCH_OPTS="-d ${S} -p0" \
+ epatch ${FILESDIR}/${PN}-0.4.13-usrbuildfix.patch
+ convert_to_m ${S}/Makefile
+}
+
+src_compile() {
+ einfo "Building userspace"
+ CFLAGS="" emake usr OPTFLAGS="${CFLAGS}" || die "failed to build userspace"
+
+ einfo "Building kernel modules"
+ unset ARCH
+ emake KSRC="${KERNEL_DIR}" kernel || die "failed to build module"
+}
+
+src_install() {
+ einfo "Installing userspace"
+ dosbin usr/ietd usr/ietadm || die "dosbin failed"
+ insinto /etc
+ doins etc/ietd.conf etc/initiators.{allow,deny} || die "doins failed"
+ # Upstream's provided Gentoo init script is out of date compared to
+ # their Debian init script. And isn't that nice.
+ #newinitd etc/initd/initd.gentoo ietd || die
+ newinitd ${FILESDIR}/ietd-init.d ietd || die "newinitd failed"
+ newconfd ${FILESDIR}/ietd-conf.d ietd || die "newconfd failed"
+
+ doman doc/manpages/*.[1-9] || die "manpages failed"
+ dodoc ChangeLog README || die "docs failed"
+
+ einfo "Installing kernel module"
+ unset ARCH
+ linux-mod_src_install || die "modules failed"
+}