debian/: Move polkit-agent executable to /usr/libexec directory. Move man page into mate-polkit-bin bin:pkg. (Closes: #1006996).

This commit is contained in:
Thomas Uhle 2023-04-25 14:54:32 +02:00 committed by Mike Gabriel
parent 074f2260d6
commit fa9d0d1b05
6 changed files with 10 additions and 12 deletions

3
debian/bin/mate-polkit vendored Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/usr/libexec/polkit-mate-authentication-agent-1 &

View File

@ -1,3 +0,0 @@
#!/bin/sh
/usr/lib/@DEB_HOST_MULTIARCH@/polkit-mate/polkit-mate-authentication-agent-1 &

10
debian/control vendored
View File

@ -26,7 +26,8 @@ Package: mate-polkit-bin
Architecture: all
Depends: mate-polkit (>= ${source:Version}),
${misc:Depends},
Breaks: mate-polkit (<< 1.12.0-3~),
Breaks: mate-polkit (<< 1.26.1-2~),
Replaces: mate-polkit (<< 1.26.1-2~),
Description: MATE authentication agent for PolicyKit-1 (executable wrapper script)
The mate-polkit package provides a D-Bus session bus service that is used to
bring up authentication dialogs used for obtaining privileges.
@ -40,9 +41,8 @@ Description: MATE authentication agent for PolicyKit-1 (executable wrapper scrip
Package: mate-polkit
Architecture: any
Multi-Arch: same
Depends: accountsservice,
mate-polkit-common (= ${binary:Version}),
mate-polkit-common (>= ${source:Version}),
policykit-1,
${misc:Depends},
${shlibs:Depends},
@ -54,10 +54,8 @@ Description: MATE authentication agent for PolicyKit-1
This package contains the MATE policy kit authentication agent.
Package: mate-polkit-common
Architecture: any
Multi-Arch: foreign
Architecture: all
Depends: ${misc:Depends},
${shlibs:Depends},
Breaks: mate-polkit (<< 1.8.0),
Description: MATE authentication agent for PolicyKit-1 (common files)
The mate-polkit package provides a D-Bus session bus service that is used to

View File

@ -1 +1 @@
usr/lib/*/polkit-mate/
usr/libexec/

4
debian/rules vendored
View File

@ -21,7 +21,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --disable-silent-rules \
--localstatedir=/var \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--includedir=/usr/include/$(DEB_HOST_MULTIARCH) \
--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/polkit-mate \
--libexecdir=/usr/libexec \
--disable-silent-rules \
--disable-static \
--enable-gtk-doc
@ -35,7 +35,7 @@ remove-cruft::
install-wrapper::
mkdir -p debian/tmp/usr/bin/
sed -e 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/' < debian/bin/mate-polkit.in > debian/tmp/usr/bin/mate-polkit
cp -p debian/bin/mate-polkit debian/tmp/usr/bin/mate-polkit
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..