Bug 215174

Summary: devel/dbus: move machine-id for compatibility with Linux libdbus
Product: Ports & Packages Reporter: Tijl Coosemans <tijl>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me Flags: rakuco: maintainer-feedback-
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 200190, 218983, 218984    
Attachments:
Description Flags
patch none

Description Tijl Coosemans freebsd_committer 2016-12-09 11:55:30 UTC
Created attachment 177826 [details]
patch

- Remove --localstatedir=/var, already added by bsd.port.mk.
- Use default locations for system pidfile, system socket and session sockets so Linux programs can find these too.
- Adjust rc.d script to eliminate gnome-subr dependency.
- Move examples to EXAMPLESDIR and add EXAMPLES option.
- Move /var/db/dbus/machine-id to default /var/lib/dbus/machine-id so Linux programs can find this file.  Add a postexec command to pkg-plist to copy this file to the new location on installation so the id is preserved.  The old file cannot be removed because currently running processes might still need it.  Remove the old file from the rc.d script instead.
- Sort pkg-plist.
Comment 1 commit-hook freebsd_committer 2017-01-11 15:08:17 UTC
A commit references this bug:

Author: tijl
Date: Wed Jan 11 15:07:54 UTC 2017
New revision: 431187
URL: https://svnweb.freebsd.org/changeset/ports/431187

Log:
  - Remove --localstatedir=/var, already added by bsd.port.mk.
  - Use default locations for system pidfile, system socket and session
    sockets so Linux programs can find these too.
  - Adjust rc.d script to eliminate gnome-subr dependency.
  - Move examples to EXAMPLESDIR and add EXAMPLES option.
  - Move /var/db/dbus/machine-id to default /var/lib/dbus/machine-id so Linux
    programs can find this file.  Add a postexec command to pkg-plist to copy
    this file to the new location on installation so the id is preserved.  The
    old file cannot be removed from pkg-plist because currently running
    processes might still need it.  Remove the old file from the rc.d script
    instead.
  - Sort pkg-plist.

  PR:		215174
  Approved by:	maintainer timeout (4 weeks)

Changes:
  head/devel/dbus/Makefile
  head/devel/dbus/files/dbus.in
  head/devel/dbus/files/patch-doc_Makefile.in
  head/devel/dbus/pkg-plist