notbugIf you buy from Amazon USA, please support us by using this link.
Port details
m4 GNU M4
1.4.18_1,1 devel on this many watch lists=683 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
License: GPLv3
GNU M4 is an implementation of the traditional Unix macro processor. It is
mostly SVR4 compatible although it has some extensions (for example, handling
more than 9 positional parameters to macros). GNU M4 also has built-in functions
for including files, running shell commands, doing arithmetic, etc.

GNU M4 is a macro processor in the sense that it copies its input to the output
expanding macros as it goes. Macros are either builtin or user-defined and can
take any number of arguments. Besides just doing macro expansion, m4 has builtin
functions for including named files, running UNIX commands, doing integer
arithmetic, manipulating text in various ways, recursion etc... m4 can be used
either as a front-end to a compiler or as a macro processor in its own right.

One of the biggest users of GNU M4 is the GNU Autoconf project.

WWW: https://www.gnu.org/software/m4/m4.html
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (49 items)
  1. /usr/local/share/licenses/m4-1.4.18_1,1/catalog.mk
  2. /usr/local/share/licenses/m4-1.4.18_1,1/LICENSE
  3. /usr/local/share/licenses/m4-1.4.18_1,1/GPLv3
  4. bin/gm4
  5. man/man1/gm4.1.gz
  6. share/examples/gm4/capitalize.m4
  7. share/examples/gm4/capitalize2.m4
  8. share/examples/gm4/comments.m4
  9. share/examples/gm4/curry.m4
  10. share/examples/gm4/ddivert.m4
  11. share/examples/gm4/debug.m4
  12. share/examples/gm4/esyscmd.m4
  13. share/examples/gm4/exp.m4
  14. share/examples/gm4/file.m4
  15. share/examples/gm4/foreach.m4
  16. share/examples/gm4/foreach2.m4
  17. share/examples/gm4/foreachq.m4
  18. share/examples/gm4/foreachq2.m4
  19. share/examples/gm4/foreachq3.m4
  20. share/examples/gm4/foreachq4.m4
  21. share/examples/gm4/forloop.m4
  22. share/examples/gm4/forloop2.m4
  23. share/examples/gm4/forloop3.m4
  24. share/examples/gm4/fstab.m4
  25. share/examples/gm4/hanoi.m4
  26. share/examples/gm4/incl-test.m4
  27. share/examples/gm4/incl.m4
  28. share/examples/gm4/include.m4
  29. share/examples/gm4/indir.m4
  30. share/examples/gm4/join.m4
  31. share/examples/gm4/loop.m4
  32. share/examples/gm4/misc.m4
  33. share/examples/gm4/multiquotes.m4
  34. share/examples/gm4/patsubst.m4
  35. share/examples/gm4/pushpop.m4
  36. share/examples/gm4/quote.m4
  37. share/examples/gm4/regexp.m4
  38. share/examples/gm4/reverse.m4
  39. share/examples/gm4/stack.m4
  40. share/examples/gm4/stack_sep.m4
  41. share/examples/gm4/sync-lines.m4
  42. share/examples/gm4/sysv-args.m4
  43. share/examples/gm4/trace.m4
  44. share/examples/gm4/translit.m4
  45. share/examples/gm4/undivert.m4
  46. share/examples/gm4/wrap.m4
  47. share/examples/gm4/wrapfifo.m4
  48. share/examples/gm4/wraplifo.m4
  49. share/examples/gm4/wraplifo2.m4
  50. Collapse this list.

To install the port: cd /usr/ports/devel/m4/ && make install clean
To add the package: pkg install m4

PKGNAME: m4

distinfo:

TIMESTAMP = 1483466903
SHA256 (m4-1.4.18.tar.xz) = f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
SIZE (m4-1.4.18.tar.xz) = 1207688


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. makeinfo : print/texinfo
Runtime dependencies:
  1. indexinfo : print/indexinfo

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for m4-1.4.18_1,1:
     EXAMPLES=on: Build and/or install examples
     LIBSIGSEGV=off: Use alternative page fault handler (GNU libsigsegv)
===> Use 'make config' to modify these settings

USES:
makeinfo tar:xz

