[Zope-dev] Zope RPMs/debs and Linux FHS
Federico Di Gregorio
fog@initd.org
13 Oct 2002 16:54:06 +0200
--=-4FtQb7JxIbI2Ba9SeSUl
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Il dom, 2002-10-13 alle 00:28, Chris McDonough ha scritto:
> - Jeff's puts some stuff into the current prevailing python's
> site-packages directory and some other stuff into /usr/share/zope.
> Mine puts nothing into site-packages, and installs all Zope software
> into /opt/zope.
>=20
> - Jeff's creates an INSTANCE_HOME in /var/zope. Mine creates an
> INSTANCE_HOME in /var/opt/zope. I don't know if this is the right
> thing but in reading the Linux FHS, it advises to not create
> subdirectories of var directly... so I don't.
>=20
> - Jeff's puts pid files into /var/run, while mine creates pid files
> directly in INSTANCE_HOME/var.
perfect. please do that for debian packages too and let /usr for
official debian packages of Zope.
> - anybody has opinions on the packaging layout. Why is it advantageous
> to have many packages rather than one?
you can install only what you really need. for example debian as one
package for every Product not included in base Zope, so, if i want the
CMF i have only to do:
apt-get install zope-cmfdefault
> - anybody has any opinions of where Zope files distributed via RPMs and
> debs should really go, especially wrt to the Linux FHS. I'm not sure
> there is a right answer, but I don't know beans about this, so I=20
> figure I'll ask. A file named 'Zope.spec.in' is attached to this=20
> email which is the input file to create a Zope RPM spec file during=20
> the make process, to give a better idea of how this works.
/opt and /var/opt is the right place. zope.org is a "software vendor"
and stuff from software vendors should gointo /opt.
--=20
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact fog@debian.org
INIT.D Developer fog@initd.org
Best friends are often failed lovers. -- Me
--=-4FtQb7JxIbI2Ba9SeSUl
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQA9qYkNvcCgrgZGjesRAp4iAJ4i8103dlisfLsqw84oGmBoFq+PXgCgw/ZC
7/fKe90xQYZ3ayWbrEAZLcI=
=uEv8
-----END PGP SIGNATURE-----
--=-4FtQb7JxIbI2Ba9SeSUl--