Commit graph

51 commits

Author SHA1 Message Date
rodent
95b6ba52f0 '"# $NetBSD$" expected.' 2013-04-06 11:23:04 +00:00
dholland
b05712be4d Oops, forgot these. 2013-02-17 17:35:44 +00:00
dholland
8190454b86 nox11 version of the meta-package in editors/emacs. This will always
build the nox11 version of the emacs type in EMACS_TYPE.
2013-02-17 07:36:54 +00:00
dholland
624e938e23 Move editors/emacs-nox11 to editors/emacs23-nox11. 2013-02-17 05:01:26 +00:00
wiz
6fd1a54e57 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
obache
572c5e457e reset PKGREVISION, from base pkg update. 2012-02-20 01:22:32 +00:00
obache
f876f29923 PKGREVISION must not be in Makefile.common. 2012-01-20 04:20:43 +00:00
marino
eb25eba891 editors/emacs-nox11: Revert previous
emacs-nox11 doesn't use and can't use emacs.desktop, so there is no need
to modify the file (which shouldn't even be installed).  This modification
could go on the editors/emacs port though, conditionally on without x11.
2011-12-13 06:20:16 +00:00
marino
b31100c0dd editors/emacs-nox11: Update emacs.desktop to launch in Terminal
Tweak behavior of emacs-nox11 launched from gnome or kde desktop.  This
change makes emacs-nox11 always get launched inside a terminal from those
desktops.
2011-12-11 21:02:29 +00:00
drochner
7a539395b7 sync w/ base pkg 2011-06-09 13:48:06 +00:00
hiramatsu
8e9c83ebb2 Instead of extracting version string from PKGNAME, use
${_EMACS_VERSION_MAJOR} and ${_EMACS_VERSION_MINOR} to determine installed
version of emacs.

Also, set minimum version of _EMACS_REQD to the same as
${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}. Otherwise, buildlink
does not work for emacs lisp libraries.

Should fix PR/42763.
2011-02-08 13:20:13 +00:00
joerg
39039deabc Be consistent and provide upper limits for all EMACS_REQD cases. 2010-10-12 13:22:45 +00:00
minskim
18e040221b Sync emacs-nox11 with emacs. 2010-06-01 21:47:00 +00:00
obache
782b4278ac fit for NetBSD-mips variants, do not use pmax configuration.
prevent unrequisite warning messages on NetBSD-alpha (patch-ac) and NetBSD-mips
variants (patch-af). fixes PR 39027.

Bump PKGREVISION.
2009-10-07 10:56:40 +00:00
minskim
52609480ca Update editors/emacs and editors/emacs-nox11 to 23.1.
Major changes:
- Improved Unicode support.
- Font rendering with Fontconfig and Xft.
- Support for using X displays and text terminals in one session, and
  for running as a daemon.
- Support for multi-file commits in distributed version-control
  systems (VC-dir).
- The default X toolkit is now Gtk+, rather than Lucid.
2009-08-05 22:04:50 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
uebayasi
b025a518d0 Update emacs to 22.3.
Below is a simplified etc/NEWS; see the real file for full detail!

----
* Changes in Emacs 22.3

** Support for several obsolete platforms will be removed in the next
major version of Emacs.

*** Support for systems without alloca will be removed.

*** Support for Sun windows will be removed.

*** Support for VMS will be removed.

* Incompatible Editing Changes in Emacs 22.3

** The following input methods were removed in Emacs 22.2, but this was
not advertised: danish-alt-postfix, esperanto-alt-postfix,
finnish-alt-postfix, german-alt-postfix, icelandic-alt-postfix,
norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix,
and swedish-alt-postfix.  Use the versions without "alt-", which are
identical.

* Installation Changes in Emacs 22.2

** Emacs is now licensed under the GNU GPL version 3 (or later).

** Support for GNU/kFreeBSD (GNU userland and FreeBSD kernel) was added.

** Deprecated machine types and operating systems

(snip)

* Changes in Emacs 22.2

** `describe-project' is renamed to `describe-gnu-project'.

** `view-todo' is renamed to `view-emacs-todo'.

** `find-name-dired' now uses -iname rather than -name
for case-insensitive filesystems.

** In Image mode, whenever the displayed image is wider and/or higher
than the window, the usual keys for moving the cursor cause the image
to be scrolled horizontally or vertically instead.

** Emacs can use stock icons in the tool bar when compiled with Gtk+.

** Scrollbars follow the system theme on Windows XP and later.

** focus-follows-mouse defaults to nil on MS Windows.

** `bad-packages-alist' will warn about external packages that are known
to cause problems in this version of Emacs.

** The values of `dired-recursive-deletes' and `dired-recursive-copies'
have been changed to `top'.

** `browse-url-emacs' loads a URL into an Emacs buffer.  Handy for *.el URLs.

** The command gdba has been removed as gdb works now for those cases where it
was needed.

** desktop.el now detects conflicting uses of the desktop file.

** Compilation mode now correctly respects the value of
`compilation-scroll-output' between invocations.

** `font-lock-comment-face' no longer differs from the default on
displays with fewer than 16 colors and dark background (e.g. older
xterms and the Linux console).

* New Modes and Packages in Emacs 22.2

** bibtex-style-mode helps you write BibTeX's *.bst files.

** The new package css-mode.el provides a major mode for editing CSS files.

** The new package vera-mode.el provides a major mode for editing Vera files.

** The new package verilog-mode.el provides a major mode for editing Verilog files.

** The new package socks.el implements the SOCKS v5 protocol.

** VC

*** VC backends can provide completion of revision names.

*** VC backends can provide extra menu entries to the "Version Control" menu.
This can be used to add menu entries for backend specific functions.

*** VC has some support for Mercurial (Hg).

*** VC has some support for Monotone (Mtn).

*** VC has some support for Bazaar (Bzr).

*** VC has some support for Git.

* Incompatible Lisp Changes in Emacs 22.2

** shell.el no longer defines the aliases `dirtrack-toggle' and
`dirtrack-mode' for `shell-dirtrack-mode'.

* Lisp Changes in Emacs 22.2.

** Frame-local variables are deprecated and are slated for removal.

** The function invisible-p returns non-nil if the character
after a specified position is invisible.

** inhibit-modification-hooks is bound to t while running modification hooks.

** New function `window-full-width-p' returns t if a window is as wide
as its frame.

** The new function `image-refresh' refreshes all images associated
with a given image specification.

** The new function `combine-and-quote-strings' concatenates a list of strings
using a specified separator.  If a string contains double quotes, they
are escaped in the output.

** The new function `split-string-and-unquote' performs the inverse operation to
`combine-and-quote-strings', i.e. splits a single string into a list
of strings, undoing any quoting added by `combine-and-quote-strings'.
(For some separator/string combinations, the original strings cannot
be recovered.)
2008-10-11 09:56:38 +00:00
uebayasi
34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00
jlam
ec4bc1202d Make emacs and emacs-nox11 look more like xemacs and xemacs-nox11 in
terms of file structure.  Also add DESTDIR support.
2008-04-25 16:35:32 +00:00
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
jlam
d2c1168fbb Fix up the use of package options in the Emacs packages:
(1) Get rid of "nox11" -- the concept of "no" in package options is
    expressed by negating an option; use "-x11" instead.

(2) Teach editors/emacs20 to use package options instead of EMACS_USE_POP,
    EMACS_USE_X, EMACS_USE_X_TOOLKIT and USE_INET6.  We now use similar
    options as the other emacs packages, i.e. "x11", "motif", "xaw",
    as well as "pop" and "inet6".

(3) Make the emacs*-nox11 packages simply remove all X11 options by
    setting PKG_OPTIONS.emacs appropriately and include the corresponding
    emacs Makefile.  This allows for modifications to the emacs "X11"
    versions to be automatically picked up by the "non-X11" versions.
    The two corresponding versions of emacs now share the same version
    numbering, including PKGREVISIONs.

Bump the PKGREVISIONs on all Emacs editor packages.
2007-08-13 12:40:57 +00:00
markd
8d0ac02a06 Update emacs{,-nox11} to 22.1.
update based in part on wip/emacs-current and wip/emacs22 packages.

Many many changes since 21.4a.  Read NEWS file for details.
2007-06-11 13:57:15 +00:00
markd
a4fabdcde2 Bump PKGREVISION for todays emacs changes. 2007-01-25 21:00:05 +00:00
rillig
4f256be13c Don't install the files in share/emacs group-writable. Bumped
PKGREVISION of emacs and emacs-nox11.
2006-07-02 10:03:14 +00:00
minskim
1ea2da37e3 Add a run-time depenency on perl because bin/emacs-grep-changelog
requires perl to run.

Bump PKGREVISION.
2006-06-20 23:47:23 +00:00
markd
4cad3a396e Fix sort-columns function.
NetBSD sort objects to setting the field separator to the same value as
the record separator.  Since in this case the surrounding code guarantees
there will be no tabs in the input set the field separator to tab.
Bump PKGREVISION.
2006-05-15 11:48:12 +00:00
markd
bc998c9be3 Pass the correct sized argument to sbrk() when trying to reduce the break
so that on 64bit systems it is actually a negative number, not a very
large positive one.  Should fix PR pkg/29351.
Thanks to Martijn van Buul for giving me access to an amd64 box so I
could track this down.  Bump PKGREVISION.
2006-04-05 22:22:16 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
markd
e32c042c5e Share a Makefile.common between emacs and emacs-nox11.
Should fix PR pkg/30462.

Also convert emacs to options framework.
2005-06-08 14:39:40 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
wiz
baaf74d21c Bump PKGREVISION for POSIX_SIGNALS change in patch-xx. 2005-03-22 15:40:49 +00:00
wiz
665263518e Use .CURDIR instead of PKGDIR. 2005-03-22 15:40:17 +00:00
wiz
61dcbe8c34 Sort. 2005-03-22 15:39:55 +00:00
wiz
577bddde3d Update for 21.4a. Noted by Dave Huang on tech-pkg. 2005-02-27 01:05:33 +00:00
drochner
e53575ee96 update to 21.4
This release fixes CAN-2005-0100, which we had a patch for before.
2005-02-24 15:31:48 +00:00
drochner
bcfe186365 fix format string vulnerability (CAN-2005-0100), bump PKGREVISION 2005-02-09 16:09:43 +00:00
xtraeme
74d5785eeb bl3ify 2004-04-12 10:53:07 +00:00
kristerw
8a72ed7fa8 Copy a missing .h file from ${FILESDIR} to make this compile on amd64. 2004-02-29 14:14:19 +00:00
seb
711c427421 Remove info files entries from PLIST. 2004-02-16 19:55:50 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
seb
2be29bc99b Convert to USE_NEW_TEXINFO.
Earned in the process: fixed info files registration for binary package
and all info files actually registered.
2003-06-29 23:38:41 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmc
ea4c328970 Bring up to date for 21.3 2003-04-24 13:39:30 +00:00
jmc
8552b13914 replace hard coded version with PKGVERSION 2003-04-16 16:31:08 +00:00
uebayasi
073634756e Update emacs-nox11 to 21.3nb1 too. 21.3 + the new ld problem fix. Share
files/directories common to editors/emacs{,.-nox11}.
2003-04-15 03:37:19 +00:00