pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/libssh



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Feb  2 09:31:29 UTC 2018

Modified Files:
        pkgsrc/security/libssh: distinfo
Added Files:
        pkgsrc/security/libssh/patches:
            patch-cmake_Modules_DefineCompilerFlags.cmake

Log Message:
libssh: Leave pkgsrc to handle security features.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/libssh/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/libssh/patches/patch-cmake_Modules_DefineCompilerFlags.cmake

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/libssh/distinfo
diff -u pkgsrc/security/libssh/distinfo:1.11 pkgsrc/security/libssh/distinfo:1.12
--- pkgsrc/security/libssh/distinfo:1.11        Tue Feb 23 15:49:42 2016
+++ pkgsrc/security/libssh/distinfo     Fri Feb  2 09:31:29 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2016/02/23 15:49:42 wiz Exp $
+$NetBSD: distinfo,v 1.12 2018/02/02 09:31:29 jperkin Exp $
 
 SHA1 (security/libssh-0.7.3.tar.xz) = 9de2a8fde51aa7b7855008fafd5bf47ebb01289f
 RMD160 (security/libssh-0.7.3.tar.xz) = af73d82dad552233791aea8ac1198232e0fb0f68
 SHA512 (security/libssh-0.7.3.tar.xz) = 6797ea9492c9d07e0169163e6559a7880dd368ee763eff297b3cbddda5e892703cf32506f9513e7d9b5135984e1e888c4893b342df07da1b7ee30968c9185869
 Size (security/libssh-0.7.3.tar.xz) = 350464 bytes
 SHA1 (patch-aa) = 2f9a7c8a629188f40f3c94d4304b1e44720e45ae
+SHA1 (patch-cmake_Modules_DefineCompilerFlags.cmake) = 9f140ad664363953e4c7ff4e3bede74c693da993

Added files:

Index: pkgsrc/security/libssh/patches/patch-cmake_Modules_DefineCompilerFlags.cmake
diff -u /dev/null pkgsrc/security/libssh/patches/patch-cmake_Modules_DefineCompilerFlags.cmake:1.1
--- /dev/null   Fri Feb  2 09:31:29 2018
+++ pkgsrc/security/libssh/patches/patch-cmake_Modules_DefineCompilerFlags.cmake        Fri Feb  2 09:31:29 2018
@@ -0,0 +1,22 @@
+$NetBSD: patch-cmake_Modules_DefineCompilerFlags.cmake,v 1.1 2018/02/02 09:31:29 jperkin Exp $
+
+Leave pkgsrc to handle security features.
+
+--- cmake/Modules/DefineCompilerFlags.cmake.orig       2016-02-15 12:42:53.000000000 +0000
++++ cmake/Modules/DefineCompilerFlags.cmake
+@@ -21,6 +21,7 @@ if (UNIX AND NOT WIN32)
+             set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
+         endif (WITH_FPIC)
+ 
++        if(0) 
+         check_c_compiler_flag_ssp("-fstack-protector" WITH_STACK_PROTECTOR)
+         if (WITH_STACK_PROTECTOR)
+             set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector")
+@@ -35,6 +36,7 @@ if (UNIX AND NOT WIN32)
+                 endif (WITH_FORTIFY_SOURCE)
+             endif()
+         endif()
++        endif(0)
+     endif (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
+ 
+     #



Home | Main Index | Thread Index | Old Index