[Pkg-zope-developers] questions regarding zope2.7 product packages
Jonas Meurer
jonas@freesources.org
Fri, 29 Apr 2005 15:25:18 +0200
hello,
i maintain zope2.6-verbosesecurity and zope-verbosesecurity.
the former one is an obsolete version and the only reason to keep it in
the archive is, that superiour versions of VerboseSecurity don't support
Zope < 2.7 any longer.
thus the latter one, zope-verbosesecurity is only for zope2.7 and
therefore doesn't need to provide files, links etc. for zope2.6
installations.
my main problems are:
1. does zope2.7 provide the shared/zope/restart debconf templates as
well? currently the postinst contains:
case "$1" in
configure)
db_get "shared/zope/restart" || true
case "$RET" in
configuring)
invoke-rc.d zope2.7 restart
;;
end)
touch /var/run/zope2.7.restart
;;
esac
;;
esac
is this correct for zope2.7 only packages?
2. zope2.7 has /usr/share/zope2.7/lib/python/Products/ as well as
/usr/lib/zope2.7/lib/python/Products/.
currently i install the VerboseSecurity product files into
usr/share/zope2.7/lib/python/Products/VerboseSecurity, but i received
bugreport #284591, which suggests to link this to
/usr/lib/zope2.7/lib/python/Products/VerboseSecurity.
i searched also at other zope-* and zope2.7-* debian packages, but i
didn't find any example that considers this issue. only native zope2.7
products are linked into /usr/lib/zope2.7/lib/python/.
seems like the most common way is to install only into zope (2.6) subdirs,
expecting the user to link these to zope2.7 directories in order to make
the products available for zope2.7.
i'm not sure whether the requested symlink (in bug#284591) is necessary.
i don't even know why two Products directories exist at all.
seems like the one is for static files and the other only for (pre)compiled
python scripts, is that correct?
last but not least i'dd like to know whether zope2.6-verbosesecurity is
the correct package name for a package that is for zope 2.6 only.
no matter which zope versions will be default in future,
zope-verbosesecurity will stay the package for the most recent zope
version, currently 2.7.
i'm asking as i didn't find any other zope2.6-* packages, but several
zope2.7-* packages.
bye
jonas
ps: i prepared a zope2.7 package for ZMySQLDA recently (zope2.7-mysqlda),
it can be found at people.debian.org/~mejo/zope2.7-mysqlda.
maybe you can comment on the way i packaged it, and whether it
consideres all existing zope2.7 issues.