Marcus Meissner
b29a01b4d4
OBS-URL: https://build.opensuse.org/request/show/746635 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=259
178 lines
4.9 KiB
Diff
178 lines
4.9 KiB
Diff
Index: bind-9.14.7/bin/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/Makefile.in
|
|
+++ bind-9.14.7/bin/Makefile.in
|
|
@@ -15,4 +15,8 @@ SUBDIRS = named rndc dig delv dnssec too
|
|
@NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
|
TARGETS =
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
+
|
|
+LDFLAGS += -pie
|
|
Index: bind-9.14.7/bin/check/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/check/Makefile.in
|
|
+++ bind-9.14.7/bin/check/Makefile.in
|
|
@@ -51,8 +51,12 @@ HTMLPAGES = named-checkconf.html named-c
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
named-checkconf.@O@: named-checkconf.c
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
-DVERSION=\"${VERSION}\" \
|
|
Index: bind-9.14.7/bin/confgen/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/confgen/Makefile.in
|
|
+++ bind-9.14.7/bin/confgen/Makefile.in
|
|
@@ -61,8 +61,12 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
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: bind-9.14.7/bin/confgen/unix/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/confgen/unix/Makefile.in
|
|
+++ bind-9.14.7/bin/confgen/unix/Makefile.in
|
|
@@ -25,4 +25,8 @@ SRCS = os.c
|
|
|
|
TARGETS = ${OBJS}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
+
|
|
+LDFLAGS += -pie
|
|
Index: bind-9.14.7/bin/dig/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/dig/Makefile.in
|
|
+++ bind-9.14.7/bin/dig/Makefile.in
|
|
@@ -62,10 +62,14 @@ HTMLPAGES = dig.html host.html nslookup.
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
LDFLAGS = @LDFLAGS@ @LIBIDN2_LDFLAGS@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
|
|
export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
|
|
export LIBS0="${DNSLIBS} ${IRSLIBS}"; \
|
|
Index: bind-9.14.7/bin/dnssec/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/dnssec/Makefile.in
|
|
+++ bind-9.14.7/bin/dnssec/Makefile.in
|
|
@@ -59,8 +59,12 @@ HTMLPAGES = dnssec-cds.html dnssec-dsfro
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
dnssec-cds@EXEEXT@: dnssec-cds.@O@ ${OBJS} ${DEPLIBS}
|
|
export BASEOBJS="dnssec-cds.@O@ ${OBJS}"; \
|
|
${FINALBUILDCMD}
|
|
Index: bind-9.14.7/bin/named/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/named/Makefile.in
|
|
+++ bind-9.14.7/bin/named/Makefile.in
|
|
@@ -117,8 +117,12 @@ HTMLPAGES = named.html named.conf.html
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
main.@O@: main.c
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
-DVERSION=\"${VERSION}\" \
|
|
Index: bind-9.14.7/bin/named/unix/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/named/unix/Makefile.in
|
|
+++ bind-9.14.7/bin/named/unix/Makefile.in
|
|
@@ -26,4 +26,8 @@ SRCS = os.c dlz_dlopen_driver.c
|
|
|
|
TARGETS = ${OBJS}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
+
|
|
+LDFLAGS += -pie
|
|
Index: bind-9.14.7/bin/nsupdate/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/nsupdate/Makefile.in
|
|
+++ bind-9.14.7/bin/nsupdate/Makefile.in
|
|
@@ -64,8 +64,12 @@ HTMLPAGES = nsupdate.html
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
nsupdate.@O@: nsupdate.c
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
-DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\" \
|
|
Index: bind-9.14.7/bin/rndc/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/rndc/Makefile.in
|
|
+++ bind-9.14.7/bin/rndc/Makefile.in
|
|
@@ -51,8 +51,12 @@ HTMLPAGES = rndc.html rndc.conf.html
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
rndc.@O@: rndc.c
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
-DVERSION=\"${VERSION}\" \
|
|
Index: bind-9.14.7/bin/tools/Makefile.in
|
|
===================================================================
|
|
--- bind-9.14.7.orig/bin/tools/Makefile.in
|
|
+++ bind-9.14.7/bin/tools/Makefile.in
|
|
@@ -61,8 +61,12 @@ HTMLPAGES = arpaname.html dnstap-read.ht
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
+EXT_CFLAGS = -fPIE -static
|
|
+
|
|
@BIND9_MAKE_RULES@
|
|
|
|
+LDFLAGS += -pie
|
|
+
|
|
arpaname@EXEEXT@: arpaname.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
|
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
|
-o $@ arpaname.@O@ ${ISCLIBS} ${LIBS}
|