Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] EDS packaging complete

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] EDS packaging complete


Chronological Thread 
  • From: Peter Schober <>
  • To:
  • Subject: Re: [Shib-Dev] EDS packaging complete
  • Date: Mon, 11 Apr 2011 19:40:40 +0200
  • Organization: Vienna University Computer Center

* Cantor, Scott E.
<>
[2011-04-11 19:12]:
> A test version is available here:
> https://build.opensuse.org/project/repositories?project=home%3AScott_Cantor
> All the files are placed into /etc/shibboleth-ds, and only the
> minified JS file is protected from user modification by the
> package. The rest should be preserved across upgrades.

Indeed all those *.txt files should probably go into %{_docdir}/%{name}/
possibly dropping INSTALL.txt from the RPM entirely (or replacing it
with some other content, see below).

The file shibboleth-ds.conf seemingly is an Apache httpd config
snippet and would go into %{_sysconfdir}/(httpd|apache2)/conf.d
(I suppose this is planned, same as for the shib SP package).

As for the rest I first thought /var/ seems to be right (it's for
"variable data files", after all), but none of the required
subdirectories seem to fit (I was originally thinking /var/lib/%{name}
but the FHS explicitly says "Users must never need to modify files in
/var/lib to configure a package's operation.") and packages are
usually not welcome to add their own directories to /var (as in
/var/%{name}).
/usr/share/ also won't help (/usr might be mounted read-only), which
would otherwise be common for HTML and JS files.

So at least some part of the lack of (my) feedback comes from a lack
of ideas improving upon "stick it all in /etc".

Btw, INSTALL.txt contains a link to:
https://wiki.shibboleth.net/confluence/display/EDS10/Installation+and+Configuration+Guide
which currently does not exist (page renaming?) The following does:
https://wiki.shibboleth.net/confluence/display/EDS10/2.+Installation
which is a rather odd page name, IMHO, esp. as there is no other page
whose name starts with "1. ".

There probably needs to be an RPM-specific "install" document, because
the upstream docs won't help here (you'd be downloading the eds
package again, manually putting files in your local filesystem, etc.).
In "Web Page Setup" the script/@source would point to the aliased
values from shibboleth-ds.conf, etc.
-peter



Archive powered by MHonArc 2.6.16.

Top of Page