From 9c15763d1164338486aa5bb76c41e8249d989e6c Mon Sep 17 00:00:00 2001 From: timur Date: Mon, 28 Jul 2008 00:59:48 +0000 Subject: Update net/samba3 to the 3.0.31 version. o Correct issues with running Winbind runing on a Samba PDC. o Problems with trusted Windows 2008 domains. o Difficulty joining an NT4 or Windows 2000 AD domain. Fix NFS quota handling --- net/samba3/Makefile | 2 +- net/samba3/distinfo | 6 +++--- net/samba3/files/patch-smbd_quotas.c | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 net/samba3/files/patch-smbd_quotas.c (limited to 'net') 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) { -- cgit