Loading x11/hyprlock/Makefile +1 −2 Original line number Diff line number Diff line PORTNAME= hyprlock DISTVERSIONPREFIX= v DISTVERSION= 0.9.3 PORTREVISION= 1 DISTVERSION= 0.9.5 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org Loading x11/hyprlock/distinfo +3 −3 Original line number Diff line number Diff line TIMESTAMP = 1774612891 SHA256 (hyprwm-hyprlock-v0.9.3_GH0.tar.gz) = 22e7346486d0f6a1ab46d9917ae5354de4d3d32350f6947bc7028a9c42859ce8 SIZE (hyprwm-hyprlock-v0.9.3_GH0.tar.gz) = 83905 TIMESTAMP = 1776771319 SHA256 (hyprwm-hyprlock-v0.9.5_GH0.tar.gz) = cbc49fc5553c550131e1a15089847501de42579944814229bfa9f8ea18519f89 SIZE (hyprwm-hyprlock-v0.9.5_GH0.tar.gz) = 84533 x11/hyprlock/files/patch-pam_hyprlock +5 −5 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ 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. --- pam/hyprlock.orig 2024-03-01 23:49:44 UTC --- pam/hyprlock.orig 2026-04-18 09:44:05 UTC +++ pam/hyprlock @@ -1,5 +1,4 @@ -# PAM configuration file for hyprlock Loading @@ -14,17 +14,17 @@ so try authenticating via setuid helper first. -auth include login +auth include unix-selfauth --- src/auth/Pam.cpp.orig 2025-02-22 22:56:54 UTC --- src/auth/Pam.cpp.orig 2026-04-21 11:41:16 UTC +++ src/auth/Pam.cpp @@ -64,11 +64,6 @@ CPam::CPam() { static const auto PAMMODULE = g_pConfigManager->getValue<Hyprlang::STRING>("auth:pam:module"); m_sPamModule = *PAMMODULE; - if (!std::filesystem::exists(std::filesystem::path("/etc/pam.d/") / m_sPamModule)) { - Debug::log(ERR, R"(Pam module "/etc/pam.d/{}" does not exist! Falling back to "/etc/pam.d/su")", m_sPamModule); - Log::logger->log(Log::ERR, R"(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(); }; } m_username = getUsernameForCurrentUid(); m_sConversationState.waitForInput = [this]() { this->waitForInput(); }; Loading
x11/hyprlock/Makefile +1 −2 Original line number Diff line number Diff line PORTNAME= hyprlock DISTVERSIONPREFIX= v DISTVERSION= 0.9.3 PORTREVISION= 1 DISTVERSION= 0.9.5 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org Loading
x11/hyprlock/distinfo +3 −3 Original line number Diff line number Diff line TIMESTAMP = 1774612891 SHA256 (hyprwm-hyprlock-v0.9.3_GH0.tar.gz) = 22e7346486d0f6a1ab46d9917ae5354de4d3d32350f6947bc7028a9c42859ce8 SIZE (hyprwm-hyprlock-v0.9.3_GH0.tar.gz) = 83905 TIMESTAMP = 1776771319 SHA256 (hyprwm-hyprlock-v0.9.5_GH0.tar.gz) = cbc49fc5553c550131e1a15089847501de42579944814229bfa9f8ea18519f89 SIZE (hyprwm-hyprlock-v0.9.5_GH0.tar.gz) = 84533
x11/hyprlock/files/patch-pam_hyprlock +5 −5 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ 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. --- pam/hyprlock.orig 2024-03-01 23:49:44 UTC --- pam/hyprlock.orig 2026-04-18 09:44:05 UTC +++ pam/hyprlock @@ -1,5 +1,4 @@ -# PAM configuration file for hyprlock Loading @@ -14,17 +14,17 @@ so try authenticating via setuid helper first. -auth include login +auth include unix-selfauth --- src/auth/Pam.cpp.orig 2025-02-22 22:56:54 UTC --- src/auth/Pam.cpp.orig 2026-04-21 11:41:16 UTC +++ src/auth/Pam.cpp @@ -64,11 +64,6 @@ CPam::CPam() { static const auto PAMMODULE = g_pConfigManager->getValue<Hyprlang::STRING>("auth:pam:module"); m_sPamModule = *PAMMODULE; - if (!std::filesystem::exists(std::filesystem::path("/etc/pam.d/") / m_sPamModule)) { - Debug::log(ERR, R"(Pam module "/etc/pam.d/{}" does not exist! Falling back to "/etc/pam.d/su")", m_sPamModule); - Log::logger->log(Log::ERR, R"(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(); }; } m_username = getUsernameForCurrentUid(); m_sConversationState.waitForInput = [this]() { this->waitForInput(); };