SHA256
1
0
forked from pool/kinit

Accepting request 236285 from KDE:Frameworks5

4.100.0

OBS-URL: https://build.opensuse.org/request/show/236285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kinit?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2014-06-10 12:36:32 +00:00 committed by Git OBS Bridge
commit 2150668896
6 changed files with 32 additions and 23 deletions

3
baselibs.conf Normal file
View File

@ -0,0 +1,3 @@
kinit
kinit-devel
requires "kinit-<targettype> = <version>"

View File

@ -1,13 +0,0 @@
diff --git a/src/start_kdeinit/CMakeLists.txt b/src/start_kdeinit/CMakeLists.txt
index 73e50b8..e84e6a9 100644
--- a/src/start_kdeinit/CMakeLists.txt
+++ b/src/start_kdeinit/CMakeLists.txt
@@ -4,7 +4,7 @@ add_executable(start_kdeinit_wrapper start_kdeinit_wrapper.c)
install(TARGETS start_kdeinit DESTINATION ${KF5_LIBEXEC_INSTALL_DIR})
install(TARGETS start_kdeinit_wrapper DESTINATION ${KF5_LIBEXEC_INSTALL_DIR})
-if (CMAKE_SYSTEM_NAME MATCHES Linux)
+if (0)
MESSAGE(STATUS "Using setuid root kdeinit wrapper in order to protect it from bad Linux OOM-killer")
set(KDEINIT_OOM_PROTECT 1)
install(CODE "

3
kinit-4.100.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd01a344a6621a5184a503410e55964bbab70800f9acd7796b12a387c1e89bf6
size 2792932

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d017bcadd4c089c7ee76a4a2a7d33a24479972c453be53119f70283cfa716d8f
size 2792356

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Jun 1 18:02:30 UTC 2014 - hrvoje.senjan@gmail.com
- Update to 4.100.0
* API improvements and cleanups
* Buildsystem fixes
* For more details please see:
http://www.kde.org/announcements/announce-frameworks5-beta3.php
- Drop disable-OOM-protection.patch, better solution applied upstream
- Added libcap-devel and libcap-progs BuildRequires, to enable capabilities
OOM-killer protection
- Add baselibs.conf
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 4 01:41:14 UTC 2014 - hrvoje.senjan@gmail.com Sun May 4 01:41:14 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -17,30 +17,32 @@
Name: kinit Name: kinit
Version: 4.99.0 Version: 4.100.0
Release: 0 Release: 0
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 0.0.13 BuildRequires: extra-cmake-modules >= 0.0.14
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: kcrash-devel >= %{_kf5_version} BuildRequires: kcrash-devel >= %{_kf5_version}
BuildRequires: kdoctools-devel >= %{_kf5_version}
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel >= %{_kf5_version} BuildRequires: ki18n-devel >= %{_kf5_version}
BuildRequires: kdoctools-devel >= %{_kf5_version}
BuildRequires: kio-devel >= %{_kf5_version} BuildRequires: kio-devel >= %{_kf5_version}
BuildRequires: kservice-devel >= %{_kf5_version} BuildRequires: kservice-devel >= %{_kf5_version}
BuildRequires: kwindowsystem-devel >= %{_kf5_version} BuildRequires: kwindowsystem-devel >= %{_kf5_version}
BuildRequires: libcap-devel
BuildRequires: libcap-progs
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
Recommends: %{name}-lang = %{version}
Summary: Helper library to speed up start of applications on KDE workspaces Summary: Helper library to speed up start of applications on KDE workspaces
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/GUI/KDE Group: System/GUI/KDE
Url: http://www.kde.org Url: http://www.kde.org
Source0: kinit-%{version}.tar.xz Source: http://download.kde.org/unstable/frameworks/%{version}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM disable-OOM-protection.patch -- it was not proved to be needed feature, and create potential security risk, bnc#862953 Source1: baselibs.conf
Patch0: disable-OOM-protection.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -57,9 +59,9 @@ Requires: extra-cmake-modules
Kdeinit is a process launcher somewhat similar to the famous init used for Kdeinit is a process launcher somewhat similar to the famous init used for
booting UNIX. Development files. booting UNIX. Development files.
%lang_package
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%cmake_kf5 -d build -- -DCMAKE_CXX_FLAGS="%{optflags} -fpie" -DCMAKE_C_FLAGS="%{optflags} -fpie" -DCMAKE_SHARED_LINKER_FLAGS="-pie" -DCMAKE_EXE_LINKER_FLAGS="-pie" -DCMAKE_MODULE_LINKER_FLAGS="-pie" %cmake_kf5 -d build -- -DCMAKE_CXX_FLAGS="%{optflags} -fpie" -DCMAKE_C_FLAGS="%{optflags} -fpie" -DCMAKE_SHARED_LINKER_FLAGS="-pie" -DCMAKE_EXE_LINKER_FLAGS="-pie" -DCMAKE_MODULE_LINKER_FLAGS="-pie"
@ -69,10 +71,14 @@ booting UNIX. Development files.
%kf5_makeinstall -C build %kf5_makeinstall -C build
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%find_lang %{name}5
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files lang -f %{name}5.lang
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING* README* %doc COPYING* README*