rpms/krb5-appl/devel krb5-appl-1.0-pty.patch, NONE, 1.1 krb5-appl.spec, 1.2, 1.3

Nalin Dahyabhai nalin at fedoraproject.org
Fri May 21 20:26:17 UTC 2010


Author: nalin

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

Modified Files:
	krb5-appl.spec 
Added Files:
	krb5-appl-1.0-pty.patch 
Log Message:
- when checking for pty-handling functions, do so with the benefit of the
  library we think might include them


krb5-appl-1.0-pty.patch:
 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE krb5-appl-1.0-pty.patch ---
Check for pty-opening functions with the benefit of libutil, which we've
already checked for in case it includes the pty-opening functions.  RT#6732

--- krb5-appl-1.0/configure.ac
+++ krb5-appl-1.0/configure.ac
@@ -107,6 +107,8 @@ AC_SYS_LARGEFILE
 AC_FUNC_FSEEKO
 AC_TYPE_LONG_LONG_INT
 AC_TYPE_UNSIGNED_LONG_LONG_INT
+savedLIBS="$LIBS"
+LIBS="$UTIL_LIB $LIBS"
 AC_CHECK_FUNCS(_getpty cgetent getcwd getenv gettosbyname getusershell getutmp)
 AC_CHECK_FUNCS(getutmpx grantpt inet_aton initgroups isatty killpg killpg)
 AC_CHECK_FUNCS(line_push logwtmp openpty ptsname revoke rmufile rresvport_af)
@@ -114,6 +116,7 @@ AC_CHECK_FUNCS(seteuid setlogin setpgid 
 AC_CHECK_FUNCS(setutent setutsent setutxent strsave tcgetpgrp tcsetpgrp)
 AC_CHECK_FUNCS(ttyname unsetenv updwtmp updwtmpx utimes utmpname utmpxname)
 AC_CHECK_FUNCS(vhangup vsnprintf waitpid)
+LIBS="$savedLIBS"
 
 # Determine which functions to define in libmissing.
 AC_REPLACE_FUNCS(daemon getdtablesize getopt herror parsetos setenv setsid)


Index: krb5-appl.spec
===================================================================
RCS file: /cvs/extras/rpms/krb5-appl/devel/krb5-appl.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- krb5-appl.spec	19 Mar 2010 21:39:06 -0000	1.2
+++ krb5-appl.spec	21 May 2010 20:26:17 -0000	1.3
@@ -10,7 +10,7 @@
 Summary: Kerberos-aware versions of telnet, ftp, rsh, and rlogin
 Name: krb5-appl
 Version: 1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 # Maybe we should explode from the now-available-to-everybody tarball instead?
 # http://web.mit.edu/kerberos/dist/krb5-appl/1.0/krb5-appl-1.0-signed.tar
 Source0: krb5-appl-%{version}.tar.gz
@@ -45,6 +45,7 @@ Patch73: krb5-1.6.3-ftp_glob_runique.pat
 Patch79: krb5-trunk-ftp_mget_case.patch
 Patch88: krb5-1.7-sizeof.patch
 Patch89: krb5-appl-1.0-largefile.patch
+Patch162: krb5-appl-1.0-pty.patch
 
 License: MIT
 URL: http://web.mit.edu/kerberos/www/
@@ -102,6 +103,7 @@ ln -s NOTICE LICENSE
 %patch79 -p2 -b .ftp_mget_case
 %patch88 -p3 -b .sizeof
 %patch89 -p1 -b .largefile
+%patch162 -p1 -b .pty
 
 # Rename the man pages so that they'll get generated correctly.  Uses the
 # "krb5-appl-1.0-manpaths.txt" source file.
@@ -251,6 +253,10 @@ exit 0
 %{krb5prefix}/man/man8/telnetd.8*
 
 %changelog
+* Fri May 21 2010 Nalin Dahyabhai <nalin at redhat.com> - 1.0-3
+- when checking for pty-handling functions, do so with the benefit of the
+  libutil library we think might include them
+
 * Fri Mar 19 2010 Nalin Dahyabhai <nalin at redhat.com> - 1.0-2
 - also obsolete the last versions of krb5-workstation-clients and -servers
 



More information about the scm-commits mailing list