Master Sites:
  1. ftp://ftp.gnu.org/gnu/m4/
  2. ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/m4/
  3. ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/m4/
  4. ftp://ftp.kddlabs.co.jp/GNU/gnu/m4/
  5. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/m4/
  6. http://ftp.funet.fi/pub/gnu/prep/m4/
  7. http://www.gtlib.gatech.edu/pub/gnu/gnu/m4/
  8. https://ftp.gnu.org/gnu/m4/
  9. https://ftpmirror.gnu.org/m4/
  10. https://mirrors.kernel.org/gnu/m4/

Number of commits found: 52

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
11 Nov 2018 18:18:08
Original commit files touched by this commit  1.4.18_1,1
Revision:484708
sunpoet search for other commits by this committer
Convert PORTEXAMPLES=* to PLIST entries
10 Nov 2018 18:12:58
Original commit files touched by this commit  1.4.18_1,1
Revision:484628
bapt search for other commits by this committer
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
14 Jan 2018 21:10:59
Original commit files touched by this commit  1.4.18,1
Revision:459001
antoine search for other commits by this committer
Skip ENOMEM check for printf when building with qemu, this makes
configure hang

PR:		224740
Reported by:	pkg-fallout
MFH:		2018Q1
With hat:	portmgr
28 Jul 2017 21:45:20
Original commit files touched by this commit  1.4.18,1
Revision:446854
jkim search for other commits by this committer
Set MAKEINFO to the full path of makeinfo when USES=makeinfo is set.

PR:		221027
Reviewed by:	mat
Approved by:	portmgr (antoine)
13 Jan 2017 07:20:57
Original commit files touched by this commit  1.4.18,1
Revision:431344
sunpoet search for other commits by this committer
Update to 1.4.18

Changes:	http://lists.gnu.org/archive/html/m4-announce/2016-12/msg00000.html
Differential Revision:	https://reviews.FreeBSD.org/D9072
PR:		215839
Exp-run by:	antoine
17 Dec 2016 12:57:08
Original commit files touched by this commit  1.4.17_1,1
Revision:428733
sunpoet search for other commits by this committer
- Add LICENSE
- Use xz-compressed tarball
- Use PORTEXAMPLES
- Convert to options target helper
- Use REINPLACE_CMD instead of patch files
- Update pkg-descr
- Update WWW: use https://
- Cosmetic change
15 Dec 2016 00:16:53
Original commit files touched by this commit  1.4.17_1,1
Revision:428600
sunpoet search for other commits by this committer
- Take maintainership
14 Dec 2016 21:48:10
Original commit files touched by this commit  1.4.17_1,1
Revision:428596
johans search for other commits by this committer
Stepping down as maintainer for some ports.
01 Apr 2016 14:00:57
Original commit files touched by this commit  1.4.17_1,1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
27 Oct 2014 10:40:08
Original commit files touched by this commit  1.4.17_1,1
Revision:371546
bapt search for other commits by this committer
Cleanup plist
15 Jul 2014 20:00:43
Original commit files touched by this commit  1.4.17_1,1
Revision:361999
adamw search for other commits by this committer
Add missing EXAMPLES and DOCS to a couple ports that
already honour PORTDOCS and PORTEXAMPLES in the plist.
09 Jul 2014 07:43:23
Original commit files touched by this commit  1.4.17_1,1
Revision:361342
koobs search for other commits by this committer
devel/m4: Improve LIBSIGSEGV option description

- Improve LIBSIGSEGV option description based on user feedback
- While I'm here, whitespace align OPTIONS section

PR:		191756
Submitted by:	Chris Palmer (via Twitter: @fugueish)
Approved by:	maintainer
25 Jun 2014 08:58:09
Original commit files touched by this commit  1.4.17_1,1
Revision:359209
bapt search for other commits by this committer
Fix build on system built WITHOUT_INFO

With hat:	portmgr
04 Jun 2014 08:35:22
Original commit files touched by this commit  1.4.17_1,1
Revision:356446
johans search for other commits by this committer
Modernise bzip use flag

