Matt,

As promised, here's a list of the differences I've found between the
DEB and RPM in terms of file names and locations.  Note that this is
based on inspection - I still haven't tried to install and run it. 
I've also noted the reasoning behind the way the RPM does things. 
Obviously, I am somewhat invested in the RPM and I feel it does the
right thing.  However, if you disagree with any of the following, I
suggest we find a compromise that still meets the FHS and change either
the DEB or the RPM or both.  I'm sure your support people will be
happier if both packages use the same names and locations.

- 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.

- 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.

- 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.

- 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.

- 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.

- 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.

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


-- 
Fletch
------------------------------------------------------------------------
Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529
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