summaryrefslogtreecommitdiff
path: root/sys-block
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/Manifest.gzbin11200 -> 11197 bytes
-rw-r--r--sys-block/tgt/Manifest2
-rw-r--r--sys-block/tgt/tgt-1.0.90.ebuild58
3 files changed, 60 insertions, 0 deletions
diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz
index 743f3c9c73c1..343b22d4d922 100644
--- a/sys-block/Manifest.gz
+++ b/sys-block/Manifest.gz
Binary files differ
diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest
index 355370f653be..d7a976235729 100644
--- a/sys-block/tgt/Manifest
+++ b/sys-block/tgt/Manifest
@@ -4,6 +4,8 @@ AUX tgtd.initd 3435 BLAKE2B d2441a515c7a270472efd0c4ef5e928827bde54b248d09bb47f4
AUX tgtd.initd-new 3935 BLAKE2B e6865001c534ca1f0b5360cd5d6263d2dac6cfdf2058eaf1d3360e9eadb625d0e6f8a5c1b1459292d5cb539c25afc5334c90f9e25e99b2f0a2a8cae518afe983 SHA512 dff4dd97801f9e910668e9a878455b9c79840509728823a29a30d02375f6ce65022e8a02757515e273c6c956527a569ef77d61528758abdcf86af13f6e8bd04e
DIST tgt-1.0.88.tar.gz 305767 BLAKE2B d9a35da5c12ba1621473a04f59ffc85364412443854e4b9d88ba7ae7a7120dbbf6cf233852ef33cca2f19bb67acd54dcdd97041812277cc7eb9359d2483289d4 SHA512 b1ac4da634ff65edfd67cfcbd4509772216ba411b8c389cd209d3abe7c72b19f8e261c627e3ad8343faeebe3d8b758855184b50ab9e635d11c707ba3bb79fe70
DIST tgt-1.0.89.tar.gz 305773 BLAKE2B c128e307246c938ee9b41fa9d0783cfa488e103f38c8907768bc46ec46dfc6fa7b8aad5e14f43dfd111a5b6590b41ce6cf77683c2dc123ab5917f89e7c3d951c SHA512 4a3f2e1e2a9e98fbb6892fb8171633efd15ce131f0e9294d95a7d8b23b6df739f11529e50ed03869d65a8a84a57f7337901f36e010a770a051caaa7ba2b47e7a
+DIST tgt-1.0.90.tar.gz 305964 BLAKE2B ee8696013af85e9171dae09501502dbdc26e72568ff55d5c4867a7122baabf39d034e648a2d09c23b31563aea844129397c8ca803caca5d8fa59e3f73b4cbf34 SHA512 5fe0a1d25f60d80d840432ed74d906b45bad6f11274ec580e8844ee802008cf09f2086b39e0d868868e65d314221d48057c1473a11488eb8cabc7b05ee03dbbb
EBUILD tgt-1.0.88-r1.ebuild 1470 BLAKE2B d5876bfb27d9540362eaaa441cc0d04c0befeee5a55da8b2c39edf967ca9f01cfff9299827b8377723e963b160fa93a4e4af2cb1e7dbd1d443a768082d8d1ad4 SHA512 497f8b338dc150c583a5ec7b0fe62335369c39fc9ff0c5b6c47f1e045b72afa5906421fbbd5aaee140c09de9c3ffe049a8e17d9bf604757e238ff8af4949a15d
EBUILD tgt-1.0.89.ebuild 1475 BLAKE2B 65fa1ad92cd6a9e62aa22d4ad4caaec833a670cea3b0e2585100629ec861f3fecb4ef64f8cf98dbe045395991f7ce0173067c5cd0f9982b8a79258d28f89ee0f SHA512 0c1885cc5473b470e17a1438fb77f5958453797c0cb7667e889a8e4c0570a430c271e9d9151059447a5f3d754d80eed61163c41d70046a9741081b1f89f56094
+EBUILD tgt-1.0.90.ebuild 1475 BLAKE2B 064cf819668292dee33b8e1e17be78932b6e3d47687aeacce3d0ead4481d206406c064e1c01ae68376f8a11a323ddb68fbff666c76bd6055949d47c4c5a94568 SHA512 f441925cf9af82d9530445e579541bb84a5c9e75fa4d3c5cbb55a382d812da7749c8fbcb7285197b51b4f54e9b296ffb396e64aaa0e0b6d8ced7573cb42d4b3e
MISC metadata.xml 573 BLAKE2B 056a268cfd4e46e852517263621807138c69607dd2a7e4b0b2239f66699d86d0b599bae524d2ea77c76af13084b478df6b4392a342f6b12a9af858a45bde2aa0 SHA512 678c1b868099eea8eeaa66405e6259bf6fad10dc1ba18c5cb6a049f87a2a649f8ae92183fef596e95a510c339494a262bd647e709f192a630c200288e57a03cf
diff --git a/sys-block/tgt/tgt-1.0.90.ebuild b/sys-block/tgt/tgt-1.0.90.ebuild
new file mode 100644
index 000000000000..24559d926972
--- /dev/null
+++ b/sys-block/tgt/tgt-1.0.90.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs systemd
+
+DESCRIPTION="Linux SCSI target framework (tgt)"
+HOMEPAGE="https://github.com/fujita/tgt"
+SRC_URI="https://github.com/fujita/tgt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+IUSE="infiniband rbd selinux"
+
+DEPEND="
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ dev-perl/Config-General
+ rbd? ( sys-cluster/ceph )
+ infiniband? ( sys-cluster/rdma-core )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-libs/libaio
+ sys-apps/sg3_utils
+ selinux? ( sec-policy/selinux-tgtd )
+"
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ default
+ sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die
+ # make sure xml docs are generated before trying to install them
+ sed -i -e "s@install: @& all @g" doc/Makefile || die
+ sed -i -e 's|-Werror||g' usr/Makefile || die
+}
+
+src_compile() {
+ local myconf
+ use infiniband && myconf="${myconf} ISCSI_RDMA=1"
+ use rbd && myconf="${myconf} CEPH_RBD=1"
+
+ emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf}
+ emake -C doc
+}
+
+src_install() {
+ emake install-programs install-scripts install-doc DESTDIR="${D}" docdir=/usr/share/doc/${PF}
+ newinitd "${FILESDIR}"/tgtd.initd-new tgtd
+ newconfd "${FILESDIR}"/tgtd.confd-new tgtd
+ systemd_dounit "${S}"/scripts/tgtd.service
+ dodir /etc/tgt
+ keepdir /etc/tgt
+}