polkit-1 for elogind

Svante Signell svante.signell at gmail.com
Fri Nov 23 12:47:12 GMT 2018


On Fri, 2018-11-23 at 09:38 +0000, Mark Hindley wrote:
> On Thu, Nov 22, 2018 at 06:17:48PM +0000, Mark Hindley wrote:
> > On Thu, Nov 22, 2018 at 06:07:04PM +0000, Ian Jackson wrote:
> > > Andreas Messer writes ("Re: polkit-1 for elogind"):
> > > > On Thu, Nov 22, 2018 at 09:36:36AM +0000, Mark Hindley wrote: One
> > > > > question: how do we want to name the elogind flavour packages?
> > > > > Svante, I notice that in Devuan you changed from libfoo-1-elogind
> > > > > to libfoo-elogind-1. Can you remember why?
> > > > 
> > > > I think debian policy requires that package name ends with the .so
> > > > library major version number.
> > > 
> > > That is indeed the usual approach.
> > 
> > OK, I will leave it as it is.
> 
> Actually, I have just had a quick look at the policy and considered other
> examples (libcurl tls/ssl flavours come to mind).

Is this what you are talking about?

 libcurl3-gnutls deb libs optional arch=any
 libcurl3-nss deb libs optional arch=any
 libcurl4 deb libs optional arch=any
 libcurl4-doc deb doc optional arch=all
 libcurl4-gnutls-dev deb libdevel optional arch=any
 libcurl4-nss-dev deb libdevel optional arch=any
 libcurl4-openssl-dev deb libdevel optional arch=any

with libraries e.g. for libcurl3:
/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0
/usr/lib/x86_64-linux-gnu/libcurl.so.3 -> libcurl.so.4
/usr/lib/x86_64-linux-gnu/libcurl.so.4 -> libcurl.so.4.4.0

 libcrypto1.1-udeb udeb debian-installer optional arch=any
 libssl-dev deb libdevel optional arch=any
 libssl-doc deb doc optional arch=all
 libssl1.1 deb libs important arch=any
 libssl1.1-udeb udeb debian-installer optional arch=any

> The policy says <soname><version> with an optional hyphen if the soname ends
> in a number. We are proposing different flavours of the same soname library.
> So I wonder if libpolkit-foo-1-0-elogind is better?

Well, as it is now in Devuan ASCII we have e.g.
libpolkit-backend-consolekit-1-0 and the library name is
libpolkit-backend-1.so.0 -> libpolkit-backend-1.so.0.0.0
while
libpolkit-backend-elogind-1-0 has
libpolkit-backend-1.so.0 -> libpolkit-backend-1.so.0.0.0

In my opinion that is consistent with Debian policy.

Otherwise we should name the packages like:
libpolkit1-backend-consolekit etc, if we are to follow the above examples.






More information about the Debian-init-diversity mailing list