Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
adam 1431964de3 py-dogpile-cache: updated to 1.1.4
1.1.4
usecase

[usecase] [memcached]
Added support for pymemcache socket keepalive and retrying client.
See also PyMemcacheBackend.socket_keepalive
PyMemcacheBackend.enable_retry_client

bug

[bug] [general]
Fixed Python 3.10 deprecation warning involving threading


1.1.3
bug

[bug] [regression] [tests]
Repaired the test suite to work with the 5.x series of the decorator module, which now appears to make use of the __signature__ attribute.
[bug] [regression]
Fixed regression where ProxyBackend was missing several methods that were added as part of the 1.1 release.


1.1.2
feature

[feature] [region]
Added new region method CacheRegion.key_is_locked(). Returns True if the given key is subject to the dogpile lock, which would indicate that the generator function is running at that time. Pull request courtesy Bastien Gerard.

[feature] [memcached]
Added support for the pymemcache backend, using the "dogpile.cache.pymemcache" backend identifier. Pull request courtesy Moisés Guimarães de Medeiros.
See also PyMemcacheBackend


1.1.1
bug

[bug] [region]
Fixed regression where the serialization and deserialization functions could be inadvertently turned into instance methods with an unexpected argument signature, namely when pickle.dumps and pickle.loads are the pure Python version as is the case in pypy.


1.1.0
feature

[feature] [region]
Reworked the means by which values are serialized and deserialized from backends, and provided for custom serialization of values. Added the CacheRegion.serializer and CacheRegion.deserializer parameters which may be set to any serializer.
Serialization and deserialization now take place within the CacheRegion so that backends may now assume string values in all cases. This simplifies the existing backends and also makes custom backends easier to write and maintain.
Additionally, the serializer is now applied to the user-defined value portion of the CachedValue and not to the metadata or other portions of CachedValue object itself, so the serialized portion is effectively a “payload” within the larger CachedValue structure that is passed as part of the larger string format. The overall format is a separate JSON of the cached value metadata, followed by the serialized form. This allows for end-user serialization schemes that are hardwired to the values themselves without the need to serialize dogpile’s internal structures as well.
Existing custom backends should continue to work without issue; they now have the option to forego any separate serialization steps, and can also subclass a new backend BytesBackend that marks them as a backend that only deals with bytes coming in and out; all internal serialization logic from such a backend can be removed.
Pull request courtesy Alessio Bogon.

misc

[change]
Added pep-484 annotations to most of the dogpile.cache package.


1.0.2
feature

[feature] [memcached]
Added support for TLS connections to the bmemcached backend. Pull request courtesy Moisés Guimarães de Medeiros.
bug

[bug] [installation]
Repaired the setup.cfg file so that the source and wheel distributions will not add the “tests” directory to the Python environment. Pull request courtesy Michał Górny.


1.0.1
bug

[bug] [install]
dogpile.cache 1.0.0 was released with a minimum Python version of 3.5. However, due to a dependency issue, the minimum version is now Python 3.6. The 1.0.0 release will be removed from PyPI so that Python versions prior to 3.6 will continue to make use of the previous dogpile.cache 0.9.2.

[bug] [installation]
Removed the “universal=1” directive from setup.cfg as this would create py2/py3 wheels. dogpile 1.0.x is Python 3 only so a py3-only wheel is now created.


1.0.0
feature

[feature]
Improved plugin scanner performance by switching from pkg_resources to stevedore.
[feature] [redis]
Added support for Redis Sentinel. Pull request courtesy Stéphane Brunner. See RedisSentinelBackend.

misc

[change: py3k]
For version 1.0.0, dogpile.cache now supports Python 3.5 and above only.
2021-11-14 15:16:19 +00:00
archivers gnome-autoar: Update archivers/gnome-autoar to 0.4.1 2021-11-13 09:18:47 +00:00
audio soundtouch: update to 2.3.1 2021-11-13 10:56:22 +00:00
benchmarks Doesn't run with MKPIE. Updated main web site. 2021-10-31 19:58:56 +00:00
biology *: Revbump for protobuf-3.19.0 2021-11-11 12:02:46 +00:00
bootstrap mk/bootstrap: Fix bits for SCO UnixWare 7. 2021-11-12 20:29:05 +00:00
cad cad: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:04:09 +00:00
chat *: Revbump for protobuf-3.19.0 2021-11-11 12:02:46 +00:00
comms add and enable asterisk19 2021-11-14 02:31:12 +00:00
converters bdf2psf: update to 1.207. 2021-11-05 11:17:45 +00:00
cross cross: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:07:50 +00:00
databases databases: Spell p5-DBD-MariaDB correctly. 2021-11-14 08:48:40 +00:00
devel py-dogpile-cache: updated to 1.1.4 2021-11-14 15:16:19 +00:00
distfiles
doc doc: Updated net/yt-dlp to 2021.11.10.1 2021-11-14 14:41:52 +00:00
editors emacs27: replace the shell of autogen.sh 2021-11-14 12:51:09 +00:00
emulators hercules4sdl: Fix syntax error. 2021-11-14 08:50:03 +00:00
filesystems fuse-pod: Use c++03. Fails with newer C++ standards. 2021-11-12 15:53:09 +00:00
finance py-stripe: updated to 2.62.0 2021-11-12 10:22:57 +00:00
fonts fonts/Makefile: add two. 2021-11-10 11:19:24 +00:00
games openrct2: Fix compilation on NetBSD/current. 2021-11-09 11:36:08 +00:00
geography *: Revbump for protobuf-3.19.0 2021-11-11 12:02:46 +00:00
graphics gpick: Update to 0.2.6. Builds again. 2021-11-12 16:17:20 +00:00
ham ham/chirp: Update to 20211105 2021-11-05 12:33:37 +00:00
inputmethod *: Revbump for protobuf-3.19.0 2021-11-11 12:02:46 +00:00
lang *: convert pip users to lang/python/versioned_dependencies.mk 2021-11-09 23:18:57 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail Update to 2.22 2021-11-12 02:21:01 +00:00
math Update to 1.999827 2021-11-12 04:27:16 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs bulk-test-boost: add gpick 2021-11-12 16:18:46 +00:00
misc *: Revbump for protobuf-3.19.0 2021-11-11 12:02:46 +00:00
mk On Linux with glibc, if libc.so.6 isn't executable, glean GLIBC_VERSION 2021-11-14 14:47:11 +00:00
multimedia libaom: update to 3.2.0 2021-11-13 11:27:34 +00:00
net yt-dlp: Update to 2021.11.10.1 2021-11-14 14:41:11 +00:00
news news: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 11:09:34 +00:00
packages
parallel parallel: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 11:10:35 +00:00
pkgtools pkgtools/url2pkg: update to 21.3.0 2021-11-14 09:20:15 +00:00
print cups-base: let the RC script work unprivileged 2021-11-08 00:56:35 +00:00
regress regress: fix space-tab in the indentation 2021-09-09 18:23:44 +00:00
security py-acme py-certbot*: updated to 1.21.0 2021-11-13 17:30:26 +00:00
shells standalone-tcsh: Add "bin" to INSTALLATION_DIRS 2021-11-13 06:53:10 +00:00
sysutils zabbix50: Update to 5.0.17 2021-11-13 20:41:09 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc textproc/hgrep: update to 0.2.1 2021-11-14 09:06:41 +00:00
time time/ruby-tzinfo-data: update to 1.2021.5 2021-11-09 15:17:01 +00:00
wm *: Revbump for protobuf-3.19.0 2021-11-11 12:02:46 +00:00
www Restore firefox78 mozilla-common.mk - needed by thunderbird. 2021-11-13 23:51:01 +00:00
x11 - fix build 2021-11-11 09:29:59 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md README.md: Add trailing slash to the URI 2021-10-21 12:18:01 +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