Bug 245537

Summary: sysutils/spiped: avoid creating /nonexistent
Product: Ports & Packages Reporter: Thomas Hurst <tom>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: cperciva, cperciva
Priority: --- Flags: bugzilla: maintainer-feedback? (cperciva)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to UIDs none

Description Thomas Hurst 2020-04-11 15:40:49 UTC
Created attachment 213291 [details]
Patch to UIDs

spiped 1.6.1 added a malformed UIDs entry, using /nonexistent/ as a home directory.  The trailing slash breaks Script/do-users-groups.sh's special handling for it, resulting in /nonexistent actually being created.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-04-11 17:48:36 UTC
A commit references this bug:

Author: cperciva
Date: Sat Apr 11 17:48:13 UTC 2020
New revision: 531444
URL: https://svnweb.freebsd.org/changeset/ports/531444

Log:
  Use canonical spelling of "/nonexistent".

  I accidentally spelled this as "/nonexistent/" yesterday, which broke
  the special handling of that path and resulted in /nonexistent existing.

  PR:		245537
  Submitted by:	Thomas Hurst

Changes:
  head/UIDs
Comment 2 Colin Percival freebsd_committer freebsd_triage 2020-04-11 17:49:32 UTC
Thanks!