Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/tgt/
Date: Wed, 01 Mar 2023 01:29:15
Message-Id: 1677634145.3c0d056afe1a31d5200bdcd579dfb417f777c275.prometheanfire@gentoo
1 commit: 3c0d056afe1a31d5200bdcd579dfb417f777c275
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 1 01:27:20 2023 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 1 01:29:05 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0d056a
7
8 sys-block/tgt: drop 1.0.83, 1.0.84
9
10 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
11
12 sys-block/tgt/Manifest | 2 --
13 sys-block/tgt/tgt-1.0.83.ebuild | 58 -----------------------------------------
14 sys-block/tgt/tgt-1.0.84.ebuild | 58 -----------------------------------------
15 3 files changed, 118 deletions(-)
16
17 diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest
18 index 237332ffef7d..af099cc34300 100644
19 --- a/sys-block/tgt/Manifest
20 +++ b/sys-block/tgt/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST tgt-1.0.83.tar.gz 304631 BLAKE2B 64374e3ffa0fd73f25172e24b233d001dc2b70cbc08116f167de9d625d493dca330e84f73683d6cc74ea76f5bd9fa940cec54d43ebc9c41ed1ff54f5dc3a6e39 SHA512 0c97900aada010b84585a7ad2b1c4654db0fdbc4caed1dea05d00518340b23691ba91f4bb3c677b420a3f4e67f4b061055f877c050ea1d758f2ebb75771b1cf5
23 -DIST tgt-1.0.84.tar.gz 304641 BLAKE2B d5a28547ba637d951b4096ae3e2b49794aac0a7e517f185331fdfa7df9a1715ce82d498f88538fe08a71ba3958a6972251dbebafdddfeb649318c2ff13a72f95 SHA512 a194d95fac7c4525b22257af3977b1ca680d81bbf1aa4c75444f30a6d8d8db22eca3b29b2ece314fe3b0c0d18152e048c912347c9db1146c9f38419be5116971
24 DIST tgt-1.0.85.tar.gz 304648 BLAKE2B fb2c004c9e4ac614b0dfd58d5e9f641b6ca061a716cfc2c7888eb205e461178f6b04c4bbddc7abd1fc797bd6623c265bc01fc73f75b83dfa84cc35656a306f61 SHA512 847e4c4f80e9bdc46910eb9ab49a150d985a8fcdb77e67eabf5eb12845d9faafee76f9b7a5d71d5b3504205288d77fcf3e0f04e7f835ab8ad829700c13d783d4
25 DIST tgt-1.0.86.tar.gz 304697 BLAKE2B 60233019e9f09dd4288ca70f398992452dc00f7a2f46d82e333a9e1bfa4fe5dcc8583da3d4ce4382b32c60b1b009dd03d36faa9770faa11222b9ec4592bd6d96 SHA512 f4e8e87691be2793c5eee9d7dc744ae3a7b47f710f559141f0533de345f727fb68223a3090282f5c51f70ea55fbf5936d81e3b08ce953b7ac48013295c32bef7
26
27 diff --git a/sys-block/tgt/tgt-1.0.83.ebuild b/sys-block/tgt/tgt-1.0.83.ebuild
28 deleted file mode 100644
29 index 43d1f60ba296..000000000000
30 --- a/sys-block/tgt/tgt-1.0.83.ebuild
31 +++ /dev/null
32 @@ -1,58 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -inherit toolchain-funcs systemd
38 -
39 -DESCRIPTION="Linux SCSI target framework (tgt)"
40 -HOMEPAGE="http://stgt.sourceforge.net"
41 -SRC_URI="https://github.com/fujita/tgt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
46 -IUSE="fcoe fcp ibmvio infiniband rbd"
47 -
48 -DEPEND="
49 - app-text/docbook-xsl-stylesheets
50 - dev-libs/libxslt
51 - dev-perl/Config-General
52 - rbd? ( sys-cluster/ceph )
53 - infiniband? ( sys-cluster/rdma-core )
54 -"
55 -RDEPEND="${DEPEND}
56 - dev-libs/libaio
57 - sys-apps/sg3_utils"
58 -
59 -pkg_setup() {
60 - tc-export CC
61 -}
62 -
63 -src_prepare() {
64 - default
65 - sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die
66 - # make sure xml docs are generated before trying to install them
67 - sed -i -e "s@install: @& all @g" doc/Makefile || die
68 - sed -i -e 's|-Werror||g' usr/Makefile || die
69 -}
70 -
71 -src_compile() {
72 - local myconf
73 - use ibmvio && myconf="${myconf} IBMVIO=1"
74 - use infiniband && myconf="${myconf} ISCSI_RDMA=1"
75 - use fcp && myconf="${myconf} FCP=1"
76 - use fcoe && myconf="${myconf} FCOE=1"
77 - use rbd && myconf="${myconf} CEPH_RBD=1"
78 -
79 - emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf}
80 - emake -C doc
81 -}
82 -
83 -src_install() {
84 - emake install-programs install-scripts install-doc DESTDIR="${D}" docdir=/usr/share/doc/${PF}
85 - newinitd "${FILESDIR}"/tgtd.initd tgtd
86 - newconfd "${FILESDIR}"/tgtd.confd tgtd
87 - systemd_dounit "${S}"/scripts/tgtd.service
88 - dodir /etc/tgt
89 - keepdir /etc/tgt
90 -}
91
92 diff --git a/sys-block/tgt/tgt-1.0.84.ebuild b/sys-block/tgt/tgt-1.0.84.ebuild
93 deleted file mode 100644
94 index 276cce8b069e..000000000000
95 --- a/sys-block/tgt/tgt-1.0.84.ebuild
96 +++ /dev/null
97 @@ -1,58 +0,0 @@
98 -# Copyright 1999-2022 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=7
102 -inherit toolchain-funcs systemd
103 -
104 -DESCRIPTION="Linux SCSI target framework (tgt)"
105 -HOMEPAGE="http://stgt.sourceforge.net"
106 -SRC_URI="https://github.com/fujita/tgt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
107 -
108 -LICENSE="GPL-2"
109 -SLOT="0"
110 -KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
111 -IUSE="fcoe fcp ibmvio infiniband rbd"
112 -
113 -DEPEND="
114 - app-text/docbook-xsl-stylesheets
115 - dev-libs/libxslt
116 - dev-perl/Config-General
117 - rbd? ( sys-cluster/ceph )
118 - infiniband? ( sys-cluster/rdma-core )
119 -"
120 -RDEPEND="${DEPEND}
121 - dev-libs/libaio
122 - sys-apps/sg3_utils"
123 -
124 -pkg_setup() {
125 - tc-export CC
126 -}
127 -
128 -src_prepare() {
129 - default
130 - sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die
131 - # make sure xml docs are generated before trying to install them
132 - sed -i -e "s@install: @& all @g" doc/Makefile || die
133 - sed -i -e 's|-Werror||g' usr/Makefile || die
134 -}
135 -
136 -src_compile() {
137 - local myconf
138 - use ibmvio && myconf="${myconf} IBMVIO=1"
139 - use infiniband && myconf="${myconf} ISCSI_RDMA=1"
140 - use fcp && myconf="${myconf} FCP=1"
141 - use fcoe && myconf="${myconf} FCOE=1"
142 - use rbd && myconf="${myconf} CEPH_RBD=1"
143 -
144 - emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf}
145 - emake -C doc
146 -}
147 -
148 -src_install() {
149 - emake install-programs install-scripts install-doc DESTDIR="${D}" docdir=/usr/share/doc/${PF}
150 - newinitd "${FILESDIR}"/tgtd.initd tgtd
151 - newconfd "${FILESDIR}"/tgtd.confd tgtd
152 - systemd_dounit "${S}"/scripts/tgtd.service
153 - dodir /etc/tgt
154 - keepdir /etc/tgt
155 -}