From 90a73bb153519a9eac2a23eb9029b99b759e7892 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Sat, 9 Dec 2023 11:11:11 +0000
Subject: gentoo auto-resync : 09:12:2023 - 11:11:11

---
 sys-apps/syd/Manifest         |   5 +-
 sys-apps/syd/syd-3.8.3.ebuild | 177 -----------------------------------------
 sys-apps/syd/syd-3.8.6.ebuild | 178 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 181 insertions(+), 179 deletions(-)
 delete mode 100644 sys-apps/syd/syd-3.8.3.ebuild
 create mode 100644 sys-apps/syd/syd-3.8.6.ebuild

(limited to 'sys-apps/syd')

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index beb4e82b8501..0391df92e221 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -52,6 +52,7 @@ DIST log-0.4.20.crate 38307 BLAKE2B cb9c9a401b49bd68c18d5e42f2ed94446f1aeb184caa
 DIST memchr-2.6.4.crate 94439 BLAKE2B d1136f7105a33565214fdeecdc5a95e74d7fc7cf45997f81bf3cf389f3015fa561ab326433ddcff2db0b7259246eb6d26fc7b4e3c90c3af8b9b7ed7e8ec56ba0 SHA512 1065a67e04ec9210c70e430288e0a8d39f36ce6414722099553e99112ea2f8f710eae44bf39f8775b9850e6c8a50e634a1b1b084a8eb4f6b2eae6697dcf5b5f4
 DIST memoffset-0.7.1.crate 8556 BLAKE2B 1ef270f1c8dba32e66cf47a1835f10c342024762c0e56953f16e82d575250028154054d4c42b1324c60f955a40fad3bbb1c5fced147c11c9a4ad62f6f0e948c3 SHA512 40ca3c4b1fb929bec75bfcde0135037f81a6c5aa80181bc7dd7bbcd9c0946288eea8d23fca95e296567ccb02155ed0f66c7c23644b5cb3e6d3932be9f9742157
 DIST nix-0.26.4.crate 279099 BLAKE2B 41debf1f21427ad6c25c6cd26b7867feb8ba46366028c4b74073307e902e526543f536fc0a66db2cdc5a52fbbf9166a6a4843aba57e5e5caada3d914286ddd60 SHA512 cc68ff8e3e8ea8635c6fd4c0a866cf42121aa3e25165666ef3b97b5b2c1d9273cba6f689e80eb812b55b5ee513390924a926d95fce45de0a74b98764dd1fa27d
+DIST nix-0.27.1.crate 286494 BLAKE2B 63fbe347360ad4b7a86f30bf2f1b27ff1ec581145a90c34160f4d143e9c297a34a2ee72e9de3a48bd3418657fbc9bafd09b704ec15a42b16b3a4187d5304ce77 SHA512 7b35a0f87427eb1b5e1480d7daedafea4609b7f3a4fcf48ca99bdbc2f150865996539f2c51c7ae6a6a13169614681fc838efb306994b020d44b45735a7380010
 DIST nonempty-0.8.1.crate 9782 BLAKE2B d3f77b5bb0a8b11073861188c678fde3b9c0985227a2cd3d51191acae427fed501960e75a5f66139b79f429559637e9a0dcc6fa0cd526c5550d5ed9dbc49d855 SHA512 5c38bc88bd5422aea742b7b18ca25e12340a2d7d32ddab4a7e45c1af6094c6d417b376a00177992417d224cc8994a4f1c6a1c13f11b9e21867f2d395f013af3b
 DIST num-traits-0.2.17.crate 50190 BLAKE2B a549ef00c749dc7f276c4817477d1f9dab70cba01b6a3afa5743f16f16353bc50d992d7446a54859cf750a410d66c8cd3440708a6b91fd89d3b8889f8fff1668 SHA512 4d47d3e2f5a31019e038e609897cb0cef1ba061b35cee7e2a02e65179dcdd4960bd5b9bc759b5c013d699b3fbd9b014940a15e36658f7d4fd12cb0c7841c5b4e
 DIST num_cpus-1.16.0.crate 15713 BLAKE2B 11b432fc7c7496d48918f09ed0954e0f1d0845596301266321293b374392898853fb7c313a0b0fd9d22d9dbfe3ccc5cc1e38f38407c89b2e5906eb76caa6ad68 SHA512 a75863afc4a563e63c64d06471c7921615355d98011ea9497b1f1a7dac2bdfc876509136018e8062ac38575ccf476a196d1fd9231e09e90017333bbf2df4615d
