[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2024-06-06 Thread Andreas Sturmlechner
commit: 60aa0278a92eb528ba52440c35a771e8dad7ca01
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jun  6 20:21:38 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jun  6 20:22:55 2024 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=60aa0278

kde-frameworks/kauth: Add missing dependency

Upstream commit 382b6ae8c7cc19cb2c1b1f5e8f32f767f09222ce

Closes: https://github.com/gentoo/gentoo/pull/36985
Closes: https://bugs.gentoo.org/933440
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/kauth-6.3.0.ebuild | 5 -
 kde-frameworks/kauth/kauth-.ebuild  | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-6.3.0.ebuild 
b/kde-frameworks/kauth/kauth-6.3.0.ebuild
index ae4082ded7..a4550707ac 100644
--- a/kde-frameworks/kauth/kauth-6.3.0.ebuild
+++ b/kde-frameworks/kauth/kauth-6.3.0.ebuild
@@ -16,7 +16,10 @@ IUSE="+policykit"
 DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui]
=kde-frameworks/kcoreaddons-${PVCUT}*:6
-   policykit? ( >=sys-auth/polkit-qt-0.113.0[qt6(-)] )
+   policykit? (
+   =kde-frameworks/kwindowsystem-${PVCUT}*:6
+   >=sys-auth/polkit-qt-0.113.0[qt6(-)]
+   )
 "
 RDEPEND="${DEPEND}"
 BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index ea58b25569..014fa7c187 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -18,6 +18,7 @@ RDEPEND="
=kde-frameworks/kcoreaddons-${PVCUT}*:6
policykit? (
>=dev-qt/qtbase-${QTMIN}:6[dbus]
+   =kde-frameworks/kwindowsystem-${PVCUT}*:6
>=sys-auth/polkit-qt-0.113.0[qt6(-)]
)
 "



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2024-06-02 Thread Andreas Sturmlechner
commit: 8607059a76b8ddf9099ff225620e3660c2f8ad78
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  2 17:54:11 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  2 18:01:45 2024 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=8607059a

kde-frameworks/kauth: Update dependencies

Upstream commit 6c0ab5f5bb4f82db41a45a908f2c13e032d3ac23

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/kauth-.ebuild | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index af95255853..ea58b25569 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -13,12 +13,17 @@ LICENSE="LGPL-2.1+"
 KEYWORDS=""
 IUSE="+policykit"
 
-DEPEND="
-   >=dev-qt/qtbase-${QTMIN}:6[dbus,gui]
+RDEPEND="
+   >=dev-qt/qtbase-${QTMIN}:6[gui]
=kde-frameworks/kcoreaddons-${PVCUT}*:6
-   policykit? ( >=sys-auth/polkit-qt-0.113.0[qt6(-)] )
+   policykit? (
+   >=dev-qt/qtbase-${QTMIN}:6[dbus]
+   >=sys-auth/polkit-qt-0.113.0[qt6(-)]
+   )
+"
+DEPEND="${RDEPEND}
+   test? ( >=dev-qt/qtbase-${QTMIN}:6[dbus] )
 "
-RDEPEND="${DEPEND}"
 BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
 PDEPEND="policykit? ( kde-plasma/polkit-kde-agent:* )"
 



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2023-11-28 Thread Andreas Sturmlechner
commit: 6df314271999da5678aea76680356dead060b507
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Nov 28 09:50:25 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Nov 28 09:50:25 2023 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=6df31427

kde-frameworks/kauth: Define kde-plasma/polkit-kde-agent:* slot dep

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/kauth-5.239..ebuild | 2 +-
 kde-frameworks/kauth/kauth-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-5.239..ebuild 
