From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79450158042 for ; Mon, 4 Nov 2024 22:20:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2CF9E0815; Mon, 4 Nov 2024 22:20:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 972F7E0815 for ; Mon, 4 Nov 2024 22:20:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81B11342F99 for ; Mon, 4 Nov 2024 22:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9039159D for ; Mon, 4 Nov 2024 22:20:04 +0000 (UTC) From: "Eetu Eloranta" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eetu Eloranta" Message-ID: <1730753937.03bdd99861a72ba7c781b0070f4654875301efde.eetu@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/kanata/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/kanata/kanata-1.7.0.ebuild app-misc/kanata/metadata.xml X-VCS-Directories: app-misc/kanata/ X-VCS-Committer: eetu X-VCS-Committer-Name: Eetu Eloranta X-VCS-Revision: 03bdd99861a72ba7c781b0070f4654875301efde X-VCS-Branch: dev Date: Mon, 4 Nov 2024 22:20:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5d0351b6-a097-44d6-8581-5b17875e9d7d X-Archives-Hash: 63e8cdd265b64a4aa5d3a859f5673eb7 commit: 03bdd99861a72ba7c781b0070f4654875301efde Author: Eetu Eloranta muffinpower fi> AuthorDate: Mon Nov 4 20:38:36 2024 +0000 Commit: Eetu Eloranta muffinpower fi> CommitDate: Mon Nov 4 20:58:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03bdd998 app-misc/kanata: Add cmd use flag Signed-off-by: Eetu Eloranta muffinpower.fi> app-misc/kanata/kanata-1.7.0.ebuild | 12 +++++++++--- app-misc/kanata/metadata.xml | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app-misc/kanata/kanata-1.7.0.ebuild b/app-misc/kanata/kanata-1.7.0.ebuild index f50130cfe..40f2ff468 100644 --- a/app-misc/kanata/kanata-1.7.0.ebuild +++ b/app-misc/kanata/kanata-1.7.0.ebuild @@ -1,8 +1,6 @@ # Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Autogenerated by pycargoebuild 0.13.3 - EAPI=8 CRATES=" @@ -220,5 +218,13 @@ LICENSE+=" Apache-2.0 BSD ISC LGPL-3 MIT MPL-2.0 Unicode-DFS-2016" SLOT="0" KEYWORDS="~amd64" -# Rust package +IUSE="cmd" + QA_FLAGS_IGNORED="usr/bin/kanata" + +src_configure() { + local myfeatures=( + $(usev cmd) + ) + cargo_src_configure +} diff --git a/app-misc/kanata/metadata.xml b/app-misc/kanata/metadata.xml index f83ea8a74..6a0d98453 100644 --- a/app-misc/kanata/metadata.xml +++ b/app-misc/kanata/metadata.xml @@ -5,6 +5,9 @@ eetu@muffinpower.fi Eetu Eloranta + + Enable potentially dangerous "cmd" action to be able run arbitrary commands. + jtroo/kanata