|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
93c43690 |
| 14-Dec-2021 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put more binaries/lib in runtime
Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime. This is everything needed to boot to multiuser with FreeBSD-rc installed.
MFC aft
pkgbase: Put more binaries/lib in runtime
Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime. This is everything needed to boot to multiuser with FreeBSD-rc installed.
MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33435
show more ...
|
|
Revision tags: release/12.3.0, release/13.0.0 |
|
| #
f850fd24 |
| 17-Jan-2021 |
Martin Tournoij <[email protected]> |
grep: fix LINKS in Makefile
zstdegrep was listed twice, instead of zstdfgrep
Pull Request: https://github.com/freebsd/freebsd-src/pull/450
|
| #
8aff76fb |
| 22-Dec-2020 |
Kyle Evans <[email protected]> |
build: remove the option to build gnugrep
Unconditionally install bsdgrep as grep, bootstrap or not. Remove all build glue and stop installing both gnugrep and libgnuregex now that all consumers of
build: remove the option to build gnugrep
Unconditionally install bsdgrep as grep, bootstrap or not. Remove all build glue and stop installing both gnugrep and libgnuregex now that all consumers of the latter are gone.
Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27732
show more ...
|
| #
6e5a5dc0 |
| 06-Dec-2020 |
Kyle Evans <[email protected]> |
bsdgrep: don't link against libregex for bootstrap
r368355 removed the GNU_GREP_COMPAT knob (off by default) and forgot that bsdgrep may be built/used for bootstrap on some systems.
All base uses s
bsdgrep: don't link against libregex for bootstrap
r368355 removed the GNU_GREP_COMPAT knob (off by default) and forgot that bsdgrep may be built/used for bootstrap on some systems.
All base uses should strive to use only POSIX-compliant expressions anyways and we haven't had libregex by default here up to this point, so just don't do that if we're bootstrapping.
Note that the resulting binary has the wrong `grep -V` information as it falsely claims to be GNU compatible, but it is only for bootstrap.
Reported by: GitHub cross-builds via yuripv
show more ...
|
| #
7c2f310f |
| 05-Dec-2020 |
Kyle Evans <[email protected]> |
Retire GNU_GREP_COMPAT knob
This was introduced and then disabled by default primarily to avoid dealing with bugs in libgnuregex. rS363823 switched to using libregex for it, so let's just rip the op
Retire GNU_GREP_COMPAT knob
This was introduced and then disabled by default primarily to avoid dealing with bugs in libgnuregex. rS363823 switched to using libregex for it, so let's just rip the option out now so we can make sure we're getting tested with libregex via bsdgrep.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D27476
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
4f971ddf |
| 07-Aug-2020 |
Alex Richardson <[email protected]> |
Always install usr.bin/grep as grep when bootstrapping
We have to bootstrap grep when cross-building from macOS/Linux.
|
| #
cab7d341 |
| 04-Aug-2020 |
Kyle Evans <[email protected]> |
bsdgrep: switch to libregex for GNU_GREP_COMPAT
libregex is incomplete, but it's a bit less buggy than the in-base libgnuregex and mostly OK.
While here, rename -DIWTH_GNU -> -DWITH_GNU_COMPAT; the
bsdgrep: switch to libregex for GNU_GREP_COMPAT
libregex is incomplete, but it's a bit less buggy than the in-base libgnuregex and mostly OK.
While here, rename -DIWTH_GNU -> -DWITH_GNU_COMPAT; the option implies that we're compatible with the GNU counterpart, not that we're including GNU anything.
show more ...
|
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
26e3f968 |
| 09-Jan-2019 |
Kyle Evans <[email protected]> |
Fix bsdgrep manpage clobbering grep(1) with default build options
The default build should install bsdgrep(1) and grep(1), with the latter being gnugrep(1). WITH_BSD_GREP flips this situation such t
Fix bsdgrep manpage clobbering grep(1) with default build options
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.
Reported by: bcran MFC after: 3 days
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
|