diff options
author | taca <taca@pkgsrc.org> | 2010-04-21 05:34:31 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-04-21 05:34:31 +0000 |
commit | 85b3109286d728bca9df07d85d2fb47946dd6de7 (patch) | |
tree | b3eb651b5781ae911aecf7b6c83511eb37ab6816 /sysutils | |
parent | 31d1b604df480160b437ca36f8edbfacc69faec0 (diff) | |
download | pkgsrc-85b3109286d728bca9df07d85d2fb47946dd6de7.tar.gz |
Remove debugging printf() on Linux.
Bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ruby-quota/Makefile | 4 | ||||
-rw-r--r-- | sysutils/ruby-quota/distinfo | 4 | ||||
-rw-r--r-- | sysutils/ruby-quota/patches/patch-ab | 22 |
3 files changed, 19 insertions, 11 deletions
diff --git a/sysutils/ruby-quota/Makefile b/sysutils/ruby-quota/Makefile index 1e885f6fc84..02542978b1f 100644 --- a/sysutils/ruby-quota/Makefile +++ b/sysutils/ruby-quota/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2010/03/21 14:49:10 taca Exp $ +# $NetBSD: Makefile,v 1.18 2010/04/21 05:34:31 taca Exp $ # DISTNAME= ruby-quota-0.5.1 PKGNAME= ${RUBY_PKGPREFIX}-quota-0.5.1 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= sysutils ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-quota/} diff --git a/sysutils/ruby-quota/distinfo b/sysutils/ruby-quota/distinfo index 1c3c0482e5f..be87f7d0a8a 100644 --- a/sysutils/ruby-quota/distinfo +++ b/sysutils/ruby-quota/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.11 2010/03/21 14:49:10 taca Exp $ +$NetBSD: distinfo,v 1.12 2010/04/21 05:34:31 taca Exp $ SHA1 (ruby-quota-0.5.1.tar.gz) = 9edf6054c465af80d7a3534b8fed89fbafc01ec1 RMD160 (ruby-quota-0.5.1.tar.gz) = 85189827a256d0cfeaa0e755db37b85c625c18df Size (ruby-quota-0.5.1.tar.gz) = 5110 bytes SHA1 (patch-aa) = 651521b6e9945320623f9c8abff27b705bb476b6 -SHA1 (patch-ab) = 4aea976d528b940d8f133cb4dbbee26219f510e0 +SHA1 (patch-ab) = 6a7556f7fbd3e793ee83962f228ad86dcd301374 diff --git a/sysutils/ruby-quota/patches/patch-ab b/sysutils/ruby-quota/patches/patch-ab index 1cec9f1e49b..f572a3d6c25 100644 --- a/sysutils/ruby-quota/patches/patch-ab +++ b/sysutils/ruby-quota/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ +$NetBSD: patch-ab,v 1.7 2010/04/21 05:34:31 taca Exp $ --- quota.c.orig 2002-03-30 14:59:12.000000000 +0000 +++ quota.c @@ -49,7 +49,15 @@ $NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ #endif static VALUE rb_mQuota; -@@ -159,7 +175,11 @@ rb_quotactl(int cmd, char *dev, VALUE vu +@@ -144,7 +160,6 @@ rb_quotactl(int cmd, char *dev, VALUE vu + uid_t uid; + + get_uid(vuid, &uid, &is_gid); +- printf("cmd = %d, dev = %s, uid = %d, gid? = %d\n", cmd, dev, uid, is_gid); + if( is_gid ){ + return quotactl(QCMD(cmd,GRPQUOTA),dev,(qid_t)uid,addr); + } +@@ -159,7 +174,11 @@ rb_quotactl(int cmd, char *dev, VALUE vu char *path; int is_gid; uid_t uid; @@ -61,7 +69,7 @@ $NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ int i, count, ret; buff = 0; -@@ -187,12 +207,16 @@ rb_quotactl(int cmd, char *dev, VALUE vu +@@ -187,12 +206,16 @@ rb_quotactl(int cmd, char *dev, VALUE vu static int rb_quotactl(int cmd, char *dev, VALUE vuid, caddr_t addr) { @@ -79,7 +87,7 @@ $NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ switch( cmd ){ case Q_QUOTAON: case Q_QUOTAOFF: -@@ -235,7 +259,9 @@ rb_diskquota_get(VALUE dqb, struct dqblk +@@ -235,7 +258,9 @@ rb_diskquota_get(VALUE dqb, struct dqblk #if defined(USE_LINUX_QUOTA) c_dqb->dqb_bhardlimit = GetMember("bhardlimit"); c_dqb->dqb_bsoftlimit = GetMember("bsoftlimit"); @@ -90,7 +98,7 @@ $NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ c_dqb->dqb_curblocks = GetMember("curblocks"); #endif c_dqb->dqb_ihardlimit = GetMember("ihardlimit"); -@@ -274,7 +300,7 @@ rb_diskquota_new(struct dqblk *c_dqb) +@@ -274,7 +299,7 @@ rb_diskquota_new(struct dqblk *c_dqb) dqb = rb_struct_new(rb_sDiskQuota, UINT2NUM(c_dqb->dqb_bhardlimit), UINT2NUM(c_dqb->dqb_bsoftlimit), @@ -99,7 +107,7 @@ $NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ UINT2NUM(c_dqb->dqb_curspace), #else UINT2NUM(c_dqb->dqb_curblocks), -@@ -442,7 +468,7 @@ Init_quota() +@@ -442,7 +467,7 @@ Init_quota() "curinodes", "btimelimit", "itimelimit", @@ -108,7 +116,7 @@ $NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca Exp $ /* for compatibility */ #define DQ_ALIAS(a,b) rb_alias(rb_sDiskQuota,rb_intern(#a),rb_intern(#b)) -@@ -454,7 +480,7 @@ Init_quota() +@@ -454,7 +479,7 @@ Init_quota() DQ_ALIAS(fsoftlimit=, isoftlimit=); DQ_ALIAS(curfiles=, curinodes=); DQ_ALIAS(ftimelimit=, itimelimit=); |