From nobody Mon Apr 22 09:35:44 2024 X-Original-To: dev-commits-ports-main@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 4VNKqh5t4Fz5Jk4Y; Mon, 22 Apr 2024 09:35:44 +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 4VNKqh55HRz4J7d; Mon, 22 Apr 2024 09:35:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713778544; 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=mg5zup4GCKOiEDmSe893Al18KHS4kdFoN0Zzd+nXSA0=; b=xGoW6P49ExUQGs4HwgV4Hn9ssDnzjiAMm4v5cO5srPM2MxxYAHKwtDG7/rl2+7W1HsLC1F Rz3zSniLFqnl0wF8N9pzV4DjCjgOR3svc6IdxZrOi32xpRLC4/q+kKa16yYl56V6cb7TNZ 9MA1y/HVSJMNxX2Mc6QVptMUHhJBpJjaLzZY71yJH9yKEluJwtWVRSrFW6gbylqKRPpRDn R9xGH+Pcwr8y7ltzU4O0cGwY3LmR2xoV+pz2IlpnMAWRUAeaFmefUDsnOEm28OwMf2687+ WGoNdbquV/QXXdx4fWU//TjN2c5do/fChjCBsln5Ir7hS8MbxvsTVXzyvWxaMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713778544; a=rsa-sha256; cv=none; b=feAmXH6WpXCBxrwzh+lgL0ru5yreFVu4h4JM3RzNP2Aksqk7LgRoxLFVZyaL38arLTfs6w gMtb/iIXeW/CWidZ6MvSOYu0MOLytAQQAPkAdp9q9I6TKzCgdBPdjlnKyOXi2QgqnEO/qb hRARFCFBDa2S96RPjYes6eFvmtUZlXDsZrs4mU0e7RJ74ctp68oYR5HeOunDXohUss2qjx VBbwuj2rkl6dPYbibMdh3DKWbArzdiWfjpxckJFiP7tOjmIVmEQzbRQVTBlPEItFCwlN0x iUDmv3vxJWIes4YIyFukCZpjBapiVSyvyHfIB5RzyVVXl5YgitJMFsQ3Yox16A== 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=1713778544; 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=mg5zup4GCKOiEDmSe893Al18KHS4kdFoN0Zzd+nXSA0=; b=CwWIQTLbVlL16959H+JKVuFpv9AyTZPzWcFmi5bWHIT4lwkMsZ2LJLuFnoFXRE68tSjywg CcufCeDzEXqv1YSm173JkI9BFsrBBSA4gP4+TXjNNomXzXIfuhPxPrAfU+cNp9fCRnCNXX qu7LFeQ+6Tfc2qGAu9uIaeidEE5JUn/OYbP9Gdh7MFmqR+/Lb2oKr2nhhFUfJUPfG4w4hL JuaFmCQbvOwltJtG1j34X61Kp8oqFzPghKqfZKdUwgE1rUKQ/yEFBAtsDmsr4vIRdx0KSQ DHDZ2MVk512GYJOW+C64qqkI61gDnOAcURwQIkL/cUC1+WoRQcfBavxS8E93qQ== 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 4VNKqh4hRgzjwr; Mon, 22 Apr 2024 09:35:44 +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 43M9Zi1b099006; Mon, 22 Apr 2024 09:35:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43M9Ziu9099003; Mon, 22 Apr 2024 09:35:44 GMT (envelope-from git) Date: Mon, 22 Apr 2024 09:35:44 GMT Message-Id: <202404220935.43M9Ziu9099003@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 2e440206b3e5 - main - x11/hyprlock: update to 0.3.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 2e440206b3e57fe8ce930bb69ba84c1b46290d49 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e440206b3e57fe8ce930bb69ba84c1b46290d49 commit 2e440206b3e57fe8ce930bb69ba84c1b46290d49 Author: Jan Beich AuthorDate: 2024-04-08 14:39:01 +0000 Commit: Jan Beich CommitDate: 2024-04-22 09:35:35 +0000 x11/hyprlock: update to 0.3.0 Changes: https://github.com/hyprwm/hyprlock/releases/tag/v0.3.0 Reported by: GitHub (watch releases) --- 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(); +