|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
9734689a |
| 15-Jan-2019 |
Kyle Evans <[email protected]> |
MFC r342874: Fix bsdgrep manpage clobbering grep(1) with default build
The default build should install bsdgrep(1) and grep(1), with the latter being gnugrep(1). WITH_BSD_GREP flips this situation s
MFC r342874: Fix bsdgrep manpage clobbering grep(1) with default build
The default build should install bsdgrep(1) and grep(1), with the latter being gnugrep(1). WITH_BSD_GREP flips this situation such that we have gnugrep(1) and grep(1), with the latter being bsdgrep(1).
Changes to start installing the zgrep script out of usr.bin/grep inadvertently altered the default build such that grep(1) was being installed, and it was bsdgrep(1). Correct the typo.
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
30dc9502 |
| 06-Jun-2018 |
Baptiste Daroussin <[email protected]> |
Remove NLS support from BSD grep
GNU grep as in actually in base does not have any translations support compiled in, so no functionnality loss.
We do support 193 locales in base, we will never catc
Remove NLS support from BSD grep
GNU grep as in actually in base does not have any translations support compiled in, so no functionnality loss.
We do support 193 locales in base, we will never catch up on that number of translation with bsd grep.
Removing NLS support make bsd grep consistent with the other binaries in base which are not translated, and also reduce a little bit the code.
Reviewed by: kevans Approved by: kevans Discussed with: kevans @BSDCan Differential Revision: https://reviews.freebsd.org/D15682
show more ...
|
| #
a2584d1b |
| 04-May-2018 |
Kyle Evans <[email protected]> |
bsdgrep: annihilate our in-tree TRE, previously disabled by default
It was an old TRE that had plenty of bugs and no performance gain over regex(3). I disabled it by default in r323615, and there wa
bsdgrep: annihilate our in-tree TRE, previously disabled by default
It was an old TRE that had plenty of bugs and no performance gain over regex(3). I disabled it by default in r323615, and there was some confusion about what the knob does- likely due to poor naming on my part- to the tune of "well, it sounds like it should speed things up" (mentioned by multiple people).
To compound this, I have no intention of maintaining a second regex implementation. If someone would like to step up and volunteer to maintain a lean-and-mean implementation for grep, this is OK, but we have very few volunteers to maintain even our primary regex implementation.
show more ...
|
| #
4a5b4207 |
| 25-Apr-2018 |
Baptiste Daroussin <[email protected]> |
Remove compression support from bsdgrep
Compression support is now handled by an external script, remove it from the bsdgrep(1) utility. This removes the support for -Z -J -X and -M
Note: that it m
Remove compression support from bsdgrep
Compression support is now handled by an external script, remove it from the bsdgrep(1) utility. This removes the support for -Z -J -X and -M
Note: that it matches the changes in newer GNU grep
Reviewed by: kevans Approved by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15197
show more ...
|
| #
612c330d |
| 25-Apr-2018 |
Baptiste Daroussin <[email protected]> |
Use a script wrapper for <compress>grep
Import the wrapper script from zstdgrep (written by [email protected])
Modify it to support more than just zstd (adding support for gzip, lzma, xz and bzip2)
W
Use a script wrapper for <compress>grep
Import the wrapper script from zstdgrep (written by [email protected])
Modify it to support more than just zstd (adding support for gzip, lzma, xz and bzip2)
Write a simple manpage dedicated for it.
Only use that new wrapper both for gnu grep and bsd grep
Next step will be removing code related to compression format from bsdgrep
Reviewed by: kevans Approved by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15193
show more ...
|
|
Revision tags: release/10.4.0 |
|
| #
d511b20a |
| 02-Aug-2017 |
Enji Cooper <[email protected]> |
Add HAS_TESTS to all Makefiles that are currently using the `SUBDIR.${MK_TESTS}+= tests` idiom.
This is a follow up to r321912.
|
| #
4b330699 |
| 02-Aug-2017 |
Enji Cooper <[email protected]> |
Convert traditional ${MK_TESTS} conditional idiom for including test directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in ^/projects/make-ch
Convert traditional ${MK_TESTS} conditional idiom for including test directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox .
No functional change intended.
MFC after: 1 weeks
show more ...
|
|
Revision tags: release/11.1.0 |
|
| #
c99b67a7 |
| 19-Jun-2017 |
Bryan Drewery <[email protected]> |
Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.
Since buildenv exports SYSROOT all of these uses will now look in WORLDTMP by default.
sys/boot/efi/loader/Makefile
Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.
Since buildenv exports SYSROOT all of these uses will now look in WORLDTMP by default.
sys/boot/efi/loader/Makefile A LIBSTAND hack is no longer required for buildenv.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| #
cc41ba26 |
| 02-May-2017 |
Ed Maste <[email protected]> |
bsdgrep: Add GNU compatible version string indicator
As reported in r218614 it's useful to have an indication of whether or not BSD grep was built with GNU_GREP_COMPAT.
Submitted by: Kyle Evans <ke
bsdgrep: Add GNU compatible version string indicator
As reported in r218614 it's useful to have an indication of whether or not BSD grep was built with GNU_GREP_COMPAT.
Submitted by: Kyle Evans <kevans91 at ksu.edu> Reported by: mandree Differential Revision: https://reviews.freebsd.org/D10451
show more ...
|
| #
3f39ffc8 |
| 21-Apr-2017 |
Ed Maste <[email protected]> |
bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatch
Bugs have been found in the fastmatch implementation as used in bsdgrep. Some have been fixed (r316495) while fixes for others are in revi
bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatch
Bugs have been found in the fastmatch implementation as used in bsdgrep. Some have been fixed (r316495) while fixes for others are in review (D10098).
In comparison with the fastmatch implementation, Kyle Evans found that:
- regex(3)'s performance with literal expressions offers a speed improvement over fastmatch
- regex(3)'s performance, both with simple BREs and EREs, seems to be comparable
The regex implementation was imported in r226035, and the commit message reports:
This is a temporary solution until the whole regex library is not replaced so that BSD grep development can continue and the backported code gets some review and testing. This change only improves scalability slightly, there is no big performance boost yet but several minor bugs have been found and fixed.
Introduce a WITH_/WITHOUT_BSD_GREP_FASTMATCH knob to support testing of both approaches.
PR: 175314, 194823 Submitted by: Kyle Evans <kevans91 at ksu.edu> Reviewed by: bdrewery (in part) Differential Revision: https://reviews.freebsd.org/D10282
show more ...
|
| #
5dc41cb0 |
| 04-Apr-2017 |
Conrad Meyer <[email protected]> |
bsdgrep(1): Rip out "xmalloc" bits
xmalloc was a debug malloc implementation, but the x{malloc,calloc,free} functions default to calling the malloc(3) equivalents.
Instead of relying on this malloc
bsdgrep(1): Rip out "xmalloc" bits
xmalloc was a debug malloc implementation, but the x{malloc,calloc,free} functions default to calling the malloc(3) equivalents.
Instead of relying on this malloc shim, we can devise better ways to debug malloc issues that aren't misleading upon initial inspection. (I.e., using jemalloc's various built-in debugging capabilities.)
Submitted by: Kyle Evans <kevans91 at ksu.edu> Reviewed by: emaste, cem Differential Revision: https://reviews.freebsd.org/D10269
show more ...
|
| #
bf10f246 |
| 04-Apr-2017 |
Conrad Meyer <[email protected]> |
bsdgrep(1): create rgrep link
Create a convenience rgrep link for bsdgrep(1) that observes 'grep -r' behavior.
A follow-up to r316473.
Submitted by: Kyle Evans <kevans91 at ksu.edu> Reviewed by: e
bsdgrep(1): create rgrep link
Create a convenience rgrep link for bsdgrep(1) that observes 'grep -r' behavior.
A follow-up to r316473.
Submitted by: Kyle Evans <kevans91 at ksu.edu> Reviewed by: emaste (earlier version), cem Differential Revision: https://reviews.freebsd.org/D10109
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0 |
|
| #
3c0948a6 |
| 26-Jul-2015 |
Pedro F. Giffuni <[email protected]> |
Bump GCC max-inline-insns-single in libiconv_modules and grep
This is required by our FORTIFY_SOURCE implementation as it does more inlining. As a rule of thumb, FORTIFY_SOURCE doubles the number o
Bump GCC max-inline-insns-single in libiconv_modules and grep
This is required by our FORTIFY_SOURCE implementation as it does more inlining. As a rule of thumb, FORTIFY_SOURCE doubles the number of inlines except that in grep inlining blows up for some reason.
show more ...
|
| #
87750562 |
| 08-Jun-2015 |
Simon J. Gerraty <[email protected]> |
Avoid bogus MLINKS when MK_LZMA_SUPPORT=yes and MK_BSD_GREP=no
|
| #
b7c2ba84 |
| 30-Jan-2015 |
Enji Cooper <[email protected]> |
Create MANLINKS for lzgrep, etc when MK_LZMA_SUPPORT != no
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
|
| #
7a37b5fc |
| 16-Jan-2015 |
Will Andrews <[email protected]> |
Add a ${CP} alias for copying files in the build.
Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a
Add a ${CP} alias for copying files in the build.
Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future.
Update all current users of 'cp' in the src tree.
Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic
show more ...
|
| #
3e11bd9e |
| 25-Nov-2014 |
Baptiste Daroussin <[email protected]> |
Convert to usr.bin/ to LIBADD Reduce overlinking
|
|
Revision tags: release/10.1.0 |
|
| #
1e7075e0 |
| 09-Oct-2014 |
Enji Cooper <[email protected]> |
Integrate usr.bin/grep/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
|
| #
478290db |
| 01-Oct-2014 |
Enji Cooper <[email protected]> |
Check in first src/tests snapshot from NetBSD anoncvs
Sources were obtained like so:
% export CVSROOT="[email protected]:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/
Check in first src/tests snapshot from NetBSD anoncvs
Sources were obtained like so:
% export CVSROOT="[email protected]:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/.
'*CVS*' has been added to svn:ignore to ease updating periodically from upstream
Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort
Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
show more ...
|
| #
76479f1d |
| 18-Sep-2014 |
Will Andrews <[email protected]> |
Fix incremental builds involving non-root users with read-only source files.
Makefiles should not assume that source files can be overwritten. This is the common case for Perforce source trees.
Th
Fix incremental builds involving non-root users with read-only source files.
Makefiles should not assume that source files can be overwritten. This is the common case for Perforce source trees.
This is a followup commit to r211243 in the same vein.
MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: r1036319 on 2014/01/29, r1046711 on 2014/03/06
show more ...
|
|
Revision tags: release/9.3.0 |
|
| #
c6063d0d |
| 06-May-2014 |
Warner Losh <[email protected]> |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
| #
74b229cb |
| 01-Apr-2014 |
Warner Losh <[email protected]> |
Don't test WITHOUT_FOO in program makefiles, test MK_FOO instead.
|
|
Revision tags: release/10.0.0, release/9.2.0 |
|
| #
ee852b9c |
| 06-Jun-2013 |
Jung-uk Kim <[email protected]> |
Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this actually reverts r250860 and r250861.
Reported by: gjb, tinderbox
|
|
Revision tags: release/8.4.0 |
|
| #
9b6b6816 |
| 08-Jan-2013 |
David E. O'Brien <[email protected]> |
Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT". Correct r226271 which should have used WITHOUT_BZIP2_SUPPORT per r166255.
Obtained from: Juniper Networks
|
|
Revision tags: release/9.1.0, release/8.3.0 |
|
| #
68f42e1d |
| 28-Nov-2011 |
Gabor Kovesdan <[email protected]> |
- Create links to the xz and lzma versions even if BSD grep is not the default. Nor GNU nor liblzma in base provides such functionality so it may be useful.
MFC after: 3 days
|