Date: Thu, 14 Nov 2024 01:47:59 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ad6fccf871af - main - deskutils/pueue: Add rc script Message-ID: <202411140147.4AE1lxDp037546@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <DtxdF@disroot.org> AuthorDate: 2024-11-14 01:37:46 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411140147.4AE1lxDp037546>