File: CHANGES

package info (click to toggle)
libquota-perl 1.7.2+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 364 kB
  • ctags: 460
  • sloc: ansic: 975; perl: 793; sh: 54; makefile: 9
file content (288 lines) | stat: -rw-r--r-- 13,786 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
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.

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.

Changes in 1.6.7 (November 2011)
- Added support to detect 3.x Linux kernels
  Thanks to Salvatore Bonaccorso of the Debian Perl Group

Changes in 1.6.6 (June 2011)
- Ignore "rootfs" filesystem in Quota::getqcarg() on Linux, which always
  is a duplicate.  Thanks to "abaturin" for providing this patch.
- Made test.pl exit immediately when AUTOMATED_TESTING is set in the
  environment (same as when called not from a tty), as all tests require
  user interaction. Changed on request of TODDR of cpan.org

Changes in 1.6.5 (January 2011)
- Fixed syntax error and missing init for params to setqlim()
  Thanks to Heinrich Mislik for reporting the bugs

Changes in 1.6.4 (January 2010)
- Fixed RPC quota block count truncation to 32bit (CPAN ticket 52813 )
  Thanks to Lloyd Brown for reporting the bug

Changes in 1.6.3 (December 2008)
- Fixed SEG fault for 32-bit Linux clients on top of 64-bit kernels
  Thanks to Jani Ollikainen (pronetko.fi) for reporting and debugging this.
  Thanks to Thomas Rzipa for reporting this issue, too.
- Fixed setqlim to allow setting limits exceeding 2^32 blocks or files.
  The current solution will work only for perl executables which support
  64-bit wide integers (e.g. x86-64)

Changes in 1.6.2 (January 2008)
- Fixed memory leak in RPC authentication
  Thanks again to Kostik (koc at rol.ru)

Changes in 1.6.1 (November 2007)
- Adapted hints/bsd.h to use statvfs instead of statfs in NetBSD 3.0
- Added support for extended quota RPC to allow querying group quotas.
  Thanks to Kostik (koc AT rol.ru) for the suggestion.

Changes in 1.6.0 (October 2007)
- Work-around for different getmntent() semantics for linux loop mounts
  Thanks Wouter de Jong (wouter@widexs.nl) for reporting this issue.
- (late) version bump due to the interface change in 1.5.2

Changes in 1.5.2 (October 2007)
- Added support for new quotactl() parameters in JFS2 on AIX 5.3.
  Thanks to Joshua Frigerio (joshua@uic.edu) for providing a development
  account.  (Note: also prepared support for JFS2 quota classes; this is
  yet unfinished and untested. See sub-directory contrib/aix_jfs2_class)
- Added support for XFS project quotas on request of
  Sten Spans (sten@blinkenlights.nl); received no feedback it if works.
  Changed the "isgrp" param to Quota::query() and setqlim() from boolean
  into an enum: 0:=user, 1:=group, 2:=project quotas.
- Added a copyright notice to the main module and the manual page on
  request of the Debian maintainer.

Changes in 1.5.1 (July 2005)
- Added new API function rpcauth: use non-default authentication for RPC
  Patch submitted by Karol Lassak
- Makefile fix for Linux: compile linuxapi.c with default CFLAGS
  because for 64-bit systems -fPIC is required.  Patches submitted
  by David Lee and James Olin Oden; used a different solution though.

Changes in 1.5.0 (Nov 2004)
- Added new API function rpcpeer: set port and protocol for RPC queries.
  On request by Sten Spans (sten@blinkenlights.nl)

Changes in 1.4.11 (Aug 2004)
- Updated VxFS detection in Makefile.PL for recent Solaris/VxFS versions
  Thanks to Joshua Frigerio for the info and to Keith Clay for verification.
- tiny syntax cleanup in linuxapi.c

Changes in 1.4.10 (Jan 2004)
- Applied patch by Antti Tapaninen (aet at cc.hut.fi) to add support
  for MacOS X (based on BSD config) and NFS3 support for AIX.
- Applied patch by Chris Adams (cmadams at hiwaay.net) to avoid warning
  in Quota::getqcarg() on systems where getmntent(3) may return invalid
  mount points, e.g. Tru64 UNIX

Changes in 1.4.9 (Aug 2003)
- Applied patch by Wolfgang.Friebel@desy.de: Changed AFS quota support,
  now based on OpenAFS instead of arla and Kerberos4.

Changes in 1.4.8 (May 2003)
- fixed bug in linuxapi.c, thanks to Shane DeRidder

Changes in 1.4.7 (May 2003)
- adapted for the latest fashion of Linux quota APIs (version 6.5.1)
  Thanks to Jay R. Wren, Shane DeRidder, Roman "romke" and Geoffrey Pan
  for your infos and feedback.
- added quota threshold monitoring script to the contrib directory.
  Thanks to Ziaur Rahman.