PR:		ports/190580
Submitted by:	Stephen R Guglielmo
04 Mar 2014 01:14:05
Original commit files touched by this commit  1.4.17_1,1
Revision:346985
adamw search for other commits by this committer
Honour UNSET=EXAMPLES. PORTREVISION bump for plist change.
03 Mar 2014 18:03:21
Original commit files touched by this commit  1.4.17,1
Revision:346945
adamw search for other commits by this committer
Leverage OPTIONS helpers to avoid unnecessary inclusion
of bsd.options.mk.
06 Oct 2013 15:26:15
Original commit files touched by this commit  1.4.17,1
Revision:329594
johans search for other commits by this committer
- Update GNU m4 to 1.4.17 (bugfix release)
- Enable stage support
- Rename patch files
20 Sep 2013 17:13:47
Original commit files touched by this commit  1.4.16_1,1
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
27 Jun 2012 13:01:12
Original commit files touched by this commit  1.4.16_1,1
johans search for other commits by this committer
- Bump PORTREVISION due to changed dependencies in previous commit.
  This causes problems in tinderbox and possibly in other environments as well.

Reported by:    wen
25 Jun 2012 08:03:01
Original commit files touched by this commit  1.4.16,1
johans search for other commits by this committer
- Partially revert previous commit that unintentionally switched the
  default of the LIBSIGSEGV option. Now turned off again.

Reported by:            Niclas Zeising <zeising@daemonic.se>
16 Jun 2012 14:51:46
Original commit files touched by this commit  1.4.16,1
johans search for other commits by this committer
Convert to new options framework
23 Jun 2011 03:03:23
Original commit files touched by this commit  1.4.16,1
danfe search for other commits by this committer
Kill EOL whitespace.
20 Mar 2011 09:08:26
Original commit files touched by this commit  1.4.16,1
johans search for other commits by this committer
Update GNU m4 to 1.4.16

PR:             ports/155505
Exp-run by:     miwi
05 Sep 2010 22:23:53
Original commit files touched by this commit  1.4.15,1
johans search for other commits by this committer
- Update to GNU m4 1.4.15
- Remove local patch that's now included upstream

PR:             ports/150270
Tested by:      exp-run by pav
27 May 2010 20:03:24
Original commit files touched by this commit  1.4.14_1,1
johans search for other commits by this committer
Chase devel/libsigsegv shlib bump
09 Mar 2010 06:12:07
Original commit files touched by this commit  1.4.14,1
johans search for other commits by this committer
Update to 1.4.14 (bugfix release mostly)

Remove patch that's now included in upstream release;
add gnulib patch for posix_spawn check (will be in next release)

PR:             ports/144314
Tested by:      exp-run by pav (twice)
23 Feb 2010 18:03:45
Original commit files touched by this commit  1.4.13,1
johans search for other commits by this committer
Update my mail address to @FreeBSD.org

Feature safe:   yes
24 May 2009 16:05:01
Original commit files touched by this commit  1.4.13,1
johans search for other commits by this committer
- Update to 1.4.13
  http://lists.gnu.org/archive/html/m4-announce/2009-04/msg00000.html

PR:             ports/134620
Tested by:      exp-run by pav
26 Feb 2009 19:08:52
Original commit files touched by this commit  1.4.12,1
johans search for other commits by this committer
- Update to 1.4.12
- Add optional libsigsegv support
- Take over maintainership from ade
Thanks to pav for an exp-run on pointyhat

PR:             ports/131618
Approved by:    portmgr (marcus, pav)
05 Jan 2009 19:44:02
Original commit files touched by this commit  1.4.11,1
pav search for other commits by this committer
- Remove conditional checks for FreeBSD 5.x and older
06 Jun 2008 02:36:00
Original commit files touched by this commit  1.4.11,1
ade search for other commits by this committer
Major autotools-related update:

        automake        1.10   -> 1.10.1
        gettext         0.16.1 -> 0.17
        libtool         1.5.24 -> 1.5.26
        m4              1.4.9  -> 1.4.11

Please see ports/UPDATING entry 20080605 for further information.

PR:             123450
Tested by:      Full -exp package building run
Thanks to:      linimon, pav
Approved by:    portmgr
30 Sep 2007 20:39:14
Original commit files touched by this commit  1.4.9,1
ade search for other commits by this committer
Downgrade to 1.4.9 -- 1.4.10 was committed by mistake, and breaks things
in a rather interesting manner.
30 Sep 2007 05:27:47
Original commit files touched by this commit  1.4.10
ade search for other commits by this committer
Update to 1.4.10
23 Jul 2007 09:36:52
Original commit files touched by this commit  1.4.9
rafan search for other commits by this committer
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:             ports/111470
Approved by:    portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by:      pointyhat exp run
25 Apr 2007 09:52:21
Original commit files touched by this commit  1.4.9
ade search for other commits by this committer
Update to 1.4.9

