1 Summary: Coda distributed filesystem
6 Group: Networking/Daemons
7 Source: ftp://ftp.coda.cs.cmu.edu/pub/coda/src/%{name}-%{version}.tgz
9 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 Source package for the Coda filesystem. Three packages are provided by
13 this rpm: the client and server and the backup components. Separately
14 you must install a kernel module, or have a Coda enabled kernel, and
15 you should get the Coda documentation package.
18 Pakiet ¼ród³owy systemu plików Coda. Rpm zawiera trzy pakiety: klienta, serwer
19 oraz komponenty do backupu. Nale¿y oddzielnie zainstalowaæ modu³ do j±dra
20 (lub mieæ j±dro z obs³ug± Cody), nale¿y rownie¿ zaopatrzyæ siê w pakiet
25 Group: Networking/Daemons
28 This package contains the main client program, the cachemanager Venus.
29 Also included are the binaries for the cfs, utilities for logging, ACL
30 manipulation etc, the hoarding tools for use with laptops and repair
31 tools for fixing conflicts. Finally there is the cmon and codacon
32 console utilities to monitor Coda's activities. You need a Coda
33 kernel-module for your kernel version, or Coda in your kernel, to have
34 a complete coda client. Make sure to select the correct C library
39 Group: Networking/Daemons
42 This package contains the fileserver codasrv for the coda filesystem,
43 as well as the volume utilities. For highest performance you will
44 need a modified kernel with inode system calls.
47 Summary: Coda backup coordinator
48 Group: Networking/Daemons
50 This package contains the backup software for the coda filesystem, as
51 well as the volume utilities.
57 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
58 ./configure %{_target_platform} \
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT/usr/coda/venus.cache $RPM_BUILD_ROOT/dev \
65 $RPM_BUILD_ROOT/usr/coda/etc \
66 $RPM_BUILD_ROOT/coda $RPM_BUILD_ROOT/etc/rc.d/init.d\
67 $RPM_BUILD_ROOT%{_libdir}/coda
72 touch $RPM_BUILD_ROOT/usr/coda/venus.cache/INIT
73 mknod $RPM_BUILD_ROOT/dev/cfs0 c 67 0
74 touch $RPM_BUILD_ROOT/coda/NOT_REALLY_CODA
77 rm -rf $RPM_BUILD_ROOT
80 grep "^coda" /proc/mounts > /dev/null 2>&1
82 echo "*** Coda is mounted: cannot install ***"
89 grep "^coda" /proc/mounts > /dev/null 2>&1
91 echo "*** Coda is mounted: cannot uninstall ***"
98 if [ -e /usr/coda/etc/vstab ]; then
99 touch /usr/coda/venus.cache/INIT
101 %{_sbindir}/venus-setup testserver.coda.cs.cmu.edu 40000
105 if [ ! -x %{_bindir}/tixindex ]; then
106 chmod a+x %{_bindir}/tixindex
109 #if [ ! -f %{_bindir}/tixwish ]; then
110 # ln -s %{_bindir}/tixwish* /usr/bin/tixwish
111 # if [ x$? != x0 ]; then
112 # echo "**WARNING: tixwish is not correctly installed"
115 /sbin/chkconfig --add venus.init
118 /sbin/chkconfig --del venus.init
121 /sbin/chkconfig --add update.init
122 /sbin/chkconfig --add auth2.init
123 /sbin/chkconfig --add codasrv.init
126 /sbin/chkconfig --del update.init
127 /sbin/chkconfig --del auth2.init
128 /sbin/chkconfig --del codasrv.init
134 %dir /usr/coda/venus.cache
135 %verify() /usr/coda/venus.cache/INIT
136 /etc/rc.d/init.d/venus.init
138 %verify() /coda/NOT_REALLY_CODA
139 %{_sbindir}/venus-setup
143 %{_bindir}/advice_srv
157 %{_bindir}/filerepair
161 %{_bindir}/logbandwidth
163 %{_bindir}/logreintegration
165 %{_libdir}/coda/Advice.tcl
166 %{_libdir}/coda/CodaConsole
167 %{_libdir}/coda/Consider.tcl
168 %{_libdir}/coda/ConsiderAdding.tcl
169 %{_libdir}/coda/ConsiderRemoving.tcl
170 %{_libdir}/coda/ControlPanel.tcl
171 %{_libdir}/coda/Date.tcl
172 %{_libdir}/coda/DiscoMiss.tcl
173 %{_libdir}/coda/Events.tcl
174 %{_libdir}/coda/Globals.tcl
175 %{_libdir}/coda/Helper.tcl
176 %{_libdir}/coda/HoardWalk.tcl
177 %{_libdir}/coda/HoardWalkAdvice.tcl
178 %{_libdir}/coda/Indicators.tcl
179 %{_libdir}/coda/Initialization.tcl
180 %{_libdir}/coda/Lock.tcl
181 %{_libdir}/coda/Log.tcl
182 %{_libdir}/coda/Network.tcl
183 %{_libdir}/coda/OutsideWorld.tcl
184 %{_libdir}/coda/ReadMiss.tcl
185 %{_libdir}/coda/Reconnection.tcl
186 %{_libdir}/coda/Reintegration.tcl
187 %{_libdir}/coda/Repair.tcl
188 %{_libdir}/coda/Space.tcl
189 %{_libdir}/coda/Task.tcl
190 %{_libdir}/coda/Timing.tcl
191 %{_libdir}/coda/Tokens.tcl
192 %{_libdir}/coda/WeakMiss.tcl
193 %{_libdir}/coda/tixCodaMeter.tcl
198 %{_sbindir}/startserver
199 %{_sbindir}/partial-reinit.sh
200 %{_sbindir}/createvol_rep
202 %{_sbindir}/purgevol_rep
203 %{_sbindir}/bldvldb.sh
204 %{_sbindir}/vice-setup
205 %{_sbindir}/vice-setup-rvm
206 %{_sbindir}/vice-setup-srvdir
207 %{_sbindir}/vice-setup-user
208 %{_sbindir}/vice-setup-scm
209 %{_sbindir}/vice-setup-ports
210 %{_sbindir}/vice-killvolumes
217 %{_sbindir}/rpc2portmap
218 %{_sbindir}/makeftree
220 %{_sbindir}/parserecdump
222 %{_sbindir}/printvrdb
223 %{_sbindir}/updatesrv
224 %{_sbindir}/updateclnt
225 %{_sbindir}/updatefetch
228 %{_bindir}/norton-reinit
230 /etc/rc.d/init.d/codasrv.init
231 /etc/rc.d/init.d/auth2.init
232 /etc/rc.d/init.d/update.init
235 %{_sbindir}/backup.sh
242 %{_sbindir}/updatesrv
243 %{_sbindir}/updateclnt
244 %{_sbindir}/updatefetch