From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 27 03:10:08 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B438237B404 for ; Thu, 27 Mar 2003 03:10:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6615243FB1 for ; Thu, 27 Mar 2003 03:10:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2RBA5NS027435 for ; Thu, 27 Mar 2003 03:10:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2RBA5kI027434; Thu, 27 Mar 2003 03:10:05 -0800 (PST) Resent-Date: Thu, 27 Mar 2003 03:10:05 -0800 (PST) Resent-Message-Id: <200303271110.h2RBA5kI027434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Robbins Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00ED737B401 for ; Thu, 27 Mar 2003 03:02:40 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A4C43FAF for ; Thu, 27 Mar 2003 03:02:39 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (210.50.37.82) by smtp01.syd.iprimus.net.au (7.0.008) id 3E71077F001D5D56 for FreeBSD-gnats-submit@freebsd.org; Thu, 27 Mar 2003 22:02:38 +1100 Received: from dilbert.robbins.dropbear.id.au (qvxdx6a75b1gaypa@localhost [127.0.0.1])h2RB2QVu060033 for ; Thu, 27 Mar 2003 22:02:26 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost)h2RB2P9B060032; Thu, 27 Mar 2003 22:02:25 +1100 (EST) (envelope-from tim) Message-Id: <200303271102.h2RB2P9B060032@dilbert.robbins.dropbear.id.au> Date: Thu, 27 Mar 2003 22:02:25 +1100 (EST) From: Tim Robbins To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Spam-Status: No, hits=-6.8 required=5.0 tests=PATCH_UNIFIED_DIFF,RESENT_TO autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: ports/50340: Patch: Update net/coda5_server to version 5.3.20 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tim Robbins List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 11:10:12 -0000 >Number: 50340 >Category: ports >Synopsis: Patch: Update net/coda5_server to version 5.3.20 >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 27 03:10:04 PST 2003 >Closed-Date: >Last-Modified: >Originator: Tim Robbins >Release: N/A >Organization: The FreeBSD Project >Environment: N/A >Description: This patch updates net/coda5_server to version 5.3.20. This version fixes a number of bugs, and allows many of the local patches to be removed because the problems have been fixed by the vendor. Changelog: 2002-12-13 * ======== Release 5.3.20 ========= * Don't abort repair when some replicas cannot be found. * norton's 'show volume details' didn't work, it's 'show volumedetails' now and works. * Lots of duplicate code removed dealing with vnode lists in the servers. * Build fixes for gcc-3.2, updated configure.in to autoconf-2.5. * Fixed createvol_rep to deal with spaces in volume names. * Corrected Linux's devfs aliases in the modules.conf file. * Fixed occasional memory leak and bad free in venus. * Added 'masquerade_port' option to venus.conf to force venus to use a fixed port number when masquerading. * Kerberos cleanups and improved integration (no more special kauth2 or kclog binaries). * Reduced the size of CML entries in the client. * Fixed inverted test that blocked the creation of files named '..foo' * Keep the vnode bitmaps on the server small, servers would crash when more than 30000 files are created in a single volume. Now we should be ok until we hit about 240000. The patches supplied with these PR's should be applied too: o [2003/03/27] ports/50336 Patch: update devel/lwp to version 1.10 o [2003/03/27] ports/50337 Patch: update devel/rvm to version 1.7 o [2003/03/27] ports/50338 Patch: update devel/rpc2 to version 1.15 >How-To-Repeat: N/A >Fix: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/coda5_server/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- Makefile 5 Mar 2003 09:07:23 -0000 1.23 +++ Makefile 27 Mar 2003 10:45:27 -0000 @@ -29,7 +29,7 @@ CONFIGURE_ARGS?= --sysconfdir=${PREFIX}/etc/rc.d CODA_SUITE?= server -CODA_VERSION?= 5.3.19 +CODA_VERSION?= 5.3.20 .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/net/coda5_server/distinfo,v retrieving revision 1.17 diff -u -r1.17 distinfo --- distinfo 20 Mar 2002 20:31:37 -0000 1.17 +++ distinfo 27 Mar 2003 10:45:27 -0000 @@ -1 +1 @@ -MD5 (coda-5.3.19.tar.gz) = d3e90136f1f560b3ab7bd5550f12574e +MD5 (coda-5.3.20.tar.gz) = 91337387273f1abda9c67d1dd41d1366 Index: files/patch-aa =================================================================== RCS file: files/patch-aa diff -N files/patch-aa --- files/patch-aa 5 Mar 2003 09:07:23 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,36 +0,0 @@ ---- coda-src/update/updatesrv.cc.orig Sun Mar 2 17:55:46 2003 -+++ coda-src/update/updatesrv.cc Sun Mar 2 17:57:50 2003 -@@ -184,6 +184,7 @@ - long portmapid; - struct stat statbuf; - char *miscdir; -+ time_t tim; - - /* process the command line arguments */ - for (i = 1; i < argc; i++) { -@@ -305,7 +306,7 @@ - } - gettimeofday(&tp, &tsp); - LogMsg(0, SrvDebugLevel, stdout, -- "Update Server started %s", ctime(&tp.tv_sec)); -+ "Update Server started %s", ctime(&(tim = tp.tv_sec))); - - CODA_ASSERT(LWP_WaitProcess((char *)&parentPid) == LWP_SUCCESS); - -@@ -455,6 +456,7 @@ - char name[MAXPATHLEN]; /* area to hold the name */ - struct stat buff; /* buffer for stat */ - int len; -+ time_t tim; - - rc = 0; - -@@ -518,7 +520,7 @@ - *CurrentUsecs = tp.tv_usec; - LogMsg(2, SrvDebugLevel, stdout, - "UpdateFetch returns %s newtime is %d at %s", -- ViceErrorMsg((int)rc), *NewTime, ctime(&tp.tv_sec)); -+ ViceErrorMsg((int)rc), *NewTime, ctime(&(tim = tp.tv_sec))); - return(rc); - } - Index: files/patch-ab =================================================================== RCS file: files/patch-ab diff -N files/patch-ab --- files/patch-ab 5 Mar 2003 09:07:23 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,39 +0,0 @@ ---- coda-src/update/updateclnt.cc.orig Sun Mar 2 17:58:32 2003 -+++ coda-src/update/updateclnt.cc Sun Mar 2 17:59:25 2003 -@@ -152,6 +152,7 @@ - int i, rc; - int len; - char errmsg[MAXPATHLEN]; -+ time_t tim; - - *host = '\0'; - -@@ -226,7 +227,7 @@ - gettimeofday(&tp, &tsp); - LogMsg(0, SrvDebugLevel, stdout, - "Update Client pid = %d started at %s", -- getpid(), ctime(&tp.tv_sec)); -+ getpid(), ctime(&(tim = tp.tv_sec))); - - time.tv_sec = waitinterval; - time.tv_usec = 0; -@@ -688,16 +689,17 @@ - { - struct timeval tv; - struct timezone tz; -+ time_t tim; - - if(rename("UpdateLog","UpdateLog.old")) { - LogMsg(0, SrvDebugLevel, stdout, "Rename for UpdateLog failed with a %s\n", ViceErrorMsg(errno)); - } - else { - gettimeofday(&tv, &tz); -- LogMsg(0, SrvDebugLevel, stdout, "Moving UpdateLog to UpdateLog.old at %s", ctime(&tv.tv_sec)); -+ LogMsg(0, SrvDebugLevel, stdout, "Moving UpdateLog to UpdateLog.old at %s", ctime(&(tim = tv.tv_sec))); - freopen("UpdateLog","a+",stdout); - freopen("UpdateLog","a+",stderr); -- LogMsg(0, SrvDebugLevel, stdout, "New UpdateLog started at %s", ctime(&tv.tv_sec)); -+ LogMsg(0, SrvDebugLevel, stdout, "New UpdateLog started at %s", ctime(&(tim = tv.tv_sec))); - } - } - Index: files/patch-ac =================================================================== RCS file: files/patch-ac diff -N files/patch-ac --- files/patch-ac 5 Mar 2003 09:07:23 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,20 +0,0 @@ ---- coda-src/venus/fso_cachefile.cc.orig Sun Mar 2 17:32:28 2003 -+++ coda-src/venus/fso_cachefile.cc Sun Mar 2 17:33:30 2003 -@@ -132,7 +132,7 @@ - /* Must be called from within a transaction! Assume caller has done - RVMLIB_REC_OBJECT() */ - --void CacheFile::Create(int newlength = 0) -+void CacheFile::Create(int newlength) - { - LOG(10, ("CacheFile::Create: %s, %d\n", name, newlength)); - -@@ -183,7 +183,7 @@ - return 0; - } - --int CacheFile::Copy(char *destname, ino_t *ino, int recovering = 0) -+int CacheFile::Copy(char *destname, ino_t *ino, int recovering) - { - LOG(10, ("CacheFile::Copy: from %s, %d, %d/%d, to %s\n", - name, inode, validdata, length, destname)); Index: files/patch-af =================================================================== RCS file: files/patch-af diff -N files/patch-af --- files/patch-af 5 Mar 2003 09:07:23 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ ---- tools/our-install.orig Sun Mar 2 17:18:33 2003 -+++ tools/our-install Sun Mar 2 17:21:13 2003 -@@ -11,8 +11,10 @@ - PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb - export PATH - --if [ $SYS = NetBSD -o $SYS = FreeBSD -o $SYS = OpenBSD ] ; then -+if [ $SYS = NetBSD -o $SYS = OpenBSD ] ; then - OWNGRP=root.wheel -+elif [ $SYS = FreeBSD ] ; then -+OWNGRP=root:wheel - else - OWNGRP=root:root - fi >Release-Note: >Audit-Trail: >Unformatted: