summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-12-05 03:32:30 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-12-05 03:32:30 +0000
commitddca0b0c9190b9052d92e1bf51742eb7ae5f09ff (patch)
treeb2c2f4d68b38931935bb12cc1649c2f1fc268d78 /sys-block/iscsitarget
parentrepoman: Trim trailing whitespace (diff)
downloadgentoo-2-ddca0b0c9190b9052d92e1bf51742eb7ae5f09ff.tar.gz
gentoo-2-ddca0b0c9190b9052d92e1bf51742eb7ae5f09ff.tar.bz2
gentoo-2-ddca0b0c9190b9052d92e1bf51742eb7ae5f09ff.zip
Initial commit - bug #98781, based on ebuild submitted by Dick Marinus <dm@chello.nl>.
(Portage version: 2.0.53)
Diffstat (limited to 'sys-block/iscsitarget')
-rw-r--r--sys-block/iscsitarget/ChangeLog11
-rw-r--r--sys-block/iscsitarget/Manifest6
-rw-r--r--sys-block/iscsitarget/files/digest-iscsitarget-0.4.121
-rw-r--r--sys-block/iscsitarget/iscsitarget-0.4.12.ebuild45
-rw-r--r--sys-block/iscsitarget/metadata.xml8
5 files changed, 71 insertions, 0 deletions
diff --git a/sys-block/iscsitarget/ChangeLog b/sys-block/iscsitarget/ChangeLog
new file mode 100644
index 000000000000..8832a22985fa
--- /dev/null
+++ b/sys-block/iscsitarget/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-block/iscsitarget
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.1 2005/12/05 03:32:30 robbat2 Exp $
+
+*iscsitarget-0.4.12 (05 Dec 2005)
+
+ 05 Dec 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +iscsitarget-0.4.12.ebuild:
+ Initial commit - bug #98781, based on ebuild submitted by Dick Marinus
+ <dm@chello.nl>.
+
diff --git a/sys-block/iscsitarget/Manifest b/sys-block/iscsitarget/Manifest
new file mode 100644
index 000000000000..e3f87a5f2121
--- /dev/null
+++ b/sys-block/iscsitarget/Manifest
@@ -0,0 +1,6 @@
+MD5 a2b1a6b15831185dc4032d4b46a2b04c files/digest-iscsitarget-0.4.11 69
+MD5 4b2724f93d212d66f73fd9c938189408 files/digest-iscsitarget-0.4.12 69
+MD5 b09ef38916a6000405f4a7c738c12cb8 files/digest-iscsitarget-0.4.12_alpha1259 56
+MD5 c8a5b951ebc3f5b03d9318de3abf95ba iscsitarget-0.4.11.ebuild 890
+MD5 c8a5b951ebc3f5b03d9318de3abf95ba iscsitarget-0.4.12.ebuild 890
+MD5 6f381ff3905d51db3717502965de4fa0 iscsitarget-0.4.12_alpha1259.ebuild 1100
diff --git a/sys-block/iscsitarget/files/digest-iscsitarget-0.4.12 b/sys-block/iscsitarget/files/digest-iscsitarget-0.4.12
new file mode 100644
index 000000000000..f57fd2a0ed94
--- /dev/null
+++ b/sys-block/iscsitarget/files/digest-iscsitarget-0.4.12
@@ -0,0 +1 @@
+MD5 af3d239bf21131376999246c258c6f85 iscsitarget-0.4.12.tar.gz 87678
diff --git a/sys-block/iscsitarget/iscsitarget-0.4.12.ebuild b/sys-block/iscsitarget/iscsitarget-0.4.12.ebuild
new file mode 100644
index 000000000000..f18ea688533f
--- /dev/null
+++ b/sys-block/iscsitarget/iscsitarget-0.4.12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/iscsitarget-0.4.12.ebuild,v 1.1 2005/12/05 03:32:30 robbat2 Exp $
+
+inherit linux-mod
+
+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"
+IUSE=""
+
+RDEPEND="dev-libs/openssl"
+DEPEND="${RDEPEND}
+ virtual/linux-sources"
+MODULE_NAMES="iscsi_trgt(misc:${S}/kernel:${S}/kernel)"
+CONFIG_CHECK="CRYPTO_CRC32C"
+ERROR_CFG="iscsitarget needs support for CRC32C in your kernel."
+
+src_compile() {
+ einfo "Building userspace"
+ emake progs || die "failed to build userspace"
+
+ einfo "Building kernel modules"
+ unset ARCH
+ emake -C ${KERNEL_DIR} M=${S}/kernel modules || die "failed to build module"
+}
+
+src_install() {
+ einfo "Installing userspace"
+ dosbin usr/ietd usr/ietadm || die
+ insinto /etc
+ doins etc/ietd.conf etc/initiators.{allow,deny} || die
+ newinitd etc/initd/initd.gentoo ietd || die
+ doman doc/manpages/*.[1-9] || die
+ dodoc ChangeLog README || die
+
+ einfo "Installing kernel module"
+ unset ARCH
+ linux-mod_src_install || die
+
+}
diff --git a/sys-block/iscsitarget/metadata.xml b/sys-block/iscsitarget/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/sys-block/iscsitarget/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>