diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-21 06:30:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-21 06:30:52 +0000 |
commit | d2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (patch) | |
tree | 0d75edaef0b7c0db490d25119f6b17b386d41c58 /dev-util/0xtools | |
parent | 9097a9c06c0b1e11c7f6579f03e3f32948be3f24 (diff) |
gentoo auto-resync : 21:12:2024 - 06:30:51
Diffstat (limited to 'dev-util/0xtools')
-rw-r--r-- | dev-util/0xtools/0xtools-2.0.3-r3.ebuild (renamed from dev-util/0xtools/0xtools-2.0.3-r2.ebuild) | 1 | ||||
-rw-r--r-- | dev-util/0xtools/0xtools-9999.ebuild | 1 | ||||
-rw-r--r-- | dev-util/0xtools/Manifest | 5 | ||||
-rw-r--r-- | dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd | 34 |
4 files changed, 39 insertions, 2 deletions
diff --git a/dev-util/0xtools/0xtools-2.0.3-r2.ebuild b/dev-util/0xtools/0xtools-2.0.3-r3.ebuild index e6903af81533..9824d4e91272 100644 --- a/dev-util/0xtools/0xtools-2.0.3-r2.ebuild +++ b/dev-util/0xtools/0xtools-2.0.3-r3.ebuild @@ -65,6 +65,7 @@ src_install() { systemd_dounit xcapture.service systemd_dounit xcapture-restart.service systemd_dounit xcapture-restart.timer + newinitd "${FILESDIR}/0xtools-2.0.3-xcapture-r0.initd" xcapture # Setup for "xcapture-bpf". exeinto "/lib/${PN}/xcapture" diff --git a/dev-util/0xtools/0xtools-9999.ebuild b/dev-util/0xtools/0xtools-9999.ebuild index 395a7ccf798a..581161fc5dab 100644 --- a/dev-util/0xtools/0xtools-9999.ebuild +++ b/dev-util/0xtools/0xtools-9999.ebuild @@ -65,6 +65,7 @@ src_install() { systemd_dounit xcapture.service systemd_dounit xcapture-restart.service systemd_dounit xcapture-restart.timer + newinitd "${FILESDIR}/0xtools-2.0.3-xcapture-r0.initd" xcapture # Setup for "xcapture-bpf". exeinto "/lib/${PN}/xcapture" diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest index 116a171edfc0..48a5661be5ad 100644 --- a/dev-util/0xtools/Manifest +++ b/dev-util/0xtools/Manifest @@ -1,4 +1,5 @@ +AUX 0xtools-2.0.3-xcapture-r0.initd 661 BLAKE2B 8008d6734fca2e0d1a739d234b840f69580b92aa5903eaa0c524009486f0e1a4b24b65795b3c25945a3c7dcb2911e84572b7177b27623b1ebd642b7857aec3f8 SHA512 3a75a761263986cec2bf78e2ded6277d985b852cb4b28cad304082f7172ae6c9d3319b6a236a979ab61d3b3647d2289edd9ec1bc212f210c98af807b0e4e755d DIST 0xtools-2.0.3.tar.gz 5991280 BLAKE2B 26d71f43a0fbe72d38e675cc525fc91b4a738dd3a99ef6804f8855d15341a423d1b5c54ba9e015bea539d15617393d8994c1415a3ee0b74d2d49e97f6b243586 SHA512 012655d8d12fe5a853ccb9503471893ee09bf0fbbe5d3b3be52b5857cac965be63279546c240748d10d727abc2383b8cf2e91b07ffee69ae509494fb5c5d6767 -EBUILD 0xtools-2.0.3-r2.ebuild 2021 BLAKE2B af9f18638425e5a160cc8a0d305c7f087215f6f7958395a1072d74e46d1879f5f74800efa36958107839bd957115e9629a1ce45691e7c70f85086b9366ba5d4b SHA512 2985e83d6bb3c3b9cafea4829cd2d192d06b612fa062222fd0b29710ae7192da12b200264dd451668367158b8beb975c01dd89cc1f780a822f3b04551437b280 -EBUILD 0xtools-9999.ebuild 1829 BLAKE2B 383e1378f8acf72c726bf43d4c900dd62e2aac6dd5ca91f08136e40e1f06d3af85d5f0aba61f8fc84e0fbdcc1b1d65c12d2e07c14969a37c2e3e2e611f003efd SHA512 6c7d6713915b9be0eea6cc0ff6e3fe803b4b22e8403822ada5a42f2c2a1e5685cd47342dbab571e935445ed8af8027335b1a73fa2bf1eeaa087db04cd8214f2a +EBUILD 0xtools-2.0.3-r3.ebuild 2086 BLAKE2B 4829f1efdcc0ff5e36a30e0da605b9dec3091311df338b4ab22491833d57b91b0052c5e27ee7c22f7ea9d1842f93e18bcb24a524b48772e9cd1d653db21bd5c0 SHA512 63de0afa35bbb4542c9d571cd65fdecf5428b6b5d11c695d9977b8f6bf03c167d117e2a4308bbd874d532eb34113aca227d02e55a237f80dde4b1eef5630603a +EBUILD 0xtools-9999.ebuild 1894 BLAKE2B ca4ae40b719ad7b7d9817014f75ebd79a22be4d2df5120760adf96ad1a542213778e8d8db711e9d73508c5078bba556f338b9a61784508935d556d75063c9d43 SHA512 48e653a499a09673fff8ac597fc9fc6930e8ee18ac2f2fe1b29cfad4db1e10560ac13fc560dd1bcf1db0ab3c99f9a25a24974934c1ad39099b3d6872c84fbabd MISC metadata.xml 1292 BLAKE2B b7e2505d33b7af4424dc4336a7d8d1536ed70f92e4dccccf725a54473b109f7718adac34960b5238753336c6b2da5fd0e49def8ae249509c4b0c9e4bc42a89cf SHA512 0ecf2c2bab2cf03656f980788cf05849c3d2e5905f70753b03f76615da377a5463b3d30decddc3a97eaf83d9bef55e31ce104ca6cd459eb0f116c9edeba0edf2 diff --git a/dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd b/dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd new file mode 100644 index 000000000000..0a7d427b6b19 --- /dev/null +++ b/dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd @@ -0,0 +1,34 @@ +#!/sbin/openrc-run + +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="0x.Tools xcapture" + +SAMPLEINTERVAL="1" +LOGDIRPATH="/var/log/xcapture" +ADDITIONALOPTIONS="syscall,wchan,exe,cmdline" +MINUTES="59520" + +config_file="/etc/default/xcapture" + +if [ -f "${config_file}" ] ; then + . "${config_file}" +fi + +command="/usr/bin/xcapture" +command_args="-d ${SAMPLEINTERVAL} -c ${ADDITIONALOPTIONS} -o ${LOGDIRPATH}" + +command_background="true" +pidfile="/run/xcapture.pid" + +command_user="root" + +depend() { + config "${config_file}" + after bootmisc +} + +start_pre() { + checkpath -q -d "${LOGDIRPATH}" +} |