summaryrefslogtreecommitdiffstats
path: root/bind-9.5-PIE.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2008-02-11 17:11:26 +0000
committerAdam Tkac <atkac@fedoraproject.org>2008-02-11 17:11:26 +0000
commitbbeea42ab3194cda396fdf32e9ee516cec4bb3ca (patch)
tree9b777a864c486e21af457cae2ebc188ad676bb6a /bind-9.5-PIE.patch
parente31eda425bcf9874906f356b197ce4df0e70cec9 (diff)
downloadbind-bbeea42ab3194cda396fdf32e9ee516cec4bb3ca.tar.gz
bind-bbeea42ab3194cda396fdf32e9ee516cec4bb3ca.tar.xz
bind-bbeea42ab3194cda396fdf32e9ee516cec4bb3ca.zip
- build with -D_GNU_SOURCE (#431734)
- improved fix for #253537, posttrans script is now used - improved fix for #400461 - 9.5.0b2 - bind-9.3.2b1-PIE.patch replaced by bind-9.5-PIE.patch - only named, named-sdb and lwresd are PIE - bind-9.5-sdb.patch has been updated - bind-9.5-libidn.patch has been updated - bind-9.4.0-sdb-sqlite-bld.patch replaced by bind-9.5-sdb-sqlite-bld.patch - removed bind-9.5-gssapi-header.patch (upstream) - removed bind-9.5-CVE-2008-0122.patch (upstream) - removed bind-9.2.2-nsl.patch
Diffstat (limited to 'bind-9.5-PIE.patch')
-rw-r--r--bind-9.5-PIE.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/bind-9.5-PIE.patch b/bind-9.5-PIE.patch
new file mode 100644
index 0000000..a525b9b
--- /dev/null
+++ b/bind-9.5-PIE.patch
@@ -0,0 +1,27 @@
+--- bind-9.5.0b2/bin/named/Makefile.in.pie 2008-02-11 17:21:47.000000000 +0100
++++ bind-9.5.0b2/bin/named/Makefile.in 2008-02-11 17:22:10.000000000 +0100
+@@ -100,8 +100,12 @@ HTMLPAGES = named.html lwresd.html named
+
+ MANOBJS = ${MANPAGES} ${HTMLPAGES}
+
++EXT_CFLAGS = -fpie
++
+ @BIND9_MAKE_RULES@
+
++LDFLAGS += -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack
++
+ main.@O@: main.c
+ ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
+ -DVERSION=\"${VERSION}\" \
+diff -up bind-9.5.0b2/bin/named/unix/Makefile.in.pie bind-9.5.0b2/bin/named/unix/Makefile.in
+--- bind-9.5.0b2/bin/named/unix/Makefile.in.pie 2008-02-11 17:22:21.000000000 +0100
++++ bind-9.5.0b2/bin/named/unix/Makefile.in 2008-02-11 17:23:00.000000000 +0100
+@@ -19,6 +19,8 @@ srcdir = @srcdir@
+ VPATH = @srcdir@
+ top_srcdir = @top_srcdir@
+
++EXT_CFLAGS = -fpie
++
+ @BIND9_MAKE_INCLUDES@
+
+ CINCLUDES = -I${srcdir}/include -I${srcdir}/../include \