History log of /freebsd-10.2-release/gnu/usr.bin/grep/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 270776 29-Aug-2014 gjb

MFC r270668, r270669, r270672:

r270668:
Add gnugrep.1 to CLEANFILES.

r270669:
Add host.1 to CLEANFILES.

r270672:
Add svnlite.1 to CLEANFILES.

Sponsored by: The FreeBSD Foundation


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 251468 06-Jun-2013 jkim

Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this
actually reverts r250860 and r250861.

Reported by: gjb, tinderbox


# 251438 05-Jun-2013 jkim

Connect libgnuregex 2.17 to the build.


# 250861 21-May-2013 marcel

Don't look for headers outside of the source or object directories. In
particular, don't use DESTDIR. Such creates an unnecessary dependency
on the build machine.

Obtained from: Juniper Networks, Inc.


# 222273 25-May-2011 obrien

Build and install a BSD licensed grep.
If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be
'[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep
will be 'gnugrep'.

Discussed with: brooks


# 131558 04-Jul-2004 tjr

Update for grep 2.5.1.


# 126435 01-Mar-2004 ache

Merge conflicts, upgrade


# 125931 17-Feb-2004 ache

Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu


# 125894 16-Feb-2004 ache

1) Remove files no longer needed.
2) Switch back to regex.h


# 125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


# 105502 20-Oct-2002 obrien

We HAVE_STPCPY now.


# 103372 16-Sep-2002 obrien

Create bzgrep.


# 56234 18-Jan-2000 ru

Back out previous revision because someone upgraded our
texinfo system to one that understands "command{foo}".


# 55381 04-Jan-2000 obrien

Turn off GNU Info docs until someone upgrades our texinfo system to one
that understands "command{foo}".


# 53571 22-Nov-1999 obrien

Make the tests work again.


# 53567 22-Nov-1999 obrien

Finish proper hookup of GNU Grep 2.3, including docs & config header file,
rather than the compile commandline from hell.

Submitted by: ru


# 53496 21-Nov-1999 peter

Apply a bandaid to the grep Makefile to try and get it to compile and stop
breaking world.


# 53451 20-Nov-1999 peter

Back out the botched attempt to update to gnu grep 2.3 (lots of history
was lost). Restore original version to try and avoid breaking the build
while David O'brien does a proper set of imports and merges.

Requested by: obrien


# 52591 28-Oct-1999 ru

Upgrade grep to version 2.3


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 43805 09-Feb-1999 wosch

Added myself as maintainer.


# 41155 14-Nov-1998 wosch

Use mmap for reading files. This is faster than read().


# 39886 02-Oct-1998 obrien

Install z*grep manpages


# 34189 07-Mar-1998 wosch

Delete cc(1) debug option, typo from last commit.

Pointed out by: Søren Schmidt


# 31928 21-Dec-1997 wosch

When called as `zgrep', the -Z argument is assumed. Make a
link from zgrep to grep.

Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and
Mike Smith <mike@smith.net.au>


# 31900 20-Dec-1997 wosch

Added builtin decompression using zlib library, option -Z.

Enabled this new feature with the makefile variable GREP_LIBZ. If
you don't like it, compile with `make GREP_LIBZ='.

grep + zlib has several advantages:

- the shell script zgrep(1) will be basically a one line
exec grep -Z "$@"

- no shell script, no bugs. The current zgrep implementations
have many bugs and some grep options are no supported.

- no shell script, no security risks.

- it is a magnitude faster than a shell script

Also fixed:
0 -> STDIN_FILENO
Close a file descriptor only if the open call was successfully. It does
not hurt for the open(2) function, but the gzclose(3) function
died in free() to free up (not) allocated memory.


# 13847 02-Feb-1996 wosch

recursive grep, enabled with -DHAVE_FTS=1
enable mmap (-DHAVE_MMAP=1)


# 5498 11-Jan-1995 ache

Use -lgnuregex
Tune for 8bit ctype


# 130 16-Jul-1993 rgrimes

Merge. Fix LINKS+= with $DESTDIR$BINDIR in them, you do NOT need to
specify $DESTDIR on a LINKS+= line.


# 107 08-Jul-1993 conklin

Gnu grep 2.0 does fgrep too!


# 98 06-Jul-1993 nate

Removed egrep since the new grep is just a link to it w/out any changes
anymore


# 97 06-Jul-1993 nate

Left an ugly in the Makefile


# 94 06-Jul-1993 nate

Update GNU grep to version 2.0


# 65 29-Jun-1993 nate

Ugh, whoever did the port made a mess, I cleaned up the Makefile and
deleted un-necessary stuff


# 62 29-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r61,
which included commits to RCS files with non-trunk default branches.


# 61 29-Jun-1993 nate

Gnu e?grep 1.6