summaryrefslogtreecommitdiff
path: root/sys-apps/bolt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-08 23:11:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-08 23:11:34 +0000
commit1a74c5436dbcb832445250e8f3ed0a00f6c2fcef (patch)
tree894da263e3a728142059a616daf4c6a1925a0efa /sys-apps/bolt
parent39cf9c5c49469d4a3168620ab74b1648c87e205e (diff)
gentoo auto-resync : 08:12:2023 - 23:11:34
Diffstat (limited to 'sys-apps/bolt')
-rw-r--r--sys-apps/bolt/Manifest4
-rw-r--r--sys-apps/bolt/bolt-0.9.6.ebuild71
-rw-r--r--sys-apps/bolt/metadata.xml4
3 files changed, 78 insertions, 1 deletions
diff --git a/sys-apps/bolt/Manifest b/sys-apps/bolt/Manifest
index 319e486e0472..d0216dbc7dde 100644
--- a/sys-apps/bolt/Manifest
+++ b/sys-apps/bolt/Manifest
@@ -3,7 +3,9 @@ AUX bolt.openrc-r1 374 BLAKE2B 91dcbfb842166837d4a89c12e7c8b39db9810ba1ffd18eb1e
DIST bolt-0.9.1.tar.gz 250978 BLAKE2B a3b1ea51704e2b54abb0135013019b9cad6ed9c0acfdb56797e19c9b5a1abe9f921446cfcc5b664f73bbbff857cf8d420f588517d4c633d1b3776a35c37fc882 SHA512 c925c290de75d3fa2dfb9e86b2f14ea39279b3f2ab6bebeced72a7853c901d44de02157d684534af2b54edd3a2e0b2ba61e889579ab1b192f99e98a2d73685d9
DIST bolt-0.9.2.tar.gz 252532 BLAKE2B 45ea8ae2e77a90099152e708dafe68e63492d0370b734612b516d4a772507174c3df75ddd7d6bdea4be5022a88e1e286a738d3b8df6a662ef3b0b92ac7328730 SHA512 69e7ffa58a6dbc8a1b14fd7e11e2291fa60227896ead1a449839716b581c6ab0e351d3ed62f9b51c5e44a5a33ba5e23dc5af73a1b4eef87f733b3231d5454e90
DIST bolt-0.9.3.tar.gz 253085 BLAKE2B 7547a35aa16a7681737989c72dfd2e13245eb50c7b814de979974750e3c8805156fd22054308d715299baab3ebd4144923aacc04ef301ee039e84b6370cbcba7 SHA512 2160831011090e75cf54408525f53ead6c0e7797de8a4afdd07ef5a035f8e1aa58f34efb9bd52e6e7cd93ac17751e72ff27e99f2b372a5720b2cbadd6abb3c26
+DIST bolt-0.9.6.tar.bz2 192324 BLAKE2B 88e5b94e75833bb5cef090650158ffd26e642188e876cf54407fee7535498faa7ff138b7d47911ea85cacf2bb6ac778b32c23d5cd942c27d1edacc395ec6c9a3 SHA512 7a72b17dbb02917fd55cc480bc4c3ec948577b61aab2ffb366608e82ca65add4e7b402c3b89fd3f98f660165b335ebc9564444bbae3ab55bd6a63c4e0019266a
EBUILD bolt-0.9.1.ebuild 1407 BLAKE2B 76542e931593fbbd8ec9d11aed0ffb7ec8ba86803414533c8bc03a0bb20fa996abedc82020aac8b8bbbcd5db12fc9ebf84f86ed94780d0376db12611e90df194 SHA512 2b97614f0f3ee828a73777a931602614ab33bed805922e40f5003a046466745c97f3e85dbefc06221995368026fc09a06252f02778d8d84b7155bfc38f2e16f2
EBUILD bolt-0.9.2.ebuild 1503 BLAKE2B 1f4417ca9410d5ef3b6e9b133749c35a1316ea168ad987f34f07511edd3883e15c532f498b980d770c5ca4ef90b7457c7d07a6a1bd8e048907450bd61f0d469c SHA512 beb22adb784b6fbd63bb1fe4f875518fa246c244eff6518ea3325efcf688db9a8bf371f805d1ed4b4734cc47e483840275d3fe16486ae0d159e9841b170a5bf8
EBUILD bolt-0.9.3.ebuild 1510 BLAKE2B e4bb0dc43a908819536be8f6bfef2192b0bd91bdb7709591a7d6ec6456ea5c4acd26321853827991ef06c3132881a0dca72a8d2bfc934dc38b7205e6489ea7cf SHA512 f1aa444fc9b97175c4835e25bd680ec25e4a84dc3f68dd1c3987f2125cd68f93f2be639f13b2d1cf0b868be33906ca082c26c151a2dbe1cf06c6237b2c038d2d
-MISC metadata.xml 255 BLAKE2B 7788f736048880a23aeeb4baf5daf3bf65fd82dc4e6f56e63d2897a055acebf8ac480d249f297ec54cae1cc44031435effd37165455a16c62ca7acc6be63cf21 SHA512 6069c94a7b02290a08fe052105613139fccd952f5507bac994d2fd9aa4359e9b1b76e5fb0f1111474594d3d25ef6d5ac54b93d611f3512ef9bcbe5cf28f5f35e
+EBUILD bolt-0.9.6.ebuild 1513 BLAKE2B 0e226e6df150925b5959cb2152e9d4916a428a120fe9fb70a8fdcd3362b03c58332e9e3ae6739d95437de6c9cb2438430715ec4b458b4fe3f06cff0314955d50 SHA512 df6053b1cac9ced5343215ead505d856c591174d56198acdf215eba3d080c702e6eaeb8ecdf5b2208d251dd101505dbeb93f3e7d2807ae6df72526baf944bc18
+MISC metadata.xml 365 BLAKE2B 06528669f8093209df3b8539452be005f14cbf23f730b9288e7b562a5c4e051092bcfe732d8561b62bfcb24826a79755913beb20f5026bf62ae978331edd1b2c SHA512 a70f438c0be680be8fad0660b3ec04f9451261192482b4921d7d7fa5286cbbc1222f0f95ce67cec352643506f890f71170fcaf0aceb40a1f2a5ca0445215f9cc
diff --git a/sys-apps/bolt/bolt-0.9.6.ebuild b/sys-apps/bolt/bolt-0.9.6.ebuild
new file mode 100644
index 000000000000..eceef5e6be77
--- /dev/null
+++ b/sys-apps/bolt/bolt-0.9.6.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 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 5c76f7a3fc67..ea1b2836c760 100644
--- a/sys-apps/bolt/metadata.xml
+++ b/sys-apps/bolt/metadata.xml
@@ -5,4 +5,8 @@
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
</pkgmetadata>