Debian Patches

Status for expect/5.45.4-3

Patch Description Author Forwarded Bugs Origin Last update
01-example-shebang.patch Fixes shebangs in examples (Closes: #152367). Sergei Golovan <sgolovan@debian.org> no
02-example-cryptdir.patch Checks for /usr/bin/crypt in cryptdir example (Closes: #67197). Mike Markley <mike@markley.org> no
05-makefile-soname.patch Adds '-soname' to the Makefile. Sergei Golovan <sgolovan@debian.org> no
06-pkgindex.patch Description:
Adjusted for new soname (Closes: #381052).
Replaced [package require Expect] by direct loading libexpect library in all tests
because package management can't load the library from its build location.
Michael A. Cleverly <michael@cleverly.com>, Sergei Golovan <sgolovan@debian.org> no
07-file-handle.patch Description:
Fixes file handle 3 to be left open when running programs (Closes: #166677).
Russell Coker <russell@coker.com.au> no
09-unsafe-traps.patch Fixes some unsafe traps. n/a no
10-manpage.patch Fixes sample expect shebang and excapes dashes. n/a no
11-ttyname.patch Description:
Check before call ttyname, so don't coredump in chroots without /proc
(Closes: #440804).
Ian Jackson <iwj@ubuntu.com> no
12-fdout.patch expBusy forgets to open fdout (Closes: #440818). Ian Jackson <iwj@ubuntu.com> no
13-implicit-defs.patch Fix implicit definitions throughout (Closes: #441115). Also, closes #1066257. LaMont Jones <lamont@debian.org> no
16-logfile.patch Corrects permissions when accessing logfiles. n/a no
18-non-linux.patch Fixes build for non-linux Debian architectures. Sergei Golovan <sgolovan@debian.org> no
22-segfault-with-stubs.patch This dirty hack fixes segfaults if Tcl is built with stubs and Expect is used directly from C program.
Example:
#include <stdio.h>
#include <tcl8.5/expect.h>
int main()
{
FILE *pipe;
char *some_command = "uname";
char datum;
pipe = exp_popen(some_command);
if (pipe == NULL) return 1;
while ((datum = getc (pipe)) != EOF)
printf("%c",datum);
}
Example:
#include <stdio.h>
#include "expect.h"
main()
{
int fd = 0;
fd = exp_spawnl("echo", "echo", "Hello User: Whats up?", (char*) 0);
switch (exp_expectl(fd, exp_regexp, "ser:", 1, exp_end)) {
case 1: {
printf("GOT ser:\n");
break;
}
default: {
printf("DEFAULT\n");
return 1;
}
}
printf("Normal Exit\n");
return 0;
}
Sergei Golovan <sgolovan@debian.org> invalid upstream
24-format.patch no
28-cross.patch make cross compilation work
This patch essentially replaces most AC_TRY_RUN with something "better".
Dependening on the use case that may be AC_TRY_COMPILE, AC_COMPUTE_INT or even
AC_CHECK_TYPE. Uses beyond cross compilation:
* Significant simplification of the code.
* Some checks become cacheable.

===================================================================
Helmut Grohne <helmut@subdivi.de> no
29-suggest-tk.patch no

All known versions for source package 'expect'

Links