Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
ryoon e5b01cbbea grep: Update to 3.5
Changelog:
* Noteworthy changes in release 3.5 (2020-09-27) [stable]

** Changes in behavior

  The message that a binary file matches is now sent to standard error
  and the message has been reworded from "Binary file FOO matches" to
  "grep: FOO: binary file matches", to avoid confusion with ordinary
  output or when file names contain spaces and the like, and to be
  more consistent with other diagnostics.  For example, commands
  like 'grep PATTERN FILE | wc' no longer add 1 to the count of
  matching text lines due to the presence of the message.  Like other
  stderr messages, the message is now omitted if the --no-messages
  (-s) option is given.

  Two other stderr messages now use the typical form too.  They are
  now "grep: FOO: warning: recursive directory loop" and "grep: FOO:
  input file is also the output".

  The --files-without-match (-L) option has reverted to its behavior
  in grep 3.1 and earlier.  That is, grep -L again succeeds when a
  line is selected, not when a file is listed.  The behavior in grep
  3.2 through 3.4 was causing compatibility problems.

** Bug fixes

  grep -I no longer issues a spurious "Binary file FOO matches" line.
  [Bug#33552 introduced in grep 2.23]

  In UTF-8 locales, grep -w no longer ignores a multibyte word
  constituent just before what would otherwise be a word match.
  [Bug#43225 introduced in grep 2.28]

  grep -i no longer mishandles ASCII characters that match multibyte
  characters.  For example, 'LC_ALL=tr_TR.utf8 grep -i i' no longer
  dumps core merely because 'i' matches 'İ' (U+0130 LATIN CAPITAL
  LETTER I WITH DOT ABOVE) in Turkish when ignoring case.
  [Bug#43577 introduced partly in grep 2.28 and partly in grep 3.4]

  A performance regression with -E and many patterns has been mostly fixed.
  "Mostly" as there is a performance tradeoff between Bug#22357 and Bug#40634.
  [Bug#40634 introduced in grep 2.28]

  A performance regression with many duplicate patterns has been fixed.
  [Bug#43040 introduced in grep 3.4]

  An N^2 RSS performance regression with many patterns has been fixed
  in common cases (no backref, and no use of -o or --color).
  With only 80,000 lines of /usr/share/dict/linux.words, the following
  would use 100GB of RSS and take 3 minutes. With the fix, it used less
  than 400MB and took less than one second:
    head -80000 /usr/share/dict/linux.words > w; grep -vf w w
  [Bug#43527 introduced in grep 3.4]

** Build-related

  "make dist" builds .tar.gz files again, as they are still used in
  some barebones builds.


* Noteworthy changes in release 3.4 (2020-01-02) [stable]

** New features

  The new --no-ignore-case option causes grep to observe case
  distinctions, overriding any previous -i (--ignore-case) option.

** Bug fixes

  '.' no longer matches some invalid byte sequences in UTF-8 locales.
  [bug introduced in grep 2.7]

  grep -Fw can no longer false match in non-UTF-8 multibyte locales
  For example, this command would erroneously print its input line:
    echo ab | LC_CTYPE=ja_JP.eucjp grep -Fw b
  [Bug#38223 introduced in grep 2.28]

  The exit status of 'grep -L' is no longer incorrect when standard
  output is /dev/null.
  [Bug#37716 introduced in grep 3.2]

  A performance bug has been fixed when grep is given many patterns,
  each with no back-reference.
  [Bug#33249 introduced in grep 2.5]

  A performance bug has been fixed for patterns like '01.2' that
  cause grep to reorder tokens internally.
  [Bug#34951 introduced in grep 3.2]

** Build-related

  The build procedure no longer relies on any already-built src/grep
  that might be absent or broken.  Instead, it uses the system 'grep'
  to bootstrap, and uses src/grep only to test the build.  On Solaris
  /usr/bin/grep is broken, but you can install GNU or XPG4 'grep' from
  the standard Solaris distribution before building GNU Grep yourself.
  [bug introduced in grep 2.8]
2020-09-30 19:22:08 +00:00
archivers py-zipp: updated to 3.2.0 2020-09-29 17:02:01 +00:00
audio audio/fasttracker2: Updates to v1.35 2020-09-29 14:33:18 +00:00
benchmarks Update glmark2 to 2020.04 2020-09-29 16:17:56 +00:00
biology gnome-chemistry-utils: fix builds 2020-09-25 03:56:49 +00:00
bootstrap Fix bootstrap on QNX 2020-08-29 20:11:21 +00:00
cad (cad/tnt-mmtl) Fix build: Add BUILD_DEPENDS+= tex-epstopdf-pkg-[0-9]* 2020-09-27 14:11:09 +00:00
chat py-hangups: Update to 0.4.12 2020-09-29 21:42:59 +00:00
comms *: use MASTER_SITE_PERL_CPAN 2020-09-08 13:16:33 +00:00
converters bdf2psf: update to 1.197. 2020-09-24 05:37:24 +00:00
cross Don't use PKGREVISION in DIST_SUBDIR. 2020-09-14 18:15:34 +00:00
databases prometheus: updated to 2.21.0 2020-09-30 13:12:20 +00:00
devel py-wasm: Try a different fix. 2020-09-29 20:02:09 +00:00
distfiles
doc doc: Remove gcc-9.1, done 2020-09-30 18:43:31 +00:00
editors zile: fix DEPENDS line 2020-09-26 12:41:02 +00:00
emulators PC6001VX: update to 3.5.3. 2020-09-30 15:51:32 +00:00
filesystems Update glusterfs to 8.2 2020-09-27 01:13:11 +00:00
finance py-stripe: updated to 2.54.0 2020-09-30 06:52:40 +00:00
fonts uw-ttyp0: install to its own fonts directory 2020-09-23 11:59:18 +00:00
games nxengine-evo: Doesn't install to libexec. Don't set GITHUB_TAG. 2020-09-30 08:18:51 +00:00
geography geography/gama: Update to 2.10 2020-09-29 10:33:52 +00:00
graphics jasper: updated to 2.0.21 2020-09-29 16:50:15 +00:00
ham ham/chirp: Update to 20200909 2020-09-17 11:47:59 +00:00
inputmethod skk: Accept emacs27 and emacs27nox 2020-09-06 03:03:34 +00:00
lang lang/rust: Prune comments about closed PRs 2020-09-29 16:45:16 +00:00
licenses math/udunits: update to udunits2 v2.2.26. 2020-08-08 21:55:54 +00:00
mail thunderbird-l10n: Update to 78.3.1 2020-09-28 14:12:26 +00:00
math py-angr: update to version 9.0.4378 2020-09-28 22:56:38 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs meta-pkgs/bulk-large: -ruby-rails51 2020-09-10 15:44:50 +00:00
misc stellarium: updated to 0.20.3 2020-09-28 19:23:34 +00:00
mk Xcode 12 (or its associated Command Line Tools) ships with default-on 2020-09-21 13:09:21 +00:00
multimedia libvpx: let it build on macOS 11.0 2020-09-29 13:03:13 +00:00
net net/powerdns-recursor: Update to 4.3.4 2020-09-30 11:53:07 +00:00
news Use http with ftp.funet.fi 2020-09-02 22:16:48 +00:00
packages
parallel threadingbuildingblocks: Update to 2020.3 2020-09-05 11:34:07 +00:00
pkgtools pkgtools/pkglint: update to 20.3.0 2020-09-25 13:56:09 +00:00
print ghostscript-agpl: Update to 9.53.2 2020-09-29 14:29:42 +00:00
regress *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
security openssl: update to 1.1.1h. 2020-09-30 09:25:30 +00:00
shells shells/pbosh: Specify minimum required version of smake tool dependency 2020-09-28 10:40:25 +00:00
sysutils ruby-chef: Incompatible with ruby25. 2020-09-30 16:14:50 +00:00
templates
textproc grep: Update to 3.5 2020-09-30 19:22:08 +00:00
time py-iso8601: fix Python 3.6 build 2020-09-16 03:00:37 +00:00
wm blackbox70: add nls and xft2 options 2020-09-30 03:07:25 +00:00
www www/nginx-devel: Update to 1.19.3 2020-09-30 13:53:51 +00:00
x11 x11/xterm: update to 360 2020-09-28 09:00:02 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md README.md: minor adjustments 2020-01-15 16:19:22 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git