%define debugspec 0
%endif
-# Specify '--with kauth' if you want to include the legacy kaserver and related
-# programs.
+# Specify '--with kauth' if you want to build packages containing the legacy
+# kaserver and related programs.
%define kauth_support %{?_with_kauth:1}%{!?_with_kauth:0}
# Specify '--without authlibs' if you do not want to build the openafs-authlibs
--with bitmap-later Enable "bitmap later" support
--with bos-restricted Enable "bos restricted" mode
--with supergroups Enable "supergroups"
+ --with kauth Build the openafs-kauth-server and openafs-kauth-client
+ packages which contain the legacy kaserver and
+ related programs. (default: --without kauth)
--target=i386 The target architecture to build for.
programs.
%if %{kauth_support}
-%package kpasswd
-Summary: OpenAFS KA kpasswd support
+%package kauth-client
+Summary: OpenAFS Kauth Client support
Requires: openafs
Group: Networking/Filesystems
-%description kpasswd
+%description kauth-client
The AFS distributed filesystem. AFS is a distributed filesystem
allowing cross-platform sharing of files among multiple computers.
Facilities are provided for access control, authentication, backup and
administrative management.
-This package provides the kpasswd executable, renamed to kapasswd to avoid
-clashes, for sites still using KAserver instead of Krb5.
+This package provides the legacy KAServer client programs and the PAM module
+for authentication with the OpenAFS KAserver; a deprecated authentication
+service. Generally you should not install this package for new cells or for
+cells using Kerberos v5.
+
+%package kauth-server
+Summary: OpenAFS Kauth Server support
+Requires: openafs
+Group: Networking/Filesystems
+
+%description kauth-server
+The AFS distributed filesystem. AFS is a distributed filesystem
+allowing cross-platform sharing of files among multiple computers.
+Facilities are provided for access control, authentication, backup and
+administrative management.
+
+This package provides the legacy OpenAFS KAServer; a deprecated authentication
+service. Generally you should not install this package for new cells or for
+cells using Kerberos v5.
%endif
%if %{krb5support}
%{_bindir}/afsmonitor
%{_bindir}/bos
%{_bindir}/fs
-%if %{kauth_support}
-%{_bindir}/klog
-%{_bindir}/klog.krb
-%endif
%{_bindir}/pagsh
%{_bindir}/pagsh.krb
%{_bindir}/pts
%{_sbindir}/butc
%{_sbindir}/fms
%{_sbindir}/fstrace
-%if %{kauth_support}
-%{_sbindir}/kas
-%endif
%{_sbindir}/read_tape
%{_sbindir}/rxdebug
%{_sbindir}/uss
%{_mandir}/man1/afsmonitor.*
%{_mandir}/man1/fs.*
%{_mandir}/man1/fs_*.*
-%if %{kauth_support}
-%{_mandir}/man1/klog.*
-%endif
%{_mandir}/man1/pagsh.*
%{_mandir}/man1/pts.*
%{_mandir}/man1/pts_*.*
%{_mandir}/man8/fssync-debug_*.*
%{_mandir}/man8/fstrace.*
%{_mandir}/man8/fstrace_*.*
-%if %{kauth_support}
-%{_mandir}/man8/kas.*
-%{_mandir}/man8/kas_*.*
-%{_mandir}/man8/kaserver.*
-%endif
%{_mandir}/man8/read_tape.*
%{_mandir}/man8/uss.*
%{_mandir}/man8/uss_*.*
%{_prefix}/vice/etc/C/afszcm.cat
%{_libdir}/libuafs.a
%{_libdir}/libuafs_pic.a
-%if %{kauth_support}
-%{pamdir}/pam_afs.krb.so.1
-%{pamdir}/pam_afs.krb.so
-%{pamdir}/pam_afs.so.1
-%{pamdir}/pam_afs.so
-%endif
%if 0%{?fedora} < 15 && 0%{?rhel} < 7
%{initdir}/openafs-client
%else
%{_prefix}/afs/bin/davolserver
%{_prefix}/afs/bin/fileserver
%{_prefix}/afs/bin/fssync-debug
-%if %{kauth_support}
-%{_prefix}/afs/bin/kaserver
-%{_prefix}/afs/bin/ka-forwarder
-%endif
%{_prefix}/afs/bin/pt_util
%{_prefix}/afs/bin/ptserver
%{_prefix}/afs/bin/salvager
%{_prefix}/afs/bin/volinfo
%{_prefix}/afs/bin/volscan
%{_prefix}/afs/bin/volserver
-%if %{kauth_support}
-%{_sbindir}/kadb_check
-%endif
%{_sbindir}/prdb_check
%{_sbindir}/vldb_check
%{_sbindir}/vldb_convert
%{_mandir}/man5/VolserLog.*
%{_mandir}/man5/bdb.DB0.*
%{_mandir}/man5/fms.log.*
-%if %{kauth_support}
-%{_mandir}/man5/kaserver.DB0.*
-%{_mandir}/man5/kaserverauxdb.*
-%endif
%{_mandir}/man5/krb.conf.*
%{_mandir}/man5/krb.excl.*
%{_mandir}/man5/prdb.DB0.*
%{_mandir}/man8/dafileserver.*
%{_mandir}/man8/dasalvager.*
%{_mandir}/man8/davolserver.*
-%if %{kauth_support}
-%{_mandir}/man8/kadb_check.*
-%{_mandir}/man8/ka-forwarder.*
-%endif
%{_mandir}/man8/prdb_check.*
%{_mandir}/man8/ptserver.*
%{_mandir}/man8/pt_util.*
%files compat
%defattr(-,root,root)
%{_prefix}/afsws
+%exclude %{_prefix}/afsws/bin/kapasswd
+%exclude %{_prefix}/afsws/bin/klog
+%exclude %{_prefix}/afsws/bin/klog.krb
+%exclude %{_prefix}/afsws/etc/kas
%if %{kauth_support}
-%files kpasswd
+%files kauth-client
%defattr(-,root,root)
+%{_sbindir}/kas
+%{_bindir}/klog
+%{_bindir}/klog.krb
+%{pamdir}/pam_afs.krb.so.1
+%{pamdir}/pam_afs.krb.so
+%{pamdir}/pam_afs.so.1
+%{pamdir}/pam_afs.so
%{_bindir}/kapasswd
%{_bindir}/kpwvalid
+%{_prefix}/afsws/bin/kapasswd
+%{_prefix}/afsws/bin/klog
+%{_prefix}/afsws/bin/klog.krb
+%{_prefix}/afsws/etc/kas
%{_mandir}/man1/kapasswd.*
+%{_mandir}/man1/klog.*
%{_mandir}/man8/kpwvalid.*
+%{_mandir}/man8/kas.*
+%{_mandir}/man8/kas_*.*
+
+%files kauth-server
+%defattr(-,root,root)
+%{_prefix}/afs/bin/kaserver
+%{_prefix}/afs/bin/ka-forwarder
+%{_sbindir}/kadb_check
+%{_mandir}/man5/kaserver.DB0.*
+%{_mandir}/man5/kaserverauxdb.*
+%{_mandir}/man8/kadb_check.*
+%{_mandir}/man8/ka-forwarder.*
+%{_mandir}/man8/kaserver.*
%endif
%if %{krb5support}