public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/tgt/
Date: Fri,  4 Nov 2016 02:38:00 +0000 (UTC)	[thread overview]
Message-ID: <1478227045.6f20a0a29204f073bbf6ab09d63dfe65d9d8dde4.prometheanfire@gentoo> (raw)

commit:     6f20a0a29204f073bbf6ab09d63dfe65d9d8dde4
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 02:37:25 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 02:37:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f20a0a2

sys-block/tgt: bup

Package-Manager: portage-2.3.0

 sys-block/tgt/Manifest          |  1 +
 sys-block/tgt/tgt-1.0.69.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest
index e2c9106..fa5f340 100644
--- a/sys-block/tgt/Manifest
+++ b/sys-block/tgt/Manifest
@@ -5,3 +5,4 @@ DIST tgt-1.0.65.tar.gz 295389 SHA256 a29e771bd847b8c6e85eef6815b06e3a232135ef8bb
 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
+DIST tgt-1.0.69.tar.gz 296481 SHA256 07bc89fdbd3e49490ca42047b38c1249610f2be5ee69aa4c12e5dcd3bc63d0fe SHA512 36964b4a95704b3239f5fefaef1b62ceed72569ea8483e8a23a1a6be4f526a9a9a62ea332ca6ccc2728607936ad8ef547d6e6becb9b240e1704fd7e7d8b4cfbf WHIRLPOOL fcb2ce5498a46c590ca1222cf552090b59b99af588d5e768b94280e87ab5c5f56417e17c6d3ea716ed314725ffb5ca2d47acf014a6619fb376fa6b60b8c5e141

diff --git a/sys-block/tgt/tgt-1.0.69.ebuild b/sys-block/tgt/tgt-1.0.69.ebuild
new file mode 100644
index 00000000..916d0f7
--- /dev/null
+++ b/sys-block/tgt/tgt-1.0.69.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="77b802c"
+
+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
+}


             reply	other threads:[~2016-11-04  2:38 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-04  2:38 Matt Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12  9:44 [gentoo-commits] repo/gentoo:master commit in: sys-block/tgt/ Michał Górny
2024-10-12  9:44 Michał Górny
2024-10-12  9:44 Michał Górny
2024-10-12  9:44 Michał Górny
2024-06-17 20:10 Matthew Thode
2024-05-02 21:37 Matthew Thode
2024-03-10 18:58 Matthew Thode
2024-03-02 23:44 Matthew Thode
2024-01-04 21:00 Matthew Thode
2024-01-01 20:17 Matthew Thode
2024-01-01 19:30 Matthew Thode
2023-12-01 20:33 Matthew Thode
2023-11-02  4:07 Matthew Thode
2023-10-06  0:32 Sam James
2023-10-02 18:22 Matthew Thode
2023-10-01 16:18 Matthew Thode
2023-09-02 17:55 Matthew Thode
2023-08-02 21:10 Matthew Thode
2023-07-15 15:09 Matthew Thode
2023-07-09  4:47 Sam James
2023-06-28  7:19 Sam James
2023-06-12  6:01 Arthur Zamarin
2023-06-03  6:02 WANG Xuerui
2023-05-11  7:15 Jakov Smolić
2023-05-10 16:08 Sam James
2023-05-10 16:08 Sam James
2023-03-28 21:17 Matthew Thode
2023-03-01  1:29 Matthew Thode
2023-03-01  1:29 Matthew Thode
2023-02-01 17:30 Matthew Thode
2023-02-01 17:30 Matthew Thode
2023-01-01 18:01 Matthew Thode
2022-10-03  4:33 Matthew Thode
2022-09-02 15:13 Matthew Thode
2022-08-06 17:31 Matthew Thode
2022-06-04 18:27 Matthew Thode
2022-04-03  3:36 Matthew Thode
2022-01-14 17:36 Jakov Smolić
2022-01-14 17:36 Jakov Smolić
2021-11-20 15:34 Arthur Zamarin
2021-11-02  9:14 Agostino Sarubbo
2021-10-27  6:35 Agostino Sarubbo
2021-06-25 22:16 Georgy Yakovlev
2021-02-16  3:08 Matthew Thode
2021-02-14 22:57 Matthew Thode
2021-01-01 20:43 David Seifert
2021-01-01 18:04 David Seifert
2020-08-19 19:56 Sam James
2020-05-09 22:31 Sergei Trofimovich
2019-08-02  1:14 Matthew Thode
2019-07-02 15:44 Matthew Thode
2019-06-27 15:25 Matthew Thode
2019-06-02 20:12 Matthew Thode
2019-06-02 17:22 Matthew Thode
2019-05-03 15:55 Matthew Thode
2019-05-03 15:53 Matthew Thode
2019-04-04 14:40 Matthew Thode
2019-04-04 14:40 Matthew Thode
2019-03-04 19:58 Matthew Thode
2019-03-03 21:47 Matthew Thode
2018-12-04 17:59 Matthew Thode
2018-11-04 16:59 Matthew Thode
2018-02-04  0:49 Matt Thode
2018-01-03 20:15 Matt Thode
2017-08-28  0:55 Matt Thode
2017-08-02 18:52 Matt Thode
2017-07-29 19:32 Matt Thode
2017-07-29 19:32 Matt Thode
2017-07-03 16:55 Matt Thode
2017-06-30 16:12 Matt Thode
2017-06-01 23:55 Matt Thode
2016-12-01 17:06 Matt Thode
2016-12-01 17:06 Matt Thode
2016-11-02 15:09 Matt Thode
2016-10-02 19:43 Matt Thode
2016-10-02 19:43 Matt Thode
2016-09-03  0:25 Matt Thode
2016-08-02 15:59 Matt Thode
2016-06-29 22:33 Alexey Shvetsov
2016-06-04 15:39 Matt Thode
2016-06-03 23:17 Matt Thode
2016-05-11  0:43 Matt Thode
2016-05-10  1:05 Matt Thode
2016-03-26 16:39 Agostino Sarubbo
2016-02-23 19:56 Matt Thode
2015-08-24 14:04 Agostino Sarubbo
2015-08-24 14:02 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478227045.6f20a0a29204f073bbf6ab09d63dfe65d9d8dde4.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox