Changes in 1.8.1 (April 2020)
- correction to Q_XQUOTASYNC update done in 1.8.0: return value inverted
- compile-fixes and enhancements for latest versions of the BSDs:
- compile fix: FreeBSD lacks define RQUOTA_USRQUOTA in rpcsvc/rquota.h
- NetBSD: map QUOTA_NOLIMIT to 0 for consistency with other platforms
- DragonFly support prepared (untested); obsolete BSD/OS removed
- getmntent(): decode numerical values of fs type and options to strings
- renamed compile-switch HAVE_STATVFS: too generic (conflict Python.h)
- fixes for group quota support via RPC (i.e. v2 aka extended RPC):
- removed use of USE_EXT_RQUOTA in include/rquota.h: switch is
defined only later, thus extended quota was inadvertedly disabled
- Linux & OpenBSD: switched from rpcsvc/rquota.h to internal rquota.h,
as sys header lacks definition for extended RPC
- getnfsquota(): don't use v1 RPC for group quota if v2 fails;
return error instead
- adjusted order of elements in ext_getquota_args to match XDR encoding
(just to avoid confusion; no harm)
- setqlim: raise error in case of truncation of given limits to 32-bit
- test.pl:
- added smoke test: run automatically upon $ENV{AUTOMATED_TESTING}
- enhanced "forced RPC" test: ask for host:path, allow skipping
Changes in 1.8.0 (April 2020)
- revised "tirpc" change in 1.7.3: use "-ltirpc" only when SUN-RPC is
NOT included in libc; else we may compile against tirpc but linker
may resolved against libc; leads to memory corruption in auth_destroy()
- cntd. attempt at fixing Makefile.PL for build on NetBSD release > 6
- Backport of minor fixes & enhancements done while porting to Python
- extended test scripts (RPC test; read-back&verify limits after setqlim)
- RPC result handling: removed forced ESRCH error upon 0 limits
so that behavior matches that of local query (at least on Linux)
- corrected Quota::strerr() for errors caused in Sun-RPC library funcs
- updated include/quotaio_xfs.h to latest version in Linux headers
and use newer (~2004) interface Q_XQUOTASYNC for Quota::sync()
Changes in 1.7.4 (March 2020)
- Build fixes for NetBSD release > 6 and Apple/Darwin
based on failure reports of automated CPAN testing
- Added support for group quotas in test.pl;
Corrections to documentation of group quota handling
Changes in 1.7.3 (March 2020)
- Added detection for missing header rpc/rpc.h;
automatically switch to using "tirpc", if present.
Issue reported by Michael Stauber via CPAN ticket 128302
- Also fixed compiler warnings in ancient RPC code.
---------------------
Changes in 1.7.2 (May 2015)
- Adapted platform detection for Linux 4.*
Thanks to C. Affolter for reporting the issue (CPAN ticket 104652)
Changes in 1.7.1 (September 2013)
- "make test" now aborts if STDOUT is not a terminal, same as already
for STDIN. Suggested by Alexandr Ciornii via CPAN ticket 82564.
Problems found with existing digests:
Package memconf distfile memconf-2.16/memconf.gz
b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
95748686a5ad8144232f4d4abc9bf052721a196f [calculated]
Problems found locating distfiles:
Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
PR pkg/48144.
Changes in 1.7.0 (August 2013)
- Added support for the new NetBSD 6.0 quota system (libquota)
Thanks to David Holland and Edgar Fuss
- To support limits and usage >= 2^32 on 32-bit clients, Quota::setqlim
and Quota::query interfaces were changed to use double (NV) instead
of integer (IV). This should be transparent to users of the module.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Originally from wip with netbsd-6 patches sketched by yours truly and
finished/tested by Edgar Fuss.
The Quota module provides access to file system quotas. The
quotactl system call or ioctl is used to query or set quotas
on the local host, or queries are submitted via RPC to a
remote host. Mount tables can be parsed with getmntent and
paths can be translated to device files (or whatever the
actual quotactl implementations needs as argument) of the
according file system.