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