rebuilt with system libverto [release 1.13-2mamba;Sat Feb 07 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 02:43:57 +01:00
parent de554767ca
commit e2b3c016dd
2 changed files with 64 additions and 59 deletions

123
krb5.spec
View File

@ -2,8 +2,8 @@
%define majversion %(echo %version | cut -d. -f 1-2) %define majversion %(echo %version | cut -d. -f 1-2)
Name: krb5 Name: krb5
Version: 1.8.6 Version: 1.13
Release: 1mamba Release: 2mamba
Summary: The kerberos network authentication system Summary: The kerberos network authentication system
Group: Applications/Security Group: Applications/Security
Vendor: openmamba Vendor: openmamba
@ -13,14 +13,12 @@ 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}-signed.tar
Source1: krb5-conf Source1: krb5-conf
License: MIT License: MIT
#PreReq: %{__install_info}
Requires: %{libname} = %{version}
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libe2fs-devel BuildRequires: libe2fs-devel
BuildRequires: libncurses-devel BuildRequires: libkeyutils-devel
BuildRequires: libtermcap-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libverto-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: libtcl >= 8.4.4 BuildRequires: libtcl >= 8.4.4
@ -29,6 +27,7 @@ BuildRequires: perl
BuildRequires: flex BuildRequires: flex
BuildRequires: bison BuildRequires: bison
BuildRequires: diffutils BuildRequires: diffutils
Requires: %{libname} = %{version}-%{release}
Requires(post):%{__install_info} Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -41,7 +40,7 @@ Kerberos is available in many commercial products as well.
%package server %package server
Group: System/Servers Group: System/Servers
Summary: The server programs for Kerberos 5 Summary: The server programs for Kerberos 5
Requires: %{name} = %{version} Requires: %{name} = %{version}-%{release}
%description server %description server
Kerberos V5 is a trusted-third-party network authentication system. Kerberos V5 is a trusted-third-party network authentication system.
@ -60,7 +59,7 @@ If you're using Kerberos, you'll need to install this package.
%package -n %{libname}-devel %package -n %{libname}-devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files needed for compiling kerberos 5 programs Summary: Development files needed for compiling kerberos 5 programs
Requires: %{libname} = %{version} Requires: %{libname} = %{version}-%{release}
%description -n %{libname}-devel %description -n %{libname}-devel
Kerberos V5 is a trusted-third-party network authentication system. Kerberos V5 is a trusted-third-party network authentication system.
@ -90,7 +89,7 @@ This package contains the kerberos Telnet client.
tar xzf krb5-%{version}.tar.gz tar xzf krb5-%{version}.tar.gz
mv krb5-%{version}/* . mv krb5-%{version}/* .
rmdir krb5-%{version} rmdir krb5-%{version}
gzip doc/*.ps #gzip doc/*.ps
# fix paths of `comm_err.h' header files # fix paths of `comm_err.h' header files
# find -name "*\.[hc]" -exec sed -i 's,\([<"]\)com_err.h,\1et/com_err.h,' {} \; # find -name "*\.[hc]" -exec sed -i 's,\([<"]\)com_err.h,\1et/com_err.h,' {} \;
@ -106,6 +105,8 @@ cd src
--cache-file= \ --cache-file= \
--with-system-et \ --with-system-et \
--with-system-ss \ --with-system-ss \
--with-system-verto \
--with-tcl=%{_libdir} \
CFLAGS="-I%{_includedir}/et" \ CFLAGS="-I%{_includedir}/et" \
%if "%{_host}" != "%{_build}" %if "%{_host}" != "%{_build}"
LDFLAGS="-ldl -lpthread" LDFLAGS="-ldl -lpthread"
@ -125,7 +126,7 @@ make
# info docs # info docs
install -d %{buildroot}%{_infodir} install -d %{buildroot}%{_infodir}
install -m 644 doc/*.info* %{buildroot}%{_infodir}/ #install -m 644 doc/*.info* %{buildroot}%{_infodir}/
# currently we don't use and want to use kerberos ftp and telnet daemons # currently we don't use and want to use kerberos ftp and telnet daemons
rm -f %{buildroot}%{_sbindir}/ftpd rm -f %{buildroot}%{_sbindir}/ftpd
@ -151,16 +152,18 @@ rm -rf %buildroot%{_datadir}/et
install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%find_lang mit-krb5
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n krb5 #%post -n krb5
%install_info krb5-user.info #%install_info krb5-user.info
: #:
%preun -n krb5 #%preun -n krb5
%uninstall_info krb5-user.info #%uninstall_info krb5-user.info
: #:
#%post server #%post server
#% install_info krb425.info #% install_info krb425.info
@ -176,17 +179,18 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files -n krb5 %files -n krb5 -f mit-krb5.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gss-client %{_bindir}/gss-client
%{_bindir}/kdestroy %{_bindir}/kdestroy
%{_bindir}/kinit %{_bindir}/kinit
%{_bindir}/klist %{_bindir}/klist
%{_bindir}/ktutil
%{_bindir}/kpasswd %{_bindir}/kpasswd
#%{_bindir}/krb524init %{_bindir}/kswitch
%{_bindir}/ktutil
%attr(0755,root,root) %{_bindir}/ksu %attr(0755,root,root) %{_bindir}/ksu
%{_bindir}/kvno %{_bindir}/kvno
%{_bindir}/sclient
%{_bindir}/sim_client %{_bindir}/sim_client
%{_bindir}/uuclient %{_bindir}/uuclient
#%attr(0755,root,root) %{_bindir}/v4rcp #%attr(0755,root,root) %{_bindir}/v4rcp
@ -197,36 +201,35 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
#%{_sbindir}/kshd #%{_sbindir}/kshd
#%{_sbindir}/login.krb5 #%{_sbindir}/login.krb5
%{_sbindir}/uuserver %{_sbindir}/uuserver
%{_infodir}/krb5-user.info* #%{_infodir}/krb5-user.info*
%{_mandir}/man1/kdestroy.1* %{_mandir}/man1/kdestroy.1*
%{_mandir}/man1/kerberos.1*
%{_mandir}/man1/kinit.1* %{_mandir}/man1/kinit.1*
%{_mandir}/man1/klist.1* %{_mandir}/man1/klist.1*
%{_mandir}/man1/kpasswd.1* %{_mandir}/man1/kpasswd.1*
%{_mandir}/man1/krb5-send-pr.1* #%{_mandir}/man1/krb5-send-pr.1*
#%{_mandir}/man1/krb524init.1* %{_mandir}/man1/kswitch.1*
%{_mandir}/man1/kadmin.1*
%{_mandir}/man1/ktutil.1*
%{_mandir}/man1/ksu.1* %{_mandir}/man1/ksu.1*
%{_mandir}/man1/kvno.1* %{_mandir}/man1/kvno.1*
#%{_mandir}/man1/rcp.krb5.1* %{_mandir}/man1/sclient.1*
#%{_mandir}/man1/rlogin.krb5.1* %{_mandir}/man5/.k5identity.5*
#%{_mandir}/man1/rsh.krb5.1* %{_mandir}/man5/k5identity.5*
#%{_mandir}/man1/tmac.doc*
#%{_mandir}/man1/v4rcp.1*
%{_mandir}/man5/.k5login.5* %{_mandir}/man5/.k5login.5*
%{_mandir}/man5/k5login.5*
%{_mandir}/man5/kadm5.acl.5*
%{_mandir}/man8/kdb5_ldap_util.8*
%{_mandir}/man5/krb5.conf.5* %{_mandir}/man5/krb5.conf.5*
%{_mandir}/man1/kadmin.1* #%{_datadir}/gnats/mit
#%{_mandir}/man8/klogind.8* %doc README src/config-files/services.append
#%{_mandir}/man8/kshd.8*
%{_mandir}/man1/ktutil.1*
#%{_mandir}/man8/login.krb5.8*
%{_datadir}/gnats/mit
%doc README doc/*.html doc/user*.ps.gz src/config-files/services.append
%attr(0755,root,root) %doc src/config-files/convert-config-files %attr(0755,root,root) %doc src/config-files/convert-config-files
%files server %files server
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/k5srvutil %{_bindir}/k5srvutil
%{_bindir}/kadmin %{_bindir}/kadmin
# `sclient' and `sserver' are useful for testing purpose
%{_sbindir}/sserver
%{_sbindir}/kadmind %{_sbindir}/kadmind
%{_sbindir}/kadmin.local %{_sbindir}/kadmin.local
%{_sbindir}/kdb5_util %{_sbindir}/kdb5_util
@ -244,29 +247,23 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%{_mandir}/man8/kprop.8* %{_mandir}/man8/kprop.8*
%{_mandir}/man8/kpropd.8* %{_mandir}/man8/kpropd.8*
%{_mandir}/man8/krb5kdc.8* %{_mandir}/man8/krb5kdc.8*
#%{_mandir}/man8/krb524d.8*
# `sclient' and `sserver' are usefull for testing purpose
%{_bindir}/sclient
%{_sbindir}/sserver
%{_mandir}/man1/sclient.1*
%{_mandir}/man1/k5srvutil.1* %{_mandir}/man1/k5srvutil.1*
%{_mandir}/man8/kproplog.8* %{_mandir}/man8/kproplog.8*
%{_mandir}/man8/sserver.8* %{_mandir}/man8/sserver.8*
#%{_infodir}/krb425.info.gz
%{_infodir}/krb5-admin.info*
%{_infodir}/krb5-install.info*
%{_datadir}/examples/krb5/* %{_datadir}/examples/krb5/*
%doc doc/admin*.ps.gz
#%doc doc/krb425*.ps.gz
%doc doc/install*.ps.gz
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/krb5.conf %config(noreplace) %{_sysconfdir}/krb5.conf
%{_libdir}/*.so.* %{_libdir}/*.so.*
%dir %{_libdir}/krb5/plugins
%dir %{_libdir}/krb5/plugins/kdb
%{_libdir}/krb5/plugins/kdb/db2.so %{_libdir}/krb5/plugins/kdb/db2.so
%{_libdir}/krb5/plugins/preauth/encrypted_challenge.so %dir %{_libdir}/krb5/plugins/preauth
%{_libdir}/krb5/plugins/preauth/otp.so
%{_libdir}/krb5/plugins/preauth/pkinit.so %{_libdir}/krb5/plugins/preauth/pkinit.so
%dir %{_libdir}/krb5/plugins/tls
%{_libdir}/krb5/plugins/tls/k5tls.so
%doc README %doc README
%files -n %{libname}-devel %files -n %{libname}-devel
@ -274,8 +271,7 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%{_bindir}/krb5-config %{_bindir}/krb5-config
%{_includedir}/*.h %{_includedir}/*.h
%dir %{_includedir}/krb5 %dir %{_includedir}/krb5
%{_includedir}/krb5/krb5.h %{_includedir}/krb5/*.h
%{_includedir}/krb5/locate_plugin.h
%dir %{_includedir}/kadm5 %dir %{_includedir}/kadm5
%{_includedir}/kadm5/*.h %{_includedir}/kadm5/*.h
#%dir %{_includedir}/kerberosIV #%dir %{_includedir}/kerberosIV
@ -285,18 +281,18 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
%dir %{_includedir}/gssrpc %dir %{_includedir}/gssrpc
%{_includedir}/gssrpc/*.h %{_includedir}/gssrpc/*.h
%{_libdir}/*.so %{_libdir}/*.so
# `sclient' and `sserver' are usefull for testing purpose # `sclient' and `sserver' are useful for testing purpose
#%{_bindir}/sclient #%{_bindir}/sclient
#%{_sbindir}/sserver #%{_sbindir}/sserver
#%{_mandir}/man1/sclient.1* %{_libdir}/pkgconfig/gssrpc.pc
#%{_mandir}/man8/sserver.8* %{_libdir}/pkgconfig/kadm-client.pc
%doc doc/api %{_libdir}/pkgconfig/kadm-server.pc
%doc doc/implement %{_libdir}/pkgconfig/kdb.pc
%doc doc/kadm5 %{_libdir}/pkgconfig/krb5-gssapi.pc
%doc doc/kadmin %{_libdir}/pkgconfig/krb5.pc
#%doc doc/krb5-admin %{_libdir}/pkgconfig/mit-krb5-gssapi.pc
%doc doc/krb5-protocol %{_libdir}/pkgconfig/mit-krb5.pc
%doc doc/rpc %doc doc/api doc/kadm5 doc/kadmin doc/krb5-protocol doc/rpc
#%files ftp #%files ftp
#%defattr(-,root,root) #%defattr(-,root,root)
@ -309,6 +305,15 @@ install -m 0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/krb5.conf
#%{_mandir}/man1/telnet.* #%{_mandir}/man1/telnet.*
%changelog %changelog
* Sat Feb 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- rebuilt with system libverto
* Fri Feb 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
- update to 1.13
* Tue Jun 17 2014 Automatic Build System <autodist@mambasoft.it> 1.12.1-1mamba
- automatic version update by autodist
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba * Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba
- automatic version update by autodist - automatic version update by autodist