diff options
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/Manifest.gz | bin | 11263 -> 11250 bytes | |||
-rw-r--r-- | sys-auth/elogind/Manifest | 4 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-239.4.ebuild | 2 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-241.3.ebuild | 2 | ||||
-rw-r--r-- | sys-auth/libfprint/Manifest | 4 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.8.2.ebuild | 42 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.99.0.ebuild | 6 | ||||
-rw-r--r-- | sys-auth/polkit/Manifest | 2 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.116.ebuild | 141 |
9 files changed, 151 insertions, 52 deletions
diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz Binary files differindex 4e261a226e21..0d74c5a58a53 100644 --- a/sys-auth/Manifest.gz +++ b/sys-auth/Manifest.gz diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 67073146e2b3..5a7388019181 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -7,7 +7,7 @@ AUX elogind.init 490 BLAKE2B 71c102f89a71a2963da50b153d8696a9480d81caa48e8422e7f DIST elogind-239.4.tar.gz 1183999 BLAKE2B 3a0aa216ee565ae8f3311b16af9752a99519254ac8737de2a44821e95d05b3e2d8b82af3d397367e8804d7bc45cb942859516f195848ba0317aa73891d77903b SHA512 84e9765d7c3039478b06a683870b37ec718724f1185b56c1b74885133283ad1678f3ca8a73510cb4b0777d099c54f59e927caaae7ae988abda803150b84cf8fc DIST elogind-241.2.tar.gz 1399508 BLAKE2B 4f4104785c629b1d7378439ab03e2bead800bbe2403120b9337e747aee5b5d0486cc893b49ddc972c833b2201c7eeef3b60e34b4f5c9cf1d6a89e9a487888a8a SHA512 7f4a822682856547d430f893bb55a9bf5fc2680aff1b31bb3f120f92ccb1d69b848cbba7f59edd3376d083b641d570bf9c56e62a789090e76e4b37dfb375995a DIST elogind-241.3.tar.gz 1401391 BLAKE2B 90bc10af1b6d66bc6b6e15314cbc7005f270ebd04767a88d93605d81b199758c7f5423ea85f9810f8dfcde82c6c2b8094e2237cf2ca70a9dfc45a4a8e20b0439 SHA512 b33c0ed85c4a97216f8d56441207510be180258d4f4e5ff9dea07d59d53b84b03c27f5397f09214ce9fc880f38865e20d7c05b41255d4b762c33099b7ebb53eb -EBUILD elogind-239.4.ebuild 3509 BLAKE2B 600ef529091da11d2ca4ea4047fa094d19a3831a9e3502fea07855fe8f101da50d733fcd8517b7ef7fa2a07d213853a954cfcd8ac5a231cbf1832e79cbed9e92 SHA512 95d119dc548ba80100f91c6e4d8378dd9e3f654a29ef5adb754c47390baf6272089f8aa2b80e309ae7c348d723f09ebf245dd1710816a0cc74f67f17bb1d6cf6 +EBUILD elogind-239.4.ebuild 3515 BLAKE2B 57b0f118f082cfe21433d593c68b2a815303219ba1bd5b33e7b966167a0d0c614412093b6c789f64d9c0892c5f17a7ce6e40c3658cf5fb22522f6606add9ab97 SHA512 63565d8fef437ace9ec05856f7590258c9fd37ddee62b4152f947cc889a81435f54cc5c1e70fb5b6b9c79892b67941bbdc3d971eaac561bdd89bf5a09dd71075 EBUILD elogind-241.2.ebuild 3539 BLAKE2B fc84fa17a2b0beef70971775753ec428c885147178e598341286ada635ce6599beb44f14f7d9e86fa4e6baffd88e0463c208b5fdb607e92ff6e34926b0146272 SHA512 cd237a22e4d02bffe364b5cabc63aebeaf7d0f65cd615c3af3feb77afb6d7612d0ff555568aa4da8b663482c27d859f724c80d5d2a9e0ca323d47b646c363b71 -EBUILD elogind-241.3.ebuild 3493 BLAKE2B 207dceabdd4ab426ed649de7a89382d524c3461585dc4078776cda534034c52ed53ee6c7f38deee037afebbcdc1293e0bd9b01e9a7183cdc449f91d5353bf99d SHA512 3d07749814eaec92e6cd6d283d97add2bb37d604b429e6bd1570eb6f1d9a4842ff0f07717fdea350e1504eb5bb59207eb16fc010de9ce912ea2e4d4d6c085efc +EBUILD elogind-241.3.ebuild 3499 BLAKE2B 4116a3e8929951c5682664a166d73abd9b2074f47c61bf129321fddf26e783b8b61bb8818fbeaa32ea2d62c0e8f452113dc52f36b7a692f71f255506752188f7 SHA512 94088760be0c15b8c27e0727eb2b8b0197a0396f34d42274828527621dd32318d3d65d32125d689be1fafd95866ab8787aadb52145b84b7933649cf4e8de4320 MISC metadata.xml 379 BLAKE2B fc63654412fa4cb02122205ad53d29ed35153457c5dd5c5ab8fa3c3dbfcc7c00b2704220d4cb9040f8d6f794bbb9bd0f8cb9be80d410efb6cf85eeee8ce46503 SHA512 30be0eb7903ffb83d9e24fbcacc8db09c0f8cd7187df5f75b2c12fb5cfae1110d52f29aba502ea92af53df02451cc40e0f3789382f87a16bd281f06e9cad6c68 diff --git a/sys-auth/elogind/elogind-239.4.ebuild b/sys-auth/elogind/elogind-239.4.ebuild index 37683d18cf76..e2f9b8f930b6 100644 --- a/sys-auth/elogind/elogind-239.4.ebuild +++ b/sys-auth/elogind/elogind-239.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="CC0-1.0 LGPL-2.1+ public-domain" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND=" diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 858ace68ac69..c4f05ff75329 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="CC0-1.0 LGPL-2.1+ public-domain" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND=" diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest index f364ad9a5f0e..41eb450f76cb 100644 --- a/sys-auth/libfprint/Manifest +++ b/sys-auth/libfprint/Manifest @@ -2,9 +2,7 @@ AUX libfprint-0.6.0-fix-udev-rules.patch 1436 BLAKE2B 0e1d31c33ba0a1462e4c548254 AUX libfprint-0.8.2-fix-implicit-declaration.patch 4831 BLAKE2B ec61d1ee189549f4456634b5b0157f32c61b2255330681b96bc50c73d9a5d51c1058f4f82b979ca4695d9d1065b0623e86be943f98c1582725bcddda0630156b SHA512 afd4e7c5ee65a91b17aa8bec4c6a0ba5b972e9f2586a0cfa7adc823d2a1f8d2378ed28928c5108870d2347f3edb2f343a24b2eaef6c015b7650834b4d76ceb73 DIST libfprint-0.6.0.tar.bz2 323590 BLAKE2B 8a592241ded8826337db075dd26960a9712e1a01855c6fd2c461b73ea6e2fac5248bce16165144b48271b368d0b2a82963eab00a64a88c27539e19aee54b9ba4 SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9 DIST libfprint-0.6.0_vfs0050.patch.gz 9944 BLAKE2B b53a74f64c9691cee7c4e7f2f54afcffe2b00b63914900ed107426a9e42721548caa1ec80e1e39251ee6a0daec6ecf7f80d6704d37bc984dd1ac76320d0b4256 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674 -DIST libfprint-0.8.2.tar.gz 418437 BLAKE2B 396fee3b84958f273462fe92553a6a2dbefcadfc54c56531855fcef94613cd03ba68705585802992f86aa8175cb7dda0e80e96931de4a11da973b1f9ce2c4777 SHA512 56f7927adcb40866bfef67624221b921ba3d68e770e707c432f47c0bb1f5e233fd2427bacb448544167257b6ad9edf9008a188f408142288f4dbfee2115e9a8f DIST libfprint-0.99.0.tar.gz 473925 BLAKE2B 799e3600393e4b25f7b0685ff0456ca391e5fcaef36e5b4475371cd07c848e40820dbbdc5a241fe11c6ee08b818380967129f85e177b5d8714b9dbc4d7b68ea1 SHA512 eca1d45baa23b7db1fcc5d7a9a396fe504aadc6ec2e68da32b5415fb0fff1227566d579271e0b34895ce7f3baa55314a0ccd20bb8c4adba253063b7b61284748 EBUILD libfprint-0.6.0-r2.ebuild 1273 BLAKE2B 4e5371e38e79e1dfe0c25e36cfa79d03c2b823c145110fd9c8e13a241534cce708e7a67090bdacd203aab33693c46f494780ec46b6dea6a486b88b4a9a01487b SHA512 4e6d1285e871c53be91dc4ae834cd040dd5932d61c38cccb628c86d8b7cad5652faf498943ab8941041a32b5138a033b934a9d6ebaa5662dbfff285f458ba759 -EBUILD libfprint-0.8.2.ebuild 1062 BLAKE2B 3bba972cd7430dee34580eb55edeff675f37e3a4fa84d34c36cd10fb6ec2100816b1c04dd9aa80d2f661fc2ae795e0f138eccda479e561214a030a3532d5943a SHA512 841e8e8782def4748405ab0014460c5db155332979a74166299c5c5ea70419a51d3b23db002986896164061b64c718260080f5d3c7d6625c6bbbb4cdbb765732 -EBUILD libfprint-0.99.0.ebuild 1084 BLAKE2B d9d45a79c4c4d77c074de47ed8ce234da04171b5662844f2854af181bc17d9e25e211b55e5be95a2d5775be7bbeea0c68c30234f9e7382cd7fa96d677f17e695 SHA512 5799b38f5ed958cfada9d5e3db9decdf827cf0317d37d0b313a92970d2a5e77079f972ea42ddf2bff5f05d91e1a7a0080d19a0db24d9d5020b9f69fada96af41 +EBUILD libfprint-0.99.0.ebuild 1063 BLAKE2B 6b1e7e7c2f13da8f62986ebd72b8814d5144d3fd46a756403e53c86a15c1d426c646d13817f078516a2fdab1a3b53651490f6efbffca8784b2b8f773947ef027 SHA512 304974ee1234b1caffdf117f265925381b7b4b59463c25eaeccf573c734e2ed9e49f2f49ee5a49a5716b94fe9aecd2d3fe3133b6f99571b0c2a35154f212a5fd MISC metadata.xml 347 BLAKE2B dd0d99ac1a5a8cc925618bc556216a23f14fab90dd2e1d66747e4af3fd64d410812aac366a0e11cc169af7345c8bbf304577da5a1faf75f557bb4ba18033fb0f SHA512 f3303670a2e7d4b30732d335b313edda6c97952f2f6290ff6b1d67a8a237e147ba7c7c4edcb58994679ff9cbf606fb82b79bec1ba840a22b46ee21cfd26aefc9 diff --git a/sys-auth/libfprint/libfprint-0.8.2.ebuild b/sys-auth/libfprint/libfprint-0.8.2.ebuild deleted file mode 100644 index da49365cca3f..000000000000 --- a/sys-auth/libfprint/libfprint-0.8.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eapi7-ver meson udev - -DESCRIPTION="library to add support for consumer fingerprint readers" -HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint" -SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc examples" - -RDEPEND="dev-libs/glib:2 - dev-libs/nss - virtual/libusb:1= - x11-libs/pixman - x11-libs/libX11 - x11-libs/libXv" - -DEPEND="${RDEPEND} - dev-util/gtk-doc - virtual/pkgconfig" - -PATCHES=( ${FILESDIR}/${P}-fix-implicit-declaration.patch ) - -S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')" - -src_configure() { - local emesonargs=( - -Ddoc=$(usex doc true false) - -Dx11-examples=$(usex examples true false) - -Ddrivers=all - -Dudev_rules=true - -Dudev_rules_dir=$(get_udevdir)/rules.d - --libdir=/usr/$(get_libdir) - ) - meson_src_configure -} diff --git a/sys-auth/libfprint/libfprint-0.99.0.ebuild b/sys-auth/libfprint/libfprint-0.99.0.ebuild index b0e99aa22166..f47dc6065968 100644 --- a/sys-auth/libfprint/libfprint-0.99.0.ebuild +++ b/sys-auth/libfprint/libfprint-0.99.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').ta LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc examples" +IUSE="examples" RDEPEND="dev-libs/glib:2 dev-libs/nss @@ -33,7 +33,7 @@ S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')" src_configure() { local emesonargs=( - -Ddoc=$(usex doc true false) + -Ddoc=false -Dx11-examples=$(usex examples true false) -Ddrivers=all -Dudev_rules=true diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 4b60dfc53f7a..7d7c9bb904a9 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -4,7 +4,9 @@ AUX polkit-0.115-elogind.patch 1069 BLAKE2B 6c5a3d7d3e716a994b951181808f64d864e6 AUX polkit-0.115-spidermonkey-60.patch 5562 BLAKE2B 8f262d682ea413f83bc555bacbeb4306cdee156cc1ee1a98ab76de20f1aeaef405e772536190eaf3a842ef365514f7b68760200e9ddb9342498b01f40f0f9662 SHA512 41d6a9e63dfbd788267b7de231161d57988b4bf90fd52fb49ac7c139a4621476e76b891ae510786611a0c3cf9914a62aa105e2a1a202d29c47a2091fe6e7e9b9 DIST polkit-0.113.tar.gz 1448865 BLAKE2B 93cb6abf03d0de193e9f64b953bee40faf3bd07cf6f86beb4f84edd740dedc0bcf7a1ffd6b3a1a816e5adad0ee59536dacae3d991add4c4965cc6a98566b7470 SHA512 ab177c89a20eeb2978ddbe28afb205d3619f9c5defe833eb68a85e71a0f2c905367f1295cbbfb85da5eafdd661bce474d5d84aca9195cd425a18c9b4170eb5f9 DIST polkit-0.115.tar.gz 1550932 BLAKE2B 3185ebed46209f88a9ffccbbcaf1bf180d1ae6d5ec53cf3c66d867ad43910b47a1123a3db190991ebb382a0d28fc5a119ea4bab942db324e9af5663056cf6ee1 SHA512 1153011fa93145b2c184e6b3446d3ca21b38918641aeccd8fac3985ac3e30ec6bc75be6973985fde90f2a24236592f1595be259155061c2d33358dd17c4ee4fc +DIST polkit-0.116.tar.gz 1548311 BLAKE2B e9761a2934136d453a47b81dd1f132f9fc96c45b731d5fceb2aa7706f5325b6499f6acbb68032befc1b21878b1b54754685607c916ca8e02a8accca3ca014b31 SHA512 b66b01cc2bb4349de70147f41f161f0f6f41e7230b581dfb054058b48969ec57041ab05b51787c749ccfc36aa5f317952d7e7ba337b4f6f6c0a923ed5866c2d5 EBUILD polkit-0.113-r4.ebuild 3471 BLAKE2B 521e37d8ac00c3dfaed2f31e5aaedfec1e11b3ffd629e362b310c91b134642538fbea7fe2f9280ca21cd5bf1136b3142781e589660b08d1f1d2a8102a01e2bea SHA512 86ec712423c855648a56e998f8c77d37f24d3e9efe0898c8acc4a9e5ac09eb1cc5135f997c5a8dfa06bde4153f734d1bdbf44425eb004be4fb74df258a443a63 EBUILD polkit-0.115-r3.ebuild 3533 BLAKE2B 42bc7d8bca24b2c50a0606e71f03a8fe493da7aa4e8d5547dc87a2c06c831d130c48a4180b89b6e5690c82afaedc9d1e1480a7ae2cd94f87aa4a1c71b5838e00 SHA512 1d2675288de4fa08d17b8cb5decaf4edd776f7b6e7df1f1a78b3df610b7115fb6ecc23d1552c410ab4a240818900b028f65a8f0b0a825c008a1c968eedf3a16f EBUILD polkit-0.115-r4.ebuild 3624 BLAKE2B 91f5dacc2e17a35cdbcd40d76e044699af6bbcc3bf9b7ba9ff60255fa71bb5d53e0f32868bd2fdcb14bbfddc3636ad1807bcfe65d8e547716976c79e4d33ed58 SHA512 e58772be2b8639b2a3489f411164f626502ed937280ca01eafa46fda356c59d9e5a914735ad7644bd6907d57b5fab24a5234f13ba33fe18ff4eaf3a188a222d6 +EBUILD polkit-0.116.ebuild 3538 BLAKE2B bf15f17cbb364e5b1198076aea7d0b49ff9b0d0784cf651f79a919bca6d42f50e59a471ac7d0c00c699b7dddcea955301f2652878f2c8820fd6910afad9a2c97 SHA512 a6f96f4ef9abe67055777be109ddfb667f6191db4439978c6b7a3ad61d941dc50d618686c66383b7b59945cd464f570f2887543020767d3a3689690e3f6b4a44 MISC metadata.xml 498 BLAKE2B 8bbfe2ee11b53b77dc26215776a87acd7cade59a5a139ada605f2ad293c569005d2bd517aaee1c6f4ea45251a0cc67f10082c96c2224d47fd84b5e1d87dcb724 SHA512 16ab1ff82daad858eb9adf7396b0e3d5845914eb7d7f1590cdea44fe1a2214043f011cd65cdde2e2195b959bae6581845bc6b4981fd400b3d8719f400f85b6dc diff --git a/sys-auth/polkit/polkit-0.116.ebuild b/sys-auth/polkit/polkit-0.116.ebuild new file mode 100644 index 000000000000..b3fdcd99dd81 --- /dev/null +++ b/sys-auth/polkit/polkit-0.116.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools pam pax-utils systemd user xdg-utils + +DESCRIPTION="Policy framework for controlling privileges for system-wide services" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://gitlab.freedesktop.org/polkit/polkit" +SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test" + +REQUIRED_USE="^^ ( consolekit elogind systemd )" + +BDEPEND=" + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xsl-stylesheets + dev-libs/gobject-introspection-common + dev-libs/libxslt + dev-util/glib-utils + dev-util/gtk-doc-am + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + introspection? ( dev-libs/gobject-introspection ) +" +DEPEND=" + dev-lang/spidermonkey:60[-debug] + dev-libs/glib:2 + dev-libs/expat + elogind? ( sys-auth/elogind ) + pam? ( + sys-auth/pambase + virtual/pam + ) + systemd? ( sys-apps/systemd:0=[policykit] ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-policykit ) +" +PDEPEND=" + consolekit? ( sys-auth/consolekit[policykit] ) + gtk? ( || ( + >=gnome-extra/polkit-gnome-0.105 + >=lxde-base/lxsession-0.5.2 + ) ) + kde? ( kde-plasma/polkit-kde-agent ) +" + +DOCS=( docs/TODO HACKING NEWS README ) + +PATCHES=( + # bug 660880 + "${FILESDIR}"/polkit-0.115-elogind.patch +) + +QA_MULTILIB_PATHS=" + usr/lib/polkit-1/polkit-agent-helper-1 + usr/lib/polkit-1/polkitd" + +pkg_setup() { + local u=polkitd + local g=polkitd + local h=/var/lib/polkit-1 + + enewgroup ${g} + enewuser ${u} -1 -1 ${h} ${g} + esethome ${u} ${h} +} + +src_prepare() { + default + + sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513 + + # Workaround upstream hack around standard gtk-doc behavior, bug #552170 + sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \ + -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \ + -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \ + docs/polkit/Makefile.in || die + + # disable broken test - bug #624022 + sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die + + # Fix cross-building, bug #590764, elogind patch, bug #598615 + eautoreconf +} + +src_configure() { + xdg_environment_reset + + local myeconfargs=( + --localstatedir="${EPREFIX}"/var + --disable-static + --enable-man-pages + --disable-gtk-doc + --disable-examples + $(use_enable elogind libelogind) + $(use_enable introspection) + $(use_enable nls) + $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '') + --with-authfw=$(usex pam pam shadow) + $(use_enable systemd libsystemd-login) + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + $(use_enable test) + --with-os-type=gentoo + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + # Required for polkitd on hardened/PaX due to spidermonkey's JIT + pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest +} + +src_install() { + default + + fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d + + diropts -m0700 -o polkitd -g polkitd + keepdir /var/lib/polkit-1 + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins src/examples/{*.c,*.policy*} + fi + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d + chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 +} |