18141171 gnupg, libidn, nmap, openexr, pinentry and rtorrent need ASLR enabled.
authorXINGSZHA <erich.zhang@oracle.com>
Thu, 30 Jan 2014 13:34:06 -0800
changeset 1678 68d1cdc71760
parent 1677 e41bbf0b1631
child 1679 51291a5fd692
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 Jan 30 09:31:17 2014 -0800
+++ b/components/gnupg/Makefile	Thu Jan 30 13:34:06 2014 -0800
@@ -100,6 +100,8 @@
 
 MAN8LIST = addgnupghome applygnupgdefaults
 
+ASLR_MODE = $(ASLR_ENABLE)
+
 build: $(BUILD_32)
 
 install: $(INSTALL_32)
--- a/components/libidn/Makefile	Thu Jan 30 09:31:17 2014 -0800
+++ b/components/libidn/Makefile	Thu Jan 30 13:34:06 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 Jan 30 09:31:17 2014 -0800
+++ b/components/nmap/Makefile	Thu Jan 30 13:34:06 2014 -0800
@@ -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 Jan 30 09:31:17 2014 -0800
+++ b/components/openexr/Makefile	Thu Jan 30 13:34:06 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 Jan 30 09:31:17 2014 -0800
+++ b/components/pinentry/Makefile	Thu Jan 30 13:34:06 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 Jan 30 09:31:17 2014 -0800
+++ b/components/rtorrent/Makefile	Thu Jan 30 13:34:06 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)