Bug 256870

Summary: x11/sddm depends on xauth but x11/xauth is not listed as a dependency (includes patch)
Product: Ports & Packages Reporter: pr
Component: Individual Port(s)Assignee: freebsd-kde (Team) <kde>
Status: Closed FIXED    
Severity: Affects Only Me CC: adridg, fernape, kde, tcberner, x11
Priority: --- Flags: fernape: maintainer-feedback? (kde)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for x11/sddm/Makefile to run depend on x11/xauth none

Description pr 2021-06-28 10:56:10 UTC
Created attachment 226086 [details]
patch for x11/sddm/Makefile to run depend on x11/xauth

Hi,
in a fresh installation of sddm I get:
# service sddm onestart
Starting sddm.
sh: /usr/local/bin/xauth: not found

In fact sddm requires xauth but x11/xauth is not listed as a dependency.

The proposed patch fixes the problem, can it be reviewed/committed?
Comment 1 pr 2021-07-14 06:59:41 UTC
ping
Comment 2 commit-hook freebsd_committer 2021-07-14 13:12:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fec4fe9f84a8d5bdc690986856ed7ea39950c880

commit fec4fe9f84a8d5bdc690986856ed7ea39950c880
Author:     Aoek <pr@aoek.com>
AuthorDate: 2021-07-14 12:47:41 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-07-14 13:11:42 +0000

    x11/sddm: requires xauth at runtime

    PR:             256870

 x11/sddm/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 3 Adriaan de Groot freebsd_committer 2021-07-14 13:14:10 UTC
Applied (also with a PORTREVISION bump), thanks! This is one of those "generally not noticed" things because I usually install `xorg` along with `sddm` and the former pulls in `xauth` so that SDDM already has it.
Comment 4 commit-hook freebsd_committer 2021-07-14 13:18:03 UTC
A commit in branch 2021Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d736135190cfdfde6f3f2421ad69c909367eba4f

commit d736135190cfdfde6f3f2421ad69c909367eba4f
Author:     Aoek <pr@aoek.com>
AuthorDate: 2021-07-14 12:47:41 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-07-14 13:17:27 +0000

    x11/sddm: requires xauth at runtime

    PR:             256870
    (cherry picked from commit fec4fe9f84a8d5bdc690986856ed7ea39950c880)

 x11/sddm/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)