diff options
author | taca <taca@pkgsrc.org> | 2002-03-30 16:52:41 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2002-03-30 16:52:41 +0000 |
commit | 821fc52e71a0a5d901a82e88c0a5acef1a1ae7d8 (patch) | |
tree | ce745c3545a6fbd9989ce5666ee80df92add5a5f | |
parent | 269c52eb1a00ea271cfea953c68e0aad70d8806b (diff) | |
download | pkgsrc-821fc52e71a0a5d901a82e88c0a5acef1a1ae7d8.tar.gz |
Importing ruby-quota 0.5.1 package.
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).
-rw-r--r-- | sysutils/ruby-quota/DESCR | 3 | ||||
-rw-r--r-- | sysutils/ruby-quota/Makefile | 26 | ||||
-rw-r--r-- | sysutils/ruby-quota/PLIST | 5 | ||||
-rw-r--r-- | sysutils/ruby-quota/distinfo | 4 |
4 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/ruby-quota/DESCR b/sysutils/ruby-quota/DESCR new file mode 100644 index 00000000000..e8c40e2e978 --- /dev/null +++ b/sysutils/ruby-quota/DESCR @@ -0,0 +1,3 @@ +Ruby/Quota + +This module provides functions which manipulate disk quotas. diff --git a/sysutils/ruby-quota/Makefile b/sysutils/ruby-quota/Makefile new file mode 100644 index 00000000000..5f3610a3381 --- /dev/null +++ b/sysutils/ruby-quota/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/30 16:52:41 taca Exp $ +# + +DISTNAME= ruby-quota-0.5.1 +CATEGORIES= sysutils +MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/ + +MAINTAINER= taca@netbsd.org +HOMEPAGE= http://kt-www.jaist.ac.jp/~ttate/ruby/ruby-ext.html +COMMENT= quota interface for Ruby + +DIST_SUBDIR= ruby +USE_RUBY_EXTCONF= yes +INSTALL_TARGET= site-install + +DOCS= ChangeLog README +DOCSDIR= ${RUBY_DOCDIR}/quota + +post-install: + ${INSTALL_DATA_DIR} ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/$f +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/ruby-quota/PLIST b/sysutils/ruby-quota/PLIST new file mode 100644 index 00000000000..e8e472ff8bb --- /dev/null +++ b/sysutils/ruby-quota/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/30 16:52:41 taca Exp $ +${RUBY_SITEARCHLIBDIR}/quota.so +${RUBY_DOCDIR}/quota/ChangeLog +${RUBY_DOCDIR}/quota/README +@dirrm ${RUBY_DOCDIR}/quota diff --git a/sysutils/ruby-quota/distinfo b/sysutils/ruby-quota/distinfo new file mode 100644 index 00000000000..52e7b483f4b --- /dev/null +++ b/sysutils/ruby-quota/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/03/30 16:52:41 taca Exp $ + +SHA1 (ruby/ruby-quota-0.5.1.tar.gz) = 9edf6054c465af80d7a3534b8fed89fbafc01ec1 +Size (ruby/ruby-quota-0.5.1.tar.gz) = 5110 bytes |