1 |
commit: d65fd01f07ac551f6442ddef0aae918cbcdcd5a6 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 2 15:39:01 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 2 15:44:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65fd01f |
7 |
|
8 |
sys-block/tgt: 1.0.79 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.16 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-block/tgt/Manifest | 1 + |
14 |
sys-block/tgt/tgt-1.0.79.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest |
18 |
index 3081a247864..a2a579dc928 100644 |
19 |
--- a/sys-block/tgt/Manifest |
20 |
+++ b/sys-block/tgt/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST tgt-1.0.77.tar.gz 297550 BLAKE2B fdf5728b8b2d796a0b7d0845948d51161b1d2fa148c05e0c3940426a524246b3303b2e9aa6e748df54090ea3682a449edcf65c523ebd1e6d43b142e9339a605c SHA512 ad8d5519a6c1a46991d5b8c2f6d2990e2d064b81e82fb4700728153accf6aff05dab79c9d91ee55a9a6c344e7bd7451de4f26840162e08467a81a11d2d841bdd |
23 |
DIST tgt-1.0.78.tar.gz 297886 BLAKE2B c9edf8e5d0fe6a9788ff6bea4097f6cc0a8a905ffdc1943dcab538843445ede9142e1684121dad7f80677207607e20695bdad04fef622364c23df7cbeab1339a SHA512 dedafd490b6a042041fb9c8ed751747ec85f3bddab849fee301e0cf43b18aa92f5609657136700b867667fbff9ace62f4733c535cd425d8c71b072a7d7029430 |
24 |
+DIST tgt-1.0.79.tar.gz 297898 BLAKE2B d0f18dac863d6983a00eb9513bcbe17b5cbed76fad998af74b65311c1ace6f281bfb1bf639713e10124a520ad3916ef79ca0a81cef97b5ef678c25cfa9a71eaa SHA512 d71b0a08bd1cdc717e22c4dd0a229e84bd19e02e01037231ee80d9ab24848bc7274050e1ffe7d9a3d50149c892ed1e6ea382e54dacc341650f4534629116be07 |
25 |
|
26 |
diff --git a/sys-block/tgt/tgt-1.0.79.ebuild b/sys-block/tgt/tgt-1.0.79.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e6f4ccd368a |
29 |
--- /dev/null |
30 |
+++ b/sys-block/tgt/tgt-1.0.79.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit flag-o-matic toolchain-funcs |
37 |
+ |
38 |
+MY_TREE="b43dbc6" |
39 |
+ |
40 |
+DESCRIPTION="Linux SCSI target framework (tgt)" |
41 |
+HOMEPAGE="http://stgt.sourceforge.net" |
42 |
+SRC_URI="https://github.com/fujita/tgt/tarball/v${PV} -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
47 |
+IUSE="fcoe fcp ibmvio infiniband rbd" |
48 |
+ |
49 |
+CDEPEND="dev-perl/Config-General |
50 |
+ dev-libs/libxslt |
51 |
+ rbd? ( sys-cluster/ceph ) |
52 |
+ infiniband? ( |
53 |
+ sys-fabric/libibverbs:= |
54 |
+ sys-fabric/librdmacm:= |
55 |
+ )" |
56 |
+DEPEND="${CDEPEND} |
57 |
+ app-text/docbook-xsl-stylesheets" |
58 |
+RDEPEND="${DEPEND} |
59 |
+ dev-libs/libaio |
60 |
+ sys-apps/sg3_utils" |
61 |
+ |
62 |
+S=${WORKDIR}/fujita-tgt-${MY_TREE} |
63 |
+ |
64 |
+pkg_setup() { |
65 |
+ tc-export CC |
66 |
+} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die |
70 |
+ # make sure xml docs are generated before trying to install them |
71 |
+ sed -i -e "s@install: @& all @g" doc/Makefile || die |
72 |
+ eapply_user |
73 |
+} |
74 |
+ |
75 |
+src_compile() { |
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 |
+ use rbd && myconf="${myconf} CEPH_RBD=1" |
82 |
+ |
83 |
+ emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf} |
84 |
+ emake -C doc |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ emake install-programs install-scripts install-doc DESTDIR="${D}" docdir=/usr/share/doc/${PF} |
89 |
+ newinitd "${FILESDIR}"/tgtd.initd tgtd |
90 |
+ newconfd "${FILESDIR}"/tgtd.confd tgtd |
91 |
+ dodir /etc/tgt |
92 |
+ keepdir /etc/tgt |
93 |
+} |