a300be2253
4.2.7 (2022-01-12) * (FACT-3097) Kvm returns nil on OpenStack * (FACT-3099) ec2_userdata fails if it contains ASCII-8BIT chars * (FACT-3100) Fix disks fact lsblk path * (maint) Add RHEL9 support to networking_facts test * (maint) Github workflow now uses windows 2019 4.2.8 (2022-03-17) * (PA-4133) Add puppet agent team to CODEOWNERS * (FACT-1556) Add aws detection for cloud provider * (FACT-3104) Update the Snyk monitor action 4.2.9 (2022-04-04) * (FACT-3115) Correctly detect KVM in RHEL hypervisors * (FACT-3116) Ignore EROFS when deleting fact cache * (FACT-3090) Fix windows 11 detection 4.2.10 (2022-05-24) * Merge pull request #2493 from mhashizume/maint/main/version_4_2_10 4.2.11 (2022-07-21) * (FACT-3109) Add handling for Windows NIC names * (FACT-3113) Encode strings as UTF-8 when reading files * (maint) PA-4234 Update Networking Facts test * (FACT-1557) Ignore CyclomaticComplexity for cloud.provider fact * (FACT-1557) Extend the cloud.provider fact to Google Compute Engine * (maint) Update acceptance test for Win11 * Merge pull request #2506 from cthorn42/maint/main/merge_changes_for_macos_acceptance_tests * Merge pull request #2507 from cthorn42/maint/main/update_os.macosx.version.fact_test |
||
---|---|---|
archivers | ||
audio | ||
benchmarks | ||
biology | ||
bootstrap | ||
cad | ||
chat | ||
comms | ||
converters | ||
cross | ||
databases | ||
devel | ||
distfiles | ||
doc | ||
editors | ||
emulators | ||
filesystems | ||
finance | ||
fonts | ||
games | ||
geography | ||
graphics | ||
ham | ||
inputmethod | ||
lang | ||
licenses | ||
math | ||
mbone | ||
meta-pkgs | ||
misc | ||
mk | ||
multimedia | ||
net | ||
news | ||
packages | ||
parallel | ||
pkgtools | ||
regress | ||
security | ||
shells | ||
sysutils | ||
templates | ||
textproc | ||
time | ||
wm | ||
www | ||
x11 | ||
_NetBSD-pkgdb | ||
Makefile | ||
pkglocate | ||
README.md |
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
- Join the community IRC channel #pkgsrc @ libera.chat.
- Join the community Matrix room #pkgsrc:nil.im
- Subscribe to the pkgsrc-users mailing list
- Send bugs and patches via web form (use the
pkg
category).
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
Additional links
- pkgsrc guide - the authoritative document on pkgsrc, also available as
doc/pkgsrc.txt
- pkgsrc in the NetBSD Wiki - miscellaneous articles and tutorials
- pkgsrc.se - a searchable web index of pkgsrc
- pkgsrc-wip - a project to get more people actively involved with creating packages for pkgsrc
- pkgsrc on Twitter - announcements to the world
- pkgsrcCon - we get together
- BulkTracker - a web application that tracks pkgsrc bulk builds