10 Commits

2 changed files with 66 additions and 18 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
%define majversion %(echo %version | cut -d. -f 1-2)
Name: krb5
Version: 1.13.1
Version: 1.18.2
Release: 1mamba
Summary: The kerberos network authentication system
Group: Applications/Security
@ -10,15 +10,16 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://web.mit.edu/kerberos/
Source0: http://web.mit.edu/kerberos/dist/krb5/%{majversion}/krb5-%{version}-signed.tar
Source0: http://web.mit.edu/kerberos/dist/krb5/%{majversion}/krb5-%{version}.tar.gz
Source1: krb5-conf
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libe2fs-devel
BuildRequires: libkeyutils-devel
## AUTOBUILDREQ-END
BuildRequires: libverto-devel
## AUTOBUILDREQ-END
BuildRequires: libopenssl-devel
%if "%{stage1}" != "1"
BuildRequires: libtcl >= 8.4.4
@ -49,6 +50,7 @@ The %{name}-server package contains the programs that must be installed on a Ker
%package -n %{libname}
Group: System/Libraries
Summary: The shared libraries used by Kerberos 5
Requires: %{name} = %{version}-%{release}
%description -n %{libname}
Kerberos V5 is a trusted-third-party network authentication system.
@ -84,11 +86,10 @@ Conflicts: telnet
Kerberos V5 is a trusted-third-party network authentication system.
This package contains the kerberos Telnet client.
%debug_package
%prep
%setup -q -c krb5-%{version}
tar xzf krb5-%{version}.tar.gz
mv krb5-%{version}/* .
rmdir krb5-%{version}
%setup -q
#gzip doc/*.ps
# fix paths of `comm_err.h' header files
@ -99,14 +100,12 @@ cd src
#export DB_LIB="-ldb-4"
#export SS_LIB="-lss -lcom_err"
%configure \
--with-krb4 \
--with-tcl=%{_prefix}/lib/tcl`pkg-config --modversion tcl | cut -d. -f1-2` \
--enable-shared \
--enable-dns \
--cache-file= \
--with-system-et \
--with-system-ss \
--with-system-verto \
--with-tcl=%{_libdir} \
--enable-dns-for-realm \
CFLAGS="-I%{_includedir}/et" \
%if "%{_host}" != "%{_build}"
LDFLAGS="-ldl -lpthread"
@ -181,6 +180,7 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%files -n krb5 -f mit-krb5.lang
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/krb5.conf
%{_bindir}/gss-client
%{_bindir}/kdestroy
%{_bindir}/kinit
@ -241,6 +241,7 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%{_sbindir}/sim_server
%{_mandir}/man1/krb5-config.1*
%{_mandir}/man5/kdc.conf.5*
%{_mandir}/man7/kerberos.7*
%{_mandir}/man8/kadmind.8*
%{_mandir}/man8/kadmin.local.8*
%{_mandir}/man8/kdb5_util.8*
@ -254,14 +255,21 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%files -n %{libname}
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/krb5.conf
%{_libdir}/*.so.*
%{_libdir}/libgssapi_krb5.so.*
%{_libdir}/libgssrpc.so.*
%{_libdir}/libk5crypto.so.*
%{_libdir}/libkadm5clnt_mit.so.*
%{_libdir}/libkadm5srv_mit.so.*
%{_libdir}/libkdb5.so.*
%{_libdir}/libkrad.so.*
%{_libdir}/libkrb5.so.*
%{_libdir}/libkrb5support.so.*
%dir %{_libdir}/krb5/plugins
%dir %{_libdir}/krb5/plugins/kdb
%{_libdir}/krb5/plugins/kdb/db2.so
%{_libdir}/krb5/plugins/kdb/klmdb.so
%dir %{_libdir}/krb5/plugins/preauth
%{_libdir}/krb5/plugins/preauth/otp.so
%{_libdir}/krb5/plugins/preauth/pkinit.so
%{_libdir}/krb5/plugins/preauth/*.so
%dir %{_libdir}/krb5/plugins/tls
%{_libdir}/krb5/plugins/tls/k5tls.so
%doc README
@ -280,7 +288,17 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%{_includedir}/gssapi/*.h
%dir %{_includedir}/gssrpc
%{_includedir}/gssrpc/*.h
%{_libdir}/*.so
%{_libdir}/libgssapi_krb5.so
%{_libdir}/libgssrpc.so
%{_libdir}/libk5crypto.so
%{_libdir}/libkadm5clnt.so
%{_libdir}/libkadm5clnt_mit.so
%{_libdir}/libkadm5srv.so
%{_libdir}/libkadm5srv_mit.so
%{_libdir}/libkdb5.so
%{_libdir}/libkrad.so
%{_libdir}/libkrb5.so
%{_libdir}/libkrb5support.so
# `sclient' and `sserver' are useful for testing purpose
#%{_bindir}/sclient
#%{_sbindir}/sserver
@ -292,7 +310,7 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%{_libdir}/pkgconfig/krb5.pc
%{_libdir}/pkgconfig/mit-krb5-gssapi.pc
%{_libdir}/pkgconfig/mit-krb5.pc
%doc doc/api doc/kadm5 doc/kadmin doc/krb5-protocol doc/rpc
%doc doc/kadm5 doc/rpc
#%files ftp
#%defattr(-,root,root)
@ -305,6 +323,36 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
#%{_mandir}/man1/telnet.*
%changelog
* Sun Jun 14 2020 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
- automatic version update by autodist
* Sun May 24 2020 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
- automatic version update by autodist
* Tue May 12 2020 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
- automatic version update by autodist
* Sun May 26 2019 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
- automatic version update by autodist
* Thu Aug 23 2018 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
- automatic version update by autodist
* Thu Dec 21 2017 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
- automatic version update by autodist
* Wed Oct 04 2017 Automatic Build System <autodist@mambasoft.it> 1.15.2-1mamba
- automatic version update by autodist
* Sat Aug 05 2017 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.4-1mamba
- update to 1.14.4
* Sat Jun 06 2015 Automatic Build System <autodist@mambasoft.it> 1.13.2-1mamba
- automatic update by autodist
* Tue Feb 17 2015 Automatic Build System <autodist@mambasoft.it> 1.13.1-1mamba
- automatic version update by autodist
@ -349,7 +397,7 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
* Wed Jun 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-6qilnx
- added default configuration file (/etc/krb5.conf)
* Wed Mar 31 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-5qilnx
* Thu Mar 31 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-5qilnx
- fixed security issue QSA-2005-033 (CAN-2005-0468)
* Wed Jan 05 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-3qilnx