From a0c5e9067531830baf9160de325fe77145f02987 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 2 Nov 2023 09:45:46 +0000 Subject: gentoo auto-resync : 02:11:2023 - 09:45:46 --- sys-block/Manifest.gz | Bin 11205 -> 11203 bytes sys-block/tgt/Manifest | 2 ++ sys-block/tgt/tgt-1.0.89.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 sys-block/tgt/tgt-1.0.89.ebuild (limited to 'sys-block') diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz index 605e9946910e..d4fc61229422 100644 Binary files a/sys-block/Manifest.gz and b/sys-block/Manifest.gz differ diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest index 8b1dc39ace1a..adf1d7f9dbbe 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.87.tar.gz 304798 BLAKE2B e8772a02078204373dd43276cc5534dd9e8996841bdfef613f34a9c59ef2886f866ff6fb56e6bdaea653b4081b477e1ab15cb3ed3d125b7c08b45ab11a63a7cb SHA512 362adfc92f9fc6528b3de0aa9f202e39f6035b92fe3078236a3f75c0aef540a82cb4594077fdc7de2e524acc75601f5696111cc9aebc6de6265c53cd1d073db2 DIST tgt-1.0.88.tar.gz 305767 BLAKE2B d9a35da5c12ba1621473a04f59ffc85364412443854e4b9d88ba7ae7a7120dbbf6cf233852ef33cca2f19bb67acd54dcdd97041812277cc7eb9359d2483289d4 SHA512 b1ac4da634ff65edfd67cfcbd4509772216ba411b8c389cd209d3abe7c72b19f8e261c627e3ad8343faeebe3d8b758855184b50ab9e635d11c707ba3bb79fe70 +DIST tgt-1.0.89.tar.gz 305773 BLAKE2B c128e307246c938ee9b41fa9d0783cfa488e103f38c8907768bc46ec46dfc6fa7b8aad5e14f43dfd111a5b6590b41ce6cf77683c2dc123ab5917f89e7c3d951c SHA512 4a3f2e1e2a9e98fbb6892fb8171633efd15ce131f0e9294d95a7d8b23b6df739f11529e50ed03869d65a8a84a57f7337901f36e010a770a051caaa7ba2b47e7a EBUILD tgt-1.0.87-r2.ebuild 1605 BLAKE2B ac1e9de1cb377f30fd459164bb090b5726868338a3f9f90e7b2eeacc286f5379911e6c706dba7b503f385b8ab2d3151b2200b36db78f59c44a96f72c162eb548 SHA512 f895816371e87265c7fc97a3d157e5ba6c2ffe96a9e69dca63ad69585b12f61f0e4dc61d8f743920b27e22fc28f19f814c11f6de2986872dbcf971462b7fc709 EBUILD tgt-1.0.88-r1.ebuild 1470 BLAKE2B d5876bfb27d9540362eaaa441cc0d04c0befeee5a55da8b2c39edf967ca9f01cfff9299827b8377723e963b160fa93a4e4af2cb1e7dbd1d443a768082d8d1ad4 SHA512 497f8b338dc150c583a5ec7b0fe62335369c39fc9ff0c5b6c47f1e045b72afa5906421fbbd5aaee140c09de9c3ffe049a8e17d9bf604757e238ff8af4949a15d +EBUILD tgt-1.0.89.ebuild 1474 BLAKE2B 90d14e5de2f4cbc64f59738855ee337bdec8337956c5dfc9fa6bebb04ab6fa73111c0523418a40d350a63045442c65781437a735201ba7b86b20c27860b871fe SHA512 f5901908baa041c8258a1870ff990cbdf040f9e938a157b9cec03ba847dcf54a8430b24ebabcbb2a7d450aaca424d3bc0f5d92fc8b0a8390ad4383337fa95571 MISC metadata.xml 749 BLAKE2B 0bc71ded3e2d650bd34edcb3e5515926248ff71354db504d94c548ec951ded4f71e5af1d5127d8fa3a0a3b398204436743d016fbd1cc1e765b6303a8bd734fd8 SHA512 94f7b923adade87a471854f469731094b00872727c7a668ea7e34e558eb87e661ab01c42fbe920a885f28c394f2bc9bf0fba0e48b84893ecade9c3d967e4c2ea diff --git a/sys-block/tgt/tgt-1.0.89.ebuild b/sys-block/tgt/tgt-1.0.89.ebuild new file mode 100644 index 000000000000..afca5f425e44 --- /dev/null +++ b/sys-block/tgt/tgt-1.0.89.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 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 ~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 +} -- cgit v1.2.3