diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-01 23:44:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-01 23:44:45 +0100 |
commit | ca52870b45c298a446df20ae15d12bff5f37c480 (patch) | |
tree | 96295ab2f8990b4411cd7628ff8ded21b5e3a030 /sys-block/tgt | |
parent | 5bd02f229a9c4ce484e49ec36dcb1f4eb5dfcdae (diff) |
gentoo auto-resync : 01:10:2023 - 23:44:45
Diffstat (limited to 'sys-block/tgt')
-rw-r--r-- | sys-block/tgt/Manifest | 2 | ||||
-rw-r--r-- | sys-block/tgt/tgt-1.0.88.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest index 4cd395c2c59d..63d8f47f64f5 100644 --- a/sys-block/tgt/Manifest +++ b/sys-block/tgt/Manifest @@ -4,7 +4,9 @@ AUX tgtd.initd 3435 BLAKE2B d2441a515c7a270472efd0c4ef5e928827bde54b248d09bb47f4 AUX tgtd.initd-new 3922 BLAKE2B 02e91c2c2f1d04af2ca9ae00143420aeb8c56e37842be1362364f4581f185a2cacad636e4a97508e6208fa8e1480f0335cf5c5d60eac3f5f60700647fe3e07ad SHA512 2bd2e3fdc263bb631035dfbf370cc2dabd4d35e25b0d3172926cef10eab0d85c81d6a103ee0b0018db8f1681a5b8768574f3627cbfafc8de2a2e40f9f8274427 DIST tgt-1.0.86.tar.gz 304697 BLAKE2B 60233019e9f09dd4288ca70f398992452dc00f7a2f46d82e333a9e1bfa4fe5dcc8583da3d4ce4382b32c60b1b009dd03d36faa9770faa11222b9ec4592bd6d96 SHA512 f4e8e87691be2793c5eee9d7dc744ae3a7b47f710f559141f0533de345f727fb68223a3090282f5c51f70ea55fbf5936d81e3b08ce953b7ac48013295c32bef7 DIST tgt-1.0.87.tar.gz 304798 BLAKE2B e8772a02078204373dd43276cc5534dd9e8996841bdfef613f34a9c59ef2886f866ff6fb56e6bdaea653b4081b477e1ab15cb3ed3d125b7c08b45ab11a63a7cb SHA512 362adfc92f9fc6528b3de0aa9f202e39f6035b92fe3078236a3f75c0aef540a82cb4594077fdc7de2e524acc75601f5696111cc9aebc6de6265c53cd1d073db2 +DIST tgt-1.0.88.tar.gz 305767 BLAKE2B d9a35da5c12ba1621473a04f59ffc85364412443854e4b9d88ba7ae7a7120dbbf6cf233852ef33cca2f19bb67acd54dcdd97041812277cc7eb9359d2483289d4 SHA512 b1ac4da634ff65edfd67cfcbd4509772216ba411b8c389cd209d3abe7c72b19f8e261c627e3ad8343faeebe3d8b758855184b50ab9e635d11c707ba3bb79fe70 EBUILD tgt-1.0.86.ebuild 1597 BLAKE2B 01ae3a331c0468acdb90a8b9ff0bbaf9ce1293cf188c6e8f27a34df9320baa8d28a9adebac263b4dba547d90b5299c2bdb309eb0701b4ac5ce80b57db0da1ca1 SHA512 f267a845ad8ed28fcccb4c8a461e3ef233b387a244fb13cb42106ec52401f89d7f53a1ba9129e93abf3cbefe0c852c110b1efeb322647115b68fcf65d2781734 EBUILD tgt-1.0.87-r1.ebuild 1605 BLAKE2B ac1e9de1cb377f30fd459164bb090b5726868338a3f9f90e7b2eeacc286f5379911e6c706dba7b503f385b8ab2d3151b2200b36db78f59c44a96f72c162eb548 SHA512 f895816371e87265c7fc97a3d157e5ba6c2ffe96a9e69dca63ad69585b12f61f0e4dc61d8f743920b27e22fc28f19f814c11f6de2986872dbcf971462b7fc709 EBUILD tgt-1.0.87.ebuild 1601 BLAKE2B b6ab887208587e59ff96a19eaa1c4f10c07f17123b5d8db11d4a233f70fe1a467e40d1f9493835c642c36678e6b2afd025fb3b43d35da300883195843aba0d34 SHA512 36b3c08630558984409aca543374603567df016ca1d7a97deb4bf5958063c386ccd46a52c6d7b7df65bfc04fab97539d0bc5a9c89cd5eaf0ddae14ceb5243848 +EBUILD tgt-1.0.88.ebuild 1605 BLAKE2B ac1e9de1cb377f30fd459164bb090b5726868338a3f9f90e7b2eeacc286f5379911e6c706dba7b503f385b8ab2d3151b2200b36db78f59c44a96f72c162eb548 SHA512 f895816371e87265c7fc97a3d157e5ba6c2ffe96a9e69dca63ad69585b12f61f0e4dc61d8f743920b27e22fc28f19f814c11f6de2986872dbcf971462b7fc709 MISC metadata.xml 749 BLAKE2B 0bc71ded3e2d650bd34edcb3e5515926248ff71354db504d94c548ec951ded4f71e5af1d5127d8fa3a0a3b398204436743d016fbd1cc1e765b6303a8bd734fd8 SHA512 94f7b923adade87a471854f469731094b00872727c7a668ea7e34e558eb87e661ab01c42fbe920a885f28c394f2bc9bf0fba0e48b84893ecade9c3d967e4c2ea diff --git a/sys-block/tgt/tgt-1.0.88.ebuild b/sys-block/tgt/tgt-1.0.88.ebuild new file mode 100644 index 000000000000..f5b5df98b0fe --- /dev/null +++ b/sys-block/tgt/tgt-1.0.88.ebuild @@ -0,0 +1,61 @@ +# 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="fcoe fcp ibmvio 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 ibmvio && myconf="${myconf} IBMVIO=1" + use infiniband && myconf="${myconf} ISCSI_RDMA=1" + use fcp && myconf="${myconf} FCP=1" + use fcoe && myconf="${myconf} FCOE=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 +} |