Skip site navigation (1)Skip section navigation (2)
Date:      22 May 2000 02:50:24 -0000
From:      lioux@uol.com.br
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18736: Updated port net/coda5_server to version 5.3.7
Message-ID:  <20000522025024.60563.qmail@200-191-155-46-as.acessonet.com.br>

next in thread | raw e-mail | index | archive | help

>Number:         18736
>Category:       ports
>Synopsis:       Updated port net/coda5_server to version 5.3.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 20:00:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #16: Fri May 12 22:39:32 EST 2000     lioux@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

Updated coda to version 5.3.7 using the new framework. The
underlying library systems are now distributed as separate
packages.

Due to this, this ports depends upon PRs: ports/17941,
ports/17942 and ports/17943.

Besides, this updated port will be used to simplify the coda5_client
port since they share pretty much everything being nearly identical
in nature.

Files added:
	patches/patch-aa
	patches/patch-ab
	patches/patch-ac
	patches/patch-ad
	patches/patch-ae

>How-To-Repeat:

n/a

>Fix:

diff -urN ./Makefile /home/lioux/download/coda/net/coda5_server/Makefile
--- ./Makefile	Mon Apr 10 14:46:10 2000
+++ /home/lioux/download/coda/net/coda5_server/Makefile	Wed May 17 17:27:26 2000
@@ -4,21 +4,38 @@
 # $FreeBSD: ports/net/coda5_server/Makefile,v 1.9 2000/04/09 18:10:35 cpiazza Exp $
 #
 
-PORTNAME=	coda-server
-PORTVERSION=	5.3.2
+PORTNAME=	coda
+PORTVERSION=	${CODA_VERSION}
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.coda.cs.cmu.edu/pub/coda/src/
-DISTNAME=	coda-5.3.2
+PKGNAMESUFFIX=	-${CODA_SUITE}
+DISTNAME=	coda-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	rvb@cs.cmu.edu
 
