summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-04 23:01:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-04 23:01:07 +0000
commit88b45f1e9b2ceae544012c0dcd467e6e3eb9629a (patch)
treebe29813d31a7f9d31d3cb56693280d9f0124fc50 /app-arch/unzip/files
parentClean up ebuild, respect user CFLAGS, and fix executable stack markings. (diff)
downloadgentoo-2-88b45f1e9b2ceae544012c0dcd467e6e3eb9629a.tar.gz
gentoo-2-88b45f1e9b2ceae544012c0dcd467e6e3eb9629a.tar.bz2
gentoo-2-88b45f1e9b2ceae544012c0dcd467e6e3eb9629a.zip
Make sure unzip isnt built with an executable stack.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-arch/unzip/files')
-rw-r--r--app-arch/unzip/files/digest-unzip-5.52-r11
-rw-r--r--app-arch/unzip/files/unzip-5.52-no-exec-stack.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/app-arch/unzip/files/digest-unzip-5.52-r1 b/app-arch/unzip/files/digest-unzip-5.52-r1
new file mode 100644
index 000000000000..1115e1acf992
--- /dev/null
+++ b/app-arch/unzip/files/digest-unzip-5.52-r1
@@ -0,0 +1 @@
+MD5 9d23919999d6eac9217d1f41472034a9 unzip552.tar.gz 1140291
diff --git a/app-arch/unzip/files/unzip-5.52-no-exec-stack.patch b/app-arch/unzip/files/unzip-5.52-no-exec-stack.patch
new file mode 100644
index 000000000000..cd40a8cd179f
--- /dev/null
+++ b/app-arch/unzip/files/unzip-5.52-no-exec-stack.patch
@@ -0,0 +1,13 @@
+Make sure that the asm files don't incorrectly trigger an executable
+stack marking in the final shared library. That's bad, mmmkay.
+
+--- unzip/crc_i386.S
++++ unzip/crc_i386.S
+@@ -238,3 +238,7 @@
+ #endif /* i386 || _i386 || _I386 || __i386 */
+
+ #endif /* !USE_ZLIB */
++
++#ifdef __ELF__
++.section .note.GNU-stack,"",@progbits
++#endif