pkgsrc/editors/emacs24/Makefile
wiz 68610bc920 Fix CVE-2012-3479:
When the Emacs user option `enable-local-variables' is set to `:safe'
(the default value is t), Emacs should automatically refuse to evaluate
`eval' forms in file-local variable sections.  Due to the bug, Emacs
instead automatically evaluates such `eval' forms.  Thus, if the user
changes the value of `enable-local-variables' to `:safe', visiting a
malicious file can cause automatic execution of arbitrary Emacs Lisp
code with the permissions of the user.

Bug tracker ref: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12155

Bump PKGREVISION.
2012-08-13 06:38:50 +00:00

17 lines
445 B
Makefile

# $NetBSD: Makefile,v 1.4 2012/08/13 06:38:50 wiz Exp $
CONFLICTS+= emacs-nox11-[0-9]*
.include "../../editors/emacs24/Makefile.common"
PKGREVISION= 2
.include "options.mk"
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_VARS.prefix= PREFIX
SUBST_FILES.prefix= src/s/netbsd.h
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"