From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E55FC138330 for ; Sun, 2 Oct 2016 19:44:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 479B2E0C19; Sun, 2 Oct 2016 19:44:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C096E0C19 for ; Sun, 2 Oct 2016 19:44:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23E4F340D46 for ; Sun, 2 Oct 2016 19:44:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F03A92490 for ; Sun, 2 Oct 2016 19:43:58 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1475437414.b0234fe69ab195c2e2164aa01db2d1571495f5e2.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/tgt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/tgt/Manifest sys-block/tgt/tgt-1.0.68.ebuild X-VCS-Directories: sys-block/tgt/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: b0234fe69ab195c2e2164aa01db2d1571495f5e2 X-VCS-Branch: master Date: Sun, 2 Oct 2016 19:43:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ce07096b-0d2e-4b81-95ba-3f9dc5bdffab X-Archives-Hash: f6ead503e988a2a0ac81570f910f8857 commit: b0234fe69ab195c2e2164aa01db2d1571495f5e2 Author: Matthew Thode gentoo org> AuthorDate: Sun Oct 2 19:43:34 2016 +0000 Commit: Matt Thode gentoo org> CommitDate: Sun Oct 2 19:43:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0234fe6 sys-block/tgt: bup Package-Manager: portage-2.3.0 sys-block/tgt/Manifest | 1 + sys-block/tgt/tgt-1.0.68.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest index e16cf8e..e2c9106 100644 --- a/sys-block/tgt/Manifest +++ b/sys-block/tgt/Manifest @@ -4,3 +4,4 @@ DIST tgt-1.0.64.tar.gz 295356 SHA256 2b9294a5c6a9072d3805835d35e3c3401961c3008ee DIST tgt-1.0.65.tar.gz 295389 SHA256 a29e771bd847b8c6e85eef6815b06e3a232135ef8bb4d0087b319cab5003b32c SHA512 58793b7f5e596798212aef5c59d60f1a4c329084c582cce6a8050b0a83e770a5fb90d825dd1b873e03a074425654ec2e3c0065d8e2de128c3aedf89165db3d2b WHIRLPOOL 7edeeaca7bdca99ddf79400d091b28c8d08b8c1a304416c8f65b4a460c6e20ad74c8a47ca11274109aa2687f7c14cd33bb2c74f25fda4608575071f0efae4466 DIST tgt-1.0.66.tar.gz 296024 SHA256 e6394cc54d92c0fcd50bd6850944dc7ebb1c98f31e8d2d981867e842be2bcd88 SHA512 bc467768a0f315163210dfcfdb651d8de8768b1c8c874df46afc940452ccaac17f34f87454c28e0a0dd62fb911f8c7352cda8f2246e170630d853677910039fa WHIRLPOOL 861ac71a45027a6355800b06962e5ef35c72ca52d4e3441c5ecc0239bc9ae1f92d38fba8f8cdeeafe9839ada90ec3f7fe5127fb872c06e0382b2e1e8891800b0 DIST tgt-1.0.67.tar.gz 296092 SHA256 bf3f68d9314583459328d060942308a909b795146187ab4d4231ac03481fe6c8 SHA512 8ea1096cdf83a31d3b5c10916d8e3c1d90c23b3072a0cc9e8214bb4c230ac08b37264f1460099069d5ff6e56d31fcb2f6cf7291a2305ed685d106ed1898c50bb WHIRLPOOL d51b14dd146045f49d994f0ce8b8a88e23813c76d98f36709f4b125e8f7cc81a9204a0140c7e8fa88db694c974da56af18bdd495da66232217ca07397003d172 +DIST tgt-1.0.68.tar.gz 296862 SHA256 ff9000ccd07c648c57c65ef73c5a694f5e3045be69162bfe33e67028f2f5b7bd SHA512 652182aece13dae91c5193b9084c201ca2dd34331917c56e5ab2b7a8fc0653cb843cf67fe9d95bdb01b52f285e395b28323f0eb834a5de80a58876777902d28e WHIRLPOOL eff054e1684f59d831ee32b4158859a885c68c9f080284e3bbf31d8fed21b86e4972a077620ef5276e9e8c4fead264b281f1124f157d45c2fcf9097dbb71b143 diff --git a/sys-block/tgt/tgt-1.0.68.ebuild b/sys-block/tgt/tgt-1.0.68.ebuild new file mode 100644 index 00000000..59be43f --- /dev/null +++ b/sys-block/tgt/tgt-1.0.68.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs + +MY_TREE="7c3e84b" + +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 +} + +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 +}