From nobody Mon Apr 22 09:35:53 2024 X-Original-To: dev-commits-ports-branches@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 4VNKqs3PYqz5Jk2B; Mon, 22 Apr 2024 09:35:53 +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 4VNKqs2vhCz4Htw; Mon, 22 Apr 2024 09:35:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713778553; 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=JkcN4bWzdNgWeN3YJM+E/GLTMfkoXE8XpOY2rh8X0LM=; b=IdUk6zqpHL6hpg99/PPg/i2AuKMZCz3Cj2lMsrW2c+xypsW5y8G7NTsMvh4PzMHAo/NWB4 YCUMoSBx6K8y5t07RAtcTSaWYDjfjPJCmgrslAaDqLLJb14aeOqBURBssobDXWS9TWhVyS mhNKAM45eBQibEOFJX7mwmI6vcKkUL1peMJDMyzzuyxc1QgaPT9Juof1dgrPDU8LHISCqt BbEVTqv2m1201ZP7aXq5m4CJpSz/1IaYrkVELjhm/sbiFxwLGoIXB9ZdwEuT9vE3z5la3n B9vv11xzrMlK9kOqS2VFcF+inYMUS5COqrphT26jpH97mASce9Q2Y36dHofgiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713778553; a=rsa-sha256; cv=none; b=v7mmMICfxUIanv51pmGM8o2pN2b7usyiWmo1pHK6oZuWk/AjlRpmSDJ3v0/sJMtrlYEUaF RZQbQnDJH/vYz5LIo+XBTmPAk85s8228mFoukf+y5YXSNm2qD0lVZ+lqh0QGW/205N+PgW ESrfuZDg7bwrvwjKJk7akAkF/kghlYMgvob+q+dHNdytx6kxaaYsjZIKbcYOz31B0+Xe0k b7KfaUbrVJjbfw6RLjcOomC2FZuvJH0yMwxAwoc6SyiRtUTg4zBPgo4j1ccEWNAr5OHa09 XHEIge7h3nE6LZHDRoROzQx1WoVxCtbn/yhOjD7/bOs4AVFhkHN91PTY2hg4DQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713778553; 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=JkcN4bWzdNgWeN3YJM+E/GLTMfkoXE8XpOY2rh8X0LM=; b=RMH2AXj2W7EEJx884yZT5+65KTcniIjDbMHemfTM4H36/JKlkft06b/ulahz/vN61uTqLS ix5jCpEEphW+p2Uk2B9ScbqEVp5FxbrOfCoo35kDVJIuS7APtlzDxBP9xwK026tMYkfZtv fMkk0FVcGyRm6cBT3nuk09lscvjdWBTlkE72IRSgVx+WPGLD9HuN5mB2xZLZoGnJtcpEs1 07qzUU1MT7pAM/h2xU0SccR7+TdpWVMDd9csWkTTAs2RHkG0UU2tN5YIdwjI8OEWdn4S3W boFD5dZV0/llZMuN8ng3Zpxn5USyrx+UZYvBe2k+OHA3mpNxDzHE7UPXhi/IXQ== 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 4VNKqs2WF6zjws; Mon, 22 Apr 2024 09:35:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43M9Zr4a099162; Mon, 22 Apr 2024 09:35:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43M9Zrp3099159; Mon, 22 Apr 2024 09:35:53 GMT (envelope-from git) Date: Mon, 22 Apr 2024 09:35:53 GMT Message-Id: <202404220935.43M9Zrp3099159@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 301500484f34 - 2024Q2 - x11/hyprlock: update to 0.3.0 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q2 X-Git-Reftype: branch X-Git-Commit: 301500484f348ad1603850d338895aabc8024fff Auto-Submitted: auto-generated The branch 2024Q2 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=301500484f348ad1603850d338895aabc8024fff commit 301500484f348ad1603850d338895aabc8024fff Author: Jan Beich AuthorDate: 2024-04-08 14:39:01 +0000 Commit: Jan Beich CommitDate: 2024-04-22 09:35:50 +0000 x11/hyprlock: update to 0.3.0 Changes: https://github.com/hyprwm/hyprlock/releases/tag/v0.3.0 Reported by: GitHub (watch releases) (cherry picked from commit 2e440206b3e57fe8ce930bb69ba84c1b46290d49) --- x11/hyprlock/Makefile | 5 +++-- x11/hyprlock/distinfo | 12 +++++++----- x11/hyprlock/files/patch-pam_hyprlock | 15 +++++++++++++-- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index 5d5c458b6240..ff45267366aa 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -1,10 +1,11 @@ PORTNAME= hyprlock DISTVERSIONPREFIX= v -DISTVERSION= 0.2.0 +DISTVERSION= 0.3.0 CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES+= e040c56ad294.patch:-p1 # https://github.com/hyprwm/hyprlock/pull/195 +PATCHFILES+= d9a6229434fb.patch:-p1 # -G Ninja +PATCHFILES+= 8658386f212f.patch:-p1 # https://github.com/hyprwm/hyprlock/issues/289 MAINTAINER= jbeich@FreeBSD.org COMMENT= Hyprland's GPU-accelerated screen locking utility #' diff --git a/x11/hyprlock/distinfo b/x11/hyprlock/distinfo index f7bad122e0cf..ecae09020fef 100644 --- a/x11/hyprlock/distinfo +++ b/x11/hyprlock/distinfo @@ -1,7 +1,9 @@ -TIMESTAMP = 1710343595 -SHA256 (hyprwm-hyprlock-v0.2.0_GH0.tar.gz) = 3d56220ac03016163e196bc2c08e5b16e83583fa9446ad52e32ddbb56c293994 -SIZE (hyprwm-hyprlock-v0.2.0_GH0.tar.gz) = 56798 +TIMESTAMP = 1712587141 +SHA256 (hyprwm-hyprlock-v0.3.0_GH0.tar.gz) = 5e84ac3223ea340bb3d39c22db4edefbb8364da8c3b6b3d0da1dfa45d8cc945f +SIZE (hyprwm-hyprlock-v0.3.0_GH0.tar.gz) = 61599 SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803 -SHA256 (e040c56ad294.patch) = f5d3ceee74733563306c6e3621ba773efe65d2015297bbedfa88e952e8171fb5 -SIZE (e040c56ad294.patch) = 1720 +SHA256 (d9a6229434fb.patch) = c50bfa1b1d69d95a6fe0ae9ab9c023ee220f8b9b535a54f1271782e33b198941 +SIZE (d9a6229434fb.patch) = 852 +SHA256 (8658386f212f.patch) = 36d0de05ba6897dc77ad2ad86ad7ffd0aae6d665dc588b931e0f86243818906d +SIZE (8658386f212f.patch) = 984 diff --git a/x11/hyprlock/files/patch-pam_hyprlock b/x11/hyprlock/files/patch-pam_hyprlock index a3e78966d632..57460c064b18 100644 --- a/x11/hyprlock/files/patch-pam_hyprlock +++ b/x11/hyprlock/files/patch-pam_hyprlock @@ -1,5 +1,5 @@ -"login" has "auth sufficient pam_self.so" but a screen locker is -supposed to ask for password regardless. +"login" and "su" have "auth sufficient pam_self.so" but a screen +locker is supposed to ask for password regardless. pam_unix(8) requires root priveleges to access master.passwd(5), so try authenticating via setuid helper first. @@ -14,3 +14,14 @@ so try authenticating via setuid helper first. -auth include login +auth include unix-selfauth +--- src/core/Password.cpp.orig 2024-04-08 14:39:01 UTC ++++ src/core/Password.cpp +@@ -70,7 +70,7 @@ std::shared_ptr CPassw + return true; + }; + +- result->realized = auth("hyprlock") || auth("su") || true; ++ result->realized = auth("hyprlock") || true; + g_pHyprlock->addTimer(std::chrono::milliseconds(1), passwordCheckTimerCallback, nullptr); + }).detach(); +