b/kde-frameworks/kauth/kauth-5.239..ebuild
index bf919a2495..a21acd5c38 100644
--- a/kde-frameworks/kauth/kauth-5.239..ebuild
+++ b/kde-frameworks/kauth/kauth-5.239..ebuild
@@ -22,7 +22,7 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
-PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
+PDEPEND="policykit? ( kde-plasma/polkit-kde-agent:* )"
 
 CMAKE_SKIP_TESTS=(
# KAuthHelperTest test fails, bug 654842

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index d217db9a7d..84b3f9e162 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -20,7 +20,7 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
-# PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
+PDEPEND="policykit? ( kde-plasma/polkit-kde-agent:* )"
 
 CMAKE_SKIP_TESTS=(
# KAuthHelperTest test fails, bug 654842



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2022-11-16 Thread Andreas Sturmlechner
commit: e32e898dee285152efef327e588515ff0e94e9b5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 16 21:02:50 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 16 21:02:50 2022 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=e32e898d

kde-frameworks/kauth: Drop IUSE nls

It is non-optional.

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/kauth-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 6f82237a3c..5a0d04a6b5 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Framework to let applications perform actions as 
a privileged user"
 
 LICENSE="LGPL-2.1+"
 KEYWORDS=""
-IUSE="nls +policykit"
+IUSE="+policykit"
 
 DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
@@ -22,7 +22,7 @@ DEPEND="
policykit? ( >=sys-auth/polkit-qt-0.113.0[qt5(+)] )
 "
 RDEPEND="${DEPEND}"
-BDEPEND="nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )"
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
 PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
 
 src_configure() {



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2022-10-11 Thread Andreas Sturmlechner
commit: d2e06a442ebb8df680f5ef2fd8119b127b9dbf7e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Oct 11 15:07:55 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Oct 11 15:17:12 2022 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=d2e06a44

kde-frameworks/kauth: Add sys-auth/polkit-qt[qt5(+)] USEdep

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/kauth-.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 8f6773fdc2..6f82237a3c 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -9,21 +9,20 @@ VIRTUALX_REQUIRED="test"
 inherit ecm frameworks.kde.org
 
 DESCRIPTION="Framework to let applications perform actions as a privileged 
user"
+
 LICENSE="LGPL-2.1+"
 KEYWORDS=""
 IUSE="nls +policykit"
 
-BDEPEND="
-   nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
 DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
=kde-frameworks/kcoreaddons-${PVCUT}*:5
-   policykit? ( >=sys-auth/polkit-qt-0.113.0 )
+   policykit? ( >=sys-auth/polkit-qt-0.113.0[qt5(+)] )
 "
 RDEPEND="${DEPEND}"
+BDEPEND="nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )"
 PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
 
 src_configure() {



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2022-10-06 Thread Andreas Sturmlechner
commit: df97fd16136e4361c6a718b3c63503100250d41f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Oct  6 08:17:33 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Oct  6 09:01:57 2022 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=df97fd16

kde-frameworks/kauth: Add CPE to metadata

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kde-frameworks/kauth/metadata.xml 
b/kde-frameworks/kauth/metadata.xml
index 506ecf605b..48cd374763 100644
--- a/kde-frameworks/kauth/metadata.xml
+++ b/kde-frameworks/kauth/metadata.xml
@@ -7,6 +7,7 @@


https://bugs.kde.org/
+   cpe:/a:kde:kauth






[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/, kde-plasma/polkit-kde-agent/

2020-08-29 Thread Andreas Sturmlechner
commit: c59995ede0cdaf83f9a9e62bf6a4246f508bf45e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Aug 28 20:38:42 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Aug 29 07:33:16 2020 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=c59995ed

*/*: Cleanup sys-auth/polkit-qt[qt5(+)] for >=sys-auth/polkit-qt-0.113.0

Standardise all on >=sys-auth/polkit-qt-0.113.0, first version to have dropped 
Qt4.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-frameworks/kauth/kauth-.ebuild   | 2 +-
 kde-plasma/polkit-kde-agent/polkit-kde-agent-5.19.49..ebuild | 2 +-
 kde-plasma/polkit-kde-agent/polkit-kde-agent-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index cd9d74da6e..1725710184 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -21,7 +21,7 @@ DEPEND="
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
=kde-frameworks/kcoreaddons-${PVCUT}*:5
-   policykit? ( sys-auth/polkit-qt[qt5(+)] )
+   policykit? ( >=sys-auth/polkit-qt-0.113.0 )
 "
 RDEPEND="${DEPEND}"
 PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"

diff --git a/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.19.49..ebuild 
b/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.19.49..ebuild
index 2873031471..b1ebbb623a 100644
--- a/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.19.49..ebuild
+++ b/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.19.49..ebuild
@@ -28,6 +28,6 @@ DEPEND="
>=kde-frameworks/kiconthemes-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kwindowsystem-${KFMIN}:5
-   >=sys-auth/polkit-qt-0.112.0[qt5(+)]
+   >=sys-auth/polkit-qt-0.113.0
 "
 RDEPEND="${DEPEND}"

diff --git a/kde-plasma/polkit-kde-agent/polkit-kde-agent-.ebuild 
b/kde-plasma/polkit-kde-agent/polkit-kde-agent-.ebuild
index bd8bfd8db2..a8d0867dfd 100644
--- a/kde-plasma/polkit-kde-agent/polkit-kde-agent-.ebuild
+++ b/kde-plasma/polkit-kde-agent/polkit-kde-agent-.ebuild
@@ -28,6 +28,6 @@ DEPEND="
>=kde-frameworks/kiconthemes-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kwindowsystem-${KFMIN}:5
-   >=sys-auth/polkit-qt-0.112.0[qt5(+)]
+   >=sys-auth/polkit-qt-0.113.0
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2018-10-13 Thread Andreas Sturmlechner
commit: 642a02b6832eaf22786f315421df37a0df88079f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Oct 11 18:18:47 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Oct 13 10:59:46 2018 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=642a02b6

kde-frameworks/kauth: Disable broken KAuthHelperTest

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 kde-frameworks/kauth/kauth-5.51.0.ebuild | 9 +
 kde-frameworks/kauth/kauth-.ebuild   | 9 +
 2 files changed, 18 insertions(+)

diff --git a/kde-frameworks/kauth/kauth-5.51.0.ebuild 
b/kde-frameworks/kauth/kauth-5.51.0.ebuild
index 5e64947e00..da916e9065 100644
--- a/kde-frameworks/kauth/kauth-5.51.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.51.0.ebuild
@@ -30,3 +30,12 @@ src_configure() {
 
kde5_src_configure
 }
+
+src_test() {
+   # KAuthHelperTest test fails, bug 654842
+   local myctestargs=(
+   -E "(KAuthHelperTest)"
+   )
+
+   kde5_src_test
+}

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 6e6a689dcb..f7559eff63 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -30,3 +30,12 @@ src_configure() {
 
kde5_src_configure
 }
+
+src_test() {
+   # KAuthHelperTest test fails, bug 654842
+   local myctestargs=(
+   -E "(KAuthHelperTest)"
+   )
+
+   kde5_src_test
+}



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2018-02-17 Thread Andreas Sturmlechner
commit: 45b7a1da51384fc1bc66af2f1ee1573221823d5f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Feb 17 13:22:58 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 17 13:22:58 2018 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=45b7a1da

kde-frameworks/kauth: Revert add new dependency

This reverts commit 3f46ccce7a1f81577951f2d1f19318aa5016ed46.

 kde-frameworks/kauth/kauth-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index b1d1dfca38..6e6a689dcb 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -12,7 +12,6 @@ KEYWORDS=""
 IUSE="nls +policykit"
 
 RDEPEND="
-   $(add_frameworks_dep kauth)
$(add_frameworks_dep kcoreaddons)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2018-02-16 Thread Michael Palimaka
commit: 3f46ccce7a1f81577951f2d1f19318aa5016ed46
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Feb 16 23:21:19 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Feb 16 23:21:28 2018 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=3f46ccce

kde-frameworks/kauth: add new dependency

Upstream-commit: 17bf6df0d8ba7b4be050a73ac91e7c30da08b7ba
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 kde-frameworks/kauth/kauth-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 6e6a689dcb..b1d1dfca38 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -12,6 +12,7 @@ KEYWORDS=""
 IUSE="nls +policykit"
 
 RDEPEND="
+   $(add_frameworks_dep kauth)
$(add_frameworks_dep kcoreaddons)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2017-09-03 Thread Andreas Sturmlechner
commit: 3327d6573642773121453c9943c745baead0dd80
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  3 11:00:07 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep  3 11:00:07 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=3327d657

kde-frameworks/kauth: Relax polkit-qt[qt5] usedep

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 kde-frameworks/kauth/kauth-5.38.0.ebuild | 2 +-
 kde-frameworks/kauth/kauth-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-5.38.0.ebuild 
b/kde-frameworks/kauth/kauth-5.38.0.ebuild
index 0b7ce29ed9..4852c2fb78 100644
--- a/kde-frameworks/kauth/kauth-5.38.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.38.0.ebuild
@@ -16,7 +16,7 @@ RDEPEND="
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
-   policykit? ( sys-auth/polkit-qt[qt5] )
+   policykit? ( sys-auth/polkit-qt[qt5(+)] )
 "
 DEPEND="${RDEPEND}
nls? ( $(add_qt_dep linguist-tools) )

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 1bf3fa83f5..949e8606f3 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -16,7 +16,7 @@ RDEPEND="
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
-   policykit? ( sys-auth/polkit-qt[qt5] )
+   policykit? ( sys-auth/polkit-qt[qt5(+)] )
 "
 DEPEND="${RDEPEND}
nls? ( $(add_qt_dep linguist-tools) )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2017-08-19 Thread Andreas Sturmlechner
commit: 3d1162bf65ae5d8063c40d9da8b6ec53ec120291
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Aug 19 18:40:53 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Aug 19 18:40:53 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=3d1162bf

kde-frameworks/kauth: Drop obsolete subslot operator

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 kde-frameworks/kauth/kauth-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 12fd8da0b0..1bf3fa83f5 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -11,10 +11,9 @@ LICENSE="LGPL-2.1+"
 KEYWORDS=""
 IUSE="nls +policykit"
 
-# drop qtgui subslot operator when QT_MINIMAL >= 5.7.0
 RDEPEND="
$(add_frameworks_dep kcoreaddons)
-   $(add_qt_dep qtdbus '' '' '5=')
+   $(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
policykit? ( sys-auth/polkit-qt[qt5] )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2016-06-19 Thread Michael Palimaka
commit: 0042661b8015d38ba088bca0435b1cdb3d5da6c9
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 19 14:05:25 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 19 14:05:46 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=0042661b

kde-frameworks/kauth: introduce temporary Qt subslot operator

Package-Manager: portage-2.3.0_rc1

 kde-frameworks/kauth/kauth-.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index dde6e97..f387e58 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -12,9 +12,10 @@ LICENSE="LGPL-2.1+"
 KEYWORDS=""
 IUSE="nls +policykit"
 
+# drop qtgui subslot operator when QT_MINIMAL >= 5.7.0
 RDEPEND="
$(add_frameworks_dep kcoreaddons)
-   $(add_qt_dep qtdbus)
+   $(add_qt_dep qtdbus '' '' '5=')
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
policykit? ( sys-auth/polkit-qt[qt5] )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2016-04-15 Thread Johannes Huber
commit: 3442b66e2b3ecf6aad043aa7ba8dfc14650e8ecb
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri Apr 15 16:47:02 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri Apr 15 16:48:19 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=3442b66e

kde-frameworks/kauth: Remove alternate dependency

Not done by upstream yet.

Package-Manager: portage-2.2.28

 kde-frameworks/kauth/kauth-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 2dbc62e..dde6e97 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -17,7 +17,7 @@ RDEPEND="
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
-   policykit? ( || ( $(add_frameworks_dep polkit-qt) 
sys-auth/polkit-qt[qt5] ) )
+   policykit? ( sys-auth/polkit-qt[qt5] )
 "
 DEPEND="${RDEPEND}
nls? ( $(add_qt_dep linguist-tools) )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/, kde-frameworks/kdewebkit/, kde-frameworks/kdeclarative/, ...

2016-02-09 Thread Michael Palimaka
commit: 88cb64b2642d9b691d7fb0c28d96c9dba38bc9ad
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Feb  7 00:32:13 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Feb  9 12:32:13 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=88cb64b2

kde-frameworks: Add 5.19.0 release

Package-Manager: portage-2.2.27

 kde-frameworks/attica/attica-5.19.0.ebuild | 17 +
 kde-frameworks/baloo/baloo-5.19.0.ebuild   | 32 +
 kde-frameworks/bluez-qt/bluez-qt-5.19.0.ebuild | 29 
 .../breeze-icons/breeze-icons-5.19.0.ebuild| 18 +
 .../extra-cmake-modules-5.19.0.ebuild  | 46 
 .../frameworkintegration-5.19.0.ebuild | 49 +
 .../kactivities/kactivities-5.19.0.ebuild  | 37 ++
 kde-frameworks/kapidox/kapidox-5.19.0.ebuild   | 29 
 kde-frameworks/karchive/karchive-5.19.0.ebuild | 28 
 kde-frameworks/kauth/kauth-5.19.0.ebuild   | 33 +
 kde-frameworks/kbookmarks/kbookmarks-5.19.0.ebuild | 30 
 kde-frameworks/kcmutils/kcmutils-5.19.0.ebuild | 32 +
 kde-frameworks/kcodecs/kcodecs-5.19.0.ebuild   | 14 
 .../kcompletion/kcompletion-5.19.0.ebuild  | 22 ++
 kde-frameworks/kconfig/kconfig-5.19.0.ebuild   | 27 +++
 .../kconfigwidgets/kconfigwidgets-5.19.0.ebuild| 38 ++
 .../kcoreaddons/kcoreaddons-5.19.0.ebuild  | 31 
 kde-frameworks/kcrash/kcrash-5.19.0.ebuild | 39 ++
 .../kdbusaddons/kdbusaddons-5.19.0.ebuild  | 29 
 .../kdeclarative/kdeclarative-5.19.0.ebuild| 32 +
 kde-frameworks/kded/kded-5.19.0.ebuild | 36 ++
 .../kdelibs4support/kdelibs4support-5.19.0.ebuild  | 84 ++
 .../kdesignerplugin/kdesignerplugin-5.19.0.ebuild  | 54 ++
 kde-frameworks/kdesu/kdesu-5.19.0.ebuild   | 33 +
 kde-frameworks/kdewebkit/kdewebkit-5.19.0.ebuild   | 30 
 kde-frameworks/kdnssd/kdnssd-5.19.0.ebuild | 32 +
 kde-frameworks/kdoctools/kdoctools-5.19.0.ebuild   | 24 +++
 kde-frameworks/kemoticons/kemoticons-5.19.0.ebuild | 26 +++
 .../kfilemetadata/kfilemetadata-5.19.0.ebuild  | 39 ++
 .../kglobalaccel/kglobalaccel-5.19.0.ebuild| 31 
 kde-frameworks/kguiaddons/kguiaddons-5.19.0.ebuild | 23 ++
 kde-frameworks/khtml/khtml-5.19.0.ebuild   | 66 +
 kde-frameworks/ki18n/ki18n-5.19.0.ebuild   | 21 ++
 .../kiconthemes/kiconthemes-5.19.0.ebuild  | 27 +++
 kde-frameworks/kidletime/kidletime-5.19.0.ebuild   | 25 +++
 .../kimageformats/kimageformats-5.19.0.ebuild  | 35 +
 kde-frameworks/kinit/kinit-5.19.0.ebuild   | 41 +++
 kde-frameworks/kio/kio-5.19.0.ebuild   | 80 +
 .../kitemmodels/kitemmodels-5.19.0.ebuild  | 15 
 kde-frameworks/kitemviews/kitemviews-5.19.0.ebuild | 21 ++
 .../kjobwidgets/kjobwidgets-5.19.0.ebuild  | 36 ++
 kde-frameworks/kjs/kjs-5.19.0.ebuild   | 22 ++
 kde-frameworks/kjsembed/kjsembed-5.19.0.ebuild | 26 +++
 .../kmediaplayer/kmediaplayer-5.19.0.ebuild| 21 ++
 kde-frameworks/knewstuff/knewstuff-5.19.0.ebuild   | 33 +
 .../knotifications/knotifications-5.19.0.ebuild| 45 
 .../knotifyconfig/knotifyconfig-5.19.0.ebuild  | 25 +++
 kde-frameworks/kpackage/kpackage-5.19.0.ebuild | 22 ++
 kde-frameworks/kparts/kparts-5.19.0.ebuild | 31 
 kde-frameworks/kpeople/kpeople-5.19.0.ebuild   | 33 +
 kde-frameworks/kplotting/kplotting-5.19.0.ebuild   | 19 +
 kde-frameworks/kpty/kpty-5.19.0.ebuild | 19 +
 kde-frameworks/kross/kross-5.19.0.ebuild   | 32 +
 kde-frameworks/krunner/krunner-5.19.0.ebuild   | 28 
 kde-frameworks/kservice/kservice-5.19.0.ebuild | 37 ++
 .../ktexteditor/ktexteditor-5.19.0.ebuild  | 53 ++
 .../ktextwidgets/ktextwidgets-5.19.0.ebuild| 38 ++
 .../kunitconversion/kunitconversion-5.19.0.ebuild  | 19 +
 kde-frameworks/kwallet/kwallet-5.19.0.ebuild   | 41 +++
 .../kwidgetsaddons/kwidgetsaddons-5.19.0.ebuild| 22 ++
 .../kwindowsystem/kwindowsystem-5.19.0.ebuild  | 41 +++
 kde-frameworks/kxmlgui/kxmlgui-5.19.0.ebuild   | 42 +++
 .../kxmlrpcclient/kxmlrpcclient-5.19.0.ebuild  | 23 ++
 .../modemmanager-qt/modemmanager-qt-5.19.0.ebuild  | 22 ++
 .../networkmanager-qt-5.19.0.ebuild| 27 +++
 .../oxygen-icons/oxygen-icons-5.19.0.ebuild| 26 +++
 kde-frameworks/plasma/plasma-5.19.0.ebuild | 71 ++
 kde-frameworks/solid/solid-5.19.0.ebuild   | 33 +
 kde-frameworks/sonnet/sonnet-5.19.0.ebuild | 31 
 

[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2016-01-17 Thread Michael Palimaka
commit: 52cfb918ee03e53a5dcde2b5ee3b3f0af8b7a131
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Jan 17 11:58:50 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jan 17 12:21:57 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=52cfb918

kde-frameworks/kauth: Alt. depend on kde-frameworks/polkit-qt

Package-Manager: portage-2.2.26

 kde-frameworks/kauth/kauth-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 73f1152..a5cc616 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -17,7 +17,7 @@ RDEPEND="
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
-   policykit? ( sys-auth/polkit-qt[qt5] )
+   policykit? ( $(add_frameworks_dep polkit-qt) sys-auth/polkit-qt[qt5] )
 "
 DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2016-01-17 Thread Michael Palimaka
commit: 9ac87b2caa11ffa00619bed0da76f420abdd540c
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Jan 17 16:18:10 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jan 17 16:18:10 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=9ac87b2c

kde-frameworks/kauth: Fix dependency

Package-Manager: portage-2.2.26

 kde-frameworks/kauth/kauth-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index a5cc616..187985c 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -17,7 +17,7 @@ RDEPEND="
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
-   policykit? ( $(add_frameworks_dep polkit-qt) sys-auth/polkit-qt[qt5] )
+   policykit? ( || ( $(add_frameworks_dep polkit-qt) 
sys-auth/polkit-qt[qt5] ) )
 "
 DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2015-07-10 Thread Michael Palimaka
commit: b9770f2b270cb78dee48b0beaf33a09b62e9496e
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Fri Jul 10 18:58:04 2015 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Fri Jul 10 18:58:04 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=b9770f2b

[kde-frameworks/kauth] Use correct package name.

Package-Manager: portage-2.2.20

 kde-frameworks/kauth/kauth-5.12.0.ebuild | 2 +-
 kde-frameworks/kauth/kauth-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-5.12.0.ebuild 
b/kde-frameworks/kauth/kauth-5.12.0.ebuild
index d7aabe6..a7c84f0 100644
--- a/kde-frameworks/kauth/kauth-5.12.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.12.0.ebuild
@@ -27,7 +27,7 @@ DEPEND=${RDEPEND}
 
 src_configure() {
local mycmakeargs=(
-   $(cmake-utils_use_find_package policykit PolkitQt-1)
+   $(cmake-utils_use_find_package policykit PolkitQt5-1)
)
 
kde5_src_configure

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index dbf8df4..eff97d7 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -26,7 +26,7 @@ PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(
-   $(cmake-utils_use_find_package policykit PolkitQt-1)
+   $(cmake-utils_use_find_package policykit PolkitQt5-1)
)
 
kde5_src_configure



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2015-07-10 Thread Manuel Rüger
commit: 30e9f52f3a3a3a200f70c8b9fcd7567e5390e54c
Author: Manuel Rüger mrueg AT gentoo DOT org
AuthorDate: Fri Jul 10 16:53:40 2015 +
Commit: Manuel Rüger mrueg AT gentoo DOT org
CommitDate: Fri Jul 10 16:53:40 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=30e9f52f

[kde-frameworks/kauth] Fix dep.

Package-Manager: portage-2.2.20

 kde-frameworks/kauth/kauth-5.12.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-5.12.0.ebuild 
b/kde-frameworks/kauth/kauth-5.12.0.ebuild
index 916655e..d7aabe6 100644
--- a/kde-frameworks/kauth/kauth-5.12.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.12.0.ebuild
@@ -22,7 +22,8 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
+# Not keyworded on x86
+#PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2015-06-12 Thread Manuel Rüger
commit: e1f062ecc002b905b8c30abf9cbd5097a70196ae
Author: Manuel Rüger manuel AT rueg DOT eu
AuthorDate: Fri Jun 12 15:50:07 2015 +
Commit: Manuel Rüger mrueg AT gentoo DOT org
CommitDate: Fri Jun 12 15:50:07 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=e1f062ec

[kde-frameworks/kauth] Don't depend on masked package.

Package-Manager: portage-2.2.20

 kde-frameworks/kauth/kauth-5.11.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-5.11.0.ebuild 
b/kde-frameworks/kauth/kauth-5.11.0.ebuild
index 916655e..e7957e8 100644
--- a/kde-frameworks/kauth/kauth-5.11.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.11.0.ebuild
@@ -22,7 +22,8 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
+# Plasma is still masked
+#PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2015-03-13 Thread Michael Palimaka
commit: 33053e83852c3d4747b7ff6b01915318f80f187c
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Fri Mar 13 18:19:18 2015 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Fri Mar 13 18:19:18 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=33053e83

[kde-frameworks/kauth] Temporarily disable polkit-kde-agent since it's still 
masked.

Package-Manager: portage-2.2.17

 kde-frameworks/kauth/kauth-5.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-5.8.0.ebuild 
b/kde-frameworks/kauth/kauth-5.8.0.ebuild
index 2ceb124..3f818c0 100644
--- a/kde-frameworks/kauth/kauth-5.8.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.8.0.ebuild
@@ -22,7 +22,7 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
+#PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2015-01-19 Thread Johannes Huber
commit: 401c45804f635454237205471053e42e46bd171f
Author: Elias Probst mail AT eliasprobst DOT eu
AuthorDate: Sun Jan 18 23:25:38 2015 +
Commit: Johannes Huber johu AT gentoo DOT org
CommitDate: Mon Jan 19 19:51:20 2015 +
URL:http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=401c4580

[kde-frameworks/kauth] Re-enable PDEPEND on kde-plasma/polkit-kde-agent.

See also: 97ee921

Package-Manager: portage-2.2.15

---
 kde-frameworks/kauth/kauth-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index f5f5f6c..dbf8df4 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -22,7 +22,7 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-#PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
+PDEPEND=policykit? ( kde-plasma/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/files/

2014-08-13 Thread Johannes Huber
commit: 7d4db16c4f88cc97ffae6e237b6bcd356449cc08
Author: Johannes Huber johu AT gentoo DOT org
AuthorDate: Wed Aug 13 16:22:04 2014 +
Commit: Johannes Huber johu AT gentoo DOT org
CommitDate: Wed Aug 13 16:22:04 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7d4db16c

[kde-frameworks/kauth] Remove unused patch

Package-Manager: portage-2.2.11-r1

---
 .../kauth/files/kauth-5.0.0-CVE-2014-5033.patch| 53 --
 1 file changed, 53 deletions(-)

diff --git a/kde-frameworks/kauth/files/kauth-5.0.0-CVE-2014-5033.patch 
b/kde-frameworks/kauth/files/kauth-5.0.0-CVE-2014-5033.patch
deleted file mode 100644
index 94087c1..000
--- a/kde-frameworks/kauth/files/kauth-5.0.0-CVE-2014-5033.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 341b7d84b6d9c03cf56905cb277b47e11c81482a Mon Sep 17 00:00:00 2001
-From: Martin T. H. Sandsmark martin.sandsm...@kde.org
-Date: Mon, 21 Jul 2014 22:45:55 +0200
-Subject: [PATCH] Use dbus system bus name instead of PID for authentication.
-
-Using the PID for authentication is prone to a PID reuse race condition,
-and a security issue.
-
-REVIEW: 119323

- src/backends/polkit-1/Polkit1Backend.cpp | 15 +++
- 1 file changed, 3 insertions(+), 12 deletions(-)
-
-diff --git a/src/backends/polkit-1/Polkit1Backend.cpp 
b/src/backends/polkit-1/Polkit1Backend.cpp
-index 165f7bb..5cac3fb 100644
 a/src/backends/polkit-1/Polkit1Backend.cpp
-+++ b/src/backends/polkit-1/Polkit1Backend.cpp
-@@ -142,7 +142,7 @@ void Polkit1Backend::setupAction(const QString action)
- 
- Action::AuthStatus Polkit1Backend::actionStatus(const QString action)
- {
--PolkitQt1::UnixProcessSubject subject(QCoreApplication::applicationPid());
-+PolkitQt1::SystemBusNameSubject subject(QString::fromUtf8(callerID()));
- PolkitQt1::Authority::Result r = 
PolkitQt1::Authority::instance()-checkAuthorizationSync(action, subject,
-  PolkitQt1::Authority::None);
- switch (r) {
-@@ -158,21 +158,12 @@ Action::AuthStatus Polkit1Backend::actionStatus(const 
QString action)
- 
- QByteArray Polkit1Backend::callerID() const
- {
--QByteArray a;
--QDataStream s(a, QIODevice::WriteOnly);
--s  QCoreApplication::applicationPid();
--
--return a;
-+return QDBusConnection::systemBus().baseService().toUtf8();
- }
- 
- bool Polkit1Backend::isCallerAuthorized(const QString action, QByteArray 
callerID)
- {
--QDataStream s(callerID, QIODevice::ReadOnly);
--qint64 pid;
--
--s  pid;
--
--PolkitQt1::UnixProcessSubject subject(pid);
-+PolkitQt1::SystemBusNameSubject subject(QString::fromUtf8(callerID));
- PolkitQt1::Authority *authority = PolkitQt1::Authority::instance();
- 
- PolkitResultEventLoop e;
--- 
-1.8.5.5
-



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/files/, kde-frameworks/kauth/

2014-07-24 Thread Michael Palimaka
commit: 3850c1f25e208bda49c729a9a58ee57f1191b8c2
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Wed Jul 23 11:12:15 2014 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Wed Jul 23 11:12:15 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=3850c1f2

[kde-frameworks/kauth] Backport patch from upstream to solve CVE-2014-5033.

Package-Manager: portage-2.2.10

---
 .../kauth/files/kauth-5.0.0-CVE-2014-5033.patch| 53 ++
 .../{kauth-5.0.0.ebuild = kauth-5.0.0-r1.ebuild}  |  2 +
 2 files changed, 55 insertions(+)

diff --git a/kde-frameworks/kauth/files/kauth-5.0.0-CVE-2014-5033.patch 
b/kde-frameworks/kauth/files/kauth-5.0.0-CVE-2014-5033.patch
new file mode 100644
index 000..94087c1
--- /dev/null
+++ b/kde-frameworks/kauth/files/kauth-5.0.0-CVE-2014-5033.patch
@@ -0,0 +1,53 @@
+From 341b7d84b6d9c03cf56905cb277b47e11c81482a Mon Sep 17 00:00:00 2001
+From: Martin T. H. Sandsmark martin.sandsm...@kde.org
+Date: Mon, 21 Jul 2014 22:45:55 +0200
+Subject: [PATCH] Use dbus system bus name instead of PID for authentication.
+
+Using the PID for authentication is prone to a PID reuse race condition,
+and a security issue.
+
+REVIEW: 119323
+---
+ src/backends/polkit-1/Polkit1Backend.cpp | 15 +++
+ 1 file changed, 3 insertions(+), 12 deletions(-)
+
+diff --git a/src/backends/polkit-1/Polkit1Backend.cpp 
b/src/backends/polkit-1/Polkit1Backend.cpp
+index 165f7bb..5cac3fb 100644
+--- a/src/backends/polkit-1/Polkit1Backend.cpp
 b/src/backends/polkit-1/Polkit1Backend.cpp
+@@ -142,7 +142,7 @@ void Polkit1Backend::setupAction(const QString action)
+ 
+ Action::AuthStatus Polkit1Backend::actionStatus(const QString action)
+ {
+-PolkitQt1::UnixProcessSubject subject(QCoreApplication::applicationPid());
++PolkitQt1::SystemBusNameSubject subject(QString::fromUtf8(callerID()));
+ PolkitQt1::Authority::Result r = 
PolkitQt1::Authority::instance()-checkAuthorizationSync(action, subject,
+  PolkitQt1::Authority::None);
+ switch (r) {
+@@ -158,21 +158,12 @@ Action::AuthStatus Polkit1Backend::actionStatus(const 
QString action)
+ 
+ QByteArray Polkit1Backend::callerID() const
+ {
+-QByteArray a;
+-QDataStream s(a, QIODevice::WriteOnly);
+-s  QCoreApplication::applicationPid();
+-
+-return a;
++return QDBusConnection::systemBus().baseService().toUtf8();
+ }
+ 
+ bool Polkit1Backend::isCallerAuthorized(const QString action, QByteArray 
callerID)
+ {
+-QDataStream s(callerID, QIODevice::ReadOnly);
+-qint64 pid;
+-
+-s  pid;
+-
+-PolkitQt1::UnixProcessSubject subject(pid);
++PolkitQt1::SystemBusNameSubject subject(QString::fromUtf8(callerID));
+ PolkitQt1::Authority *authority = PolkitQt1::Authority::instance();
+ 
+ PolkitResultEventLoop e;
+-- 
+1.8.5.5
+

diff --git a/kde-frameworks/kauth/kauth-5.0.0.ebuild 
b/kde-frameworks/kauth/kauth-5.0.0-r1.ebuild
similarity index 92%
rename from kde-frameworks/kauth/kauth-5.0.0.ebuild
rename to kde-frameworks/kauth/kauth-5.0.0-r1.ebuild
index f930351..f913f94 100644
--- a/kde-frameworks/kauth/kauth-5.0.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.0.0-r1.ebuild
@@ -24,6 +24,8 @@ DEPEND=${RDEPEND}
 
 #PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
 
+PATCHES=( ${FILESDIR}/${P}-CVE-2014-5033.patch )
+
 src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package policykit PolkitQt-1)



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2014-07-07 Thread Michael Palimaka
commit: 97ee921de0648a85d93d638e5cf3ada29c2ac351
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Mon Jul  7 17:28:32 2014 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Mon Jul  7 17:28:32 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=97ee921d

[kde-frameworks/kauth] Temporarily remove PDEPEND.

It is needed, but no KF5 version is available yet.

---
 kde-frameworks/kauth/kauth-4.100.0.ebuild | 2 +-
 kde-frameworks/kauth/kauth-5.0.0.ebuild   | 2 +-
 kde-frameworks/kauth/kauth-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-4.100.0.ebuild 
b/kde-frameworks/kauth/kauth-4.100.0.ebuild
index 38c3a50..32fdd5d 100644
--- a/kde-frameworks/kauth/kauth-4.100.0.ebuild
+++ b/kde-frameworks/kauth/kauth-4.100.0.ebuild
@@ -22,7 +22,7 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
+#PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(

diff --git a/kde-frameworks/kauth/kauth-5.0.0.ebuild 
b/kde-frameworks/kauth/kauth-5.0.0.ebuild
index 5b9aa75..f930351 100644
--- a/kde-frameworks/kauth/kauth-5.0.0.ebuild
+++ b/kde-frameworks/kauth/kauth-5.0.0.ebuild
@@ -22,7 +22,7 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
+#PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index 809edbc..cf38e60 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -22,7 +22,7 @@ RDEPEND=
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
 
-PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
+#PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2014-06-26 Thread Michael Palimaka
commit: 0534033f0f48ffee3e3087feb9fe421a6b8027a7
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Thu Jun 26 10:24:43 2014 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Thu Jun 26 10:24:43 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0534033f

[kde-frameworks/kauth] Ensure Qt 5 version of sys-auth/polkit-qt is used.

Package-Manager: portage-2.2.10

---
 kde-frameworks/kauth/kauth-4.100.0.ebuild | 2 +-
 kde-frameworks/kauth/kauth-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-4.100.0.ebuild 
b/kde-frameworks/kauth/kauth-4.100.0.ebuild
index 95802ca..38c3a50 100644
--- a/kde-frameworks/kauth/kauth-4.100.0.ebuild
+++ b/kde-frameworks/kauth/kauth-4.100.0.ebuild
@@ -17,7 +17,7 @@ RDEPEND=
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
-   policykit? ( sys-auth/polkit-qt )
+   policykit? ( sys-auth/polkit-qt[qt5] )
 
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index d9d30af..809edbc 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -17,7 +17,7 @@ RDEPEND=
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
-   policykit? ( sys-auth/polkit-qt )
+   policykit? ( sys-auth/polkit-qt[qt5] )
 
 DEPEND=${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )



[gentoo-commits] proj/kde:master commit in: kde-frameworks/kauth/

2014-05-05 Thread Michael Palimaka
commit: ee96aebbee9c509e0dabb82baa8111268b569bfa
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Mon May  5 14:52:17 2014 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Mon May  5 14:52:17 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=ee96aebb

[kde-frameworks/kauth] Add nls dependency.

Package-Manager: portage-2.2.8-r1

---
 kde-frameworks/kauth/kauth-4.99.0.ebuild | 6 --
 kde-frameworks/kauth/kauth-.ebuild   | 6 --
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/kde-frameworks/kauth/kauth-4.99.0.ebuild 
b/kde-frameworks/kauth/kauth-4.99.0.ebuild
index 1867553..95802ca 100644
--- a/kde-frameworks/kauth/kauth-4.99.0.ebuild
+++ b/kde-frameworks/kauth/kauth-4.99.0.ebuild
@@ -12,14 +12,16 @@ LICENSE=LGPL-2.1+
 KEYWORDS= ~amd64 ~x86 ~amd64-linux ~x86-linux
 IUSE=+policykit
 
-DEPEND=
+RDEPEND=
$(add_frameworks_dep kcoreaddons)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
policykit? ( sys-auth/polkit-qt )
 
-RDEPEND=${DEPEND}
+DEPEND=${RDEPEND}
+   nls? ( dev-qt/linguist-tools:5 )
+
 PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
 
 src_configure() {

diff --git a/kde-frameworks/kauth/kauth-.ebuild 
b/kde-frameworks/kauth/kauth-.ebuild
index fb19db6..d9d30af 100644
--- a/kde-frameworks/kauth/kauth-.ebuild
+++ b/kde-frameworks/kauth/kauth-.ebuild
@@ -12,14 +12,16 @@ LICENSE=LGPL-2.1+
 KEYWORDS=
 IUSE=+policykit
 
-DEPEND=
+RDEPEND=
$(add_frameworks_dep kcoreaddons)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
policykit? ( sys-auth/polkit-qt )
 
-RDEPEND=${DEPEND}
+DEPEND=${RDEPEND}
+   nls? ( dev-qt/linguist-tools:5 )
+
 PDEPEND=policykit? ( sys-auth/polkit-kde-agent )
 
 src_configure() {