> - prefsdir
> DEB - /etc/squeezecenter
> RPM - /var/lib/squeezecenter/prefs
> Rationale - FHS compatibility.  The prefs files, including all the
> plugin prefs files, really aren't static configuration files.  They are
> variable state data and belong under /var/lib.  Note that the RPM still
> uses /etc/squeezecenter for the conf files.  Note also that the RPM
> incldues a symlink from /etc/squeezecenter/server.conf to
> /var/lib/squeezecenter/prefs/server.prefs just for convenience.
Sounds fine, as long as custom-* files are kept in /etc, it would be
good to move it.  the symlinks are also a good idea.

> - cachedir
> DEB - /var/cache/squeezecenter
> RPM - /var/lib/squeezecenter/cache
> Rationale - FHS compatibility.  The FHS requires that /var/cache only
> contain data that can be recreated if deleted.  The SC cachedir may
> contain user opml files that do not fit this requirement.
Also agreed, but maybe the mysql stuff should have it's own dir
(/var/lib/squeezecenter/MySQL)  

> - executable location
> DEB - /usr/sbin
> RPM - /usr/libexec
> Rationale - FHS compatibility.  This could probably go either way, but
> Robin Bowes convinced me that /usr/libexec is more correct.  I agree.
Debian/Ubuntu do not use /usr/libexec for anything.  I would suggest
/usr/lib/squeezecenter or /usr/lib/squeezecenter/bin.  This follows
with the way packages like postfix are built.

> - executable names
> DEB - squeezecenter, squeezecenter-scanner
> RPM - squeezecenter-server, squeezecenter-scanner
> Rationale - I just thought this was cleaner.  Note that the DEB also
> contains a wrapper script not present in the RPM.  I've never looked
> into why that wrapper is required.
I'm not sure about this either.

> - Perl modules location
> DEB - /usr/share/perl5/Slim
> RPM - /usr/lib/perl5/vendor_perl/Slim
> I think these are both correct for the respecitve platforms.
Agreed, /usr/share/perl5/Slim is correct for DEB

> - 3rd Party Plugins
> DEB - /usr/share/squeezecenter/Plugins
> RPM - /var/lib/squeezecenter/Plugins (with a symlink from
> /usr/share/squeezecenter/Plugins)
> Rationale - FHS compatibility.  The FHS requires that things will not
> break if /usr is mounted read-only.  This location change is to prepare
> for the future when SC includes a web GUI based plugin installer.  This
> installer, running as a non-root user, must be able to install Plugins
> even if /usr is read only.
Agreed, plugins should not go in /usr

> - squeezecenter user
> DEB - squeezecenter user
> RPM - squeezecenter user and group
> I think these are both correct for the respecitve platforms.
Agreed.


-- 
SuperQ
------------------------------------------------------------------------
SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139
View this thread: http://forums.slimdevices.com/showthread.php?t=41652

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to