Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
rillig dcb4085ec2 url2pkg: allow url2pkg to be run from a category directory as well
Previously, it was necessary to create the package directory, change
into it and then run url2pkg from there.  Since the name of the package
directory usually corresponds to DISTNAME without the version number,
all necessary data is readily available, so automate this.

Update version to 21.4.2.
2022-02-06 18:42:26 +00:00
archivers unrar: updated to 6.1.4 2022-01-28 09:10:09 +00:00
audio libopenmpt: update to 0.6.1. 2022-02-01 15:29:29 +00:00
benchmarks google-benchmark: update to 1.6.1. 2022-01-16 23:09:35 +00:00
biology py-cutadapt: updated to 3.5 2022-01-17 09:03:10 +00:00
bootstrap bootstrap: On SCO System V variants, we need either mksh or bash. 2021-12-28 10:13:01 +00:00
cad (cad/klayout) Updated 0.27.5 to 0.27.7 2022-01-24 22:34:07 +00:00
chat gomuks: Update to 0.2.4 2022-02-04 16:20:45 +00:00
comms py-rich: updated to 11.1.0 2022-01-31 14:23:21 +00:00
converters orcus: Update to 0.17.2 2022-02-05 04:14:31 +00:00
cross freemint-gcc: Enable ObjC and ObjC++ 2022-01-29 18:33:17 +00:00
databases Allow overriding mariadb_datadir in rc.conf 2022-02-06 17:52:24 +00:00
devel py-pybind11: updated to 2.9.1 2022-02-05 14:53:33 +00:00
distfiles
doc doc: Updated x11/xfce4-session to 4.16.0nb2 2022-02-06 17:42:57 +00:00
editors editors/xnedit: Merge variable VERS into DISTNAME 2022-02-04 12:33:30 +00:00
emulators haxm: Update to 7.7.0 2022-02-05 03:25:56 +00:00
filesystems Mark the package as requiring libtool 2022-01-27 04:24:05 +00:00
finance py-alphalens: updated to 0.4.0 2022-02-05 14:50:00 +00:00
fonts harfbuzz harfbuzz-icu: updated to 3.3.2 2022-02-06 17:13:17 +00:00
games fnaify: Fix GitHub usage 2022-02-01 15:10:57 +00:00
geography geography/gama: Update to 2.17 2022-01-30 15:44:15 +00:00
graphics zxing-cpp: Fix build without the internet access 2022-02-06 13:22:47 +00:00
ham *: depend on py-click via versioned_dependencies 2022-01-31 09:48:35 +00:00
inputmethod *: switch to python 2.7 version of py-gobject3 2022-01-28 14:02:33 +00:00
lang rust-analyzer: updated to 0.0.2022.01.31 2022-02-06 16:49:03 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail Don't try to run under 3.10 (code says 3.6-3.9). 2022-02-05 21:29:12 +00:00
math {py-,}libixion: Update to 0.17.0 2022-02-05 04:28:11 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs aspell-languages: fix typo in COMMENT 2022-01-22 21:34:27 +00:00
misc Update UDFclient to 0.8.12, a maintenance release that adds suport for 2022-02-06 14:45:05 +00:00
mk Add OSX_SDK_MAP for 12.2. From Herbert J. Skuhra in private mail. 2022-02-05 21:43:17 +00:00
multimedia mkvtoolnix: updated to 65.0.0 2022-02-06 16:49:49 +00:00
net py-twisted: reset PKGREVISION after update 2022-02-05 14:27:12 +00:00
news news/neix: project archived 2022-02-04 09:03:54 +00:00
packages
parallel py-ipyparallel: added version 8.1.0 2022-02-04 13:09:41 +00:00
pkgtools url2pkg: allow url2pkg to be run from a category directory as well 2022-02-06 18:42:26 +00:00
print poppler: fix package version 2022-02-06 08:36:18 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security openvas-*: remove per PR pkg/56687 2022-02-06 15:20:20 +00:00
shells disable PIE on arm64 - ./configure fails without this. 2022-02-05 05:39:55 +00:00
sysutils xfce4-cpugraph-plugin: update to 1.2.6 2022-02-06 01:06:56 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-jupyterlab-pygments: added version 0.1.2 2022-02-06 07:46:29 +00:00
time ntpsec: restrict to python 3 2022-01-28 12:10:18 +00:00
wm pekwm: remove patch that was removed from distinfo during update 2022-02-03 08:05:47 +00:00
www py-respx: updated to 0.19.2 2022-02-06 07:53:10 +00:00
x11 xfce4-session: adjust two patches 2022-02-06 17:42:47 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md README.md: Fix URIs and capitalize NetBSD 2022-01-31 22:39:11 +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