ports/50340: Patch: Update net/coda5_server to version 5.3.20
Tim Robbins
tim at robbins.dropbear.id.au
Thu Mar 27 11:10:12 UTC 2003
>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 <jaharkes at cs.cmu.edu>
* ======== 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 <bsd.port.pre.mk>
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:
More information about the freebsd-ports-bugs
mailing list