summaryrefslogtreecommitdiff
path: root/devel/m4
AgeCommit message (Collapse)AuthorFilesLines
2006-08-19Fix PLIST for non-standard GNU_PROGRAM_PREFIX settings.wiz1-2/+2
From John Heasley in PR 34233.
2006-07-18Update to 1.4.5:wiz3-7/+10
Version 1.4.5 - 15 July 2006, by Eric Blake (CVS version 1.4.4c) * Fix sysval on BeOS, OS/2, and other systems that store exit status in the low-order byte. Additionally, on Unix platforms, if syscmd was terminated by a signal, sysval now displays the signal number shifted left by eight bits, to match traditional m4 implementations. * The maketemp macro is no longer subject to platform limitations (such as 26 or 32 max files from a given template). * Frozen files now require that the first directive be V (version), to better diagnose version mismatch. Additionally, if the F directive (builtin function) names an unknown builtin that existed in the m4 that froze the file but not in the current m4 (for example, changeword), the warning is deferred until an attempt is made to actually use the builtin. This allows downgrading from beta m4-1.4o to stable m4-1.4.5 without breaking autoconf. * The format and indir macros are now recognized only with arguments. * The eval macro no longer crashes on x86 architectures when dividing the minimum integer by -1. * On systems with ecvt and fcvt, format no longer truncates trailing zeroes on integers printed with %.0f. On systems without these functions, format is no longer subject to a buffer overflow that permitted arbitrary code execution. * On native Windows builds, the macro __windows__ is provided instead of __unix__. Likewise, on OS/2 builds, the macro __os2__ is provided. This allows input files to determine when syscmd might behave differently. * Fix bug in 1.4.3 patch to use \n line-endings that did not work for cygwin. * When given the empty string or 0, undivert is now documented as a no-op rather than closing stdout, warning about a non-existent file, or trying to read a directory as a file. * Many documentation improvements. Also, the manual is now distributed under FDL 1.2, rather than a stricter verbatim-only license. * Raise the -L (--nesting-limit) command line option limit from 250 to 1024. * The decr, incr, divert, m4exit, and substr macros treat an empty number as 0, issue a warning, and expand as normal; rather than issuing an error and expanding to the empty string. * The eval macro now treats an empty radix argument as 10, handles radix 1, and treats the width argument as number of digits excluding the sign, for compatibility with other m4 implementations. * The ifdef, divert, m4exit, substr, and translit macros now correctly ignore extra arguments. * The popdef and undefine macros now correctly accept multiple arguments. * Although changeword is on its last leg, if enabled, it now reverts to the default (faster) regexp when passed the empty string. * The regexp and substr macros now warn and ignore a trailing backslash in the replacement, and warn on \n for n larger than the number of sub-expressions in the regexp. Version 1.4.4b - 17 June 2006, by Eric Blake (CVS version 1.4.4a) * Fix a recursive push_string crashing bug, which affected changequote of three or more characters on some compilers. * Use automake to fix build portability issues. * Fix a recursive m4wrap crashing bug. * Fix a 1 in 2**32 hash crashing bug. * Tracing a macro by name is now persistent, even if the macro is subsequently undefined or redefined. The traceon and traceoff macros no longer warn about undefined symbols. This solves a crash when using indir on an undefined macro traced with the -t option, as well as an incorrect result of ifdef. Furthermore, tracing is no longer transferred with builtins, solving the bug of "m4 -tm4_eval" failing to give trace output on the input "define(`m4_eval',defn(`eval'))m4_eval(1)". * Fix a crash when a macro is undefined while collecting its arguments, by always using the definition that was in effect before argument collection. This behavior matches the C pre-processor, and means that the sequence "define(`f',`1')f(define(`f',`2'))f" is now documented to result in "12", rather than the previously undocumented "22". * Update the regex engine to fix several bugs. * Fix a potential crash on machines where char is signed.
2006-03-30* Honor PKGINFODIR.jlam2-3/+4
* List the info files directly in the PLIST.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-2/+2
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-10-25Update to 1.4.4:wiz5-54/+6
Version 1.4.4 - October 2005, by Gary V. Vaughan * ./configure --infodir=/usr/share/info now works correctly. * When any file named on the command line is missing exit with status 1.
2005-10-23Fixed pkglint warning.rillig1-2/+2
WARN: Makefile:24: CONFIGURE_ARGS should be modified using "+=".
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-05Update to 1.4.3:wiz3-19/+6
Version 1.4.3 - March 2005, by Gary V. Vaughan * DESTDIR installs now work correctly. * Don't segfault with uncompilable regexps to changeword(). * Always use \n line-endings for frozen files (fixes a cygwin bug). * Portability fix for systems lacking mkstemp(3). * Approximately 20% speed up in the common case of usage with autoconf. * Supported on QNX 6.3.
2005-02-23Add RMD160 digests.agc1-1/+2
2004-10-26Update to 1.4.2:gavan2-5/+5
* configure.in (VERSION): Bump to 1.4.2. * NEWS: Describe 1.4.2's changes. * src/m4.c (reference_error): Preserve errno, since M4ERROR relies on this. * src/builtin.c (m4_esyscmd): Clear errno before calling popen. (m4_maketemp): Clear errno before calling mkstemp. * src/path.c (path_search): Don't let "free" trash errno when returning NULL. * src/output.c (insert_file): Don't assume errno has a valid value simply because fread returns zero. This fixes a portability bug reported by Marion Hakanson in <http://lists.gnu.org/archive/html/bug-m4/2004-07/msg00029.html>. Fixes PR pkg/27301.
2004-09-20Changes 1.4.1:adam4-19/+19
* maketemp now creates an empty file with the given name, instead of merely returning the name of a nonexistent file. This closes a security hole. (Now it builds on Darwin/MacOSX; no more 'sigstack' linking error.)
2004-09-03tweak COMMENT: uppercase UNIX, s/macro-processor/macro language processor/grant1-2/+2
2004-05-08Rename NO_CONFIGURE_INFODIR to CONFIGURE_HAS_INFODIR (which defaults toreed1-2/+2
"yes"). So any packages that have old GNU configure script that does not support --infodir option (while using INFO_FILES) can set CONFIGURE_HAS_INFODIR=NO. This was suggested by agc@ as a clearer definition.
2004-05-08Use a new option NO_CONFIGURE_INFODIR which is about to be introducedreed1-1/+2
because although these packages use autoconf-style configure scripts they do not know --infodir option.
2004-05-08Make sure this m4.info file is really installed to INFO_DIR.reed3-2/+15
2004-02-16Remove info files entries from PLIST.seb1-2/+1
2004-01-05bl3ifyjlam1-2/+4
2003-09-23Make sure that only base name of the make program is used to constructsalo2-1/+15
the variable name. Fixes build on bootstrap-pkgsrc systems, closes pkg/22918 from MLH.
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-08-09HOMEPAGE and TEST_TARGETheinz1-1/+4
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-19Convert to USE_NEW_TEXINFO.seb2-6/+4
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-04-22Use ${LN} -sf to create symlinks.wiz1-2/+2
Closes PR 21263 by Jeremy C. Reed.
2002-12-23Honor GNU_PROGRAM_PREFIX; install gm4 in any case for pkgsrc use.wiz4-48/+56
Change share dirname from gm4 to m4 to match PKGNAME. Bump PKGREVISION to 1.
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam1-2/+2
have been converted to USE_BUILDLINK2.
2002-02-18Introduce new framework for handling info files generation and installation.seb2-4/+6
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-10-19Make the ${WRKSRC}/checks/stamp-checks writeable, otherwise a build wouldveego1-1/+4
fail on solaris.
2001-07-14Mark as USE_BUILDLINK_ONLY.jlam1-4/+5
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-7/+5
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-02-25Cleanup MKDIR usage => INSTALL_*_DIRhubertf1-2/+2
XXX need to teach pkglint to be more picky about this
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-05-02Remove patches to deal with two bugs involving configure's handling ofdanw2-21/+1
INSTALL which have both been worked around in bsd.pkg.mk now.
1999-07-09Add package patch-sum filesagc1-0/+5
1999-04-14Remove unnecessary slash from master site list.tron1-2/+2
1999-03-22Catch up with MASTER_SITE_GNU reorganization.bad1-2/+2
1999-03-19Minor nit - get the version number correct in the description.agc1-1/+1
1999-03-19Explain what m4 is a bit more clearly.agc1-1/+1
1999-03-05Add a patch to configure script so that dots aren't added as a prefixagc1-0/+19
to an absolute path.
1999-02-11Use install-info in $PATH, so that systems with it in base will work too.tv1-3/+3
1998-09-22install-info will create an info dir file, if one doesn't alreadyagc1-2/+1
exist, so remove the erroneous @exec statements (which wouldn't have worked anyway).
1998-08-07Add NetBSD RCS Ids.agc1-0/+2
1998-08-07Add NetBSD RCS Ids.agc2-0/+4
1998-04-22Fix INFO_FILES definitions to match the commands in bsd.pkg.mkagc1-2/+2
1998-04-17Introduce USE_GTEXINFO and INFO_FILES definitions to bsd.pkg.mk, and use them.agc1-11/+3
1998-04-15Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.agc1-7/+2
Remove redundant (and sometimes erroneous) comments.