diff options
| author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-04-09 01:30:52 +0200 |
|---|---|---|
| committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-04-09 01:30:52 +0200 |
| commit | 7a15fa3da3c3db4004766efc8d4a04fffaf3814c (patch) | |
| tree | bcde67bf940bd3227156c99296c413ccb3b7ffdc /kde-base/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch | |
| parent | 6145455d103244ac4a08e1ff86d3e7fbe3842f8f (diff) | |
| download | kde-7a15fa3da3c3db4004766efc8d4a04fffaf3814c.tar.gz kde-7a15fa3da3c3db4004766efc8d4a04fffaf3814c.tar.bz2 kde-7a15fa3da3c3db4004766efc8d4a04fffaf3814c.zip | |
[kde-base/kcheckpass] Dp not install SUID/GUID executables (bug 158206)
Diffstat (limited to 'kde-base/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch')
| -rw-r--r-- | kde-base/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kde-base/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch b/kde-base/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch new file mode 100644 index 00000000000..78520d4acc4 --- /dev/null +++ b/kde-base/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) + |
