diff options
-rw-r--r-- | net/samba3/Makefile | 2 | ||||
-rw-r--r-- | net/samba3/distinfo | 6 | ||||
-rw-r--r-- | net/samba3/files/patch-smbd_quotas.c | 20 |
3 files changed, 24 insertions, 4 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile index 990880d0d8f6..b08a09294a3b 100644 --- a/net/samba3/Makefile +++ b/net/samba3/Makefile @@ -6,7 +6,7 @@ # PORTNAME= samba -PORTVERSION?= 3.0.30 +PORTVERSION?= 3.0.31 PORTREVISION= 0 PORTEPOCH?= 1 CATEGORIES?= net diff --git a/net/samba3/distinfo b/net/samba3/distinfo index 89a9b78d1610..cbb5c7764ae4 100644 --- a/net/samba3/distinfo +++ b/net/samba3/distinfo @@ -1,3 +1,3 @@ -MD5 (samba-3.0.30.tar.gz) = d647ec1f34414fa8691f74536dcccfb5 -SHA256 (samba-3.0.30.tar.gz) = a1789d3b896aab25a20c437f028bb56bc4de8655da8e6f5e7a743922c828fa53 -SIZE (samba-3.0.30.tar.gz) = 20510081 +MD5 (samba-3.0.31.tar.gz) = 165abaf4522c70031d9a76fbb638ca06 +SHA256 (samba-3.0.31.tar.gz) = b44f0b0fd79a25b2e6c3f3836a615c5c7d55ac65c460bd68be6380ec77abc28e +SIZE (samba-3.0.31.tar.gz) = 20514191 diff --git a/net/samba3/files/patch-smbd_quotas.c b/net/samba3/files/patch-smbd_quotas.c new file mode 100644 index 000000000000..c7433ba2991c --- /dev/null +++ b/net/samba3/files/patch-smbd_quotas.c @@ -0,0 +1,20 @@ +--- smbd/quotas.c.orig 2008-07-15 05:19:02.000000000 +0200 ++++ smbd/quotas.c 2008-07-15 05:21:24.000000000 +0200 +@@ -546,7 +546,7 @@ + *bsize = gqr.getquota_rslt_u.gqr_rquota.rq_bsize; + *dsize = D.dqb_bsoftlimit; + +- if (D.dqb_curblocks == D.dqb_curblocks == 1) ++ if (D.dqb_curblocks == 1) + *bsize = 512; + + if (D.dqb_curblocks > D.dqb_bsoftlimit) { +@@ -1091,7 +1091,7 @@ + *bsize = gqr.getquota_rslt_u.gqr_rquota.rq_bsize; + *dsize = D.dqb_bsoftlimit; + +- if (D.dqb_curblocks == D.dqb_curblocks == 1) ++ if (D.dqb_curblocks == 1) + *bsize = DEV_BSIZE; + + if (D.dqb_curblocks > D.dqb_bsoftlimit) { |