18141171 gnupg, libidn, nmap, openexr, pinentry and rtorrent need ASLR enabled. s11-update
authorXINGSZHA <erich.zhang@oracle.com>
Tue, 04 Mar 2014 10:54:16 -0800
branchs11-update
changeset 2974 47287ed9c79c
parent 2972 60456e7be821
child 2975 633de78fc886
18141171 gnupg, libidn, nmap, openexr, pinentry and rtorrent need ASLR enabled.
components/gnupg/Makefile
components/libidn/Makefile
components/nmap/Makefile
components/openexr/Makefile
components/pinentry/Makefile
components/rtorrent/Makefile
--- a/components/gnupg/Makefile	Thu Feb 27 07:51:20 2014 -0800
+++ b/components/gnupg/Makefile	Tue Mar 04 10:54:16 2014 -0800
@@ -100,6 +100,8 @@
 
 MAN8LIST = addgnupghome applygnupgdefaults
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 build: $(BUILD_32)
 
 install: $(INSTALL_32)
--- a/components/libidn/Makefile	Thu Feb 27 07:51:20 2014 -0800
+++ b/components/libidn/Makefile	Tue Mar 04 10:54:16 2014 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -113,6 +113,8 @@
 	    $(FIND) ./lib -type f -name "*.pl" -exec touch -acm {} + ; \
 	    $(FIND) ./lib -type f -name "*.pl" -exec chmod 0755 {} + )
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 build: $(BUILD_32_and_64)
 
 install: $(INSTALL_32_and_64)
--- a/components/nmap/Makefile	Thu Feb 27 07:51:20 2014 -0800
+++ b/components/nmap/Makefile	Tue Mar 04 10:54:16 2014 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -70,6 +70,8 @@
         $(GSED) -i -e 's?env python?python2.6?' \
                 $(PROTOUSRBINDIR)/uninstall_zenmap
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 # common targets
 build:		$(BUILD_32)
 		
--- a/components/openexr/Makefile	Thu Feb 27 07:51:20 2014 -0800
+++ b/components/openexr/Makefile	Tue Mar 04 10:54:16 2014 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -58,6 +58,8 @@
 CONFIGURE_OPTIONS  +=           --enable-posix-sem
 CONFIGURE_OPTIONS  +=           --with-pic
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 build: $(BUILD_32_and_64)
 
 install:	$(INSTALL_32_and_64)
--- a/components/pinentry/Makefile	Thu Feb 27 07:51:20 2014 -0800
+++ b/components/pinentry/Makefile	Tue Mar 04 10:54:16 2014 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -78,6 +78,8 @@
 CONFIGURE_OPTIONS  +=		--disable-pinentry-qt
 CONFIGURE_OPTIONS  +=		--disable-ncurses
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 build: $(BUILD_32)
 
 install: $(INSTALL_32)
--- a/components/rtorrent/Makefile	Thu Feb 27 07:51:20 2014 -0800
+++ b/components/rtorrent/Makefile	Tue Mar 04 10:54:16 2014 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we really need to use studio, mostly because that's what
@@ -69,6 +69,7 @@
 CONFIGURE_OPTIONS +=		LDFLAGS="$(LDFLAGS)"
 CONFIGURE_OPTIONS +=		CXXFLAGS="$(CXXFLAGS)"
 
+ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets
 build:		$(BUILD_32)