Bug 187558 - x11/gdm port should not overwrite pam.d/gdm if it exists
Summary: x11/gdm port should not overwrite pam.d/gdm if it exists
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-13 22:50 UTC by robmessick
Modified: 2019-08-14 15:24 UTC (History)
4 users (show)

See Also:


Attachments
@sample-ify gdm files in $PREFIX/etc (2.88 KB, patch)
2017-08-09 06:34 UTC, Eugene M. Kim
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description robmessick 2014-03-13 22:50:00 UTC
Installing the GDM port or package always overwrites the ${PREFIX}/etc/pam.d/gdm. The port should not overwrite this configuration file.

How-To-Repeat: # touch /usr/local/etc/pam.d/gdm
# cd /usr/ports/x11/gdm && make install
Comment 1 Edwin Groothuis freebsd_committer 2014-03-13 22:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dominic Fandrey freebsd_committer 2017-02-21 17:18:03 UTC
I think this should be solved via @sample in the pkg-plist, e.g. like security/sudo does.
Comment 3 Eugene M. Kim 2017-08-09 06:34:50 UTC
Created attachment 185187 [details]
@sample-ify gdm files in $PREFIX/etc

I recently ran into a similar issue (/usr/local/etc/gdm/Init/Default not being a config file) and rolled a simple patch (attached) to convert all gdm files installed in /usr/local/etc into @sample files.
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-01-17 07:41:36 UTC
Any news here?
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-02-26 20:14:17 UTC
ping!
Comment 6 Eugene M. Kim 2018-07-23 04:52:07 UTC
ping! (2)
Comment 7 Walter Schwarzenfeld freebsd_triage 2019-08-14 15:24:34 UTC
Maintainer feedback!