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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4456E158091 for ; Fri, 3 Jun 2022 05:32:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 643A5E0920; Fri, 3 Jun 2022 05:32:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CAAB0E0923 for ; Fri, 3 Jun 2022 05:32:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CAF1A342567 for ; Fri, 3 Jun 2022 05:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D72734E7 for ; Fri, 3 Jun 2022 05:32:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1654234188.6c9fd029ec53ec921bcbbce3ea12f6c5d01eb270.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/moolticute/files/, app-crypt/moolticute/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/moolticute/files/moolticuted.init-r1 app-crypt/moolticute/moolticute-0.43.19-r1.ebuild app-crypt/moolticute/moolticute-9999.ebuild X-VCS-Directories: app-crypt/moolticute/files/ app-crypt/moolticute/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6c9fd029ec53ec921bcbbce3ea12f6c5d01eb270 X-VCS-Branch: master Date: Fri, 3 Jun 2022 05:32:45 +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: 276e75ae-bf81-4a6e-b592-fb7cda89a7bd X-Archives-Hash: 6d86de68b6612d6e2a9b422b98f3c63b commit: 6c9fd029ec53ec921bcbbce3ea12f6c5d01eb270 Author: Brian Evans gentoo org> AuthorDate: Fri Jun 3 05:24:36 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jun 3 05:29:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9fd029 app-crypt/moolticute: Improve OpenRC script The attached script updates a couple things which effectively is the same as the current model however it follows the modular nature of the declarative syntax. Changes: * Splits start_stop_daemon_args into command_background and command_user options. Closes: https://bugs.gentoo.org/828074 Signed-off-by: Brian Evans gentoo.org> Signed-off-by: Sam James gentoo.org> app-crypt/moolticute/files/moolticuted.init-r1 | 12 ++++++++++++ .../{moolticute-9999.ebuild => moolticute-0.43.19-r1.ebuild} | 4 ++-- app-crypt/moolticute/moolticute-9999.ebuild | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app-crypt/moolticute/files/moolticuted.init-r1 b/app-crypt/moolticute/files/moolticuted.init-r1 new file mode 100644 index 000000000000..8c4942a34935 --- /dev/null +++ b/app-crypt/moolticute/files/moolticuted.init-r1 @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/bin/moolticuted +command_background="yes" +pidfile=/var/run/moolticuted.pid +command_user="nobody:usb" + +depend() { + need udev +} diff --git a/app-crypt/moolticute/moolticute-9999.ebuild b/app-crypt/moolticute/moolticute-0.43.19-r1.ebuild similarity index 92% copy from app-crypt/moolticute/moolticute-9999.ebuild copy to app-crypt/moolticute/moolticute-0.43.19-r1.ebuild index 08512b4847b9..ea058a356a20 100644 --- a/app-crypt/moolticute/moolticute-9999.ebuild +++ b/app-crypt/moolticute/moolticute-0.43.19-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,7 +53,7 @@ src_install() { emake install INSTALL_ROOT="${D}" udev_dorules "${FILESDIR}/50-mooltipass.rule" - newinitd "${FILESDIR}/moolticuted.init" moolticuted + newinitd "${FILESDIR}/moolticuted.init-r1" moolticuted } pkg_postinst() { diff --git a/app-crypt/moolticute/moolticute-9999.ebuild b/app-crypt/moolticute/moolticute-9999.ebuild index 08512b4847b9..ea058a356a20 100644 --- a/app-crypt/moolticute/moolticute-9999.ebuild +++ b/app-crypt/moolticute/moolticute-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,7 +53,7 @@ src_install() { emake install INSTALL_ROOT="${D}" udev_dorules "${FILESDIR}/50-mooltipass.rule" - newinitd "${FILESDIR}/moolticuted.init" moolticuted + newinitd "${FILESDIR}/moolticuted.init-r1" moolticuted } pkg_postinst() {