summaryrefslogtreecommitdiff
path: root/sysutils/ruby-quota
AgeCommit message (Collapse)AuthorFilesLines
2005-03-06Bump PKGREVISION with introduce of ruby16-base/ruby18-base pacakge.taca1-2/+2
2005-03-06Cosmetic change with pkglint(1).taca1-2/+2
2005-02-24Add RMD160 digests.agc1-1/+2
2005-01-28Add RUBY_HAS_ARCHLIB which have machine dependent extention libraries.taca1-2/+3
Bump PKG_REVISION.
2004-12-31Use ".${RUBY_DLEXT}" instead of hard-coding ".so".taca1-2/+2
2004-12-15Fix build problem on Solaris.taca3-4/+23
Bump PKGREVISION.
2004-11-28Migrate ruby-quota to use new framework for Ruby packages.taca5-9/+36
Add patches for support statvfs(2) support, too.
2004-03-17- Update MASTER_SITES for sourceforge sites.taca2-5/+5
- Update distinfo since distfile has changed.
2004-03-16Add ruby to CATEGORIES.taca1-2/+2
2004-03-15- Update MASTER_SITES and HOMEPAGE.taca2-6/+6
- Update distinfo.
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2002-03-30Importing ruby-quota 0.5.1 package.taca4-0/+38
Ruby/Quota ------------------------------------------------------------------------------- This module provides functions which manipulate disk quotas. ------------------------------------------------------------------------------- SUPPORT ENVIRONMENT * Linux 2.4 or later * Solaris 2.6, 7, 8 * FreeBSD, NetBSD (OpenBSD,.. ?) ------------------------------------------------------------------------------- SYNOPSIS Quota::GroupID.new(id) Quota::GroupID[id] Quota::UserID.new(id) Quota::UserID[id] Quota.quotaon(dev, quotas) Quota.quotaoff(dev) Quota.getquota(dev, uid) Quota.setquota(dev, uid, dq) Quota.setqlim(dev, uid, dq) # *BSD does not have this function. Quota.sync(dev) * 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On * BSD, this library try to find a mounted directory from a given filesystem using getmntinfo(). * 'quotas' is a quotas file. * 'uid' is an integer value, an user id or a group id. If it is an integer, it is treated as an user id. * 'dq' is an entry of the quotas. its members are same as 'dqblk' structure (e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and header files (e.g. linux/quota.h).