Hello community,

here is the log from the commit of package kauth for openSUSE:Factory checked 
in at 2014-03-10 12:18:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kauth (Old)
 and      /work/SRC/openSUSE:Factory/.kauth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kauth"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kauth/kauth.changes      2014-02-28 
16:24:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kauth.new/kauth.changes 2014-03-10 
12:18:29.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Mar  4 16:40:02 UTC 2014 - [email protected]
+
+- Update to 4.97.0:
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/announce-frameworks5-alpha2.php
+
+-------------------------------------------------------------------

Old:
----
  kauth-4.96.0.tar.xz

New:
----
  kauth-4.97.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kauth.spec ++++++
--- /var/tmp/diff_new_pack.Z0h34n/_old  2014-03-10 12:18:30.000000000 +0100
+++ /var/tmp/diff_new_pack.Z0h34n/_new  2014-03-10 12:18:30.000000000 +0100
@@ -16,12 +16,12 @@
 #
 
 
-%define lname   libKF5Auth4
+%define lname   libKF5Auth5
 Name:           kauth
-Version:        4.96.0
+Version:        4.97.0
 Release:        0
 BuildRequires:  cmake >= 2.8.12
-BuildRequires:  extra-cmake-modules >= 0.0.10
+BuildRequires:  extra-cmake-modules >= 0.0.11
 BuildRequires:  fdupes
 BuildRequires:  kcoreaddons-devel >= %{_kf5_version}
 BuildRequires:  kf5-filesystem
@@ -40,6 +40,7 @@
 %package -n %lname
 Summary:        Framework which lets applications perform actions as a 
privileged user
 Group:          System/GUI/KDE
+Obsoletes:      libKF5Auth4
 
 %description -n %lname
 KAuth is a framework to let applications perform actions as a privileged user.

++++++ kauth-4.96.0.tar.xz -> kauth-4.97.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-4.96.0/CMakeLists.txt 
new/kauth-4.97.0/CMakeLists.txt
--- old/kauth-4.96.0/CMakeLists.txt     2014-02-05 13:00:59.000000000 +0100
+++ new/kauth-4.97.0/CMakeLists.txt     2014-03-01 12:50:07.000000000 +0100
@@ -2,7 +2,7 @@
 
 project(KAuth)
 
-find_package(ECM 0.0.10 REQUIRED NO_MODULE)
+find_package(ECM 0.0.11 REQUIRED NO_MODULE)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
 
 set(REQUIRED_QT_VERSION 5.2.0)
@@ -22,11 +22,12 @@
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
 
-set(KF5_VERSION "4.96.0")
+set(KF5_VERSION "4.97.0")
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KAUTH
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kauth_version.h"
-                        PACKAGE_VERSION_FILE 
"${CMAKE_CURRENT_BINARY_DIR}/KF5AuthConfigVersion.cmake")
+                        PACKAGE_VERSION_FILE 
"${CMAKE_CURRENT_BINARY_DIR}/KF5AuthConfigVersion.cmake"
+                        SOVERSION 5)
 
 add_subdirectory(src)
 add_subdirectory(autotests)
@@ -34,9 +35,9 @@
 # create a Config.cmake and a ConfigVersion.cmake file and install them
 set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5Auth")
 
-include(CMakePackageConfigHelpers)
+include(ECMPackageConfigHelpers)
 
-configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KF5AuthConfig.cmake.in"
+ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KF5AuthConfig.cmake.in"
                               "${CMAKE_CURRENT_BINARY_DIR}/KF5AuthConfig.cmake"
                               INSTALL_DESTINATION  ${CMAKECONFIG_INSTALL_DIR}
                               )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-4.96.0/README.md new/kauth-4.97.0/README.md
--- old/kauth-4.96.0/README.md  2014-02-05 13:00:59.000000000 +0100
+++ new/kauth-4.97.0/README.md  2014-03-01 12:50:07.000000000 +0100
@@ -4,7 +4,37 @@
 
 ## Introduction
 
-KAuth is a framework to let applications perform actions as a privileged user.
+KAuth provides a convenient, system-integrated way to offload actions that need
+to be performed as a privileged user (root, for example) to small (hopefully
+secure) helper utilities.
+
+## Usage
+
+If you are using CMake, you need to have
+
+    find_package(KF5Auth NO_MODULE)
+
+(or find KF5 with the Auth component) in your CMakeLists.txt file, and you need
+to link to KF5::Auth.
+
+Executing privileged actions typically involves having a minimal helper utility
+that does the actual work, and calling that utility with escalated privileges 
if
+the user has permission to do so (often requiring the user to enter appropriate
+credentials, like entering a password).
+
+Therefore, use of the KAuth library is in two parts.  In the main part of your
+code, you use KAuth::Action (and specifically KAuth::Action::execute()) when 
you
+need to do something privileged, like write to a file normally only writable by
+root.
+
+The code that actually performs that action, such as writing to a file, needs 
to
+be placed in the slot of a helper QObject class, which should use the methods 
of
+KAuth::HelperSupport and be compiled into an executable.  You will also want to
+use the `kauth_install_helper_files` and `kauth_install_actions` macros in your
+CMakeLists.txt.
+
+See <http://techbase.kde.org/Development/Tutorials/KAuth/KAuth_Basics> for a
+detailed tutorial on how to use KAuth.
 
 ## Links
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-4.96.0/src/CMakeLists.txt 
new/kauth-4.97.0/src/CMakeLists.txt
--- old/kauth-4.96.0/src/CMakeLists.txt 2014-02-05 13:00:59.000000000 +0100
+++ new/kauth-4.97.0/src/CMakeLists.txt 2014-03-01 12:50:07.000000000 +0100
@@ -33,7 +33,8 @@
                                          EXPORT_NAME Auth
 )
 
-ecm_generate_headers(
+ecm_generate_headers(KAuth_HEADERS
+  HEADER_NAMES
   KAuth
   KAuthHelperSupport
   KAuthAction
@@ -41,10 +42,8 @@
   KAuthExecuteJob
   KAuthObjectDecorator
 
-  MODULE_NAME KAuth
   REQUIRED_HEADERS KAuth_HEADERS
 )
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/KAuth DESTINATION 
${INCLUDE_INSTALL_DIR} COMPONENT Devel)
 
 # KAuth policy generator executable
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to