public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/tgt/
Date: Thu,  4 Jan 2024 21:00:36 +0000 (UTC)	[thread overview]
Message-ID: <1704402025.dd8b6c0146555692588880f8681b03b54e338bd9.prometheanfire@gentoo> (raw)

commit:     dd8b6c0146555692588880f8681b03b54e338bd9
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 21:00:25 2024 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 21:00:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8b6c01

sys-block/tgt: add 1.0.90

Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 sys-block/tgt/Manifest          |  1 +
 sys-block/tgt/tgt-1.0.90.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest
index 8882b6701352..a76d5f724ce5 100644
--- a/sys-block/tgt/Manifest
+++ b/sys-block/tgt/Manifest
@@ -1,2 +1,3 @@
 DIST tgt-1.0.88.tar.gz 305767 BLAKE2B d9a35da5c12ba1621473a04f59ffc85364412443854e4b9d88ba7ae7a7120dbbf6cf233852ef33cca2f19bb67acd54dcdd97041812277cc7eb9359d2483289d4 SHA512 b1ac4da634ff65edfd67cfcbd4509772216ba411b8c389cd209d3abe7c72b19f8e261c627e3ad8343faeebe3d8b758855184b50ab9e635d11c707ba3bb79fe70
 DIST tgt-1.0.89.tar.gz 305773 BLAKE2B c128e307246c938ee9b41fa9d0783cfa488e103f38c8907768bc46ec46dfc6fa7b8aad5e14f43dfd111a5b6590b41ce6cf77683c2dc123ab5917f89e7c3d951c SHA512 4a3f2e1e2a9e98fbb6892fb8171633efd15ce131f0e9294d95a7d8b23b6df739f11529e50ed03869d65a8a84a57f7337901f36e010a770a051caaa7ba2b47e7a
+DIST tgt-1.0.90.tar.gz 305964 BLAKE2B ee8696013af85e9171dae09501502dbdc26e72568ff55d5c4867a7122baabf39d034e648a2d09c23b31563aea844129397c8ca803caca5d8fa59e3f73b4cbf34 SHA512 5fe0a1d25f60d80d840432ed74d906b45bad6f11274ec580e8844ee802008cf09f2086b39e0d868868e65d314221d48057c1473a11488eb8cabc7b05ee03dbbb

diff --git a/sys-block/tgt/tgt-1.0.90.ebuild b/sys-block/tgt/tgt-1.0.90.ebuild
new file mode 100644
index 000000000000..24559d926972
--- /dev/null
+++ b/sys-block/tgt/tgt-1.0.90.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 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 ~arm 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
+}


             reply	other threads:[~2024-01-04 21:00 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 21:00 Matthew 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-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-04  2:38 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=1704402025.dd8b6c0146555692588880f8681b03b54e338bd9.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