From nobody Mon Jan 31 19:42:19 2022 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 8B7BF1993228; Mon, 31 Jan 2022 19:42:19 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JndkM3Xz2z3vld; Mon, 31 Jan 2022 19:42:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643658139; 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=awJbZZAfidI7jpVJ47T4rlAvVzCQBr7Wccffbo4ceKY=; b=oatu+2cRtWzROYavz5PAAaxBD0rJxwMSC6q7sSWH+eS0k1KjivjGYDN2OktLN5GJ+rohaX itsOipYN+yTy/rNE1C45Hb5T6iSzCNbsq5MiSncXVPh5nwR7tYZDPdqPXXfeBJNjwTRw9B vGDjLSFI62dmTNLPaHbgwx7NWybK/kQNXLsvjeXweIq8Tn9dmLzTslLxpRKMm9zAdeVxXf SNRtnpnulFZuZ3AfUnqpEOHbXnpNMpb865agB6AHqxGP+DSK4oFBEprMrnh9Ncunbq2caX BIKFyD+7N2NJIB09TwYqGKQX3sKzl+UnR3xmaGF60GihVvqJYK0d4a1UtHB3GA== 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 5A58822608; Mon, 31 Jan 2022 19:42:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20VJgJ2q070239; Mon, 31 Jan 2022 19:42:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20VJgJvu070238; Mon, 31 Jan 2022 19:42:19 GMT (envelope-from git) Date: Mon, 31 Jan 2022 19:42:19 GMT Message-Id: <202201311942.20VJgJvu070238@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: "Tobias C. Berner" Subject: git: f97fe90e0a0c - 2022Q1 - sysutils/gsmartcontrol: fix binary path in policy file 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q1 X-Git-Reftype: branch X-Git-Commit: f97fe90e0a0cc38a9e874fc8f5a3e76a4f042384 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643658139; 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=awJbZZAfidI7jpVJ47T4rlAvVzCQBr7Wccffbo4ceKY=; b=CYKJwvmiYKjsLn0Ov/YC342iM58o86lmHbw/SX3slyARi/Fz6oiK9XNRgG8uTEYzTqRJwm FBAEyo2+OrnGBJI5k0fzkECjETs6NjJkKfsox/v5KxBh3g+XY1okYSRK9Uj0ybiUg2YYPk K7dpffZmz0gQ/sDuZfITciD2BYFAPPbFu5GRDbLjTtVBZpZaeU4KYnzCTFoZgNRxr5bqMM 2cisSdq5xxJJOuUfAszcXo1LAflyWt0Hrjjj8VfUUBpk4kXMS7CMEFZ8MGpAh9BkvC7uTc jH65FFSYp8XlXBeyG8Bh3cKFShM+BZ+0fk7ae2Due59YCXsaU/l51tVnoEwAGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643658139; a=rsa-sha256; cv=none; b=i+Am39HVwwni/wf8FI1w9UEKJYPY9DM2Y6KYYMw/CzGXoB9FAT0TXwquYSyHEQM+Uyl9mz lSMvV57VH+Sz9d0GzWldqTD84WervteZaMR/L8yrIBumk607LOiX5+ZYSOloJPsajCJvVb qRNIN3YX7slHfepgEYlLFclpPYg6kK7KUxLWzuQY+acyj+wchPg21ZM9WT13UwIOa6FcqY 5lFDfiY3F6ZCdb1JJjtXkJ1Mv7lX755geVOwlBCFYjEe1HMW3IfLizprPyPlx62I7SaIsc +yYDlBS1A/tsEe5fw/wWaZw7xNbwH30gYhtn9XyAAWlzASn9MMBPCOJYDJ8QZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q1 has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=f97fe90e0a0cc38a9e874fc8f5a3e76a4f042384 commit f97fe90e0a0cc38a9e874fc8f5a3e76a4f042384 Author: Lars Herschke AuthorDate: 2022-01-31 19:35:33 +0000 Commit: Tobias C. Berner CommitDate: 2022-01-31 19:41:20 +0000 sysutils/gsmartcontrol: fix binary path in policy file PR: 253231 (cherry picked from commit 924cc379b6dcabc9625e6c04849f4618c739f62a) --- sysutils/gsmartcontrol/Makefile | 4 +++- .../gsmartcontrol/files/patch-data_org.gsmartcontrol.policy | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sysutils/gsmartcontrol/Makefile b/sysutils/gsmartcontrol/Makefile index 42acc710a6de..6301fa7ebb77 100644 --- a/sysutils/gsmartcontrol/Makefile +++ b/sysutils/gsmartcontrol/Makefile @@ -2,7 +2,7 @@ PORTNAME= gsmartcontrol PORTVERSION= 1.1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} @@ -42,5 +42,7 @@ post-patch: ${WRKSRC}/src/*/Makefile.in @${REINPLACE_CMD} -i .c++20 '/config\.h/y/<>/""/' \ ${WRKSRC}/src/global_macros.h + @${REINPLACE_CMD} -i '' 's|%%PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/data/org.gsmartcontrol.policy .include diff --git a/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy b/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy new file mode 100644 index 000000000000..8cb3cbda9556 --- /dev/null +++ b/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy @@ -0,0 +1,11 @@ +--- data/org.gsmartcontrol.policy.orig 2017-08-27 18:49:36.000000000 +0200 ++++ data/org.gsmartcontrol.policy 2021-02-02 21:41:16.437199000 +0100 +@@ -12,7 +12,7 @@ + auth_admin + auth_admin + +- /usr/sbin/gsmartcontrol ++ %%PREFIX%%/sbin/gsmartcontrol + true + +