1507c7407a
Version 22.3.1 Add fall back for Windows even loop fetching Version 22.3.0 Features * API for multi-application server 🚨 BREAKING CHANGE: The old sanic.worker.GunicornWorker has been removed. To run Sanic with gunicorn, you should use it thru uvicorn as described in their docs. 🧁 SIDE EFFECT: Named background tasks are now supported, even in Python 3.7 * Parse Authorization header as Request.credentials * Add config option to skip Touchup step in application startup * Updates to CLI help messaging * Downgrade warnings to backwater debug messages * Allow for multidict v0.6 * Upgrade CLI catching for alternative application run types * Conditionally inject CLI arguments into factory * Add new start and stop event listeners to reloader process * Remove loop as required listener arg * Better exception for bad URL parsing sanic-routing#47 Add a new extention parameter type: <file:ext>, <file:ext=jpg>, <file:ext=jpg|png|gif|svg>, <file=int:ext>, <file=int:ext=jpg|png|gif|svg>, <file=float:ext=tar.gz> 👶 BETA FEATURE: This feature will not work with path type matching, and is being released as a beta feature only. sanic-routing#57 Change register_pattern to accept a str or Pattern sanic-routing#58 Default matching on non-empty strings only, and new strorempty pattern type 🚨 BREAKING CHANGE: Previously a route with a dynamic string parameter (/<foo> or /<foo:str>) would match on any string, including empty strings. It will now only match a non-empty string. To retain the old behavior, you should use the new parameter type: /<foo:strorempty>. Bugfixes * Remove error_logger on websockets * Fix newly assigned None in task registry sanic-routing#52 Add type casting to regex route matching sanic-routing#60 Add requirements check on regex routes (this resolves, for example, multiple static directories with differing host values) Deprecations and Removals * 22.3 Deprecations and changes debug=True and --debug do NOT automatically run auto_reload Default error render is with plain text (browsers still get HTML by default because auto looks at headers) config is required for ErrorHandler.finalize ErrorHandler.lookup requires two positional args Unused websocket protocol args removed * Deprecate loading of lowercase environment variables Developer infrastructure * Revert code coverage back to Codecov * Upgrade tests for sanic-routing changes sanic-testing#35 Allow for httpx v0.22 Improved Documentation * Fix link in README for ASGI * Document middleware on_request and on_response * Add missing documentation for Request.respond Miscellaneous * Fix typing for ListenerMixin.listener * Clear deprecation warning in asyncio.wait * Cleanup __slots__ implementations * Clear deprecation warning in asyncio.get_event_loop |
||
---|---|---|
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