2013-08-06 15:06:41 +02:00
|
|
|
Index: bin/check/Makefile.in
|
2012-01-03 16:16:12 +01:00
|
|
|
===================================================================
|
2013-08-06 15:06:41 +02:00
|
|
|
--- bin/check/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/check/Makefile.in 2013-08-06 12:08:19.492457714 +0200
|
|
|
|
@@ -57,8 +57,12 @@
|
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2006-12-19 00:15:14 +01:00
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
|
|
|
named-checkconf.@O@: named-checkconf.c
|
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
|
|
|
Index: bin/confgen/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/confgen/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/confgen/Makefile.in 2013-08-06 12:08:19.492457714 +0200
|
|
|
|
@@ -64,8 +64,12 @@
|
|
|
|
|
|
|
|
UOBJS = unix/os.@O@
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
|
|
|
rndc-confgen.@O@: rndc-confgen.c
|
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\" \
|
|
|
|
Index: bin/confgen/unix/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/confgen/unix/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/confgen/unix/Makefile.in 2013-08-06 12:08:19.492457714 +0200
|
|
|
|
@@ -32,4 +32,8 @@
|
|
|
|
|
|
|
|
TARGETS = ${OBJS}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
2010-02-18 13:47:24 +01:00
|
|
|
+
|
2010-02-18 13:47:25 +01:00
|
|
|
+LDFLAGS += -pie
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/dig/Makefile.in
|
|
|
|
===================================================================
|
2013-08-05 16:51:21 +02:00
|
|
|
--- bin/dig/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
2013-08-06 15:06:41 +02:00
|
|
|
+++ bin/dig/Makefile.in 2013-08-06 12:08:19.492457714 +0200
|
2014-12-05 11:12:05 +01:00
|
|
|
@@ -69,8 +69,12 @@ HTMLPAGES = dig.html host.html nslookup.
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
|
|
|
dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
|
2010-02-18 13:47:25 +01:00
|
|
|
export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
|
2014-12-05 11:12:05 +01:00
|
|
|
export LIBS0="${DNSLIBS}"; \
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/dnssec/Makefile.in
|
|
|
|
===================================================================
|
2013-08-05 16:51:21 +02:00
|
|
|
--- bin/dnssec/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
2013-08-06 15:06:41 +02:00
|
|
|
+++ bin/dnssec/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
2014-12-05 11:12:05 +01:00
|
|
|
@@ -65,8 +65,12 @@
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2009-02-06 20:40:10 +01:00
|
|
|
dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
2010-02-18 13:47:25 +01:00
|
|
|
export BASEOBJS="dnssec-dsfromkey.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
2013-08-06 15:06:41 +02:00
|
|
|
Index: bin/Makefile.in
|
2012-01-03 16:16:12 +01:00
|
|
|
===================================================================
|
2013-08-06 15:06:41 +02:00
|
|
|
--- bin/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
|
|
|
@@ -23,4 +23,8 @@
|
|
|
|
check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
|
|
|
TARGETS =
|
2006-12-19 00:15:14 +01:00
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
2010-02-18 13:47:25 +01:00
|
|
|
+
|
2013-08-06 15:06:41 +02:00
|
|
|
+LDFLAGS += -pie
|
|
|
|
Index: bin/named/Makefile.in
|
2012-01-03 16:16:12 +01:00
|
|
|
===================================================================
|
2013-08-06 15:06:41 +02:00
|
|
|
--- bin/named/Makefile.in.orig 2013-08-06 12:08:17.653432490 +0200
|
|
|
|
+++ bin/named/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
2014-12-05 11:12:05 +01:00
|
|
|
@@ -119,8 +119,12 @@
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2013-08-06 15:06:41 +02:00
|
|
|
main.@O@: main.c
|
2006-12-19 00:15:14 +01:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
2013-08-06 15:06:41 +02:00
|
|
|
Index: bin/named/unix/Makefile.in
|
2012-01-03 16:16:12 +01:00
|
|
|
===================================================================
|
2013-08-06 15:06:41 +02:00
|
|
|
--- bin/named/unix/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/named/unix/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
|
|
|
@@ -34,4 +34,6 @@
|
|
|
|
|
|
|
|
TARGETS = ${OBJS}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
Index: bin/nsupdate/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/nsupdate/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/nsupdate/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
2014-08-01 13:43:42 +02:00
|
|
|
@@ -68,8 +68,12 @@
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2013-08-06 15:06:41 +02:00
|
|
|
nsupdate.@O@: nsupdate.c
|
2010-02-18 13:47:25 +01:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
2013-08-06 15:06:41 +02:00
|
|
|
-DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\" \
|
|
|
|
Index: bin/rndc/Makefile.in
|
2012-01-03 16:16:12 +01:00
|
|
|
===================================================================
|
2013-08-06 15:06:41 +02:00
|
|
|
--- bin/rndc/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/rndc/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
|
|
|
@@ -59,8 +59,12 @@
|
2010-02-18 13:47:24 +01:00
|
|
|
|
2010-02-18 13:47:25 +01:00
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2006-12-19 00:15:14 +01:00
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2006-12-19 00:15:14 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2013-08-06 15:06:41 +02:00
|
|
|
rndc.@O@: rndc.c
|
2006-12-19 00:15:14 +01:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
2013-08-06 15:06:41 +02:00
|
|
|
Index: bin/tools/Makefile.in
|
2012-01-03 16:16:12 +01:00
|
|
|
===================================================================
|
2013-08-06 15:06:41 +02:00
|
|
|
--- bin/tools/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ bin/tools/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
2014-12-05 11:12:05 +01:00
|
|
|
@@ -54,8 +54,12 @@ HTMLPAGES = arpaname.html named-journalp
|
|
|
|
nsec3hash.html genrandom.html isc-hmac-fixup.html
|
2013-08-06 15:06:41 +02:00
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2010-02-18 13:47:25 +01:00
|
|
|
|
2013-08-06 15:06:41 +02:00
|
|
|
+EXT_CFLAGS = -fPIE -static
|
2010-02-18 13:47:25 +01:00
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2013-08-06 15:06:41 +02:00
|
|
|
arpaname@EXEEXT@: arpaname.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
|
2014-12-05 11:12:05 +01:00
|
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
|
|
|
-o $@ arpaname.@O@ ${ISCLIBS} ${LIBS}
|
2013-08-06 15:06:41 +02:00
|
|
|
Index: contrib/idn/idnkit-1.0-src/tools/idnconv/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- contrib/idn/idnkit-1.0-src/tools/idnconv/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ contrib/idn/idnkit-1.0-src/tools/idnconv/Makefile.in 2013-08-06 12:08:19.493457729 +0200
|
|
|
|
@@ -68,8 +68,8 @@
|
|
|
|
INCS = -I$(srcdir) -I$(srcdir)/../../include -I../../include $(ICONVINC)
|
|
|
|
DEFS =
|
|
|
|
|
|
|
|
-CFLAGS = $(INCS) $(DEFS) @CPPFLAGS@ @CFLAGS@
|
|
|
|
-LDFLAGS = @LDFLAGS@
|
|
|
|
+CFLAGS = $(INCS) $(DEFS) @CPPFLAGS@ @CFLAGS@ -fPIE
|
|
|
|
+LDFLAGS = @LDFLAGS@ -pie
|
|
|
|
|
|
|
|
SRCS = idnconv.c util.c selectiveencode.c
|
|
|
|
OBJS = idnconv.o util.o selectiveencode.o
|
|
|
|
Index: contrib/zkt/Makefile.in
|
|
|
|
===================================================================
|
2015-05-08 17:44:01 +02:00
|
|
|
--- contrib/zkt-1.1.3/Makefile.in.orig 2013-07-17 00:13:06.000000000 +0200
|
|
|
|
+++ contrib/zkt-1.1.3/Makefile.in 2013-08-06 12:08:19.494457743 +0200
|
2013-08-06 15:06:41 +02:00
|
|
|
@@ -13,11 +13,11 @@
|
|
|
|
OPTIM = # -O3 -DNDEBUG
|
|
|
|
|
|
|
|
#CFLAGS ?= @CFLAGS@ @DEFS@ -I@top_srcdir@
|
|
|
|
-CFLAGS += -g @DEFS@ -I@top_srcdir@
|
|
|
|
+CFLAGS += -g @DEFS@ -I@top_srcdir@ -fPIE
|
|
|
|
CFLAGS += -Wall #-DDBG
|
|
|
|
CFLAGS += -Wmissing-prototypes
|
|
|
|
CFLAGS += $(PROFILE) $(OPTIM)
|
|
|
|
-LDFLAGS += $(PROFILE)
|
|
|
|
+LDFLAGS += $(PROFILE) -fPIE -pie
|
|
|
|
LIBS = @LIBS@
|
|
|
|
|
|
|
|
PROJECT = @PACKAGE_TARNAME@
|