Update MediaBrowser port to latest upstream 3.0.5424.1 stable. Also tidy up a few items in the port recommended by josh4trunks. This includes improving rc script to minimise customisation (maximise use of rc.subr), moving the storage of the MediaBrowser database files to /var/db/mediabrowser and adding some more comments for users.
Created attachment 149200 [details] PR194904: Patch to update mediabrowser to 3.0.5424.1 and tidy up port
Will this require that people manually move their database files if they've already been running mediabrowser? If so, there should be a MOVED entry. And, is there anything that can be done about the /root/.config stage_fs_violation?
Created attachment 149218 [details] PR194904: Patch to update mediabrowser to 3.0.5424.1 and tidy up port Add an entry to UPDATING explaining the database directory move from /usr/local/mediabrowser to /var/db/mediabrowser. Also, as far as I can tell this upgrade to MediaBrowser 3.0.5424.1 removes the entry stored in /root/.config after build (without me having changed anything). Whilst I don't have poudriere to confirm this, I think this may have been the /root/.config/xbuild/pkgconfig-cache-2.xml which is a left over file from the mono xbuild utility caching results from pkgconfig.
A commit references this bug: Author: adamw Date: Sun Nov 9 16:25:28 UTC 2014 New revision: 372363 URL: https://svnweb.freebsd.org/changeset/ports/372363 Log: Update MediaBrowser port to latest upstream 3.0.5424.1 stable. Also tidy up a few items in the port recommended by josh4trunks. This includes improving rc script to minimise customisation (maximise use of rc.subr), moving the storage of the MediaBrowser database files to /var/db/mediabrowser and adding some more comments for users. Add an entry to UPDATING explaining the database directory move from /usr/local/mediabrowser to /var/db/mediabrowser. The default MediaBrowser database/configuration/logs/media metadata storage directory has moved from /usr/local/mediabrowser to /var/db/mediabrowser. Users are advised either to move the contents of the old directory to the new location, or to add a mediabrowser_data_dir entry to /etc/rc.conf. PR: 194904 Submitted by: Ben Woods Changes: head/UPDATING head/multimedia/mediabrowser/Makefile head/multimedia/mediabrowser/distinfo head/multimedia/mediabrowser/files/mediabrowser.in head/multimedia/mediabrowser/pkg-message head/multimedia/mediabrowser/pkg-plist
Done, thanks Ben. The mediabrowser.in script looks much cleaner now, and poudriere reports no errors.