Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912874 - gui-apps/swaylock-1.7: Installs /etc/pam.d/swaylock with USE=-pam
Summary: gui-apps/swaylock-1.7: Installs /etc/pam.d/swaylock with USE=-pam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 13:49 UTC by Bruno
Modified: 2024-10-17 16:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2023-08-23 13:49:40 UTC
swaylock installs file /etc/pam.d/swaylock even while USE=-pam.

This then disturbs xscreensaver-7.05's configure:
if test "$with_pam_req" = yes -a "$have_pam" = no ; then
  warn 'Use of PAM was requested, but it was not found.'
  CONF_STATUS=1
elif test "$have_pam" = no ; then
  if test -d /etc/pam.d -o -f /etc/pam.conf ; then
    warn  "Your system seems to have PAM, but PAM is not being used."
    warn2 "That is probably not going to work out well."
    CONF_STATUS=1
  fi
fi
that fails in a hard to spot way, as it has USE=-pam too and the message just looks like a warning rather than an error.

Reproducible: Always
Comment 1 Bruno 2024-01-07 19:07:46 UTC
This still applies to swaylock-1.7.2.
Comment 2 Larry the Git Cow gentoo-dev 2024-10-17 16:19:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6000aadd949d251e8f29f05d118c7c566cd2c99f

commit 6000aadd949d251e8f29f05d118c7c566cd2c99f
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-10-17 16:18:01 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-10-17 16:18:01 +0000

    gui-apps/swaylock: add 1.8.0
    
    Closes: https://bugs.gentoo.org/912874
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 gui-apps/swaylock/Manifest              |  1 +
 gui-apps/swaylock/swaylock-1.8.0.ebuild | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)