public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bolt/
Date: Thu, 16 May 2024 16:20:53 +0000 (UTC)	[thread overview]
Message-ID: <1715876388.e22537c97d71603fefa727e13828f26861d4e2a0.chutzpah@gentoo> (raw)

commit:     e22537c97d71603fefa727e13828f26861d4e2a0
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 16:19:48 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu May 16 16:19:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22537c9

sys-apps/bolt: add 0.9.8

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 sys-apps/bolt/Manifest          |  1 +
 sys-apps/bolt/bolt-0.9.8.ebuild | 71 +++++++++++++++++++++++++++++++++++++++++
 sys-apps/bolt/metadata.xml      |  3 ++
 3 files changed, 75 insertions(+)

diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest
index da10152e37d4..73d7b3d64309 100644
--- a/sys-apps/bolt/Manifest
+++ b/sys-apps/bolt/Manifest
@@ -3,3 +3,4 @@ DIST bolt-0.9.2.tar.gz 252532 BLAKE2B 45ea8ae2e77a90099152e708dafe68e63492d0370b
 DIST bolt-0.9.3.tar.gz 253085 BLAKE2B 7547a35aa16a7681737989c72dfd2e13245eb50c7b814de979974750e3c8805156fd22054308d715299baab3ebd4144923aacc04ef301ee039e84b6370cbcba7 SHA512 2160831011090e75cf54408525f53ead6c0e7797de8a4afdd07ef5a035f8e1aa58f34efb9bd52e6e7cd93ac17751e72ff27e99f2b372a5720b2cbadd6abb3c26
 DIST bolt-0.9.6.tar.bz2 192324 BLAKE2B 88e5b94e75833bb5cef090650158ffd26e642188e876cf54407fee7535498faa7ff138b7d47911ea85cacf2bb6ac778b32c23d5cd942c27d1edacc395ec6c9a3 SHA512 7a72b17dbb02917fd55cc480bc4c3ec948577b61aab2ffb366608e82ca65add4e7b402c3b89fd3f98f660165b335ebc9564444bbae3ab55bd6a63c4e0019266a
 DIST bolt-0.9.7.tar.gz 255976 BLAKE2B c7764cb1334f2df96856cb9a92fe6c0ba97ed81340690537fe4567f81bbbf1ee4fbfc659c8b43716f6756d53ab21c71a5c8c9952aea19d1c3f0c14386d327331 SHA512 a9ae0425cdba8932356ec4dcf3f6b3469478c01d47ef3b741c0a841117c81b354f35860be6011ea3b43b28ae10164909a82e2bdbcf92e8541c637cf44277a36c
+DIST bolt-0.9.8.tar.bz2 192836 BLAKE2B 7a06572562af5586d479fee58fb2469b8d804d6eafb41a52c5a575ef2acf616fb684b4e92181430444d67d9889c836bd6d96e1a6d3460cd01300f80d99876c04 SHA512 e9b2ccca66930ee40fd283b09e4bd2bffe1f496e4f898a9d4e069e673a2c9320d456b9ad4b33c4e3e26d25f363985a798c6c860c4c0b103558dbbab78f02ba2b

diff --git a/sys-apps/bolt/bolt-0.9.8.ebuild b/sys-apps/bolt/bolt-0.9.8.ebuild
new file mode 100644
index 000000000000..d1c22d56d103
--- /dev/null
+++ b/sys-apps/bolt/bolt-0.9.8.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info meson udev
+
+DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3"
+HOMEPAGE="https://gitlab.freedesktop.org/bolt/bolt"
+SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv ~x86"
+IUSE="selinux test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-libs/glib-2.56.0:2
+	virtual/libudev:=
+	virtual/udev
+	sys-auth/polkit[introspection]
+	selinux? ( sec-policy/selinux-thunderbolt )
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-util/umockdev )
+"
+BDEPEND="
+	app-text/asciidoc
+	dev-util/glib-utils
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	if use kernel_linux && kernel_is lt 5 6; then
+		CONFIG_CHECK="~THUNDERBOLT"
+		ERROR_THUNDERBOLT="This package requires the thunderbolt kernel driver."
+	else
+		CONFIG_CHECK="~USB4"
+		ERROR_USB4="This package requires the USB4 kernel driver for Thunderbolt support."
+	fi
+	CONFIG_CHECK+=" ~HOTPLUG_PCI"
+	ERROR_HOTPLUG_PCI="Thunderbolt requires PCI hotplug support."
+
+	linux-info_pkg_setup
+}
+
+src_configure() {
+	local emesonargs=(
+		-Dman=true
+		--sysconfdir="${EPREFIX}"/etc
+		--localstatedir="${EPREFIX}"/var
+		--sharedstatedir="${EPREFIX}"/var/lib
+	)
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+	newinitd "${FILESDIR}"/${PN}.openrc-r1 boltd
+	keepdir /var/lib/boltd
+}
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}

diff --git a/sys-apps/bolt/metadata.xml b/sys-apps/bolt/metadata.xml
index ea1b2836c760..326932801a6a 100644
--- a/sys-apps/bolt/metadata.xml
+++ b/sys-apps/bolt/metadata.xml
@@ -9,4 +9,7 @@
 		<email>chutzpah@gentoo.org</email>
 		<name>Patrick McLean</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="freedesktop-gitlab">bolt/bolt</remote-id>
+	</upstream>
 </pkgmetadata>


             reply	other threads:[~2024-05-16 16:20 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 16:20 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-22 19:22 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bolt/ Matthew Thode
2024-05-16 21:35 Patrick McLean
2024-05-16 16:20 Patrick McLean
2024-02-21 18:17 Patrick McLean
2023-12-08 18:29 Patrick McLean
2023-11-14 21:49 Kenton Groombridge
2022-10-28  3:37 Jakov Smolić
2022-10-28  3:37 Jakov Smolić
2022-08-26 23:28 Sam James
2022-08-26 23:27 Sam James
2022-08-26 21:01 Matt Turner
2022-07-22 18:30 Matt Turner
2021-08-06 15:13 Matthew Thode
2021-07-05 20:02 Matthew Thode
2021-06-06  3:49 Matthew Thode
2021-04-12 17:33 Sam James
2021-04-12 17:33 Sam James
2021-01-19 17:40 Matthew Thode
2020-10-16  2:04 Matthew Thode
2020-10-07 11:05 Agostino Sarubbo
2020-10-07 10:44 Agostino Sarubbo
2020-08-24 18:14 Matthew Thode
2020-07-03 22:48 Matthew Thode
2020-06-09 21:31 Matthew Thode
2020-01-30 22:08 Matthew Thode
2020-01-03 20:42 Matthew Thode
2019-11-26 10:59 Thomas Deutschmann
2019-10-15 15:52 Matthew Thode
2019-07-11  2:12 Matthew Thode
2019-03-28 20:49 Matthew Thode
2018-10-02 15:15 Matthew Thode
2018-10-01 21:35 Matthew Thode
2018-07-30 17:04 Matt Thode
2018-06-28 15:42 Matt Thode

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=1715876388.e22537c97d71603fefa727e13828f26861d4e2a0.chutzpah@gentoo \
    --to=chutzpah@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