Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
pin 361e061f3a textproc/hgrep: import package
hgrep is a grep tool to search files with given pattern and print the matched
code snippets with human-friendly syntax highlighting.
In short, it's a fusion of bat and grep or other alternatives like ripgrep.

This is similar to -C option of grep command, but hgrep focuses on human
readable outputs. hgrep is useful to survey the matches with contexts around
them.
When some matches are near enough, hgrep prints the lines within one code
snippet. Unlike grep -C, hgrep adopts some heuristics around blank lines to
determine efficient number of context lines.

As an optional feature, hgrep has builtin grep implementation thanks to ripgrep
as library. It's a subset of rg command. And it's faster when there are so many
matches since everything is done in the same process.
2021-10-20 12:27:49 +00:00
archivers archivers/arqiver: update to 0.9.0 2021-10-15 12:30:01 +00:00
audio jack: Fixup Darwin library install names. 2021-10-18 14:25:55 +00:00
benchmarks benchmarks/hyperfine: update to 1.12.0 2021-10-18 09:15:58 +00:00
biology biology: Remove SHA1 hashes for distfiles 2021-10-07 13:19:36 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad cad: Remove SHA1 hashes for distfiles 2021-10-07 13:20:26 +00:00
chat hexchat: update to 2.16.0 2021-10-19 08:17:06 +00:00
comms py-rich: updated to 10.12.0 2021-10-12 10:49:44 +00:00
converters fribidi: update to 1.0.11 2021-10-17 10:56:37 +00:00
cross cross: Remove SHA1 hashes for distfiles 2021-10-07 13:30:20 +00:00
databases mysql57: updated to 5.7.36 2021-10-19 18:57:37 +00:00
devel yarn: updated 1.22.17 2021-10-20 10:27:54 +00:00
distfiles
doc doc: Updated sysutils/tiramisu to 20211019 2021-10-20 10:30:25 +00:00
editors nano: update to 5.9 2021-10-18 13:56:26 +00:00
emulators emulators/simh: now hopefully works on MacOS. 2021-10-19 20:34:48 +00:00
filesystems filesystems: Remove SHA1 hashes for distfiles 2021-10-07 13:51:00 +00:00
finance py-stripe: updated to 2.61.0 2021-10-12 09:27:46 +00:00
fonts cascadia-ttf: update to 2108.26. 2021-10-08 21:44:30 +00:00
games scummvm: updated to 2.5.0 2021-10-11 08:27:04 +00:00
geography geography/echomap: update to 0.6.1 2021-10-14 13:09:03 +00:00
graphics imlib2: update to 1.7.4 2021-10-19 08:39:04 +00:00
ham ham: Remove SHA1 hashes for distfiles 2021-10-07 14:17:19 +00:00
inputmethod inputmethod: Remove SHA1 hashes for distfiles 2021-10-07 14:19:36 +00:00
lang nodejs12: updated to 12.22.7 2021-10-20 10:27:17 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail mail/offlineimap: Update to 7.3.4 2021-10-19 21:23:31 +00:00
math py-pythran: add buildlink3.mk 2021-10-13 19:32:00 +00:00
mbone mbone: Remove SHA1 hashes for distfiles 2021-10-07 14:30:12 +00:00
meta-pkgs meta-pkgs: Remove SHA1 hashes for distfiles 2021-10-07 14:30:58 +00:00
misc Add nora 2021-10-11 10:40:14 +00:00
mk mk: Document pkgin-prefer-gzip option. 2021-10-12 12:46:37 +00:00
multimedia medainfo: fix two CVEs using upstream patches 2021-10-14 07:03:02 +00:00
net rabbitmq: updated to 3.9.8 2021-10-20 09:13:02 +00:00
news news: Remove SHA1 hashes for distfiles 2021-10-07 14:44:57 +00:00
packages
parallel parallel: Remove SHA1 hashes for distfiles 2021-10-07 14:46:45 +00:00
pkgtools pkgin: Update to 21.10.1. 2021-10-20 08:18:57 +00:00
print print: Remove SHA1 hashes for distfiles 2021-10-07 14:48:50 +00:00
regress regress: fix space-tab in the indentation 2021-09-09 18:23:44 +00:00
security Update to 3.4.1. From the changelog: 2021-10-18 14:33:04 +00:00
shells shells/nushell: fix PLIST 2021-10-14 16:49:59 +00:00
sysutils sysutils/tiramisu: update to 2.0-20211019 2021-10-20 10:30:03 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc textproc/hgrep: import package 2021-10-20 12:27:49 +00:00
time Update to 2.49. From the changelog: 2021-10-11 20:25:26 +00:00
wm wm: Remove SHA1 hashes for distfiles 2021-10-07 15:05:02 +00:00
www snownews: remove dependency on libiconv 2021-10-18 11:25:11 +00:00
x11 py-qt5: updated to 5.15.5 2021-10-19 18:59:54 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +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. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

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.

Community / 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