Changes in 1.4.6 (August 2002)
- changed the test script to exit if STDIN is not a terminal device.
  This is an interactive script which cannot be run by CPANPLUS.

Changes in 1.4.5 (July 2002)
- replaced use of macro BCOPY with libc function memcpy() because of build
  problems on Solaris 2.8 (bcopy is depreciated now anyways)
  Thanks to Jost Krieger and Paul Sand for reporting this problem.

Changes in 1.4.4 (June 2002)
- bugfix in Quota::getqcarg(): the function failed if the device id returned
  by stat(2) for the queried path was zero (e.g. for the root fs on NetBSD)
  Thanks to Jake Fan (jake@chaogic.com) for reporting this bug.

Changes in 1.4.3 (May 2002)
- updated for new version of Solaris VxFS (Veritas Filesystem)
  by David Lee (T.D.Lee@durham.ac.uk)

Changes in 1.4.2 (Jan. - Mar. 2002)
- fixed test.pl to allow uids with more than 5 digits.
  Thanks to Neil Prockter (perl@iamafreeman.com) for the fix.
- updated Linux quota version detection with quota-tools 3.04;
  removed compile-time version detection because it caused problems;
  added switch LINUX_API_VERSION to hints/linux.h to allow to hard-wire
  the API in case the automatic version detection fails.

Changes in 1.4.1 (Sep. 2001 - Jan. 2002)
- added support for an older (intermediate?) version of the new Linux Quota
  API which contains a mixture of v1 and v2 command ids (uses the old GETSTAT
  id, however with the new and larger struct as argument). Required for
  RedHat-7.1.  Thanks to Andy Choi (andy@ensim.com) for pointing this out.
- enabled RPC in hints/bsd.h
  Confirmed to work on FreeBSD by Alex Batko (abatko@cs.mcgill.ca)
- fixed several glitches in the manual page.

Changes in 1.4 (August 2001)
- added support for the Alan Cox (ac) branch of the Linux kernel which uses a
  new and completely backwards incompatible Quota API.  The API version is
  determined dynamically by use of Q_GETSTATS/v2, i.e. the same module
  binary will work on kernels with either API. Since the Linux quota API now
  needs some very special handling, I moved it into a separate file called
  linuxapi.c.  NOTE: internally the module still uses the old (v1) dqblk
  structure, so any advantages the new struct mem_dqblk might have are not
  present here.  Let me know if this is a problem for you.
- commented out #define LINUX_RQUOTAD_BUG in hints/linux.h as this should
  no longer be needed on most systems. Updated INSTALL and README accordingly.
- removed the Linux syscall wrapper in quotactl.c as this is now in libc.
- changed copyright from "none/public domain" to Artistic License (not to
  restrict usage, but simply to include the legal disclaimers)
- fixed bug in Quota::query() and setqlim(): when argument isgrp was present
  but 0, the functions still did work on group quotas instead of user quotas.
  Thanks to Szymon Juraszczyk (szymon@ssk.pl) for pointing this out.

Changes in 1.3.4 (May 2001)
- added support for SGI XFS on Linux.  Thanks to Brian Johnson
  (brian@dev.brianj.com) for providing a development account.

Changes in 1.3.3 (May 2001)
- bugfix Quota::query, branch NO_RPC: forgot to set error flag, arbitrary
  results were returned; Pointed out by Mahlon Smith <reich@internetcds.com>
- fixed declaration of GQR_* macros for RPC in hints/bsd.h
  RPC still untested for BSD though
- fixed OpenBSD2.7 fix from last release: replaced macro OpenBSD2_7 with
  __OpenBSD__ because the former is not defined in 2.8 anymore.
  Reported by Lou Hevly (lou@visca.com)
- fixed hints/linux.h for RedHat 7.1: use sys/quota.h instead of linux/quota.h
  because the former has an incompatible definition of struct dqblk.
  [NOTE: this change proved to be wrong and was undone in 1.4]
  Reported by Waldemar Krotkiewicz (wk@brenet.de), Andy Choi (andy@ensim.com)
  and Brian Johnson (brian@dev.brianj.com).

Changes in 1.3.2 (February 2001)
- please note my new email address: tomzo AT nefkom DOT net
- fixed AFS detection in Makefile.PL for Perl 5.6
  thanks to Wolfgang Friebel <friebel@ifh.de>
- adapted getmntent for incompatible change of struct statfs in OpenBSD 2.7
  thanks to andrew@ugh.net.au
- adapted getqcarg for for OpenBSD and BSDi: define QCARG_MNTPT for all BSD os
  as reported by andrew@ugh.net.au and Chee-Wai Yeung <cheewai@cs.ust.hk>
- fixed block to kB conversion in Quota::query() for VxFS
  as reported by Rui Monteiro <rmonteiro@whatevernet.pt>
- renamed config.h symlink to myconfig.h to avoid conflict with Perl config

Changes in 1.3.1 (October 2000)
- added support for NetBSD, merged hints for BSD-based systems
  by Jaromir Dolecek <jdolecek@NetBSD.org>
