From nobody Thu Dec 19 00:57:55 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 4YDBx0134tz5hCbs; Thu, 19 Dec 2024 00:57:56 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDBwz68jNz4FJ1; Thu, 19 Dec 2024 00:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734569875; 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=HypLizL17TX9/HyKR7u/WnzNNsPkZwNrl3UG+BDZYus=; b=b2iVSMyyOjiBrpdMOwCnY0WiJMy74DfmvYQF7n1MDqpJ0b1ra1lIbTW6scqBDlrlv8lZen 1Ab8tSqRWMp6Vmz2AZ3sRmpQ0+2mHXBM2F7zlpRTJQAFnJ0qoWmdhTjvHr7sUK6A5zeWyu eexVkABg+Hig+Z5AlLheXqbqHQtWYEdV5GzcYUuSJMlqtVFIJzMkBP1kxaF6L1oudg6SXb Luy2pCFJoYDZjhSXRiQ95Le9R6OaafT6Tleo757pdscdZWV5vOaIkgJRQE4tBfsFhQggU0 ITuCIvopblYngnP5exANZZc4qheY1MNf5oUgN3X8oOESFAKooYjbjwk1f71mIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734569875; 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=HypLizL17TX9/HyKR7u/WnzNNsPkZwNrl3UG+BDZYus=; b=pHXbrflB5L5rV9Hr4qAcHXW9AZ39KihbBzLNDR1Yy/jEMeCxyJs1l1GmnlSOaoGBEiY18b msV7D7xBSlsa5IS6r+dXH4hf3mpIv7q3DBOdLWkx7PHiKgYMcRrbntWyU7ZmDNQNZ7BEvZ N+XUhepNrIoFuJWuakm1Q2zxrrKwnJdrGXDqTTq5P+uTulOR+PJNJc2SBUJhIB4CUHFXRG KW3yDp1eao0ko6uJ94OU++JkcOnoQfccNtYaN/dVdutXTXJWqdJHD3keF4kt2wywYFYSxG 2MauzF50qmZtCA46UGu1WjS5OHYQ1c3QjZU2hZOOVQEB21RZGg1uQZ0JSmsk2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734569875; a=rsa-sha256; cv=none; b=Zq2deqR7/2u0dRAmf+iGnEtX9fcz81DneArlRuulJ9bq55lyGct1su9F4+t7lyv2U2Na4n SJY0SsSwUVgewiplrgKQ9RMzPYoU7PiSfGCIaCD3NiLIG7Cna2qD87g+uHw8rfkpGiW3Tf H3pC1l9EAI50TmbP+dcyPNSNOrLca2RuutVMILNXnVwCFmlOlyLNl4guvZnNfdCvIEWa5e ZxfAc9wzVRusA79G6caGlCp3bUL4ZntumUXP67ETW/vF2zmhwHaJXQnkr0JY5H8PqsTIMq Ko7is9u1IO82VJdnRU3qnKRUMJBynibFpHA3FXQl0thUExUx1B4lMHhmCKu1nQ== 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 4YDBwz5TPyzXTB; Thu, 19 Dec 2024 00:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BJ0vtHH068403; Thu, 19 Dec 2024 00:57:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BJ0vtw4068400; Thu, 19 Dec 2024 00:57:55 GMT (envelope-from git) Date: Thu, 19 Dec 2024 00:57:55 GMT Message-Id: <202412190057.4BJ0vtw4068400@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: 0becc2b299e5 - main - x11/hyprlock: update to 0.6.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: 0becc2b299e5240ff74ff66a5b375472c7b32201 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0becc2b299e5240ff74ff66a5b375472c7b32201 commit 0becc2b299e5240ff74ff66a5b375472c7b32201 Author: Jan Beich AuthorDate: 2024-12-18 15:03:04 +0000 Commit: Jan Beich CommitDate: 2024-12-19 00:57:32 +0000 x11/hyprlock: update to 0.6.0 Changes: https://github.com/hyprwm/hyprlock/releases/tag/v0.6.0 Reported by: GitHub (watch releases) --- x11/hyprlock/Makefile | 6 +++++- x11/hyprlock/distinfo | 8 +++++--- x11/hyprlock/files/patch-pam_hyprlock | 14 +++++++------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index cc9da13e19d6..0b652600823b 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -1,8 +1,11 @@ PORTNAME= hyprlock DISTVERSIONPREFIX= v -DISTVERSION= 0.5.0 +DISTVERSION= 0.6.0 CATEGORIES= x11 wayland +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= d12b4a7fbaf5.patch:-p1 # https://github.com/hyprwm/hyprlock/pull/589 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Hyprland's GPU-accelerated screen locking utility #' WWW= https://github.com/hyprwm/hyprlock @@ -14,6 +17,7 @@ BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libsdbus-c++.so:devel/sdbus-cpp \ + libhyprgraphics.so:graphics/hyprgraphics \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ diff --git a/x11/hyprlock/distinfo b/x11/hyprlock/distinfo index d261e70271f4..b57009ed00a9 100644 --- a/x11/hyprlock/distinfo +++ b/x11/hyprlock/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1729555766 -SHA256 (hyprwm-hyprlock-v0.5.0_GH0.tar.gz) = 4f8a0199de205ad21a4e3da88c0196514a0ba3c6162e44f93e7cfb96371daf99 -SIZE (hyprwm-hyprlock-v0.5.0_GH0.tar.gz) = 67016 +TIMESTAMP = 1734534184 +SHA256 (hyprwm-hyprlock-v0.6.0_GH0.tar.gz) = e1c773947566ec0cc3c836db523bb3ff7efcf07b9e8ce453864ca9bf7c033a1f +SIZE (hyprwm-hyprlock-v0.6.0_GH0.tar.gz) = 71344 +SHA256 (d12b4a7fbaf5.patch) = 627cbca1594da61c2e117a99e016e3863ba98449c250d88c6b8f093707d97181 +SIZE (d12b4a7fbaf5.patch) = 802 diff --git a/x11/hyprlock/files/patch-pam_hyprlock b/x11/hyprlock/files/patch-pam_hyprlock index 864ba47ea5b2..dea75ca52d17 100644 --- a/x11/hyprlock/files/patch-pam_hyprlock +++ b/x11/hyprlock/files/patch-pam_hyprlock @@ -14,17 +14,17 @@ so try authenticating via setuid helper first. -auth include login +auth include unix-selfauth ---- src/core/Auth.cpp.orig 2024-07-05 20:58:45 UTC -+++ src/core/Auth.cpp -@@ -56,11 +56,6 @@ CAuth::CAuth() { - CAuth::CAuth() { - static auto* const PPAMMODULE = (Hyprlang::STRING*)(g_pConfigManager->getValuePtr("general:pam_module")); +--- src/auth/Pam.cpp.orig 2024-12-18 15:03:04 UTC ++++ src/auth/Pam.cpp +@@ -64,11 +64,6 @@ CPam::CPam() { + static auto* const PPAMMODULE = (Hyprlang::STRING*)(g_pConfigManager->getValuePtr("auth:pam:module")); m_sPamModule = *PPAMMODULE; -- + - if (!std::filesystem::exists(std::filesystem::path("/etc/pam.d/") / m_sPamModule)) { - Debug::log(ERR, "Pam module \"/etc/pam.d/{}\" does not exist! Falling back to \"/etc/pam.d/su\"", m_sPamModule); - m_sPamModule = "su"; - } +- + m_sConversationState.waitForInput = [this]() { this->waitForInput(); }; } - static void passwordCheckTimerCallback(std::shared_ptr self, void* data) {