1 Summary: A program that can install and uninstall OpenAFS for Linux (command line only).
2 Name: openafs-tools-cmd
7 Group: Applications/File
8 Source: openafs-tools-cmd.tar
9 Conflicts: openafs-tools
10 Requires: openafs, openafs-kernel, openafs-client, openafs-server
11 BuildRoot: /var/tmp/%{name}-buildroot
14 This rpm will extract and install the files needed to install and uninstall
15 OpenAFS on a Linux system.
19 gunzip afs_linux.tar.gz
26 rm -rf $RPM_BUILD_ROOT
31 echo -e "WARNING: Operating system is not Linux.\n openafs-tools has only been tested on Red Hat Linux, so proceed with caution."
33 if [ ! -e /usr/src/redhat ]; then
34 echo -e "WARNING: This operating system may not be Red Hat Linux.\nopenafs-tools has only been tested on Red Hat, so proceed with caution."
41 if [ $vermaj != "2.2" -a $vermaj != "2.4" ]; then
42 echo -e "WARNING: Kernel version is not 2.2 or 2.4.\n openafs-tools-client has only been tested on kernel versions 2.2 and 2.4, so proceed with caution."
47 rm -f /usr/afs/tools/install/*install_output*
48 rm -rf /usr/afs/tools/install/afs
49 rm -rf /usr/afs/tools/install/vice
50 rm -rf /usr/afs/tools/install/done.txt
53 rm -rf $RPM_BUILD_ROOT
56 %doc openafs-tools-cmd.README
57 /usr/afs/tools/openafs-tools-cmd.README
58 /usr/afs/tools/install/.afs_state
59 /usr/afs/tools/install/afsinit_both
60 /usr/afs/tools/install/afsinit_client
61 /usr/afs/tools/install/afsinit_server
62 /usr/afs/tools/install/afs_uninstall
63 /usr/afs/tools/install/install_afs
64 /usr/afs/tools/install/check_udebug.pl
65 /usr/afs/tools/install/write_fstab.pl
66 /usr/afs/tools/install/write_pam.pl
67 %dir /usr/afs/tools/install/