auto-import changelog data from krb5-1.2.2-4.src.rpm
Fri Mar 30 2001 Nalin Dahyabhai <nalin@redhat.com> - add in glue code to make sure that libkrb5 continues to provide a weak copy of stat() Thu Mar 15 2001 Nalin Dahyabhai <nalin@redhat.com> - build alpha with -O0 for now Thu Mar 08 2001 Nalin Dahyabhai <nalin@redhat.com> - fix the kpropd init script Mon Mar 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.2, which fixes some bugs relating to empty ETYPE-INFO - re-enable optimization on Alpha Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - build alpha with -O0 for now - own /var/kerberos Tue Feb 06 2001 Nalin Dahyabhai <nalin@redhat.com> - own the directories which are created for each package (#26342) Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize init scripts Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com> - add some comments to the ksu patches for the curious - re-enable optimization on alphas Mon Jan 15 2001 Nalin Dahyabhai <nalin@redhat.com> - fix krb5-send-pr (#18932) and move it from -server to -workstation - buildprereq libtermcap-devel - temporariliy disable optimization on alphas - gettextize init scripts Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC Fri Dec 01 2000 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - add bison as a BuildPrereq (#20091) Mon Oct 30 2000 Nalin Dahyabhai <nalin@redhat.com> - change /usr/dict/words to /usr/share/dict/words in default kdc.conf (#20000) Thu Oct 05 2000 Nalin Dahyabhai <nalin@redhat.com> - apply kpasswd bug fixes from David Wragg Wed Oct 04 2000 Nalin Dahyabhai <nalin@redhat.com> - make krb5-libs obsolete the old krb5-configs package (#18351) - don't quit from the kpropd init script if there's no principal database so that you can propagate the first time without running kpropd manually - don't complain if /etc/ld.so.conf doesn't exist in the -libs %post Tue Sep 12 2000 Nalin Dahyabhai <nalin@redhat.com> - fix credential forwarding problem in klogind (goof in KRB5CCNAME handling) (#11588) - fix heap corruption bug in FTP client (#14301)
This commit is contained in:
parent
af3b5464f0
commit
0bb98ee2c1
@ -1 +1 @@
|
|||||||
krb5-1.2.1.tar
|
krb5-1.2.2.tar.gz
|
||||||
|
10
kadmind.init
10
kadmind.init
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# kadmind Start and stop the Kerberos 5 administrative server.
|
# kadmind Start and stop the Kerberos 5 administrative server.
|
||||||
#
|
#
|
||||||
@ -30,19 +30,19 @@ start() {
|
|||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
if [ ! -f /var/kerberos/krb5kdc/kadm5.keytab ] ; then
|
if [ ! -f /var/kerberos/krb5kdc/kadm5.keytab ] ; then
|
||||||
echo "Extracting kadm5 Service Keys"
|
echo -n $"Extracting kadm5 Service Keys: "
|
||||||
/usr/kerberos/sbin/kadmin.local -q "ktadd -k /var/kerberos/krb5kdc/kadm5.keytab kadmin/admin kadmin/changepw" && success || fail
|
/usr/kerberos/sbin/kadmin.local -q "ktadd -k /var/kerberos/krb5kdc/kadm5.keytab kadmin/admin kadmin/changepw" && success || fail
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo -n "Starting Kerberos 5 Admin Server"
|
echo -n $"Starting Kerberos 5 Admin Server: "
|
||||||
daemon /usr/kerberos/sbin/kadmind
|
daemon /usr/kerberos/sbin/kadmind
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/kadmin
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/kadmin
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Stopping Kerberos 5 Admin Server"
|
echo -n $"Stopping Kerberos 5 Admin Server: "
|
||||||
killproc kadmind
|
killproc kadmind
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
@ -71,7 +71,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|status|condrestart|restart}"
|
echo $"Usage: $0 {start|stop|status|condrestart|restart}"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
2
kdc.conf
2
kdc.conf
@ -1,6 +1,6 @@
|
|||||||
[kdcdefaults]
|
[kdcdefaults]
|
||||||
acl_file = /var/kerberos/krb5kdc/kadm5.acl
|
acl_file = /var/kerberos/krb5kdc/kadm5.acl
|
||||||
dict_file = /usr/dict/words
|
dict_file = /usr/share/dict/words
|
||||||
admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
|
admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
|
||||||
|
|
||||||
[realms]
|
[realms]
|
||||||
|
12
kpropd.init
12
kpropd.init
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# kpropd.init Start and stop the Kerberos 5 propagation client.
|
# kpropd.init Start and stop the Kerberos 5 propagation client.
|
||||||
#
|
#
|
||||||
@ -22,19 +22,17 @@ RETVAL=0
|
|||||||
|
|
||||||
# Sheel functions to cut down on useless shell instances.
|
# Sheel functions to cut down on useless shell instances.
|
||||||
start() {
|
start() {
|
||||||
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
if [ ! -f /var/kerberos/krb5kdc/kpropd.acl ] ; then
|
if [ ! -f /var/kerberos/krb5kdc/kpropd.acl ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo -n "Starting Kerberos 5 Propagation Server:"
|
echo -n $"Starting Kerberos 5 Propagation Server: "
|
||||||
daemon /usr/kerberos/sbin/kpropd -S
|
daemon /usr/kerberos/sbin/kpropd -S
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
|
echo
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/kprop
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/kprop
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Stopping Kerberos 5 Propagation Server:"
|
echo -n $"Stopping Kerberos 5 Propagation Server: "
|
||||||
killproc kpropd
|
killproc kpropd
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
@ -63,7 +61,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|status|restart|condrestart}"
|
echo $"Usage: $0 {start|stop|status|restart|condrestart}"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
143
krb5.spec
143
krb5.spec
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
Summary: The Kerberos network authentication system.
|
Summary: The Kerberos network authentication system.
|
||||||
Name: krb5
|
Name: krb5
|
||||||
Version: 1.2.1
|
Version: 1.2.2
|
||||||
Release: 8
|
Release: 4
|
||||||
Source0: krb5-%{version}.tar
|
Source0: krb5-%{version}.tar.gz
|
||||||
Source1: kpropd.init
|
Source1: kpropd.init
|
||||||
Source2: krb524d.init
|
Source2: krb524d.init
|
||||||
Source3: kadmind.init
|
Source3: kadmind.init
|
||||||
@ -23,6 +23,7 @@ Source15: kshell.xinetd
|
|||||||
Source16: krb5-telnet.xinetd
|
Source16: krb5-telnet.xinetd
|
||||||
Source17: gssftp.xinetd
|
Source17: gssftp.xinetd
|
||||||
Source18: krb5server.init
|
Source18: krb5server.init
|
||||||
|
Source19: statglue.c
|
||||||
Patch0: krb5-1.1-db.patch
|
Patch0: krb5-1.1-db.patch
|
||||||
Patch1: krb5-1.1.1-tiocgltc.patch
|
Patch1: krb5-1.1.1-tiocgltc.patch
|
||||||
Patch2: krb5-1.1.1-libpty.patch
|
Patch2: krb5-1.1.1-libpty.patch
|
||||||
@ -38,12 +39,16 @@ Patch11: krb5-1.1.1-brokenrev.patch
|
|||||||
Patch12: krb5-1.2-spelling.patch
|
Patch12: krb5-1.2-spelling.patch
|
||||||
Patch13: krb5-1.2.1-term.patch
|
Patch13: krb5-1.2.1-term.patch
|
||||||
Patch14: krb5-1.2.1-passive.patch
|
Patch14: krb5-1.2.1-passive.patch
|
||||||
|
Patch15: krb5-1.2.1-forward.patch
|
||||||
|
Patch16: krb5-1.2.1-heap.patch
|
||||||
|
Patch17: krb5-1.2.2-wragg.patch
|
||||||
|
Patch18: krb5-1.2.2-statglue.patch
|
||||||
Copyright: MIT, freely distributable.
|
Copyright: MIT, freely distributable.
|
||||||
URL: http://web.mit.edu/kerberos/www/
|
URL: http://web.mit.edu/kerberos/www/
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
Prereq: grep, info, sh-utils, /sbin/install-info
|
Prereq: grep, info, sh-utils, /sbin/install-info
|
||||||
BuildPrereq: e2fsprogs-devel, gzip, rsh, tcl, texinfo, tar
|
BuildPrereq: bison, e2fsprogs-devel, flex, gzip, libtermcap-devel, rsh, texinfo, tar, tcl
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Kerberos V5 is a trusted-third-party network authentication system,
|
Kerberos V5 is a trusted-third-party network authentication system,
|
||||||
@ -65,6 +70,7 @@ need to install this package.
|
|||||||
Summary: The shared libraries used by Kerberos 5.
|
Summary: The shared libraries used by Kerberos 5.
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Prereq: grep, /sbin/ldconfig, sh-utils
|
Prereq: grep, /sbin/ldconfig, sh-utils
|
||||||
|
Obsoletes: krb5-configs
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Kerberos is a network authentication system. The krb5-libs package
|
Kerberos is a network authentication system. The krb5-libs package
|
||||||
@ -75,7 +81,7 @@ Kerberos, you'll need to install this package.
|
|||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: The server programs for Kerberos 5.
|
Summary: The server programs for Kerberos 5.
|
||||||
Requires: %{name}-libs = %{version}, %{name}-workstation = %{version}
|
Requires: %{name}-libs = %{version}, %{name}-workstation = %{version}
|
||||||
Prereq: grep, /sbin/install-info, /bin/sh, sh-utils, /etc/init.d
|
Prereq: grep, /sbin/install-info, /bin/sh, sh-utils
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
Kerberos is a network authentication system. The krb5-server package
|
Kerberos is a network authentication system. The krb5-server package
|
||||||
@ -98,6 +104,66 @@ network uses Kerberos, this package should be installed on every
|
|||||||
workstation.
|
workstation.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 30 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- add in glue code to make sure that libkrb5 continues to provide a
|
||||||
|
weak copy of stat()
|
||||||
|
|
||||||
|
* Thu Mar 15 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- build alpha with -O0 for now
|
||||||
|
|
||||||
|
* Thu Mar 8 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix the kpropd init script
|
||||||
|
|
||||||
|
* Mon Mar 5 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- update to 1.2.2, which fixes some bugs relating to empty ETYPE-INFO
|
||||||
|
- re-enable optimization on Alpha
|
||||||
|
|
||||||
|
* Thu Feb 8 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- build alpha with -O0 for now
|
||||||
|
- own %{_var}/kerberos
|
||||||
|
|
||||||
|
* Tue Feb 6 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- own the directories which are created for each package (#26342)
|
||||||
|
|
||||||
|
* Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- gettextize init scripts
|
||||||
|
|
||||||
|
* Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- add some comments to the ksu patches for the curious
|
||||||
|
- re-enable optimization on alphas
|
||||||
|
|
||||||
|
* Mon Jan 15 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix krb5-send-pr (#18932) and move it from -server to -workstation
|
||||||
|
- buildprereq libtermcap-devel
|
||||||
|
- temporariliy disable optimization on alphas
|
||||||
|
- gettextize init scripts
|
||||||
|
|
||||||
|
* Tue Dec 5 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- force -fPIC
|
||||||
|
|
||||||
|
* Fri Dec 1 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in new environment
|
||||||
|
|
||||||
|
* Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- add bison as a BuildPrereq (#20091)
|
||||||
|
|
||||||
|
* Mon Oct 30 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- change /usr/dict/words to /usr/share/dict/words in default kdc.conf (#20000)
|
||||||
|
|
||||||
|
* Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- apply kpasswd bug fixes from David Wragg
|
||||||
|
|
||||||
|
* Wed Oct 4 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- make krb5-libs obsolete the old krb5-configs package (#18351)
|
||||||
|
- don't quit from the kpropd init script if there's no principal database so
|
||||||
|
that you can propagate the first time without running kpropd manually
|
||||||
|
- don't complain if /etc/ld.so.conf doesn't exist in the -libs %post
|
||||||
|
|
||||||
|
* Tue Sep 12 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix credential forwarding problem in klogind (goof in KRB5CCNAME handling)
|
||||||
|
(#11588)
|
||||||
|
- fix heap corruption bug in FTP client (#14301)
|
||||||
|
|
||||||
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
- fix summaries and descriptions
|
- fix summaries and descriptions
|
||||||
- switched the default transfer protocol from PORT to PASV as proposed on
|
- switched the default transfer protocol from PORT to PASV as proposed on
|
||||||
@ -194,7 +260,8 @@ workstation.
|
|||||||
- fix config_subpackage logic
|
- fix config_subpackage logic
|
||||||
|
|
||||||
* Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
* Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
- remove setuid bit on v4rcp and ksu
|
- remove setuid bit on v4rcp and ksu in case the checks previously added
|
||||||
|
don't close all of the problems in ksu
|
||||||
- apply patches from Jeffrey Schiller to fix overruns Chris Evans found
|
- apply patches from Jeffrey Schiller to fix overruns Chris Evans found
|
||||||
- reintroduce configs subpackage for use in the errata
|
- reintroduce configs subpackage for use in the errata
|
||||||
- add PreReq: sh-utils
|
- add PreReq: sh-utils
|
||||||
@ -306,10 +373,7 @@ workstation.
|
|||||||
- added --force to makeinfo commands to skip errors during build
|
- added --force to makeinfo commands to skip errors during build
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%setup -q
|
||||||
gzip -dc krb5-%{version}.src.tar.gz | tar -xf - -C ..
|
|
||||||
gzip -dc krb5-%{version}.crypto.tar.gz | tar -xf - -C ..
|
|
||||||
gzip -dc krb5-%{version}.doc.tar.gz | tar -xf - -C ..
|
|
||||||
%patch0 -p0 -b .db
|
%patch0 -p0 -b .db
|
||||||
%patch1 -p0 -b .tciogltc
|
%patch1 -p0 -b .tciogltc
|
||||||
%patch2 -p0 -b .libpty
|
%patch2 -p0 -b .libpty
|
||||||
@ -325,18 +389,24 @@ gzip -dc krb5-%{version}.doc.tar.gz | tar -xf - -C ..
|
|||||||
%patch12 -p1 -b .spelling
|
%patch12 -p1 -b .spelling
|
||||||
%patch13 -p1 -b .term
|
%patch13 -p1 -b .term
|
||||||
%patch14 -p1 -b .passive
|
%patch14 -p1 -b .passive
|
||||||
|
%patch15 -p1 -b .forward
|
||||||
|
%patch16 -p1 -b .heap
|
||||||
|
%patch17 -p1 -b .wragg
|
||||||
|
%patch18 -p1 -b .statglue
|
||||||
|
cp $RPM_SOURCE_DIR/statglue.c src/util/profile/statglue.c
|
||||||
find . -type f -name "*.fixinfo" -exec rm -fv "{}" ";"
|
find . -type f -name "*.fixinfo" -exec rm -fv "{}" ";"
|
||||||
gzip doc/*.ps
|
gzip doc/*.ps
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
libtoolize --copy --force
|
libtoolize --copy --force
|
||||||
cp config.{guess,sub} config
|
cp config.{guess,sub} config/
|
||||||
|
|
||||||
# Can't use %%configure because we don't use the default mandir.
|
# Can't use %%configure because we don't use the default mandir.
|
||||||
LDCOMBINE_TAIL="-lc"; export LDCOMBINE_TAIL
|
LDCOMBINE_TAIL="-lc"; export LDCOMBINE_TAIL
|
||||||
./configure \
|
./configure \
|
||||||
--with-cc=%{__cc} --with-ccopts="-ggdb" \
|
--with-cc=%{__cc} \
|
||||||
|
--with-ccopts="$RPM_OPT_FLAGS -fPIC" \
|
||||||
--enable-shared --enable-static \
|
--enable-shared --enable-static \
|
||||||
--prefix=%{prefix} \
|
--prefix=%{prefix} \
|
||||||
--infodir=%{_infodir} \
|
--infodir=%{_infodir} \
|
||||||
@ -348,7 +418,8 @@ LDCOMBINE_TAIL="-lc"; export LDCOMBINE_TAIL
|
|||||||
%{_target_platform}
|
%{_target_platform}
|
||||||
make
|
make
|
||||||
|
|
||||||
# Run the test suite.
|
# Run the test suite. Won't run in the build system because /dev/pts is
|
||||||
|
# not available for telnet tests and so on.
|
||||||
# make check TMPDIR=%{_tmppath}
|
# make check TMPDIR=%{_tmppath}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -413,8 +484,11 @@ done
|
|||||||
strip $RPM_BUILD_ROOT%{prefix}/bin/* $RPM_BUILD_ROOT%{prefix}/sbin/* || :
|
strip $RPM_BUILD_ROOT%{prefix}/bin/* $RPM_BUILD_ROOT%{prefix}/sbin/* || :
|
||||||
strip -g $RPM_BUILD_ROOT%{prefix}/lib/lib* || :
|
strip -g $RPM_BUILD_ROOT%{prefix}/lib/lib* || :
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post libs
|
%post libs
|
||||||
grep -q %{prefix}/lib /etc/ld.so.conf || echo %{prefix}/lib >> /etc/ld.so.conf
|
grep -q %{prefix}/lib /etc/ld.so.conf 2> /dev/null || echo %{prefix}/lib >> /etc/ld.so.conf
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
@ -478,6 +552,15 @@ fi
|
|||||||
%doc doc/user*.html doc/user*.ps.gz src/config-files/services.append
|
%doc doc/user*.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
|
||||||
%{_infodir}/krb5-user.info*
|
%{_infodir}/krb5-user.info*
|
||||||
|
|
||||||
|
%dir %{prefix}
|
||||||
|
%dir %{prefix}/bin
|
||||||
|
%dir %{prefix}/man
|
||||||
|
%dir %{prefix}/man/man1
|
||||||
|
%dir %{prefix}/man/man5
|
||||||
|
%dir %{prefix}/man/man8
|
||||||
|
%dir %{prefix}/sbin
|
||||||
|
|
||||||
%{prefix}/bin/ftp
|
%{prefix}/bin/ftp
|
||||||
%{prefix}/man/man1/ftp.1*
|
%{prefix}/man/man1/ftp.1*
|
||||||
%{prefix}/bin/gss-client
|
%{prefix}/bin/gss-client
|
||||||
@ -523,6 +606,8 @@ fi
|
|||||||
%{prefix}/sbin/gss-server
|
%{prefix}/sbin/gss-server
|
||||||
%{prefix}/sbin/klogind
|
%{prefix}/sbin/klogind
|
||||||
%{prefix}/man/man8/klogind.8*
|
%{prefix}/man/man8/klogind.8*
|
||||||
|
%{prefix}/sbin/krb5-send-pr
|
||||||
|
%{prefix}/man/man1/krb5-send-pr.1*
|
||||||
%{prefix}/sbin/kshd
|
%{prefix}/sbin/kshd
|
||||||
%{prefix}/man/man8/kshd.8*
|
%{prefix}/man/man8/kshd.8*
|
||||||
%{prefix}/sbin/telnetd
|
%{prefix}/sbin/telnetd
|
||||||
@ -547,10 +632,18 @@ fi
|
|||||||
%{_infodir}/krb5-install.info*
|
%{_infodir}/krb5-install.info*
|
||||||
%{_infodir}/krb425.info*
|
%{_infodir}/krb425.info*
|
||||||
|
|
||||||
|
%dir %{_var}/kerberos
|
||||||
%dir %{_var}/kerberos/krb5kdc
|
%dir %{_var}/kerberos/krb5kdc
|
||||||
%config(noreplace) %{_var}/kerberos/krb5kdc/kdc.conf
|
%config(noreplace) %{_var}/kerberos/krb5kdc/kdc.conf
|
||||||
%config(noreplace) %{_var}/kerberos/krb5kdc/kadm5.acl
|
%config(noreplace) %{_var}/kerberos/krb5kdc/kadm5.acl
|
||||||
|
|
||||||
|
%dir %{prefix}/bin
|
||||||
|
%dir %{prefix}/man
|
||||||
|
%dir %{prefix}/man/man1
|
||||||
|
%dir %{prefix}/man/man5
|
||||||
|
%dir %{prefix}/man/man8
|
||||||
|
%dir %{prefix}/sbin
|
||||||
|
|
||||||
%{prefix}/man/man5/kdc.conf.5*
|
%{prefix}/man/man5/kdc.conf.5*
|
||||||
%{prefix}/sbin/kadmin.local
|
%{prefix}/sbin/kadmin.local
|
||||||
%{prefix}/man/man8/kadmin.local.8*
|
%{prefix}/man/man8/kadmin.local.8*
|
||||||
@ -563,8 +656,6 @@ fi
|
|||||||
%{prefix}/man/man8/kprop.8*
|
%{prefix}/man/man8/kprop.8*
|
||||||
%{prefix}/sbin/kpropd
|
%{prefix}/sbin/kpropd
|
||||||
%{prefix}/man/man8/kpropd.8*
|
%{prefix}/man/man8/kpropd.8*
|
||||||
%{prefix}/sbin/krb5-send-pr
|
|
||||||
%{prefix}/man/man1/krb5-send-pr.1*
|
|
||||||
%{prefix}/sbin/krb524d
|
%{prefix}/sbin/krb524d
|
||||||
%{prefix}/sbin/krb5kdc
|
%{prefix}/sbin/krb5kdc
|
||||||
%{prefix}/man/man8/krb5kdc.8*
|
%{prefix}/man/man8/krb5kdc.8*
|
||||||
@ -579,9 +670,12 @@ fi
|
|||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/lib/lib*.so.*.*
|
|
||||||
%config /etc/rc.d/init.d/kdcrotate
|
%config /etc/rc.d/init.d/kdcrotate
|
||||||
%config(noreplace) /etc/krb5.conf
|
%config(noreplace) /etc/krb5.conf
|
||||||
|
%dir %{prefix}
|
||||||
|
%dir %{prefix}/lib
|
||||||
|
%{prefix}/lib/lib*.so.*.*
|
||||||
|
%{prefix}/share
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -592,12 +686,19 @@ fi
|
|||||||
%doc doc/krb5-protocol
|
%doc doc/krb5-protocol
|
||||||
%doc doc/rpc
|
%doc doc/rpc
|
||||||
%{prefix}/include
|
%{prefix}/include
|
||||||
|
|
||||||
|
%dir %{prefix}
|
||||||
|
%dir %{prefix}/bin
|
||||||
|
%dir %{prefix}/lib
|
||||||
|
%dir %{prefix}/man
|
||||||
|
%dir %{prefix}/man/man1
|
||||||
|
%dir %{prefix}/man/man8
|
||||||
|
%dir %{prefix}/sbin
|
||||||
|
|
||||||
%{prefix}/lib/lib*.a
|
%{prefix}/lib/lib*.a
|
||||||
%{prefix}/lib/lib*.so
|
%{prefix}/lib/lib*.so
|
||||||
|
|
||||||
%{prefix}/bin/sclient
|
%{prefix}/bin/sclient
|
||||||
%{prefix}/man/man1/sclient.1*
|
%{prefix}/man/man1/sclient.1*
|
||||||
%{prefix}/sbin/sserver
|
|
||||||
%{prefix}/man/man8/sserver.8*
|
%{prefix}/man/man8/sserver.8*
|
||||||
|
%{prefix}/sbin/sserver
|
||||||
%clean
|
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# krb524 Start and stop the krb524 service.
|
# krb524 Start and stop the krb524 service.
|
||||||
#
|
#
|
||||||
@ -25,14 +25,14 @@ start() {
|
|||||||
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo -n "Starting Kerberos 5-to-4 Server:"
|
echo -n $"Starting Kerberos 5-to-4 Server: "
|
||||||
daemon /usr/kerberos/sbin/krb524d -m
|
daemon /usr/kerberos/sbin/krb524d -m
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb524
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb524
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Stopping Kerberos 5-to-4 Server:"
|
echo -n $"Stopping Kerberos 5-to-4 Server: "
|
||||||
killproc krb524d
|
killproc krb524d
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
@ -61,7 +61,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|status|restart|condrestart}"
|
echo $"Usage: $0 {start|stop|status|restart|condrestart}"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# krb5kdc Start and stop the Kerberos 5 servers.
|
# krb5kdc Start and stop the Kerberos 5 servers.
|
||||||
#
|
#
|
||||||
@ -25,14 +25,14 @@ start() {
|
|||||||
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo -n "Starting Kerberos 5 KDC:"
|
echo -n $"Starting Kerberos 5 KDC: "
|
||||||
daemon /usr/kerberos/sbin/krb5kdc
|
daemon /usr/kerberos/sbin/krb5kdc
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb5kdc
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/krb5kdc
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Stopping Kerberos 5 KDC:"
|
echo -n $"Stopping Kerberos 5 KDC: "
|
||||||
killproc krb5kdc
|
killproc krb5kdc
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
@ -61,7 +61,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|status|restart|condrestart}"
|
echo $"Usage: $0 {start|stop|status|restart|condrestart}"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user