16419497 ASLR should be enabled for lftp, m4, ncurses, stunnel, tcpdump, and top
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 19 Mar 2013 11:51:47 -0700
changeset 1223 28d011526d15
parent 1222 9e8381acb43a
child 1224 aa9ac448f3e6
16419497 ASLR should be enabled for lftp, m4, ncurses, stunnel, tcpdump, and top
components/lftp/Makefile
components/m4/Makefile
components/ncurses/Makefile
components/stunnel/Makefile
components/tcpdump/Makefile
components/top/Makefile
--- a/components/lftp/Makefile	Tue Mar 19 12:14:27 2013 -0600
+++ b/components/lftp/Makefile	Tue Mar 19 11:51:47 2013 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -45,6 +45,7 @@
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  +=		CXXFLAGS="$(CXXFLAGS)"
 
+ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets
 build:		$(BUILD_32)
--- a/components/m4/Makefile	Tue Mar 19 12:14:27 2013 -0600
+++ b/components/m4/Makefile	Tue Mar 19 11:51:47 2013 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -43,6 +43,8 @@
 CONFIGURE_OPTIONS  +=	--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS)"
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
 build:		$(BUILD_32)
 
--- a/components/ncurses/Makefile	Tue Mar 19 12:14:27 2013 -0600
+++ b/components/ncurses/Makefile	Tue Mar 19 11:51:47 2013 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -66,6 +66,8 @@
 	$(CP) /usr/share/lib/terminfo/s/sun-color \
 	$(PROTO_DIR)$(GNULIB)/terminfo/s/
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
 build:          $(BUILD_32_and_64)
 
--- a/components/stunnel/Makefile	Tue Mar 19 12:14:27 2013 -0600
+++ b/components/stunnel/Makefile	Tue Mar 19 11:51:47 2013 -0700
@@ -63,6 +63,8 @@
 
 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
 build:          $(BUILD_32_and_64)
 
--- a/components/tcpdump/Makefile	Tue Mar 19 12:14:27 2013 -0600
+++ b/components/tcpdump/Makefile	Tue Mar 19 11:51:47 2013 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -44,6 +44,8 @@
 CONFIGURE_OPTIONS += --with-user=nobody
 CONFIGURE_OPTIONS += --without-crypto
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
 build:          $(BUILD_32)
 
--- a/components/top/Makefile	Tue Mar 19 12:14:27 2013 -0600
+++ b/components/top/Makefile	Tue Mar 19 11:51:47 2013 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -43,6 +43,8 @@
 
 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS)"
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
 build:		$(BUILD_64)