Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-block/tgt: ChangeLog tgt-1.0.1.ebuild tgt-0.9.10.ebuild
Date: Tue, 23 Feb 2010 16:52:36
Message-Id: E1Njxzn-00043o-8k@stork.gentoo.org
1 alexxy 10/02/23 16:52:27
2
3 Modified: ChangeLog
4 Added: tgt-1.0.1.ebuild
5 Removed: tgt-0.9.10.ebuild
6 Log:
7 [sys-block/tgt] Version bump. Also fix for bug #298190
8 (Portage version: 2.2_rc63/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 sys-block/tgt/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tgt/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tgt/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tgt/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-block/tgt/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 1 Dec 2009 23:13:54 -0000 1.3
24 +++ ChangeLog 23 Feb 2010 16:52:26 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-block/tgt
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-block/tgt/ChangeLog,v 1.3 2009/12/01 23:13:54 alexxy Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tgt/ChangeLog,v 1.4 2010/02/23 16:52:26 alexxy Exp $
31 +
32 +*tgt-1.0.1 (23 Feb 2010)
33 +
34 + 23 Feb 2010; Alexey Shvetsov <alexxy@g.o> -tgt-0.9.10.ebuild,
35 + +tgt-1.0.1.ebuild:
36 + Version bump. Also fix for bug #298190
37
38 01 Dec 2009; Alexey Shvetsov <alexxy@g.o> tgt-0.9.10.ebuild:
39 Fix typo
40
41
42
43 1.1 sys-block/tgt/tgt-1.0.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tgt/tgt-1.0.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tgt/tgt-1.0.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tgt-1.0.1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-block/tgt/tgt-1.0.1.ebuild,v 1.1 2010/02/23 16:52:26 alexxy Exp $
53
54 EAPI="2"
55
56 inherit flag-o-matic linux-info
57
58 DESCRIPTION="Linux SCSI target framework (tgt)"
59 HOMEPAGE="http://stgt.sourceforge.net"
60 SRC_URI="http://stgt.sourceforge.net/releases/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="ibmvio infiniband fcp fcoe"
66
67 DEPEND="dev-perl/config-general
68 infiniband? (
69 sys-infiniband/libibverbs
70 sys-infiniband/librdmacm
71 )"
72 RDEPEND="${DEPEND}
73 sys-apps/sg3_utils"
74
75 src_configure() {
76 local myconf
77 use ibmvio && myconf="${myconf} IBMVIO=1"
78 use infiniband && myconf="${myconf} ISCSI_RDMA=1"
79 use fcp && myconf="${myconf} FCP=1"
80 use fcoe && myconf="${myconf} FCOE=1"
81 }
82
83 src_compile() {
84 emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf}
85 }
86
87 src_install() {
88 emake install-programs install-scripts install-doc DESTDIR="${D}" \
89 docdir=/usr/share/doc/${PF} \
90 || die "install failed"
91 doinitd "${FILESDIR}/tgtd"
92 dodir "/etc/tgt"
93 }