- fixed include file name for vxquotactl.h
  changed quota block factors Q_DIV/Q_MUL from 1 to 2 for Veritas fs
  Thanks to David Lee (T.D.Lee@durham.ac.uk)
- added automatic recognition of HPUX B.11 in Makefile.PL
  by Albert Chin (china@thewrittenword.com)

Changes in 1.3:  (January 2000)
- bugfix/enhanced support for OSF/1 and Digital Unix:
  getqcarg used wrong path to quotas file and
  NFS file systems were not recognized when in "/path@host" format in mtab
  provided by Victor Mora (Victor.Mora@ac.upc.es) and
  Alessandro Miotto (Alessandro.Miotto@cern.ch)
- added support for FreeBSD.
  provided by Kurt Jaeger (pi@complx.LF.net)
  and Jon Schewe (schewe@tcfreenet.org)
- added support for Veritas file system (VxFS) on Solaris
  provided by David Lee (T.D.Lee@durham.ac.uk),
  Michael Gerdts (gerdts@cae.wisc.edu) and
  Daniel Hagerty (hag@shore.net).
  Beta-tested by John Randell Smith (jrsmith@eng.utah.edu).
- added workaround for yet another bug in Linux rpc.rquotad:
  rquotad reports grace times as absolute values instead of relative
  bug found by Seth Vidal (skvidal@phy.duke.edu)
- fixed grace time output for Y2K in test.pl
- fixed bug in group-quota patch as pointed out by asun@cobaltnet.com
  incorporated the patch into the distribution.
- fixed possible integer overflow in RPC quota block size conversions for
  very large quota limits; pointed out by Peter.Pickford (ppickfor@jaguar.com)
- added warning to Makefile.PL if config.h symlink already exists

Changes in 1.2.3:  (April 1999)
- added patch-file "group-quota.patch" that provides optional
  support for group-quotas (on some OS versions and localhost only)
- added auto-detection for AFS by Wolfgang Friebel
- fixed include path for AFS in Quota.xs

Changes in 1.2.2:  (December 1998)
- fixed 2 problems in getqcarg()
  thanks to py@ecst.csuchico.edu for pointing those out.

Changes in 1.2:  (November 1998)
- added support for AIX 4.1 (thanks to Wolfgang Friebel (friebel@ifh.de)
  for providing a development account)
- added support for AFS (Andrew File System) by arla-0.13
  on the following platforms: AIX, SunOS, Solaris, HP-UX, IRIX 6, Linux
  with much help from Wolfgang Friebel.

Changes in 1.1.2:  (August 1998)
- changed names of tar archive and module directory
- fixed message for getqcarg failure in test.pl
- compatibility with sfio (moved fopen and fclose to seperate file)
  suggested by Christoph Lupe (lupe@alanya.m.isar.de) - yet UNTESTED
- fixed problems with Solaris automounter (ignore lofs mounts in getqcarg)

Changes in 1.1:  (August 1998)
- added support for Linux (thanks to Steve Nolan (nolansj@bookmark.com)
  for providing a development account)
- added OpenBSD 2.2 support, provided by James Shelburne (reilly@eramp.net)
- added syntax fixes (2 additional #includes) for IRIX 6.4
  provided by Subhendu Ghosh (sghosh@menger.eecs.stevens-tech.edu)
- support for IRIX xfs filesystems (additional to the older efs fs)
  provided by David Lloyd (cclloyd@monotreme.cc.missouri.edu)


Changes in 1.0:
(That's the version that's been released with O'Reillys Perl Resource Books)
- improved documentation, now provided in pod format inside Quota.pm
- finally fixed errno.h problem in Quota.pm
  Thanks to Tobias Oetiker (oetiker@ee.ethz.ch)
- added BSDI port by Jim Hribnak (hribnak@nucleus.com)
  unfortunately without RPC support.
- small fixes for OSF/1
- more hints in hints/none.h
- I've again received requests for Linux ports. However since I don't
  have access to an installation with quota support, I can't do this
  myself. I've included a config file that compiles without warnings
  on our system ("Red Hat for Sparc" or something), but I can't run it.
  If anyone gets it to work with or without RPC, please contact me.

Changes in 0.3a:
- started port for Linux 2.0; still needs some work.
  Compiles correctly, but RPC call fails.
- workarounds for HP-UX/10 bug in test script
  (SYNC without arguments doesn't work)
- some cleanup in Query.pm
  fixes 0.2a's problems with the autoloader under perl-5.003

Changes in 0.2a:
- need generic getqcarg instead of getdev, because:
- added support for Solaris, OSF/1 (which operate without access to
  the according block device) Required extensive code changes.
- getqcarg recognizes if path points into a NFS file system
- query() may take NFS path as argument (in form host:/path)

  Thanks to David Lee <T.D.Lee@durham.ac.uk> for alpha-testing on Solaris
  and suggesting the two latter improvements.