Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2026 14:15:17 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7f5260d5d619 - main - sysutils/parkverbot: update the port to version 1.6
Message-ID:  <69b41bf5.367b9.4f60f381@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f5260d5d619affdaaafb8d1ac42568d063d9dcc

commit 7f5260d5d619affdaaafb8d1ac42568d063d9dcc
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-03-13 14:13:54 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-03-13 14:13:54 +0000

    sysutils/parkverbot: update the port to version 1.6
    
    GC no longer needed GNU_CONFIGURE_MANPREFIX, sort
    PLIST_FILES, and install rc script.
    
    PR:     278603
---
 sysutils/parkverbot/Makefile            |  8 ++++----
 sysutils/parkverbot/distinfo            |  6 +++---
 sysutils/parkverbot/files/parkverbot.in | 28 ++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/sysutils/parkverbot/Makefile b/sysutils/parkverbot/Makefile
index aca112eb7b5a..bf821d8b0d7d 100644
--- a/sysutils/parkverbot/Makefile
+++ b/sysutils/parkverbot/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	parkverbot
-PORTVERSION=	1.5
+PORTVERSION=	1.6
 CATEGORIES=	sysutils
 MASTER_SITES=	https://inai.de/files/parkverbot/
 
@@ -11,11 +11,11 @@ LICENSE=	GPLv2+
 
 LIB_DEPENDS=	libHX.so:lang/libhx
 
-USES=		pkgconfig tar:xz
+USES=		pkgconfig tar:zst
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+USE_RC_SUBR=	${PORTNAME}
 
-PLIST_FILES=	share/man/man8/parkverbot.8.gz sbin/parkverbot
+PLIST_FILES=	sbin/parkverbot share/man/man8/parkverbot.8.gz
 
 post-install:
 	${RM} -r ${STAGEDIR}/lib/systemd
diff --git a/sysutils/parkverbot/distinfo b/sysutils/parkverbot/distinfo
index 50a581229da9..640b2179ffd5 100644
--- a/sysutils/parkverbot/distinfo
+++ b/sysutils/parkverbot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649595137
-SHA256 (parkverbot-1.5.tar.xz) = a52e88a60e0a11163ab596dde7d264ba9e80016cf4f276368bfe81f666456e20
-SIZE (parkverbot-1.5.tar.xz) = 78488
+TIMESTAMP = 1759794978
+SHA256 (parkverbot-1.6.tar.zst) = 4518f11b72d51806a18bef3cb7616596ed07f45df6ae8c8e1c15b7a82ecc879a
+SIZE (parkverbot-1.6.tar.zst) = 83232
diff --git a/sysutils/parkverbot/files/parkverbot.in b/sysutils/parkverbot/files/parkverbot.in
new file mode 100644
index 000000000000..16a393ef85ff
--- /dev/null
+++ b/sysutils/parkverbot/files/parkverbot.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# PROVIDE: parkverbot
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# parkverbot_enable (bool):	Set to NO by default
+#				Set to YES to enable parkverbot
+# parkverbot_flags (string):	Devices passed to parkverbot(8)
+#				Default: none
+
+. /etc/rc.subr
+
+name=parkverbot
+rcvar=${name}_enable
+
+: ${parkverbot_enable:="NO"}
+: ${parkverbot_flags:=""}
+
+pidfile="/var/run/${name}.pid"
+command="%%PREFIX%%/sbin/${name}"
+parkverbot_prepend="/usr/sbin/daemon -f -p ${pidfile}"
+
+load_rc_config ${name}
+run_rc_command "$1"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b41bf5.367b9.4f60f381>