rpms/krb5/devel krb5-1.8.2-getoptP.patch, NONE, 1.1 krb5.spec, 1.275, 1.276

Nalin Dahyabhai nalin at fedoraproject.org
Wed Jul 7 20:56:08 UTC 2010


Author: nalin

Update of /cvs/extras/rpms/krb5/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5220

Modified Files:
	krb5.spec 
Added Files:
	krb5-1.8.2-getoptP.patch 
Log Message:
- fix parsing of the pidfile option in the KDC (upstream #6750)


krb5-1.8.2-getoptP.patch:
 main.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE krb5-1.8.2-getoptP.patch ---
Don't try to parse the pidfile name as a port number.  RT#6750

diff -up krb5/src/kdc/main.c krb5/src/kdc/main.c
--- krb5/src/kdc/main.c	2010-07-07 14:18:30.000000000 -0400
+++ krb5/src/kdc/main.c	2010-07-07 14:18:32.000000000 -0400
@@ -728,6 +728,7 @@ initialize_realms(krb5_context kcontext,
             break;
         case 'P':
             pid_file = optarg;
+            break;
         case 'p':
             if (default_udp_ports)
                 free(default_udp_ports);


Index: krb5.spec
===================================================================
RCS file: /cvs/extras/rpms/krb5/devel/krb5.spec,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -p -r1.275 -r1.276
--- krb5.spec	7 Jul 2010 18:09:05 -0000	1.275
+++ krb5.spec	7 Jul 2010 20:56:07 -0000	1.276
@@ -49,6 +49,7 @@ Patch70: krb5-trunk-kpasswd_tcp2.patch
 Patch71: krb5-1.8-dirsrv-accountlock.patch
 Patch72: krb5-1.7.1-24139.patch
 Patch73: krb5-1-8-gss-noexp.patch
+Patch74: krb5-1.8.2-getoptP.patch
 
 License: MIT
 URL: http://web.mit.edu/kerberos/www/
@@ -188,6 +189,7 @@ ln -s NOTICE LICENSE
 %patch71 -p1 -b .dirsrv-accountlock
 %patch72 -p1 -b .24139
 %patch73 -p0 -b .gss-noexp
+%patch74 -p1 -b .getoptP
 gzip doc/*.ps
 
 sed -i -e '1s!\[twoside\]!!;s!%\(\\usepackage{hyperref}\)!\1!' doc/api/library.tex
@@ -642,6 +644,7 @@ exit 0
 * Wed Jul  7 2010 Nalin Dahyabhai <nalin at redhat.com> 1.8.2-3
 - tell krb5kdc and kadmind to create pid files, since they can
 - add logrotate configuration files for krb5kdc and kadmind (#462658)
+- fix parsing of the pidfile option in the KDC (upstream #6750)
 
 * Mon Jun 21 2010 Nalin Dahyabhai <nalin at redhat.com> 1.8.2-2
 - libgssapi: pull in patch from svn to stop returning context-expired errors



More information about the scm-commits mailing list