-BUILD_DEPENDS=	${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm \
+		lwp.1:${PORTSDIR}/devel/lwp \
+		rpc2.2:${PORTSDIR}/devel/rpc2 \
+		rvm.1:${PORTSDIR}/devel/rvm
 
 ALL_TARGET=	coda
-INSTALL_TARGET=	server-install
+INSTALL_TARGET=	${CODA_SUITE}-install
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+CONFIGURE_ARGS?=	--sysconfdir=${PREFIX}/etc/rc.d
 
+CODA_SUITE?=	server
+CODA_VERSION?=	5.3.7
+
+.if !defined(_PREMKINCLUDED)
+.include <bsd.port.pre.mk>
+.endif
+
+# hack to allow slave ports to include bsd.port.pre.mk and then this file
+.if defined(_PREMKINCLUDED)
+.include <bsd.port.post.mk>
+.else
 .include <bsd.port.mk>
+.endif
diff -urN ./files/md5 /home/lioux/download/coda/net/coda5_server/files/md5
--- ./files/md5	Mon Nov  1 20:33:23 1999
+++ /home/lioux/download/coda/net/coda5_server/files/md5	Wed May 17 15:52:17 2000
@@ -1 +1 @@
-MD5 (coda-5.3.2.tgz) = ee7fc3b151792007bbe71ed5f6104436
+MD5 (coda-5.3.7.tgz) = 009564d134b26af04e95b93b6512cf63
diff -urN ./patches/patch-aa /home/lioux/download/coda/net/coda5_server/patches/patch-aa
--- ./patches/patch-aa	Wed Dec 31 21:00:00 1969
+++ /home/lioux/download/coda/net/coda5_server/patches/patch-aa	Thu Apr 13 14:50:06 2000
@@ -0,0 +1,16 @@
+Some bug inside gcc version 2.95.2 19991024 (release) because
+resolver.cc will not compile without -pedantic. Go figure.
+Adding -pedantic to CXXFLAGS just breaks the other src files.
+
+--- Makefile.in.ORIG	Thu Apr 13 14:36:15 2000
++++ coda-src/asr/Makefile.in	Thu Apr 13 14:37:56 2000
+@@ -44,6 +44,9 @@
+ 
+ YFLAGS= -d
+ 
++resolver.o: resolver.cc
++	$(CXX) $(CXXFLAGS) -pedantic -c $<
++
+ resolver_parser.c: resolver_parser.h
+ resolver_parser.h: resolver_parser.y
+ 	$(YACC) $(YFLAGS) $< && mv y.tab.c $*.c && mv y.tab.h $*.h
diff -urN ./patches/patch-ab /home/lioux/download/coda/net/coda5_server/patches/patch-ab
--- ./patches/patch-ab	Wed Dec 31 21:00:00 1969
+++ /home/lioux/download/coda/net/coda5_server/patches/patch-ab	Thu Apr 13 14:56:50 2000
@@ -0,0 +1,16 @@
+Another odd behavior. I tried a -I parameter as both a relative
+reference and an absolute reference: none worked; hence, the hard
+coded reference. Hand tweaking it seems to have done the trick.
+Go figure.
+
+--- ftreeifs.h.ORIG	Thu Apr 13 01:37:12 2000
++++ coda-src/partition/ftreeifs.h	Thu Apr 13 01:40:38 2000
+@@ -17,7 +17,7 @@
+ #*/
+ 
+ #include <lwp/lock.h>
+-#include <bitvect.h>
++#include "../../include/bitvect.h"
+ 
+ #define RESOURCEDB "FTREEDB"
+ struct part_ftree_opts {
diff -urN ./patches/patch-ac /home/lioux/download/coda/net/coda5_server/patches/patch-ac
--- ./patches/patch-ac	Wed Dec 31 21:00:00 1969
+++ /home/lioux/download/coda/net/coda5_server/patches/patch-ac	Wed May 17 15:30:50 2000
@@ -0,0 +1,16 @@
+Some bug inside gcc version 2.95.2 19991024 (release) because
+codacon.cc will not compile without -pedantic. Go figure.
+I could do CXXFLAGS := -pendatic but that would add it to
+src files that don't actually need it.
+
+--- Makefile.in.ORIG	Thu Apr 13 14:39:22 2000
++++ coda-src/vtools/Makefile.in	Thu Apr 13 14:39:59 2000
+@@ -45,6 +45,9 @@
+ cmon: cmon.o $(CMON_LIBS)
+ 	$(CXX) $(LDFLAGS) cmon.o $(CMON_LIBS) $(LIBRPC2) $(LIBSE) $(LIBLWP) $(LIBCOMPAT) $(STD_LIBS) -o cmon
+ 
++codacon.o:   codacon.cc
++	$(CXX) $(CXXFLAGS) -pedantic -c $<
++
+ codacon:    codacon.o
+ 	$(CXX) $(LDFLAGS) codacon.o $(LIBBASE) $(LIBS) -o codacon
diff -urN ./patches/patch-ad /home/lioux/download/coda/net/coda5_server/patches/patch-ad
--- ./patches/patch-ad	Wed Dec 31 21:00:00 1969
+++ /home/lioux/download/coda/net/coda5_server/patches/patch-ad	Wed May 17 14:29:13 2000
@@ -0,0 +1,10 @@
+--- updatecommon.cc.ORIG	Wed May 17 14:26:42 2000
++++ coda-src/update/updatecommon.cc	Wed May 17 14:28:06 2000
+@@ -27,6 +27,7 @@
+ }
+ #endif __cplusplus
+ 
++#include <string.h>
+ #include <sys/types.h>
+ #include <fcntl.h>
+ #include <util.h>
diff -urN ./patches/patch-ae /home/lioux/download/coda/net/coda5_server/patches/patch-ae
--- ./patches/patch-ae	Wed Dec 31 21:00:00 1969
+++ /home/lioux/download/coda/net/coda5_server/patches/patch-ae	Wed May 17 15:30:38 2000
@@ -0,0 +1,18 @@
+--- rc.vice.in.ORIG	Wed May 17 15:28:45 2000
++++ coda-src/scripts/rc.vice.in	Wed May 17 15:29:24 2000
+@@ -51,7 +51,7 @@
+ }
+ 
+ # See how we were called.
+-case "$1" in
++case "${1:-start}" in
+   start)
+ 	# start auth2 & update stuff: first the scm case
+     	echon "Starting Coda Services: "
+@@ -100,6 +100,7 @@
+ 	;;
+   *)
+ 	echo "Usage: $0 {start|stop}"
++	echo "       no parameters mean start"
+ 	exit 1
+ esac
diff -urN ./pkg/DESCR /home/lioux/download/coda/net/coda5_server/pkg/DESCR
--- ./pkg/DESCR	Mon May  3 02:25:17 1999
+++ /home/lioux/download/coda/net/coda5_server/pkg/DESCR	Thu Apr 13 15:04:20 2000
@@ -1,10 +1,11 @@
 Coda is a distributed file system.  Among its features are disconnected
-operation, good security model, server replication and persistent client
-side caching. 
+operation, good security model, server replication and persistent
+client side caching.
 
-This package builds the entire source tree but only installs(/packages) the
-server side programs.
+This package builds the entire source tree but only installs(/packages)
+the server side programs.
 
-For more info, contact <coda@cs.cmu.edu> or visit the website.
+For more info, contact information available below.
 
-WWW: http://www.coda.cs.cmu.edu
+EMAIL: coda@cs.cmu.edu
+WWW: http://www.coda.cs.cmu.edu/
diff -urN ./pkg/PLIST /home/lioux/download/coda/net/coda5_server/pkg/PLIST
--- ./pkg/PLIST	Mon Nov  1 20:33:23 1999
+++ /home/lioux/download/coda/net/coda5_server/pkg/PLIST	Thu Apr 13 15:33:19 2000
@@ -1,12 +1,13 @@
-bin/filcon
 bin/norton
 bin/norton-reinit
 bin/reinit
+sbin/au
 sbin/auth2
 sbin/backup
 sbin/backup.sh
 sbin/bldvldb.sh
 sbin/codasrv
+sbin/codastart
 sbin/createvol_rep
 sbin/initpw
 sbin/inoder
@@ -19,10 +20,8 @@
 sbin/purgevol
 sbin/purgevol_rep
 sbin/pwdtopdbtool.py
-sbin/rdsinit
 sbin/readdump
 sbin/rpc2portmap
-sbin/rvmutl
 sbin/startserver
 sbin/tape.pl
 sbin/updateclnt

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000522025024.60563.qmail>