@@ -86,8 +87,8 @@ DIST slab-0.4.9.crate 17108 BLAKE2B 8e5288c4d00efa915e7be27b55f2204850968624f0d8
 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d
 DIST strum-0.25.0.crate 5539 BLAKE2B 9c031e5ce19e2ecaa63e63118197c740ae9295b8881f6280ad92847b99fca6fb08b0d395ab1b2a66e25c8374cd18866d8436540538e3c0f1f047fd2235971b40 SHA512 a3522df79547e94518f25a0e29248f67f1d7e2586a7a424d7d996cb6bfe5d98fcc4fc44da7ddcd4e35a1127b2816bee55107f30cb2a559f5b9bbb1346139544a
 DIST strum_macros-0.25.3.crate 22570 BLAKE2B 511af0d1f0f76df7ad1528c79987b6e09390bfb33e1c34078fb5450171aca7f169afb83fa2f2338a861ded6842c8535ea6e4cdb0d31f341edab0a06d7eeac16c SHA512 e6ebc00943d9f88104815a5bd6a302a391a06fb0ed5ff836e01d341150628684e00e5e2e5b3f6466ece92d376985246f818243a0d1d775cfa55d1c50c0ec0c62
-DIST syd-3.8.3.tar.gz 327458 BLAKE2B 9910e1fc43e6c28f8885ecc5e049060c1c71b30e16630a74054a77798dd8a7f17fe35a8e94ab036500ef614b725ec073fe287e54f34676d6db7fcdf066f346b5 SHA512 cdb2f52f36cea55f4df7f899a5e34033ccc037d04ac305d372ea9e7f3057f4b99d60bb314b96b72c3666e43a13f75651d1da4b3732354ca4e1476f0a3c903650
 DIST syd-3.8.5.tar.gz 371112 BLAKE2B ad8c9ea374f50bfdaedc673176962368e68bc86c5470fd5b194edba29d5b9a6d66add83b526b801e6a517144cd81d8ad4ffd9bd29a50203977996dbe27b76c51 SHA512 60f90be02e744775fc7ba4734fb614718cf200bf3e8a5dbcae115538ed2f22181fab043e24498802e7bdbde2638685787579b1da19f38fff56def990ccf55a95
+DIST syd-3.8.6.tar.gz 373078 BLAKE2B 311fc0c390e8b60eea524b3f80f6bfa6e64482bbf7aedc3874c9af4041543597531d5704222c44be7c5c4a4428a572ad713d73829e06b6321f4ab73de24f7837 SHA512 6541707bd465f086c8a811f1e0e4a1e14ba77d0027a2369fca0dd2a8176fb3bf50fc8760034b646699a9602ef5904465b187fde60fd0c153537cc526e6898b0d
 DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3
 DIST tempfile-3.8.1.crate 32164 BLAKE2B abccff7939df8cd223a5a8ee61e5af7c35335f1cd61b3e72fed9a8565465c293e99938d57b50743141aace3cd20422ad5d3090507ed66561cb0155771fe0a5ec SHA512 b257bfb70793575d59ec4cf4b7492aff83dafb68b367a48594211f476a3b1d4800b69bddc405d8749d8b320c30cbe71be1261a60b4bbc862663b37a6c7d97a3a
 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9
