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: /tmp/%{name}-%{version}-root
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.
58 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
59 ./configure %{_target_platform} \
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/usr/coda/venus.cache $RPM_BUILD_ROOT/dev \
66 $RPM_BUILD_ROOT/usr/coda/etc \
67 $RPM_BUILD_ROOT/coda $RPM_BUILD_ROOT/etc/rc.d/init.d\
68 $RPM_BUILD_ROOT%{_libdir}/coda
73 touch $RPM_BUILD_ROOT/usr/coda/venus.cache/INIT
74 mknod $RPM_BUILD_ROOT/dev/cfs0 c 67 0
75 touch $RPM_BUILD_ROOT/coda/NOT_REALLY_CODA
78 rm -rf $RPM_BUILD_ROOT
81 grep "^coda" /proc/mounts > /dev/null 2>&1
83 echo "*** Coda is mounted: cannot install ***"
90 grep "^coda" /proc/mounts > /dev/null 2>&1
92 echo "*** Coda is mounted: cannot uninstall ***"
99 if [ -e /usr/coda/etc/vstab ]; then
100 touch /usr/coda/venus.cache/INIT
102 %{_sbindir}/venus-setup testserver.coda.cs.cmu.edu 40000
106 if [ ! -x %{_bindir}/tixindex ]; then
107 chmod a+x %{_bindir}/tixindex
110 #if [ ! -f %{_bindir}/tixwish ]; then
111 # ln -s %{_bindir}/tixwish* /usr/bin/tixwish
112 # if [ x$? != x0 ]; then
113 # echo "**WARNING: tixwish is not correctly installed"
116 /sbin/chkconfig --add venus.init
119 /sbin/chkconfig --del venus.init
122 /sbin/chkconfig --add update.init
123 /sbin/chkconfig --add auth2.init
124 /sbin/chkconfig --add codasrv.init
127 /sbin/chkconfig --del update.init
128 /sbin/chkconfig --del auth2.init
129 /sbin/chkconfig --del codasrv.init
136 %dir /usr/coda/venus.cache
137 %verify() /usr/coda/venus.cache/INIT
138 /etc/rc.d/init.d/venus.init
140 %verify() /coda/NOT_REALLY_CODA
141 %{_sbindir}/venus-setup
145 %{_bindir}/advice_srv
159 %{_bindir}/filerepair
163 %{_bindir}/logbandwidth
165 %{_bindir}/logreintegration
167 %{_libdir}/coda/Advice.tcl
168 %{_libdir}/coda/CodaConsole
169 %{_libdir}/coda/Consider.tcl
170 %{_libdir}/coda/ConsiderAdding.tcl
171 %{_libdir}/coda/ConsiderRemoving.tcl
172 %{_libdir}/coda/ControlPanel.tcl
173 %{_libdir}/coda/Date.tcl
174 %{_libdir}/coda/DiscoMiss.tcl
175 %{_libdir}/coda/Events.tcl
176 %{_libdir}/coda/Globals.tcl
177 %{_libdir}/coda/Helper.tcl
178 %{_libdir}/coda/HoardWalk.tcl
179 %{_libdir}/coda/HoardWalkAdvice.tcl
180 %{_libdir}/coda/Indicators.tcl
181 %{_libdir}/coda/Initialization.tcl
182 %{_libdir}/coda/Lock.tcl
183 %{_libdir}/coda/Log.tcl
184 %{_libdir}/coda/Network.tcl
185 %{_libdir}/coda/OutsideWorld.tcl
186 %{_libdir}/coda/ReadMiss.tcl
187 %{_libdir}/coda/Reconnection.tcl
188 %{_libdir}/coda/Reintegration.tcl
189 %{_libdir}/coda/Repair.tcl
190 %{_libdir}/coda/Space.tcl
191 %{_libdir}/coda/Task.tcl
192 %{_libdir}/coda/Timing.tcl
193 %{_libdir}/coda/Tokens.tcl
194 %{_libdir}/coda/WeakMiss.tcl
195 %{_libdir}/coda/tixCodaMeter.tcl
200 %{_sbindir}/startserver
201 %{_sbindir}/partial-reinit.sh
202 %{_sbindir}/createvol_rep
204 %{_sbindir}/purgevol_rep
205 %{_sbindir}/bldvldb.sh
206 %{_sbindir}/vice-setup
207 %{_sbindir}/vice-setup-rvm
208 %{_sbindir}/vice-setup-srvdir
209 %{_sbindir}/vice-setup-user
210 %{_sbindir}/vice-setup-scm
211 %{_sbindir}/vice-setup-ports
212 %{_sbindir}/vice-killvolumes
219 %{_sbindir}/rpc2portmap
220 %{_sbindir}/makeftree
222 %{_sbindir}/parserecdump
224 %{_sbindir}/printvrdb
225 %{_sbindir}/updatesrv
226 %{_sbindir}/updateclnt
227 %{_sbindir}/updatefetch
230 %{_bindir}/norton-reinit
232 /etc/rc.d/init.d/codasrv.init
233 /etc/rc.d/init.d/auth2.init
234 /etc/rc.d/init.d/update.init
237 %{_sbindir}/backup.sh
244 %{_sbindir}/updatesrv
245 %{_sbindir}/updateclnt
246 %{_sbindir}/updatefetch