mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
3dc8ac7064
patches/packages/boost-1.78.0-x86_64-3_slack15.0.txz: Rebuilt. Get rid of hardcoded temporary paths in the cmake files. Since these paths point to a location that an unprivileged user could create and populate with files that could be picked up during a build, it's possible this bug could be used for malicious purposes. Thanks to jmacloue. (* Security fix *)
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
--- boost_1_73_0/tools/boost_install/boost-install.jam~ 2020-04-24 20:21:50.330267122 +0100
|
|
+++ boost_1_73_0/tools/boost_install/boost-install.jam 2020-04-24 20:22:16.818360540 +0100
|
|
@@ -652,25 +652,6 @@
|
|
"get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)"
|
|
: true ;
|
|
|
|
- if [ path.is-rooted $(cmakedir) ]
|
|
- {
|
|
- local cmakedir-native = [ path-native-fwd $(cmakedir) ] ;
|
|
-
|
|
- print.text
|
|
-
|
|
- ""
|
|
- "# If the computed and the original directories are symlink-equivalent, use original"
|
|
- "if(EXISTS \"$(cmakedir-native)\")"
|
|
- " get_filename_component(_BOOST_CMAKEDIR_ORIGINAL \"$(cmakedir-native)\" REALPATH)"
|
|
- " if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)"
|
|
- " set(_BOOST_CMAKEDIR \"$(cmakedir-native)\")"
|
|
- " endif()"
|
|
- " unset(_BOOST_CMAKEDIR_ORIGINAL)"
|
|
- "endif()"
|
|
- ""
|
|
- : true ;
|
|
- }
|
|
-
|
|
get-dir "_BOOST_INCLUDEDIR" : $(includedir) ;
|
|
|
|
if $(library-type) = INTERFACE
|