Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
tnn 7a041140b2 opencl-clang: explicitly set GITHUB_PROJECT
This works around a subtle bug in github.mk.

Long story short is GITHUB_PROJECT is used to infer WRKSRC when github.mk
is in use. In addition, GITHUB_PROJECT is inferred from DISTNAME when
not explicitly set by the package.
If one wants to reference WRKSRC in a BUILDLINK_TRANSFORM, that breaks
because cwrappers.mk is evaluated before bsd.fetch.mk and GITHUB_PROJECT
is not yet known at that point, leading to an invalid WRKSRC expansion.
2022-08-17 16:21:25 +00:00
archivers lz4: updated to 1.9.4 2022-08-16 13:02:56 +00:00
audio *: recursive PKGREVISION bump for mbedtls shlib major increases 2022-08-11 06:41:57 +00:00
benchmarks google-benchmark: update to 1.7.0. 2022-07-31 09:52:51 +00:00
biology Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
bootstrap Update docs for Joyent migration. 2022-08-01 14:49:09 +00:00
cad kicad-*: fix building and cleanup 2022-08-15 20:55:35 +00:00
chat Revbump all Go packages after go118 security update 2022-08-12 20:37:59 +00:00
comms Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
converters libXpm: Add USE_EXPLICIT_LIBDEPS, set to no. 2022-08-11 13:37:24 +00:00
cross xtensa-esp32-elf-gcc: configure newlib closer to how espressif does 2022-07-22 02:01:54 +00:00
databases postgreql-pgroonga: not for PG 10 2022-08-15 22:17:24 +00:00
devel patchelf: set GCC_REQD to 7 for std::optional 2022-08-17 16:14:01 +00:00
distfiles
doc doc: Added security/vaultwarden version 1.25.2 2022-08-17 15:45:23 +00:00
editors editors/tp-note: update to 1.17.3 2022-08-16 07:51:51 +00:00
emulators emulators/open-simh: update to 4.0.0.20220814 2022-08-16 20:08:39 +00:00
filesystems filesystems/p5-Path-Tiny update to 0.122 2022-08-05 12:57:26 +00:00
finance Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
fonts Updated 2022-06-07 2022-08-11 16:37:19 +00:00
games Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
geography Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
graphics libsixel: needs -D__EXTENSIONS__ on SunOS 2022-08-17 10:25:33 +00:00
ham Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
inputmethod Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
lang execline: fix previous 2022-08-17 12:15:40 +00:00
licenses Add Commander X16 ROM license (this is a somewhat complex combination of 2022-08-07 17:35:09 +00:00
mail mail/roundcube: update to 1.6.0 2022-08-17 15:41:43 +00:00
math p5-Math-Pari: apply -DUSE_STANDALONE_PARILIB on all platforms 2022-08-17 09:01:51 +00:00
mbone *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
meta-pkgs Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
misc preftools: maintain 2022-08-17 13:08:09 +00:00
mk defaults/options.description: add lighttpd 2022-08-16 08:54:21 +00:00
multimedia xine-lib: fix bl3.mk for ffmpeg5 -> ffmpeg4 change 2022-08-15 19:19:16 +00:00
net net/bind916: update to 9.16.32 2022-08-17 15:38:28 +00:00
news sfeed: Update to 1.6 2022-08-17 15:21:12 +00:00
packages
parallel opencl-clang: explicitly set GITHUB_PROJECT 2022-08-17 16:21:25 +00:00
pkgtools lintpkgsrc: cleanup: rename PkgDb to PkgData 2022-08-16 20:54:35 +00:00
print py-weasyprint: Update to 56.1. 2022-08-17 07:17:08 +00:00
regress *: Revbump packages that use Python at runtime without a PKGNAME prefix 2022-06-30 11:18:01 +00:00
security Vaultwarden is a Bitwarden server API implementation written in Rust, 2022-08-17 15:44:16 +00:00
shells Revbump all Go packages after go118 security update 2022-08-12 20:37:59 +00:00
sysutils s6: rename man-pages distfile to a distinguished name 2022-08-17 12:11:17 +00:00
templates
textproc paperoni: rename the distfile to a distinguished name 2022-08-17 12:32:52 +00:00
time Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
wm Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
www curl: SunOS build fix. Reported upstream. Bump. 2022-08-17 10:09:54 +00:00
x11 citron: rename the distfile to a distinguished name 2022-08-17 11:28:46 +00:00
_NetBSD-pkgdb
Makefile
pkglocate
README.md Update docs for Joyent migration. 2022-08-01 14:49:09 +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