pkgsrc/editors/emacs-nox11/Makefile
wiz 0e17eddd4d 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
2012-08-13 06:53:06 +00:00

19 lines
544 B
Makefile

# $NetBSD: Makefile,v 1.36 2012/08/13 06:53:06 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-nox11-/}
PKGREVISION= 1
CONFLICTS+= emacs-[0-9]*
FILESDIR= ${.CURDIR}/../../editors/emacs/files
PATCHDIR= ${.CURDIR}/../../editors/emacs/patches
PKGDIR= ${.CURDIR}/../../editors/emacs
.include "../../editors/emacs/Makefile.common"
CONFIGURE_ARGS+= --without-dbus --without-m17n-flt --without-otf \
--without-rsvg --without-x --without-xft \
--without-gif --without-jpeg --without-png \
--without-tiff --without-xpm
.include "../../mk/bsd.pkg.mk"