pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform mk: Disable SSP checks on systems where it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c2696ed29e5
branches:  trunk
changeset: 369726:8c2696ed29e5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Oct 03 13:18:00 2017 +0000

description:
mk: Disable SSP checks on systems where it is provided in libc.

The currently implementation of SSP checks simply look for a DT_NEEDED
dependency on libssp, and doesn't yet have a way to check for it being
enabled when it is done via libc.

diffstat:

 mk/platform/FreeBSD.mk |  3 ++-
 mk/platform/Linux.mk   |  3 ++-
 mk/platform/NetBSD.mk  |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r e089ec97d75b -r 8c2696ed29e5 mk/platform/FreeBSD.mk
--- a/mk/platform/FreeBSD.mk    Tue Oct 03 13:17:37 2017 +0000
+++ b/mk/platform/FreeBSD.mk    Tue Oct 03 13:18:00 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: FreeBSD.mk,v 1.35 2017/05/31 22:55:01 jlam Exp $
+# $NetBSD: FreeBSD.mk,v 1.36 2017/10/03 13:18:00 jperkin Exp $
 #
 # Variable definitions for the FreeBSD operating system.
 
@@ -79,6 +79,7 @@
 
 _OPSYS_SUPPORTS_CWRAPPERS=     yes
 _OPSYS_CAN_CHECK_SHLIBS=       yes # use readelf in check/bsd.check-vars.mk
+_OPSYS_CAN_CHECK_SSP=          no  # only supports libssp at this time
 
 # check for maximum command line length and set it in configure's environment,
 # to avoid a test required by the libtool script that takes forever.
diff -r e089ec97d75b -r 8c2696ed29e5 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk      Tue Oct 03 13:17:37 2017 +0000
+++ b/mk/platform/Linux.mk      Tue Oct 03 13:18:00 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.76 2017/08/04 08:59:20 jperkin Exp $
+# $NetBSD: Linux.mk,v 1.77 2017/10/03 13:18:00 jperkin Exp $
 #
 # Variable definitions for the Linux operating system.
 
@@ -112,6 +112,7 @@
 _OPSYS_SUPPORTS_CWRAPPERS=     yes
 
 _OPSYS_CAN_CHECK_SHLIBS=       yes # use readelf in check/bsd.check-vars.mk
+_OPSYS_CAN_CHECK_SSP=          no  # only supports libssp at this time
 
 # check for maximum command line length and set it in configure's environment,
 # to avoid a test required by the libtool script that takes forever.
diff -r e089ec97d75b -r 8c2696ed29e5 mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk     Tue Oct 03 13:17:37 2017 +0000
+++ b/mk/platform/NetBSD.mk     Tue Oct 03 13:18:00 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.55 2017/08/07 23:54:09 maya Exp $
+# $NetBSD: NetBSD.mk,v 1.56 2017/10/03 13:18:00 jperkin Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -161,6 +161,7 @@
 # use readelf in check/bsd.check-vars.mk
 _OPSYS_CAN_CHECK_RELRO=                yes
 _OPSYS_CAN_CHECK_SHLIBS=       yes
+_OPSYS_CAN_CHECK_SSP=          no  # only supports libssp at this time
 
 # check for maximum command line length and set it in configure's environment,
 # to avoid a test required by the libtool script that takes forever.



Home | Main Index | Thread Index | Old Index