@@ -124,6 +125,6 @@ DIST windows_x86_64_gnullvm-0.52.0.crate 430165 BLAKE2B af9345a1f6e0ed1392ca1534
 DIST windows_x86_64_msvc-0.42.2.crate 666936 BLAKE2B bc3a456e7f8bc272f8978ec69506ec9d89f97b7582ebbe05d8bd57bdf8156ef62d0d2dc6137a97e81d54059d70db97a24af9a038adff357f5dfd28805d6193b5 SHA512 53a35f438903fceb59e36bd2ac331773fb8e6c8c5a6d984e79021761f91b3b4a23efe49d219667a4d0d23dcdbf906da9c24e74fb1cff93395b5c55ff524e3788
 DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0
 DIST windows_x86_64_msvc-0.52.0.crate 821600 BLAKE2B cc448b65f98fc0fc4949ae622b7020d2dae927ae45310649f6ef71809740eda9d3db0fc035676c201fd9ab9639e9e7f21e2e992b4c789542f12b419d2c752179 SHA512 3aaee31533a1a48a6ab5cd15b3cadfbd906a93a153e53919d0aa74e440d11e29830554e4e014c215f5b88a475bb733fa8ba4ce9d773d3e23a40ea9ad37ddd0a7
-EBUILD syd-3.8.3.ebuild 3527 BLAKE2B da48a345e2a3842655aecfc600c999f463f747e85f2891dad155e624c5109491398078bdbc0ea3c44ddb6f09880cb5bd5382bc5724fabdc65e7aa344d00e3e02 SHA512 d33b6549259818decafdec9e5ce526e33d77a9d74a50b3281d7ef478975776caf1801b665f66cfd003e011ae596cee431164751f3f09496e3e599574065a0ed6
 EBUILD syd-3.8.5.ebuild 3527 BLAKE2B da48a345e2a3842655aecfc600c999f463f747e85f2891dad155e624c5109491398078bdbc0ea3c44ddb6f09880cb5bd5382bc5724fabdc65e7aa344d00e3e02 SHA512 d33b6549259818decafdec9e5ce526e33d77a9d74a50b3281d7ef478975776caf1801b665f66cfd003e011ae596cee431164751f3f09496e3e599574065a0ed6
+EBUILD syd-3.8.6.ebuild 3539 BLAKE2B 7178bd489e13f648fed29973debf451451c00bb10b680ba65b224e3a25f38b6f641722b89d04fedd57110366e348c6ecbb34a81128fef6c058bed55dfdf93659 SHA512 5321f3e1ba4d39c0637a0ad3e48a22337e772002bd8303266b4d65ce39855f48da6ee7bf0150b56c7a5fd666fbe7dc211ed6452c7d98dfc40768b527fb1a3c7d
 MISC metadata.xml 254 BLAKE2B 0e6d918ec0aa523a1d7ff2da1c9081d8257c2a83396bc5c7033412341b400364ee2d9b155d9d1df05da92b11f6a940dcda2adae7c158e479d082ce4a0583971b SHA512 24b045489397ba3bcd9dc48dbbc8a26189c1220053c04f09035dd735d2a3fb2ad6a55791f943f4502fee20c633c4a30983b76093f31ce752994f424fbb3cd21b
