From 423d21dcfee183cc4b04d29c1621615e8c30f834 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Jan 2018 18:55:01 +0000 Subject: gentoo resync : 04.01.2018 --- sys-block/tgt/Manifest | 2 ++ sys-block/tgt/tgt-1.0.73.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 sys-block/tgt/tgt-1.0.73.ebuild (limited to 'sys-block/tgt') diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest index 1491296a732c..39beb6a45cc7 100644 --- a/sys-block/tgt/Manifest +++ b/sys-block/tgt/Manifest @@ -3,6 +3,8 @@ AUX tgtd.confd 108 BLAKE2B 74e5f66f6fb193541853e562cd1de5e99806f1f324db6efb5f9a5 AUX tgtd.initd 3435 BLAKE2B d2441a515c7a270472efd0c4ef5e928827bde54b248d09bb47f4fcc53c46e4678acf049c16ee761f29eb8e928f0713f38a9f73bd13db1e0408da56f42f64b337 SHA512 1e6d114dbb89c7a26e65546b6c775bcabc3c9508e0757e118a4272fbf4299a185b4679bc510d9cc3da7db25b96343ddc8e45de044543ebe26d952132eba4de30 DIST tgt-1.0.71.tar.gz 296540 BLAKE2B 89cc4a79119b07bd61a74c838a647b44e0c05b4cdf7e1b2d93580c503c588e6e75ba25a81f30ff4eeeeec2bcfa2669847aff2c3243ce95b50fd53b15a25f6112 SHA512 db74deb199ef341577ab505b7202651e6c28aa9d62d37d3492b1775a2944284e1d3bb7c99b6d8bedd3456807641952876719ecd66553bd8c8dabbee5669f9428 DIST tgt-1.0.72.tar.gz 296698 BLAKE2B 6625bf87b37f4683aaf0c29264e69e400c6d238c9eaa7d9bb6fd46a76b542a8477ad8c7e9913d3dde70caaf02c323a2c01a3bd78b2d092829f4530015225012f SHA512 4fdb1b8f3c2487f66629024132f7fa53ab69b9eba67d380fb18aa2d9c143e77bdf808b3ff8d1e2bf1d4420cf1792944d6f79731ddbb095d52b53d573d9f1281c +DIST tgt-1.0.73.tar.gz 296814 BLAKE2B a3c81c00f716678aa9388f6a4562bd0b6fe0e2c705aee9655f942ffafae4bab3bbbaff521a8b7aefab208a354e0c1c617b85cdd08247a77d1026d0482d2b6528 SHA512 e6410f16c54f71d9a33d511438169a0ca305a7b9a9dd6abbaae9f0b31c18223fa1f3a11b575322d3bb94df129b4f9b186079a7d7cbd27e31734151154edab1da EBUILD tgt-1.0.71.ebuild 1563 BLAKE2B dcaf51f0db9b827826ea9f672f519d6c66f4b7b73221c45bc1a3c560f051ee11d1e8a7ee806ce7a41f7ce8d0e92238360bd6b17b99e0d64c2bf0faf928f7aa3e SHA512 008dfd30d1ae4363046df41f26025283faf0f7e42df4a64fa84d54391ed7fb2f832c884d0d310f158574200510c1f41a8ebb5a92339caf6e5e066a83494025c8 EBUILD tgt-1.0.72.ebuild 1563 BLAKE2B 7364870afeaca18d51b156690ca59f0db9637c78c6e1dc61cce3df8861be244d6b43fdc0bf8d2dd689f8ff879b87e6b395f8434fed0495ae763e702759aa4173 SHA512 f4a1bffcae7471dbdf4bad933c5b7ff82b6656da570c739aaec192389a1ae888ed8083cdb34340407a3eda692eb147aa177e5a8b59077ad22467332980c755a1 +EBUILD tgt-1.0.73.ebuild 1516 BLAKE2B 13d60a71ef56518f8019118226d321d86a3bb901cf9f1a500ef1669cb5b30121beb7cfe79be0c7c888035d786e8040186cd1a2db4a89c9779f7581fc0355c066 SHA512 1145c77ab9db574fe39fc6839c3e7ef9abfaa915b530dbcefc0b18e4bbf59af1929fe49905bf34d65dba98368c51f48f6ad6331d21a5272fe55c61af00667776 MISC metadata.xml 825 BLAKE2B 89a6844eade4098443db47dcd5b3350c1bd6f4c0ffbdb6277df5714fdfd248d056f770f05e1392d64b573a28ca9db140dc7130e0109075c7fd398677ca251af9 SHA512 0c75be2e830ff683c8cae93175504a1e6508131d704c48d31b9fe98baa6b3a1e491661fda6180c0c1e35ef7e9bd57309d05e07b41160a7cc090934913e186f9f diff --git a/sys-block/tgt/tgt-1.0.73.ebuild b/sys-block/tgt/tgt-1.0.73.ebuild new file mode 100644 index 000000000000..d052002e5daa --- /dev/null +++ b/sys-block/tgt/tgt-1.0.73.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic toolchain-funcs + +MY_TREE="013223d" + +DESCRIPTION="Linux SCSI target framework (tgt)" +HOMEPAGE="http://stgt.sourceforge.net" +SRC_URI="https://github.com/fujita/tgt/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="fcoe fcp ibmvio infiniband rbd" + +CDEPEND="dev-perl/Config-General + dev-libs/libxslt + rbd? ( sys-cluster/ceph ) + infiniband? ( + sys-fabric/libibverbs:= + sys-fabric/librdmacm:= + )" +DEPEND="${CDEPEND} + app-text/docbook-xsl-stylesheets" +RDEPEND="${DEPEND} + dev-libs/libaio + sys-apps/sg3_utils" + +S=${WORKDIR}/fujita-tgt-${MY_TREE} + +pkg_setup() { + tc-export CC +} + +src_prepare() { + 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 + eapply_user +} + +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 tgtd + newconfd "${FILESDIR}"/tgtd.confd tgtd + dodir /etc/tgt + keepdir /etc/tgt +} -- cgit v1.2.3