Bug 188710 - [patch] net/boinc-client: fails to detect VirtualBox
Summary: [patch] net/boinc-client: fails to detect VirtualBox
Status: Closed FIXED
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-ports-bugs (Nobody)
Depends on:
Reported: 2014-04-17 00:20 UTC by Lawrence Chen
Modified: 2014-07-27 09:38 UTC (History)
1 user (show)

See Also:

patch (816 bytes, patch)
2014-04-17 00:20 UTC, Lawrence Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lawrence Chen 2014-04-17 00:20:00 UTC
	Back when I first started running boinc on FreeBSD, it was nice to find
	that it detected the presence of VirtualBox and that I was able to
	participate in Test4Theory.

	But, later whenever I would check on things, I would see that its unable
	to find it.  In the past this has usually been a issue with boinc-client
	starting before virtualbox is ready, but after solving a different
	problem in rcordering (tmp/cleartmp being called after vboxheadless
	has started, causing the socket in /tmp to vanish.)

	I decided I needed to look deeper.

Fix: Eventually, I found that in hostinfo_unix.cpp, it looks in for
	"/usr/lib/virtualbox/VBoxManage" if on a LINUX_LIKE system, or another
	way for Mac OS X, but nothing for FreeBSD.

	Don't know when it stopped supporting FreeBSD, but now suspect it might
	been between the 6.x and 7.x versions.  Seem to recall it was something
	that had quickly been added near the end of 6.x, but designed into 7.
Comment 1 John Marino freebsd_committer 2014-07-22 19:33:52 UTC
note: this port has no maintainer.  Mark PR as patch-ready.
Comment 2 John Marino freebsd_committer 2014-07-27 09:30:11 UTC
ugh, you hardcoded "/usr/local", I'm going to have to post-patch fetch that.
Comment 3 commit-hook freebsd_committer 2014-07-27 09:37:24 UTC
A commit references this bug:

Author: marino
Date: Sun Jul 27 09:36:58 UTC 2014
New revision: 363031
URL: http://svnweb.freebsd.org/changeset/ports/363031

  net/boinc-client: Fix to detect virtualbox again

  The virtualbox path detection code has been patched to work on FreeBSD.
  The PR submission was modified to avoid hardcoding /usr/local.

  PR:		188710
  Submitted by:	Lawrence Chen