summaryrefslogtreecommitdiff
path: root/kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-11-18 19:51:23 +1100
committerMichael Palimaka <kensington@gentoo.org>2014-11-24 23:05:28 +1100
commit6c61e006354ccbe86157239ab44f68dfedc86643 (patch)
tree3fa0f755ce4945210f3cb91e8a875c6fce62eb73 /kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch
parent14418f655d3909b5b1d4254d61662e94d1c52112 (diff)
downloadkde-6c61e006354ccbe86157239ab44f68dfedc86643.tar.gz
kde-6c61e006354ccbe86157239ab44f68dfedc86643.tar.bz2
kde-6c61e006354ccbe86157239ab44f68dfedc86643.zip
Introduce KDE Applications.
All packages which have a KDE Applications release have moved from kde-base to kde-apps. 9999 is back, and is upstream master (whether it be KDE 4 or KF5). For packages with an unreleased KF5 branch, 5.9999 is used.
Diffstat (limited to 'kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch')
-rw-r--r--kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch b/kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch
new file mode 100644
index 00000000000..78520d4acc4
--- /dev/null
+++ b/kde-apps/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch
@@ -0,0 +1,15 @@
+Index: kcheckpass/CMakeLists.txt
+===================================================================
+--- kcheckpass/CMakeLists.txt (revision 1112521)
++++ kcheckpass/CMakeLists.txt (working copy)
+@@ -23,10 +23,6 @@
+ macro_add_compile_flags(kcheckpass -U_REENTRANT)
+ target_link_libraries(kcheckpass ${KDE4_KDEFAKES_LIBS} ${UNIXAUTH_LIBRARIES} ${SOCKET_LIBRARIES})
+ install(TARGETS kcheckpass DESTINATION ${LIBEXEC_INSTALL_DIR})
+-install(CODE "
+- set(KCP_PATH \"\$ENV{DESTDIR}${LIBEXEC_INSTALL_DIR}/kcheckpass\")
+- EXECUTE_PROCESS(COMMAND sh -c \"chown root '\${KCP_PATH}' && chmod +s '\${KCP_PATH}'\")
+-")
+
+ install_pam_service(kcheckpass)
+