From nobody Thu Nov 14 01:47:59 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xpjhv28bmz5ctDk; Thu, 14 Nov 2024 01:47:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xpjhv1WXZz44Rc; Thu, 14 Nov 2024 01:47:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731548879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a5eLQQVSWGeSRG40nDPjJYo+FlvF1M8AH0C+lscGg3c=; b=tpCiKAN2rXUJG3sbOqmpsjVQlLeW3rC65LKmIGbP/O3iDuz2I3Q8nzIH0YWjAQDXPWBFVE hnN9IuWluDnqn9hTztDBCWwUkQ5LABZNuDq8UZOa2ax8tvHyWQU7mR1F1d2+PU4nkGCCd0 gQUOSnGShPsQBUQ1yehsIWvQrCQAqtucqd45mjKw0P2CRPeRhgIiqcceGs9ZCzE1eKP1zk G2EaAemzy1Hq+C5InHEuxfz0OQDgHnxvjnpUfSOEhJgf1MTFazpSlaDsBTQQtaFGqiZ7sW 7vtmhquxmQN8ycLwpBQSNGJxaE9FGHsvwJPcwrSPXEt3ouT16j1FvVPrXTjYcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731548879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a5eLQQVSWGeSRG40nDPjJYo+FlvF1M8AH0C+lscGg3c=; b=t9sDS47m0soEfxDKfIEIlL67D41mEBFFbNjacpRPtj7wXQdvw1TbX4I1eQnnokAPKxqGaq v3mkZ4zk7qMvCNbyM+muX5+OeMcyF/edMTLUCG7DJ3UBhkQ50NGwX63rLVWDjT7Xo8pgyp Ep6jkz+0YC2+oBDTCLlpKu2l9pj3ZsHqse5wrC1DmH1/7YZe5gPrrKNfVXUBkQFR0/vjcY 1xhMq0QunqKenjoyuBsLdDlqp4pOjbsM6MpzQf4PiOAa+fFRPXpYajQz34LdJLOGELTWZb Y5isHqH1mz555LHbw0gCJhX/6DUV4diOOjuIu+mcaERvJl+zNkA6Uame+gbr+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731548879; a=rsa-sha256; cv=none; b=WjFv1nG+za5HWcXfe7Z5bxFOWXiKdPnNy7oDZ4gcl2BxBpzfiIBu5IsrLEIINBy8B0NnqJ zuUrpuo/pqDCLJuVrCtugn0UdguQwTavZJ9UPD2afFXC7Z/uH93mPgSAJiSFDFORD8jFsq RFI4xXHga/HEiw8VnYAeGelf6qbkwL5ZCgrmNCNW0QRNJRin80MGBdFbnnnQxvA1ID8Qoc lIsUSHC4b8/0xZR0k48Rm0wohsjaI431LSLkvOi4BrzkOacgvryujsPxmnBwMFS3QJvgp0 Yha9wqk3rPZcn4sTVLAVE6eRPp28xxixahatF46laoa/SXpn0YzfUgO2A+hhow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xpjhv17XJzJbK; Thu, 14 Nov 2024 01:47:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AE1lxGe037549; Thu, 14 Nov 2024 01:47:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE1lxDp037546; Thu, 14 Nov 2024 01:47:59 GMT (envelope-from git) Date: Thu, 14 Nov 2024 01:47:59 GMT Message-Id: <202411140147.4AE1lxDp037546@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ad6fccf871af - main - deskutils/pueue: Add rc script List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ad6fccf871af181b3bb238a9129ef4d350b6752c Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad6fccf871af181b3bb238a9129ef4d350b6752c commit ad6fccf871af181b3bb238a9129ef4d350b6752c Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2024-11-14 01:37:46 +0000 Commit: Yuri Victorovich CommitDate: 2024-11-14 01:47:55 +0000 deskutils/pueue: Add rc script PR: 282742 --- deskutils/pueue/Makefile | 3 ++- deskutils/pueue/files/pueued.in | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/deskutils/pueue/Makefile b/deskutils/pueue/Makefile index 70fefe0cead8..5444f5f746e8 100644 --- a/deskutils/pueue/Makefile +++ b/deskutils/pueue/Makefile @@ -1,7 +1,7 @@ PORTNAME= pueue DISTVERSIONPREFIX= v DISTVERSION= 3.4.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= deskutils MAINTAINER= yuri@FreeBSD.org @@ -15,6 +15,7 @@ USES= cargo USE_GITHUB= yes GH_ACCOUNT= Nukesor +USE_RC_SUBR= pueued RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386 diff --git a/deskutils/pueue/files/pueued.in b/deskutils/pueue/files/pueued.in new file mode 100644 index 000000000000..d8c8ef2551ce --- /dev/null +++ b/deskutils/pueue/files/pueued.in @@ -0,0 +1,24 @@ +#! /bin/sh + +# PROVIDE: pueued +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Configuration settings for pueued in /etc/rc.conf +# +# pueued_enable (bool): Enable pueued. (default=NO) + +. /etc/rc.subr + +name="pueued" +rcvar="pueued_enable" + +load_rc_config $name + +: ${pueued_enable:="NO"} +: ${pueued_env:="HOME=/root"} + +command="%%PREFIX%%/bin/${name}" +command_args="-d" + +run_rc_command "$1"