<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 3 dic 2018 alle ore 14:53 Mark Hindley <<a href="mailto:mark@hindley.org.uk">mark@hindley.org.uk</a>> ha scritto:</div><div dir="ltr">>I have only seen compile time options for this. What is your runtime solution?</div><div> </div><div>Hi Mark,</div><div>Maybe a fake lead or maybe something to work with.</div><div><br></div><div>When you build polkit-1 (the one in Debian Sid, not in experimental) from Debian source</div><div>try to:</div><div>* apply the patch [1] with quilt</div><div>* install both libelogind-dev and libsystemd-dev</div><div>* just do the build, without changing anything in the rule file</div><div>* Inspect the package with 'dpkg -I package.deb'<br></div><div><br></div><div>The result, for me, is </div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ dpkg -I libpolkit-backend-1-0_0.105-21_amd64.deb  </span><br> new Debian package, version 2.0.
<br> size 47112 bytes: control archive=1304 bytes.
<br>     691 bytes,    16 lines      control               <br>     258 bytes,     3 lines      md5sums               <br>      44 bytes,     1 lines      shlibs                <br>    2580 bytes,    47 lines      symbols               <br>      67 bytes,     2 lines      triggers              <br> Package: libpolkit-backend-1-0
<br> Source: policykit-1
<br> Version: 0.105-21
<br> Architecture: amd64
<br> Maintainer: Utopia Maintenance Team <<a href="mailto:pkg-utopia-maintainers@lists.alioth.debian.org">pkg-utopia-maintainers@lists.alioth.debian.org</a>>
<br> Installed-Size: 135
<br> Depends: libc6 (>= 2.4), libelogind0, libexpat1 (>= 2.0.1), libglib2.0-0 (>= 2.37.3), libpolkit-gobject-1-0 (= 0<br>.105-21), libsystemd0 (>= 213)
<br> Section: libs
<br> Priority: optional
<br> Multi-Arch: same
<br> Homepage: <a href="https://www.freedesktop.org/wiki/Software/polkit/">https://www.freedesktop.org/wiki/Software/polkit/</a>
<br> Description: PolicyKit backend API
<br>  PolicyKit is a toolkit for defining and handling the policy that
<br>  allows unprivileged processes to speak to privileged processes.
<br>  .
<br>  This package contains a library for implementing authentication backends.<br>
<br></span></div><div>Haven't check if the Dep on libsystemd0 is some spuriuos dependency wrongly determined by the dh sequencer, </div><div>or if it's really linked against both libelogind and libsystemd. I can add that</div><div>* it works with elogind (for me)</div><div>* It's build on my system with 'dpkg-buildpackage', don't know if it's replicable in a proper chroot build</div><div>* Haven't try to see if it's working with systemd and libpam-systemd</div><div><br></div><div>[1] the patch:</div><div><a href="https://pastebin.com/hjt3iPRU">https://pastebin.com/hjt3iPRU</a><br></div><div><br></div><div> </div></div></div></div>