summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-06-17 19:40:18 +0000
committerjoerg <joerg@pkgsrc.org>2017-06-17 19:40:18 +0000
commit21d3e9368aba71acebd1bda7ed074a9eb087b5fe (patch)
tree50ded630b9b17ec193cf8e96233a42e9d3e6869e
parentb5297a79c2e20b30849e855ab69918f12c46a349 (diff)
downloadpkgsrc-21d3e9368aba71acebd1bda7ed074a9eb087b5fe.tar.gz
Remove now obsolete Emacs ASLR hacks.
-rw-r--r--editors/emacs20/distinfo4
-rw-r--r--editors/emacs20/patches/patch-af18
-rw-r--r--editors/emacs21/distinfo4
-rw-r--r--editors/emacs21/patches/patch-src_Makefile.in28
-rw-r--r--editors/emacs24/hacks.mk17
-rw-r--r--editors/emacs25/hacks.mk17
6 files changed, 8 insertions, 80 deletions
diff --git a/editors/emacs20/distinfo b/editors/emacs20/distinfo
index 35df214c56e..b0dbcd0a088 100644
--- a/editors/emacs20/distinfo
+++ b/editors/emacs20/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.34 2016/11/26 06:38:06 dholland Exp $
+$NetBSD: distinfo,v 1.35 2017/06/17 19:40:18 joerg Exp $
SHA1 (emacs-20.7-mule-4.1b-elc.tar.gz) = 3894fb2b81bb326545f6ccc3bf0a8405c23004ff
RMD160 (emacs-20.7-mule-4.1b-elc.tar.gz) = c675b31dafaa4321a453af9d87eddf051ee71b1f
@@ -25,7 +25,7 @@ SHA1 (patch-ab) = cf63cb6481eb5862855f066a358821cf57bb6aa1
SHA1 (patch-ac) = abf5971279a8d875504be4c17b8d36cb8cc24885
SHA1 (patch-ad) = dd21028a6360ccfb442ecced4c67717f60ea78a6
SHA1 (patch-ae) = 465c7aff1fbb23d08ff8100993041291a9502f34
-SHA1 (patch-af) = 4f252a923a8164ee7523a338f1d1b5d87006ea72
+SHA1 (patch-af) = 4a5355139731264cbb2663b9117c6135179987a8
SHA1 (patch-ag) = 14469c8907ea09395031594e7e0d0fe967b915d9
SHA1 (patch-ah) = 669ce7d4d2d9d15f423b94a996c0aa92b8a0d455
SHA1 (patch-ai) = e75ca87ba6bad1eab37cfbc99753d368fb95565d
diff --git a/editors/emacs20/patches/patch-af b/editors/emacs20/patches/patch-af
index ae4817ee3bf..d7e46fa1439 100644
--- a/editors/emacs20/patches/patch-af
+++ b/editors/emacs20/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.3 2016/11/26 06:38:06 dholland Exp $
+$NetBSD: patch-af,v 1.4 2017/06/17 19:40:18 joerg Exp $
--- src/Makefile.in.orig 2016-11-26 06:25:26.875919180 +0000
+++ src/Makefile.in
@@ -36,19 +36,3 @@ $NetBSD: patch-af,v 1.3 2016/11/26 06:38:06 dholland Exp $
emacs: temacs ${etc}DOC ${lisp}
#ifdef CANNOT_DUMP
-@@ -823,6 +816,7 @@ emacs: temacs ${etc}DOC ${lisp}
- #else /* ! defined (HAVE_SHM) */
- ./temacs -batch -l loadup dump
- #endif /* ! defined (HAVE_SHM) */
-+ /usr/sbin/paxctl +a emacs || true
- #endif /* ! defined (CANNOT_DUMP) */
- -./emacs -q -batch -f list-load-path-shadows
-
-@@ -851,6 +845,7 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(STAR
- $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
- -o temacs ${STARTFILES} ${obj} ${otherobj} \
- OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
-+ /usr/sbin/paxctl +a temacs || true
-
- /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
- often contain options that have to do with using Emacs's crt0,
diff --git a/editors/emacs21/distinfo b/editors/emacs21/distinfo
index 1907983f08c..89c4c2c940a 100644
--- a/editors/emacs21/distinfo
+++ b/editors/emacs21/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2016/11/26 04:22:40 dholland Exp $
+$NetBSD: distinfo,v 1.23 2017/06/17 19:40:18 joerg Exp $
SHA1 (emacs-21.4a.tar.gz) = cdb33731180fe4a912838af805dd35e3f55394d4
RMD160 (emacs-21.4a.tar.gz) = c312e739935b56d08783bbfe97992297a363cb8a
@@ -33,7 +33,7 @@ SHA1 (patch-az) = 43753accb1b9ffc2c63e638c31236b8e4880080b
SHA1 (patch-ba) = ae05985ce8cabffdfbfb84905e1d6b0de7690b25
SHA1 (patch-bb) = bf748292c57459b1240da01f9d3df16e4dc40fa2
SHA1 (patch-cf) = 1b5b83eb02872414fd7ca29c344c0560feaf1b7e
-SHA1 (patch-src_Makefile.in) = 2e7f689eb50b82847d1858b698db5cfb9e5c3c7f
+SHA1 (patch-src_Makefile.in) = cecef2516c4b9a4171926080a32826fad92ea077
SHA1 (patch-src_alloc_c) = c9d2c7832b8b48835b81789f938540e3827f7cd8
SHA1 (patch-src_gmalloc.c) = 3d10e1ae9f9d98495a8da47e6051a51ac18aed10
SHA1 (patch-src_syntax.c) = c56c3b0d1e215cf56f29349bf7e9bf9cce8d0f02
diff --git a/editors/emacs21/patches/patch-src_Makefile.in b/editors/emacs21/patches/patch-src_Makefile.in
index 13bd6b8cf31..00471e1ca03 100644
--- a/editors/emacs21/patches/patch-src_Makefile.in
+++ b/editors/emacs21/patches/patch-src_Makefile.in
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_Makefile.in,v 1.2 2016/05/03 09:41:20 wiz Exp $
+$NetBSD: patch-src_Makefile.in,v 1.3 2017/06/17 19:40:18 joerg Exp $
* Use giflib 5.0.
@@ -13,29 +13,3 @@ $NetBSD: patch-src_Makefile.in,v 1.2 2016/05/03 09:41:20 wiz Exp $
#endif /* not defined LIBGIF */
#else /* not HAVE_GIF */
#define LIBGIF
-@@ -847,6 +847,7 @@ emacs: temacs ${etc}DOC ${lisp}
- #else /* ! defined (HAVE_SHM) */
- LC_ALL=C ./temacs -batch -l loadup dump
- #endif /* ! defined (HAVE_SHM) */
-+ -/usr/sbin/paxctl +a emacs
- #endif /* ! defined (CANNOT_DUMP) */
- -./emacs -q -batch -f list-load-path-shadows
-
-@@ -875,6 +876,9 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(STAR
- $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
- -o temacs ${STARTFILES} ${obj} ${otherobj} \
- OBJECTS_MACHINE ${LIBES}
-+#ifndef CANNOT_DUMP
-+ -/usr/sbin/paxctl +a temacs
-+#endif
-
- /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
- often contain options that have to do with using Emacs's crt0,
-@@ -1241,6 +1245,7 @@ bootstrap-emacs: bootstrap-temacs bootst
- ./temacs -nl -batch -l loadup bootstrap
- #else /* ! defined (HAVE_SHM) */
- ./temacs --batch --load loadup bootstrap
-+ -/usr/sbin/paxctl +a emacs
- #endif /* ! defined (HAVE_SHM) */
- #endif /* ! defined (CANNOT_DUMP) */
- mv -f emacs bootstrap-emacs
diff --git a/editors/emacs24/hacks.mk b/editors/emacs24/hacks.mk
index 1b6116105d0..eb281ff5cf4 100644
--- a/editors/emacs24/hacks.mk
+++ b/editors/emacs24/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.6 2016/08/27 08:38:31 maya Exp $
+# $NetBSD: hacks.mk,v 1.7 2017/06/17 19:40:19 joerg Exp $
.if !defined(EMACS_HACKS_MK)
EMACS_HACKS_MK= defined
@@ -15,19 +15,4 @@ CFLAGS+= -fno-optimize-strlen
. endif
. endif
-### PaX is enabled, bootstrap-emacs command dumps core with segfault.
-### emacs-24.5/src/Makefile.in does not support NetBSD paxctl(8) syntax.
-### http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23371
-###
-. if !empty(MACHINE_PLATFORM:MNetBSD-*)
-. if exists(/usr/sbin/paxctl)
-SUBST_CLASSES+= paxctl
-SUBST_STAGE.paxctl= pre-configure
-SUBST_MESSAGE.paxctl= Setting paxctl command
-SUBST_FILES.paxctl+= src/Makefile.in
-SUBST_SED.paxctl+= -e 's,test "X$$(PAXCTL)" = X || $$(PAXCTL) -zex,/usr/sbin/paxctl +a,g'
-SUBST_SED.paxctl+= -e 's,test "X$$(PAXCTL)" = X || $$(PAXCTL) -r,/usr/sbin/paxctl +a,g'
-. endif
-. endif
-
.endif # EMACS_HACKS_MK
diff --git a/editors/emacs25/hacks.mk b/editors/emacs25/hacks.mk
index 401937c23f1..8abb595b45a 100644
--- a/editors/emacs25/hacks.mk
+++ b/editors/emacs25/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2016/09/18 13:36:18 ryoon Exp $
+# $NetBSD: hacks.mk,v 1.2 2017/06/17 19:40:19 joerg Exp $
.if !defined(EMACS_HACKS_MK)
EMACS_HACKS_MK= defined
@@ -15,19 +15,4 @@ CFLAGS+= -fno-optimize-strlen
. endif
.endif
-### PaX is enabled, bootstrap-emacs command dumps core with segfault.
-### emacs-24.5/src/Makefile.in does not support NetBSD paxctl(8) syntax.
-### http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23371
-###
-.if !empty(MACHINE_PLATFORM:MNetBSD-*)
-. if exists(/usr/sbin/paxctl)
-SUBST_CLASSES+= paxctl
-SUBST_STAGE.paxctl= pre-configure
-SUBST_MESSAGE.paxctl= Setting paxctl command
-SUBST_FILES.paxctl+= src/Makefile.in
-SUBST_SED.paxctl+= -e 's,test "X$$(PAXCTL)" = X || $$(PAXCTL) -zex,/usr/sbin/paxctl +a,g'
-SUBST_SED.paxctl+= -e 's,test "X$$(PAXCTL)" = X || $$(PAXCTL) -r,/usr/sbin/paxctl +a,g'
-. endif
-.endif
-
.endif # EMACS_HACKS_MK