diff --git a/sys-apps/syd/syd-3.8.3.ebuild b/sys-apps/syd/syd-3.8.3.ebuild
deleted file mode 100644
index da5e9e9ef19e..000000000000
--- a/sys-apps/syd/syd-3.8.3.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RESTRICT="test" # fails with sandbox
-
-CRATES="
-	aho-corasick@1.1.2
-	anes@0.1.6
-	anstyle@1.0.4
-	anyhow@1.0.75
-	argv@0.1.9
-	autocfg@1.1.0
-	bitflags@1.3.2
-	bitflags@2.4.1
-	bstr@1.8.0
-	byteorder@1.5.0
-	cast@0.3.0
-	cfg-if@1.0.0
-	ciborium-io@0.2.1
-	ciborium-ll@0.2.1
-	ciborium@0.2.1
-	clap@4.4.10
-	clap_builder@4.4.9
-	clap_lex@0.6.0
-	criterion-plot@0.5.0
-	criterion@0.5.1
-	crossbeam-channel@0.5.8
-	crossbeam-utils@0.8.16
-	either@1.9.0
-	env_logger@0.10.1
-	errno@0.3.8
-	fastrand@2.0.1
-	futures-channel@0.3.29
-	futures-core@0.3.29
-	futures-executor@0.3.29
-	futures-task@0.3.29
-	futures-util@0.3.29
-	getargs@0.5.0
-	globset@0.4.14
-	half@1.8.2
-	heck@0.4.1
-	hermit-abi@0.3.3
-	hex@0.4.3
-	io-lifetimes@1.0.11
-	io-uring@0.6.2
-	ipnetwork@0.20.0
-	is-terminal@0.4.9
-	itertools@0.10.5
-	itoa@1.0.9
-	lazy_static@1.4.0
-	libc@0.2.150
-	libseccomp-sys@0.2.1
-	libseccomp@0.3.0
-	linux-raw-sys@0.1.4
-	linux-raw-sys@0.4.11
-	lock_api@0.4.11
-	log@0.4.20
-	memchr@2.6.4
-	memoffset@0.7.1
-	nix@0.26.4
-	nonempty@0.8.1
-	num-traits@0.2.17
-	num_cpus@1.16.0
-	once_cell@1.18.0
-	oorandom@11.1.3
-	openat2@0.1.2
-	parking_lot@0.12.1
-	parking_lot_core@0.9.9
-	parse-size@1.0.0
-	pin-project-lite@0.2.13
-	pin-utils@0.1.0
-	pkg-config@0.3.27
-	proc-macro2@1.0.70
-	procfs@0.15.1
-	quote@1.0.33
-	redox_syscall@0.4.1
-	regex-automata@0.4.3
-	regex-syntax@0.8.2
-	regex@1.10.2
-	rustix@0.36.17
-	rustix@0.38.25
-	rustversion@1.0.14
-	rusty_pool@0.7.0
-	ryu@1.0.15
-	same-file@1.0.6
-	scopeguard@1.2.0
-	sendfd@0.4.3
-	serde@1.0.193
-	serde_derive@1.0.193
-	serde_json@1.0.108
-	slab@0.4.9
-	smallvec@1.11.2
-	strum@0.25.0
-	strum_macros@0.25.3
-	syn@2.0.39
-	tempfile@3.8.1
-	tinytemplate@1.2.1
-	unicode-ident@1.0.12
-	walkdir@2.4.0
-	winapi-i686-pc-windows-gnu@0.4.0
-	winapi-util@0.1.6
-	winapi-x86_64-pc-windows-gnu@0.4.0
-	winapi@0.3.9
-	windows-sys@0.45.0
-	windows-sys@0.48.0
-	windows-sys@0.52.0
-	windows-targets@0.42.2
-	windows-targets@0.48.5
-	windows-targets@0.52.0
-	windows_aarch64_gnullvm@0.42.2
-	windows_aarch64_gnullvm@0.48.5
-	windows_aarch64_gnullvm@0.52.0
-	windows_aarch64_msvc@0.42.2
-	windows_aarch64_msvc@0.48.5
-	windows_aarch64_msvc@0.52.0
-	windows_i686_gnu@0.42.2
-	windows_i686_gnu@0.48.5
-	windows_i686_gnu@0.52.0
-	windows_i686_msvc@0.42.2
-	windows_i686_msvc@0.48.5
-	windows_i686_msvc@0.52.0
-	windows_x86_64_gnu@0.42.2
-	windows_x86_64_gnu@0.48.5
-	windows_x86_64_gnu@0.52.0
-	windows_x86_64_gnullvm@0.42.2
-	windows_x86_64_gnullvm@0.48.5
-	windows_x86_64_gnullvm@0.52.0
-	windows_x86_64_msvc@0.42.2
-	windows_x86_64_msvc@0.48.5
-	windows_x86_64_msvc@0.52.0
-"
-
-inherit cargo
-
-DESCRIPTION="practical userspace application sandbox"
-HOMEPAGE="https://gitlab.exherbo.org/sydbox"
-
-SRC_URI="https://git.sr.ht/~alip/syd/archive/v${PV}.tar.gz -> ${P}.tar.gz
-	${CARGO_CRATE_URIS}
-"
-
-IUSE="+static"
-
-LICENSE="GPL-3+"
-# Dependent crate licenses
-LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016"
-
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="static? ( sys-libs/libseccomp[static-libs] )
-	sys-libs/libseccomp"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/syd-v${PV}"
-
-src_compile() {
-	if use static; then
-		export LIBSECCOMP_LINK_TYPE="static"
-		export LIBSECCOMP_LIB_PATH=$(pkgconf --variable=libdir libseccomp)
-		export RUSTFLAGS+="-Clink-args=-static -Clink-args=-no-pie -Clink-args=-Wl,-Bstatic -Ctarget-feature=+crt-static"
-		myfeatures=( "static" )
-	fi
-	cargo_src_compile
-}
-
-src_install () {
-	cargo_src_install
-	dodoc README.md
-	insinto /usr/libexec
-	doins src/esyd.sh
-
-	insinto /etc
-	newins data/user.syd-3 user.syd-3.sample
-}
diff --git a/sys-apps/syd/syd-3.8.6.ebuild b/sys-apps/syd/syd-3.8.6.ebuild
new file mode 100644
index 000000000000..84e5c089212b
--- /dev/null
+++ b/sys-apps/syd/syd-3.8.6.ebuild
@@ -0,0 +1,178 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RESTRICT="test" # fails with sandbox
+
+CRATES="
+	aho-corasick@1.1.2
+	anes@0.1.6
+	anstyle@1.0.4
+	anyhow@1.0.75
+	argv@0.1.9
+	autocfg@1.1.0
+	bitflags@1.3.2
+	bitflags@2.4.1
+	bstr@1.8.0
+	byteorder@1.5.0
+	cast@0.3.0
+	cfg-if@1.0.0
+	ciborium-io@0.2.1
+	ciborium-ll@0.2.1
+	ciborium@0.2.1
+	clap@4.4.10
+	clap_builder@4.4.9
+	clap_lex@0.6.0
+	criterion-plot@0.5.0
+	criterion@0.5.1
+	crossbeam-channel@0.5.8
+	crossbeam-utils@0.8.16
+	either@1.9.0
+	env_logger@0.10.1
+	errno@0.3.8
+	fastrand@2.0.1
+	futures-channel@0.3.29
+	futures-core@0.3.29
+	futures-executor@0.3.29
+	futures-task@0.3.29
+	futures-util@0.3.29
+	getargs@0.5.0
+	globset@0.4.14
+	half@1.8.2
+	heck@0.4.1
+	hermit-abi@0.3.3
+	hex@0.4.3
+	io-lifetimes@1.0.11
+	io-uring@0.6.2
+	ipnetwork@0.20.0
+	is-terminal@0.4.9
+	itertools@0.10.5
+	itoa@1.0.9
+	lazy_static@1.4.0
+	libc@0.2.150
+	libseccomp-sys@0.2.1
+	libseccomp@0.3.0
+	linux-raw-sys@0.1.4
+	linux-raw-sys@0.4.11
+	lock_api@0.4.11
+	log@0.4.20
+	memchr@2.6.4
+	memoffset@0.7.1
+	nix@0.26.4
+	nix@0.27.1
+	nonempty@0.8.1
+	num-traits@0.2.17
+	num_cpus@1.16.0
+	once_cell@1.18.0
+	oorandom@11.1.3
+	openat2@0.1.2
+	parking_lot@0.12.1
+	parking_lot_core@0.9.9
+	parse-size@1.0.0
+	pin-project-lite@0.2.13
+	pin-utils@0.1.0
+	pkg-config@0.3.27
+	proc-macro2@1.0.70
+	procfs@0.15.1
+	quote@1.0.33
+	redox_syscall@0.4.1
+	regex-automata@0.4.3
+	regex-syntax@0.8.2
+	regex@1.10.2
+	rustix@0.36.17
+	rustix@0.38.25
+	rustversion@1.0.14
+	rusty_pool@0.7.0
+	ryu@1.0.15
+	same-file@1.0.6
+	scopeguard@1.2.0
+	sendfd@0.4.3
+	serde@1.0.193
+	serde_derive@1.0.193
+	serde_json@1.0.108
+	slab@0.4.9
+	smallvec@1.11.2
+	strum@0.25.0
+	strum_macros@0.25.3
+	syn@2.0.39
+	tempfile@3.8.1
+	tinytemplate@1.2.1
+	unicode-ident@1.0.12
+	walkdir@2.4.0
+	winapi-i686-pc-windows-gnu@0.4.0
+	winapi-util@0.1.6
+	winapi-x86_64-pc-windows-gnu@0.4.0
+	winapi@0.3.9
+	windows-sys@0.45.0
+	windows-sys@0.48.0
+	windows-sys@0.52.0
+	windows-targets@0.42.2
+	windows-targets@0.48.5
+	windows-targets@0.52.0
+	windows_aarch64_gnullvm@0.42.2
+	windows_aarch64_gnullvm@0.48.5
+	windows_aarch64_gnullvm@0.52.0
+	windows_aarch64_msvc@0.42.2
+	windows_aarch64_msvc@0.48.5
+	windows_aarch64_msvc@0.52.0
+	windows_i686_gnu@0.42.2
+	windows_i686_gnu@0.48.5
+	windows_i686_gnu@0.52.0
+	windows_i686_msvc@0.42.2
+	windows_i686_msvc@0.48.5
+	windows_i686_msvc@0.52.0
+	windows_x86_64_gnu@0.42.2
+	windows_x86_64_gnu@0.48.5
+	windows_x86_64_gnu@0.52.0
+	windows_x86_64_gnullvm@0.42.2
+	windows_x86_64_gnullvm@0.48.5
+	windows_x86_64_gnullvm@0.52.0
+	windows_x86_64_msvc@0.42.2
+	windows_x86_64_msvc@0.48.5
+	windows_x86_64_msvc@0.52.0
+"
+
+inherit cargo
+
+DESCRIPTION="practical userspace application sandbox"
+HOMEPAGE="https://gitlab.exherbo.org/sydbox"
+
+SRC_URI="https://git.sr.ht/~alip/syd/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	${CARGO_CRATE_URIS}
+"
+
+IUSE="+static"
+
+LICENSE="GPL-3+"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="static? ( sys-libs/libseccomp[static-libs] )
+	sys-libs/libseccomp"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/syd-v${PV}"
+
+src_compile() {
+	if use static; then
+		export LIBSECCOMP_LINK_TYPE="static"
+		export LIBSECCOMP_LIB_PATH=$(pkgconf --variable=libdir libseccomp)
+		export RUSTFLAGS+="-Clink-args=-static -Clink-args=-no-pie -Clink-args=-Wl,-Bstatic -Ctarget-feature=+crt-static"
+		myfeatures=( "static" )
+	fi
+	cargo_src_compile
+}
+
+src_install () {
+	cargo_src_install
+	dodoc README.md
+	insinto /usr/libexec
+	doins src/esyd.sh
+
+	insinto /etc
+	newins data/user.syd-3 user.syd-3.sample
+}
-- 
cgit v1.2.3