Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 08:41:52 -0300
From:      lioux@uol.com.br
To:        freebsd-ports@freebsd.org
Subject:   Coda 5.3.6 port testing
Message-ID:  <20000414084152.C69276@Fedaykin.here>

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

	I finished fixing the Coda 5.3.6 port files yesterday.
	They work beautifully. However, I began tweaking with them and they
sort of disliked it. :)
	I am trying to move all maintance from the coda5-client to the
coda5-server port, i.e., following the netscape port structure idea. The
only thing I'll leave behind is the pkg dir (MESSAGE and stuff should always
be different).
	Everything pretty much works. Nevertheless, the coda5-client port
refuses to understand that files/md5 resides on the coda5-server dir. This
is odd, for it understands patches is there. You see, it complains about one
but not the other.
	Anyone willing to provide me with some spare time to help me debug
this out? So that, we can all enjoy 5.3.6? I am already using it at the Univ
Lab I admin, it is much better than 5.3.2; or seems so. ;)
	I am providing shar files for both port files. However, you will
need PRs ports/17941, ports/17942 and ports/17943 to get these working.
	Will? Willing to lend me some of your not-so-spare time? :)

--
Regards, mferreira

--

# Coda Server
#
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	coda5_server
#	coda5_server/Makefile
#	coda5_server/files
#	coda5_server/files/md5
#	coda5_server/pkg
#	coda5_server/pkg/COMMENT
#	coda5_server/pkg/DESCR
#	coda5_server/pkg/PLIST
#	coda5_server/patches
#	coda5_server/patches/patch-aa
#	coda5_server/patches/patch-ab
#	coda5_server/patches/patch-ac
#
echo c - coda5_server
mkdir -p coda5_server > /dev/null 2>&1
echo x - coda5_server/Makefile
sed 's/^X//' >coda5_server/Makefile << 'END-of-coda5_server/Makefile'
X# New ports collection makefile for:	coda-server
X# Date created:				Mon Oct 18 12:01:28 EDT 1999
X# Whom:					???
X# $FreeBSD$
X#
X
XPORTNAME=	coda
XPORTVERSION=	5.3.6
XPKGNAMESUFFIX=	-${CODASUITE}
XDISTNAME=	coda-${PORTVERSION}
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.coda.cs.cmu.edu/pub/coda/src/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	rvb@cs.cmu.edu
X
XLIB_DEPENDS+=	gdbm.2:${PORTSDIR}/databases/gdbm \
X		lwp.1:${PORTSDIR}/devel/lwp \
X		rpc2.1:${PORTSDIR}/devel/rpc2 \
X		rvm.1:${PORTSDIR}/devel/rvm
X
XALL_TARGET=	coda
XINSTALL_TARGET=	${CODASUITE}-install
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
XCODASUITE?=	server
X
X.if !defined(_PREMKINCLUDED)
X.include <bsd.port.pre.mk>
X.endif
X
X# hack to allow slave ports to include bsd.port.pre.mk and then this file
X.if defined(_PREMKINCLUDED)
X.include <bsd.port.post.mk>
X.else
X.include <bsd.port.mk>
X.endif
END-of-coda5_server/Makefile
echo c - coda5_server/files
mkdir -p coda5_server/files > /dev/null 2>&1
echo x - coda5_server/files/md5
sed 's/^X//' >coda5_server/files/md5 << 'END-of-coda5_server/files/md5'
XMD5 (coda-5.3.6.tgz) = 8752433b56edd333c1a08f1d315f8c11
END-of-coda5_server/files/md5
echo c - coda5_server/pkg
mkdir -p coda5_server/pkg > /dev/null 2>&1
echo x - coda5_server/pkg/COMMENT
sed 's/^X//' >coda5_server/pkg/COMMENT << 'END-of-coda5_server/pkg/COMMENT'
XServer programs for a replicated high-performance network file system
END-of-coda5_server/pkg/COMMENT
echo x - coda5_server/pkg/DESCR
sed 's/^X//' >coda5_server/pkg/DESCR << 'END-of-coda5_server/pkg/DESCR'
XCoda is a distributed file system.  Among its features are disconnected
Xoperation, good security model, server replication and persistent
Xclient side caching.
X
XThis package builds the entire source tree but only installs(/packages)
Xthe server side programs.
X
XFor more info, contact information available below.
X
XEMAIL: coda@cs.cmu.edu
XWWW: http://www.coda.cs.cmu.edu/
END-of-coda5_server/pkg/DESCR
echo x - coda5_server/pkg/PLIST
sed 's/^X//' >coda5_server/pkg/PLIST << 'END-of-coda5_server/pkg/PLIST'
Xbin/norton
Xbin/norton-reinit
Xbin/reinit
Xsbin/au
Xsbin/auth2
Xsbin/backup
Xsbin/backup.sh
Xsbin/bldvldb.sh
Xsbin/codasrv
Xsbin/codastart
Xsbin/createvol_rep
Xsbin/initpw
Xsbin/inoder
Xsbin/makeftree
Xsbin/merge
Xsbin/parserecdump
Xsbin/partial-reinit.sh
Xsbin/pdbtool
Xsbin/printvrdb
Xsbin/purgevol
Xsbin/purgevol_rep
Xsbin/pwdtopdbtool.py
Xsbin/readdump
Xsbin/rpc2portmap
Xsbin/startserver
Xsbin/tape.pl
Xsbin/updateclnt
Xsbin/updatefetch
Xsbin/updatesrv
Xsbin/vice-killvolumes
Xsbin/vice-setup
Xsbin/vice-setup-ports
Xsbin/vice-setup-rvm
Xsbin/vice-setup-scm
Xsbin/vice-setup-srvdir
Xsbin/vice-setup-user
Xsbin/volutil
Xetc/rc.d/rc.vice
END-of-coda5_server/pkg/PLIST
echo c - coda5_server/patches
mkdir -p coda5_server/patches > /dev/null 2>&1
echo x - coda5_server/patches/patch-aa
sed 's/^X//' >coda5_server/patches/patch-aa << 'END-of-coda5_server/patches/patch-aa'
XSome bug inside gcc version 2.95.2 19991024 (release) because
Xresolver.cc will not compile without -pedantic. Go figure.
XAdding -pedantic to CXXFLAGS just breaks the other src files.
X
X--- Makefile.in.ORIG	Thu Apr 13 14:36:15 2000
X+++ coda-src/asr/Makefile.in	Thu Apr 13 14:37:56 2000
X@@ -44,6 +44,9 @@
X 
X YFLAGS= -d
X 
X+resolver.o: resolver.cc
X+	$(CXX) $(CXXFLAGS) -pedantic -c $<
X+
X resolver_parser.c: resolver_parser.h
X resolver_parser.h: resolver_parser.y
X 	$(YACC) $(YFLAGS) $< && mv y.tab.c $*.c && mv y.tab.h $*.h
END-of-coda5_server/patches/patch-aa
echo x - coda5_server/patches/patch-ab
sed 's/^X//' >coda5_server/patches/patch-ab << 'END-of-coda5_server/patches/patch-ab'
XAnother odd behavior. I tried a -I parameter as both a relative
Xreference and an absolute reference: none worked; hence, the hard
Xcoded reference. Hand tweaking it seems to have done the trick.
XGo figure.
X
X--- ftreeifs.h.ORIG	Thu Apr 13 01:37:12 2000
X+++ coda-src/partition/ftreeifs.h	Thu Apr 13 01:40:38 2000
X@@ -17,7 +17,7 @@
X #*/
X 
X #include <lwp/lock.h>
X-#include <bitvect.h>
X+#include "../../include/bitvect.h"
X 
X #define RESOURCEDB "FTREEDB"
X struct part_ftree_opts {
END-of-coda5_server/patches/patch-ab
echo x - coda5_server/patches/patch-ac
sed 's/^X//' >coda5_server/patches/patch-ac << 'END-of-coda5_server/patches/patch-ac'
XSome bug inside gcc version 2.95.2 19991024 (release) because
Xcodacon.cc will not compile without -pedantic. Go figure.
XI could do CXXFLAGS := -pendatic but that would add it to
Xsrc files that don't actually need it.
X
X--- Makefile.in.ORIG	Thu Apr 13 14:39:22 2000
X+++ coda-src/vtools/Makefile.in	Thu Apr 13 14:39:59 2000
X@@ -45,6 +45,9 @@
X cmon: cmon.o $(CMON_LIBS)
X 	$(CXX) $(LDFLAGS) cmon.o $(CMON_LIBS) $(LIBRPC2) $(LIBSE) $(LIBLWP) $(LIBCOMPAT) $(STD_LIBS) -o cmon
X 
X+codacon.o:   codacon.cc
X+	$(CXX) $(CXXFLAGS) -pedantic -c $<
X+
X codacon:    codacon.o
X 	$(CXX) $(LDFLAGS) codacon.o $(LIBBASE) $(LIBS) -o codacon
X 
END-of-coda5_server/patches/patch-ac
exit


--

# Coda client
#
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	coda5_client
#	coda5_client/pkg
#	coda5_client/pkg/COMMENT
#	coda5_client/pkg/DESCR
#	coda5_client/pkg/PLIST
#	coda5_client/Makefile
#
echo c - coda5_client
mkdir -p coda5_client > /dev/null 2>&1
echo c - coda5_client/pkg
mkdir -p coda5_client/pkg > /dev/null 2>&1
echo x - coda5_client/pkg/COMMENT
sed 's/^X//' >coda5_client/pkg/COMMENT << 'END-of-coda5_client/pkg/COMMENT'
XClient programs for a replicated high-performance network file system
END-of-coda5_client/pkg/COMMENT
echo x - coda5_client/pkg/DESCR
sed 's/^X//' >coda5_client/pkg/DESCR << 'END-of-coda5_client/pkg/DESCR'
XCoda is a distributed file system.  Among its features are disconnected
Xoperation, good security model, server replication and persistent
Xclient side caching.
X
XThis package builds the entire source tree but only installs(/packages)
Xthe client side programs.
X
XFor more info, contact information available below.
X
XEMAIL: coda@cs.cmu.edu
XWWW: http://www.coda.cs.cmu.edu/
END-of-coda5_client/pkg/DESCR
echo x - coda5_client/pkg/PLIST
sed 's/^X//' >coda5_client/pkg/PLIST << 'END-of-coda5_client/pkg/PLIST'
Xbin/advice_srv
Xbin/cfs
Xbin/clog
Xbin/cmon
Xbin/codacon
Xbin/cpasswd
Xbin/ctokens
Xbin/cunlog
Xbin/filerepair
Xbin/hoard
Xbin/logbandwidth
Xbin/logcmls
Xbin/logprogress
Xbin/logreintegration
Xbin/parser
Xbin/removeinc
Xbin/repair
Xbin/replay
Xbin/spy
Xbin/xaskuser
Xbin/xfrepair
Xlib/coda/Advice.tcl
Xlib/coda/CodaConsole
Xlib/coda/Consider.tcl
Xlib/coda/ConsiderAdding.tcl
Xlib/coda/ConsiderRemoving.tcl
Xlib/coda/ControlPanel.tcl
Xlib/coda/Date.tcl
Xlib/coda/DiscoMiss.tcl
Xlib/coda/Events.tcl
Xlib/coda/Globals.tcl
Xlib/coda/Helper.tcl
Xlib/coda/HoardWalk.tcl
Xlib/coda/HoardWalkAdvice.tcl
Xlib/coda/Indicators.tcl
Xlib/coda/Initialization.tcl
Xlib/coda/Lock.tcl
Xlib/coda/Log.tcl
Xlib/coda/Network.tcl
Xlib/coda/OutsideWorld.tcl
Xlib/coda/ReadMiss.tcl
Xlib/coda/Reconnection.tcl
Xlib/coda/Reintegration.tcl
Xlib/coda/Repair.tcl
Xlib/coda/Space.tcl
Xlib/coda/Task.tcl
Xlib/coda/Timing.tcl
Xlib/coda/Tokens.tcl
Xlib/coda/WeakMiss.tcl
Xlib/coda/tixCodaMeter.tcl
Xsbin/au
Xsbin/venus
Xsbin/venus-setup
Xsbin/volmunge
Xsbin/vutil
Xetc/coda/venus.conf.ex
X@dirrm etc/coda
X@dirrm lib/coda
END-of-coda5_client/pkg/PLIST
echo x - coda5_client/Makefile
sed 's/^X//' >coda5_client/Makefile << 'END-of-coda5_client/Makefile'
X# New ports collection makefile for:	coda-client
X# Date created:				Mon Oct  18 12:01:27 EDT 1999
X# Whom:					???
X# $FreeBSD$
X#
X
X.if !defined(PRE_MK_INCLUDED)
X.include <bsd.port.pre.mk>
X.endif
X
X# I don't know why but omitting the next line makes the PKGNAME look like
X# ${PORTNAME}-${PORTVERSION}. Ideas? If not, leave it. It works, though
X# will require maintainence which is not desirable. :)
XPKGNAME=	${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
X
X#MASTER_DIR= ${PORTSDIR}/net/coda5_server
XMASTERDIR= ../coda5_server
XPKGDIR=		${.CURDIR}/pkg
X
XCODASUITE=	client
X
XPRE_MK_INCLUDED=        yes
X.include "${MASTERDIR}/Makefile"
END-of-coda5_client/Makefile
exit


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?20000414084152.C69276>