Bug 215174 - devel/dbus: move machine-id for compatibility with Linux libdbus
Summary: devel/dbus: move machine-id for compatibility with Linux libdbus
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks: 200190 218983 218984
  Show dependency treegraph
 
Reported: 2016-12-09 11:55 UTC by Tijl Coosemans
Modified: 2017-05-03 00:09 UTC (History)
0 users

See Also:
rakuco: maintainer-feedback-


Attachments
patch (5.81 KB, patch)
2016-12-09 11:55 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tijl Coosemans freebsd_committer freebsd_triage 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 freebsd_triage 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