polkit: add patches from Fedora
This fixes few leaks and adds ITS description files which are needed for some reverse dependencies.
This commit is contained in:
parent
5479f742e6
commit
e7fa6220d6
@ -1,6 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, expat, pam, intltool, spidermonkey_17
|
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, glib, expat, pam
|
||||||
, gobjectIntrospection, libxslt, docbook_xsl, docbook_xml_dtd_412
|
, intltool, spidermonkey_17 , gobjectIntrospection, libxslt, docbook_xsl
|
||||||
, useSystemd ? stdenv.isLinux, systemd }:
|
, docbook_xml_dtd_412, gtk_doc
|
||||||
|
, useSystemd ? stdenv.isLinux, systemd
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -22,11 +24,28 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "109w86kfqrgz83g9ivggplmgc77rz8kx8646izvm2jb57h4rbh71";
|
sha256 = "109w86kfqrgz83g9ivggplmgc77rz8kx8646izvm2jb57h4rbh71";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "http://pkgs.fedoraproject.org/cgit/rpms/polkit.git/plain/polkit-0.113-agent-leaks.patch?id=fa6fd575804de92886c95d3bc2b7eb2abcd13760";
|
||||||
|
sha256 = "1cxnhj0y30g7ldqq1y6zwsbdwcx7h97d3mpd3h5jy7dhg3h9ym91";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "http://pkgs.fedoraproject.org/cgit/rpms/polkit.git/plain/polkit-0.113-polkitpermission-leak.patch?id=fa6fd575804de92886c95d3bc2b7eb2abcd13760";
|
||||||
|
sha256 = "1h1rkd4avqyyr8q6836zzr3w10jf521gcqnvhrhzwdpgp1ay4si7";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "http://pkgs.fedoraproject.org/cgit/rpms/polkit.git/plain/polkit-0.113-itstool.patch?id=fa6fd575804de92886c95d3bc2b7eb2abcd13760";
|
||||||
|
sha256 = "0bxmjwp8ahy1y5g1l0kxmld0l3mlvb2l0i5n1qabia3d5iyjkyfh";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "out" ]; # small man pages in $bin
|
outputs = [ "bin" "dev" "out" ]; # small man pages in $bin
|
||||||
|
|
||||||
|
nativeBuildInputs =
|
||||||
|
[ gtk_doc pkgconfig autoreconfHook ]
|
||||||
|
++ [ libxslt docbook_xsl docbook_xml_dtd_412 ]; # man pages
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig glib expat pam intltool spidermonkey_17 gobjectIntrospection ]
|
[ glib expat pam intltool spidermonkey_17 gobjectIntrospection ]
|
||||||
++ [ libxslt docbook_xsl docbook_xml_dtd_412 ] # man pages
|
|
||||||
++ stdenv.lib.optional useSystemd systemd;
|
++ stdenv.lib.optional useSystemd systemd;
|
||||||
|
|
||||||
# Ugly hack to overwrite hardcoded directories
|
# Ugly hack to overwrite hardcoded directories
|
||||||
|
Loading…
x
Reference in New Issue
Block a user