Prompted by PR: 111411
05 Dec 2006 18:36:17
Original commit files touched by this commit  1.4.8_1
ade search for other commits by this committer
Unbreak on FreeBSD < 6.0

PR:             106379 (with minor changes)
Submitted by:   Jonathan Lennox <lennox@cs.columbia.edu>
04 Dec 2006 06:57:58
Original commit files touched by this commit  1.4.8_1
ade search for other commits by this committer
Bleh.  Thought I included the manpage.  Obviously not.

Submitted by:   pointyhat
04 Dec 2006 01:22:21
Original commit files touched by this commit  1.4.8
ade search for other commits by this committer
Update to 1.4.8
04 Dec 2005 23:35:14
Original commit files touched by this commit  1.4.4
edwin search for other commits by this committer
Remove install-info from Makefile, it's automatically done when INFO is defined
13 Nov 2005 23:27:29
Original commit files touched by this commit  1.4.4
ade search for other commits by this committer
Update to 1.4.4

Submitted by:   many
02 Sep 2005 19:46:54
Original commit files touched by this commit  1.4.3
ade search for other commits by this committer
Assume maintainership.
05 Apr 2005 07:39:55
Original commit files touched by this commit  1.4.3
demon search for other commits by this committer
Upgrade to version 1.4.3.
16 Jul 2004 14:54:28
Original commit files touched by this commit  1.4.1
vs search for other commits by this committer
Update to 1.4.1:
- 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.
- minor fixes, port passes all checks
- use INFO-macro
- strip cruft from pkg-descr; add WWW:
- pet portlint
10 Apr 2004 17:26:55
Original commit files touched by this commit  1.4_1
trevor search for other commits by this committer
Tidy up whitespace.
29 Jan 2004 07:24:56
Original commit files touched by this commit  1.4_1
trevor search for other commits by this committer
SIZEify.
20 Feb 2003 17:07:10
Original commit files touched by this commit  1.4_1
knu search for other commits by this committer
De-pkg-comment.
07 Nov 2002 03:10:58
Original commit files touched by this commit  1.4_1
adamw search for other commits by this committer
Fix PORTCOMMENTs that were killing INDEX builds.

105 pointy hats to:     me
Approved by:            pat
11 Oct 2002 06:12:42
Original commit files touched by this commit  1.4_1
jkoshy search for other commits by this committer
Add a knob, `WITH_CHANGEWORD', that allows GNU m4 to be built with
support for the `changeword' extension.
22 Oct 2001 03:03:10
Original commit files touched by this commit
roam search for other commits by this committer
Fix a format string vulnerability.   Note that others might still be lurking
inside the m4 code,   this is just a quick fix for the one reported on BugTraq. 
  
11 Aug 2001 09:56:32
Original commit files touched by this commit
sobomax search for other commits by this committer
Replace spaces with tabs where appropriate.    
01 Jan 2001 10:15:17
Original commit files touched by this commit
will search for other commits by this committer
Goodbye, YEAR2000.  Hello, 2001.    
08 Oct 2000 02:10:04
Original commit files touched by this commit
asami search for other commits by this committer
Convert category devel to new layout.  

Number of commits found: 52

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
phpmyadminDec 12
firefoxDec 11
firefox-esrDec 11
libxulDec 11
linux-firefoxDec 11
linux-seamonkeyDec 11
linux-thunderbirdDec 11
seamonkeyDec 11
thunderbirdDec 11
waterfoxDec 11
nodeDec 10
node10Dec 10
node6Dec 10
node8Dec 10
powerdns-recursorDec 09

13 vulnerabilities affecting 158 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-12-12 10:25:27


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36108
Broken 120
Deprecated 1122
Ignore 379
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 38
Expired 4
Set to expire 1095
Interactive 0
new 24 hours 4
new 48 hours10
new 7 days47
new fortnight73
new month146

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.