diff --git a/.expect.metadata b/.expect.metadata new file mode 100644 index 0000000..092676d --- /dev/null +++ b/.expect.metadata @@ -0,0 +1 @@ +e634992cab35b7c6931e1f21fbb8f74d464bd496 SOURCES/expect5.45.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/expect-5.32.2-random.patch b/SOURCES/expect-5.32.2-random.patch new file mode 100644 index 0000000..0cac294 --- /dev/null +++ b/SOURCES/expect-5.32.2-random.patch @@ -0,0 +1,19 @@ +diff -up expect-5.44.1.15/example/mkpasswd.orig expect-5.44.1.15/example/mkpasswd +--- expect-5.44.1.15/example/mkpasswd.orig 2010-03-08 16:01:05.518378075 +0100 ++++ expect-5.44.1.15/example/mkpasswd 2010-03-08 16:01:27.408388162 +0100 +@@ -92,7 +92,14 @@ proc insert {pvar char} { + } + + proc rand {m} { +- expr {int($m*rand())} ++ set device /dev/urandom ;# /dev/random can block ++ set fileId [open $device r] ++ binary scan [read $fileId 4] i1 number ++ set clipped [expr $number % $m] ++# puts "number is $number" ++# puts "clipped is $clipped" ++ close $fileId ++ return $clipped + } + + # choose left or right starting hand diff --git a/SOURCES/expect-5.43.0-log_file.patch b/SOURCES/expect-5.43.0-log_file.patch new file mode 100644 index 0000000..8a2c93d --- /dev/null +++ b/SOURCES/expect-5.43.0-log_file.patch @@ -0,0 +1,12 @@ +diff -up expect-5.44.1.15/exp_log.c.orig expect-5.44.1.15/exp_log.c +--- expect-5.44.1.15/exp_log.c.orig 2010-03-08 15:45:20.581378309 +0100 ++++ expect-5.44.1.15/exp_log.c 2010-03-08 15:45:38.838398279 +0100 +@@ -374,7 +374,7 @@ expDiagChannelOpen(interp,filename) + Tcl_DStringAppend(&tsdPtr->diagFilename,filename,-1); + } + +- tsdPtr->diagChannel = Tcl_OpenFileChannel(interp,newfilename,"a",0777); ++ tsdPtr->diagChannel = Tcl_OpenFileChannel(interp,newfilename,"a",0666); + if (!tsdPtr->diagChannel) { + Tcl_DStringFree(&tsdPtr->diagFilename); + return TCL_ERROR; diff --git a/SOURCES/expect-5.43.0-pkgpath.patch b/SOURCES/expect-5.43.0-pkgpath.patch new file mode 100644 index 0000000..0c32a1f --- /dev/null +++ b/SOURCES/expect-5.43.0-pkgpath.patch @@ -0,0 +1,46 @@ +diff -up expect5.45/configure.in.orig expect5.45/configure.in +--- expect5.45/configure.in.orig 2011-01-18 16:58:14.860806442 +0100 ++++ expect5.45/configure.in 2011-01-18 16:58:30.378753210 +0100 +@@ -977,6 +977,7 @@ AC_SUBST(EXP_CC_SEARCH_FLAGS) + AC_SUBST(SETUID) + AC_SUBST(SETPGRP_VOID) + AC_SUBST(DEFAULT_STTY_ARGS) ++AC_SUBST(TCL_VERSION) + # Expect uses these from tclConfig.sh to make the main executable + AC_SUBST(TCL_DL_LIBS) + AC_SUBST(TCL_CC_SEARCH_FLAGS) +diff -up expect5.45/Makefile.in.orig expect5.45/Makefile.in +--- expect5.45/Makefile.in.orig 2011-01-18 16:58:37.787723824 +0100 ++++ expect5.45/Makefile.in 2011-01-18 17:05:10.697636907 +0100 +@@ -121,8 +121,8 @@ includedir = @includedir@ + DESTDIR = + + PKG_DIR = $(PACKAGE_NAME)$(PACKAGE_VERSION) +-pkgdatadir = $(datadir)/$(PKG_DIR) +-pkglibdir = $(libdir)/$(PKG_DIR) ++pkgdatadir = $(datadir)/tcl@TCL_VERSION@/$(PKG_DIR) ++pkglibdir = $(libdir)/tcl@TCL_VERSION@/$(PKG_DIR) + pkgincludedir = $(includedir)/$(PKG_DIR) + + top_builddir = . +@@ -263,7 +263,7 @@ install-doc: doc + else true; fi ; \ + done + +-test: binaries libraries ++test: binaries libraries pkgIndex.tcl-test + $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) + + shell: binaries libraries +@@ -331,6 +331,11 @@ pkgIndex.tcl: + pkgIndex.tcl-hand: + (echo 'if {![package vsatisfies [package provide Tcl] @TCL_VERSION@]} {return}' ; \ + echo 'package ifneeded Expect $(PACKAGE_VERSION) \ ++ [list load [file join $$dir .. .. $(PKG_LIB_FILE)]]'\ ++ ) > pkgIndex.tcl ++ ++pkgIndex.tcl-test: ++ (echo 'package ifneeded Expect $(PACKAGE_VERSION) \ + [list load [file join $$dir $(PKG_LIB_FILE)]]'\ + ) > pkgIndex.tcl + diff --git a/SOURCES/expect-5.45-check-telnet.patch b/SOURCES/expect-5.45-check-telnet.patch new file mode 100644 index 0000000..0b67dc6 --- /dev/null +++ b/SOURCES/expect-5.45-check-telnet.patch @@ -0,0 +1,29 @@ +diff -up expect5.45/example/passmass.orig expect5.45/example/passmass +--- expect5.45/example/passmass.orig 2011-07-27 16:09:31.013843393 +0200 ++++ expect5.45/example/passmass 2011-07-27 16:10:55.667843578 +0200 +@@ -107,6 +107,10 @@ for {set i 0} {$i<$argc} {incr i} { + set login "ssh" + continue + } "-telnet" { ++ if {[file executable /usr/bin/telnet] == 0} { ++ send_user "It seems that telnet is not installed. Please install telnet in order to use the script with this option.\n" ++ exit 1 ++ } + set login "telnet" + continue + } "-program" { +diff -up expect5.45/example/weather.orig expect5.45/example/weather +--- expect5.45/example/weather.orig 2011-07-27 15:49:57.878843862 +0200 ++++ expect5.45/example/weather 2011-07-27 16:08:48.067843491 +0200 +@@ -33,6 +33,11 @@ set timeout 60 + + set env(TERM) vt100 ;# actual value doesn't matter, just has to be set + ++if {[file executable /usr/bin/telnet] == 0} { ++ send_user "It seems that telnet is not installed. Please install telnet in order to use this script.\n" ++ exit 1 ++} ++ + spawn telnet rainmaker.wunderground.com 3000 + while {1} { + expect timeout { diff --git a/SOURCES/expect-5.45-man-page.patch b/SOURCES/expect-5.45-man-page.patch new file mode 100644 index 0000000..1a55251 --- /dev/null +++ b/SOURCES/expect-5.45-man-page.patch @@ -0,0 +1,13 @@ +diff -up expect5.45/expect.man.orig expect5.45/expect.man +--- expect5.45/expect.man.orig 2011-09-06 13:15:57.081827720 +0200 ++++ expect5.45/expect.man 2011-09-06 13:16:19.463826364 +0200 +@@ -173,7 +173,8 @@ way, use the + .B \-b + flag. + (When using Expectk, this option is specified as +-.BR \-buffer .) Note that stdio-buffering may still take place however this shouldn't cause problems when reading from a fifo or stdin. ++.BR \-buffer .) ++Note that stdio-buffering may still take place however this shouldn't cause problems when reading from a fifo or stdin. + .PP + If the string "\-" is supplied as a filename, standard input is read instead. + (Use "./\-" to read from a file actually named "\-".) diff --git a/SOURCES/expect-5.45-match-gt-numchars-segfault.patch b/SOURCES/expect-5.45-match-gt-numchars-segfault.patch new file mode 100644 index 0000000..1abd424 --- /dev/null +++ b/SOURCES/expect-5.45-match-gt-numchars-segfault.patch @@ -0,0 +1,17 @@ +diff -up expect5.45/expect.c.orig expect5.45/expect.c +--- expect5.45/expect.c.orig 2012-02-06 14:15:13.469490744 +0100 ++++ expect5.45/expect.c 2012-02-06 14:16:23.596837896 +0100 +@@ -2363,7 +2363,12 @@ expMatchProcess( + + /* "!e" means no case matched - transfer by default */ + if (!e || e->transfer) { +- int remainder = numchars-match; ++ int remainder; ++ if (match > numchars) { ++ match = numchars; ++ eo->matchlen = match; ++ } ++ remainder = numchars-match; + /* delete matched chars from input buffer */ + esPtr->printed -= match; + if (numchars != 0) { diff --git a/SOURCES/expect-5.45-mkpasswd-dash.patch b/SOURCES/expect-5.45-mkpasswd-dash.patch new file mode 100644 index 0000000..fbdecde --- /dev/null +++ b/SOURCES/expect-5.45-mkpasswd-dash.patch @@ -0,0 +1,13 @@ +diff -up expect5.45/example/mkpasswd.orig expect5.45/example/mkpasswd +--- expect5.45/example/mkpasswd.orig 2011-03-16 13:23:23.125480017 +0100 ++++ expect5.45/example/mkpasswd 2011-03-16 13:24:08.739353139 +0100 +@@ -202,7 +202,8 @@ if {[info exists user]} { + expect { + "assword*:" { + # some systems say "Password (again):" +- send "$password\r" ++ send -- "$password\r" ++ # "--" because of passwords beginning with dash + exp_continue + } + } diff --git a/SOURCES/expect-5.45-passmass-su-full-path.patch b/SOURCES/expect-5.45-passmass-su-full-path.patch new file mode 100644 index 0000000..6febf94 --- /dev/null +++ b/SOURCES/expect-5.45-passmass-su-full-path.patch @@ -0,0 +1,12 @@ +diff -up expect5.45/example/passmass.orig expect5.45/example/passmass +--- expect5.45/example/passmass.orig 2011-09-06 13:04:41.439875491 +0200 ++++ expect5.45/example/passmass 2011-09-06 13:04:54.663874571 +0200 +@@ -178,7 +178,7 @@ for {set i 0} {$i<$argc} {incr i} { + } + + if ($su) { +- send "su -\r" ++ send "/bin/su -\r" + expect -nocase "password:" + send "$password(old)\r" + expect "# " diff --git a/SOURCES/expect-5.45-re-memleak.patch b/SOURCES/expect-5.45-re-memleak.patch new file mode 100644 index 0000000..182f596 --- /dev/null +++ b/SOURCES/expect-5.45-re-memleak.patch @@ -0,0 +1,14 @@ +diff -up expect5.45/expect.c.orig expect5.45/expect.c +--- expect5.45/expect.c.orig 2013-10-02 13:16:31.462430482 +0200 ++++ expect5.45/expect.c 2013-10-02 13:17:18.420599495 +0200 +@@ -185,9 +185,9 @@ free_ecase( + { + if (ec->i_list->duration == EXP_PERMANENT) { + if (ec->pat) { Tcl_DecrRefCount(ec->pat); } +- if (ec->gate) { Tcl_DecrRefCount(ec->gate); } + if (ec->body) { Tcl_DecrRefCount(ec->body); } + } ++ if (ec->gate) { Tcl_DecrRefCount(ec->gate); } + + if (free_ilist) { + ec->i_list->ecount--; diff --git a/SPECS/expect.spec b/SPECS/expect.spec new file mode 100644 index 0000000..20e32f4 --- /dev/null +++ b/SPECS/expect.spec @@ -0,0 +1,541 @@ +%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)} +%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}} +%global majorver 5.45 + +Summary: A program-script interaction and testing utility +Name: expect +Version: %{majorver} +Release: 9%{?dist} +License: Public Domain +Group: Development/Languages +# URL: probably more useful is http://sourceforge.net/projects/expect/ +URL: http://expect.nist.gov/ +Source: http://downloads.sourceforge.net/%{name}/%{name}%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Buildrequires: tcl-devel tk-devel autoconf automake libXft-devel chrpath +# Patch0: fixes change log file permissions +Patch0: expect-5.43.0-log_file.patch +# Patch1: fixes install location, change pkgIndex +Patch1: expect-5.43.0-pkgpath.patch +# Patch2: fixes minor man page formatting issue +Patch2: expect-5.45-man-page.patch +# Patch3: fixes segmentation fault during matching characters +Patch3: expect-5.45-match-gt-numchars-segfault.patch +# Patch4: fixes memory leak when using -re, http://sourceforge.net/p/expect/patches/13/ +Patch4: expect-5.45-re-memleak.patch +# examples patches +# Patch100: changes random function +Patch100: expect-5.32.2-random.patch +# Patch101: fixes bz674184 - mkpasswd fails randomly +Patch101: expect-5.45-mkpasswd-dash.patch +# Patch102: fixes bz703702 - let user know that telnet is needed for +# running some examples +Patch102: expect-5.45-check-telnet.patch +# Patch103: use full path to 'su', it's safer +Patch103: expect-5.45-passmass-su-full-path.patch + +%description +Expect is a tcl application for automating and testing +interactive applications such as telnet, ftp, passwd, fsck, +rlogin, tip, etc. Expect makes it easy for a script to +control another program and interact with it. + +This package contains expect and some scripts that use it. + +%package devel +Summary: A program-script interaction and testing utility +Group: Development/Languages +Requires: expect = %{version}-%{release} + +%description devel +Expect is a tcl application for automating and testing +interactive applications such as telnet, ftp, passwd, fsck, +rlogin, tip, etc. Expect makes it easy for a script to +control another program and interact with it. + +This package contains development files for the expect library. + +%package -n expectk +Summary: A program-script interaction and testing utility +Group: Development/Languages +Requires: expect = %{version}-%{release} + +%description -n expectk +Expect is a tcl application for automating and testing +interactive applications such as telnet, ftp, passwd, fsck, +rlogin, tip, etc. Expect makes it easy for a script to +control another program and interact with it. + +This package originally contained expectk and some scripts +that used it. As expectk was removed from upstream tarball +in expect-5.45, now the package contains just these scripts. +Please use tclsh with package require Tk and Expect instead +of expectk. + +%prep +%setup -q -n expect%{version} +%patch0 -p1 -b .log_file +%patch1 -p1 -b .pkgpath +%patch2 -p1 -b .man-page +%patch3 -p1 -b .match-gt-numchars-segfault +%patch4 -p1 -b .re-memleak +# examples fixes +%patch100 -p1 -b .random +%patch101 -p1 -b .mkpasswd-dash +%patch102 -p1 -b .check-telnet +%patch103 -p1 -b .passmass-su-full-path +# -pkgpath.patch touch configure.in +aclocal +autoconf +( cd testsuite + autoconf -I.. ) + +%build +%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --enable-shared \ + --with-tclinclude=%{_includedir}/tcl-private/generic +make %{?_smp_mflags} + +%check +make test + +%install +rm -rf "$RPM_BUILD_ROOT" +make install DESTDIR="$RPM_BUILD_ROOT" + +# move +mv "$RPM_BUILD_ROOT"%{tcl_sitearch}/expect%{version}/libexpect%{version}.so "$RPM_BUILD_ROOT"%{_libdir} + +# for linking with -lexpect +ln -s libexpect%{majorver}.so "$RPM_BUILD_ROOT"%{_libdir}/libexpect.so + +# remove cryptdir/decryptdir, as Linux has no crypt command (bug 6668). +rm -f "$RPM_BUILD_ROOT"%{_bindir}/{cryptdir,decryptdir} +rm -f "$RPM_BUILD_ROOT"%{_mandir}/man1/{cryptdir,decryptdir}.1* +rm -f "$RPM_BUILD_ROOT"%{_bindir}/autopasswd + +# remove rpath +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libexpect%{version}.so + +%clean +rm -rf "$RPM_BUILD_ROOT" + + +%files +%defattr(-,root,root,-) +%doc FAQ HISTORY NEWS README +%{_bindir}/expect +%{_bindir}/autoexpect +%{_bindir}/dislocate +%{_bindir}/ftp-rfc +%{_bindir}/kibitz +%{_bindir}/lpunlock +%{_bindir}/mkpasswd +%{_bindir}/passmass +%{_bindir}/rftp +%{_bindir}/rlogin-cwd +%{_bindir}/timed-read +%{_bindir}/timed-run +%{_bindir}/unbuffer +%{_bindir}/weather +%{_bindir}/xkibitz +%dir %{tcl_sitearch}/expect%{version} +%{tcl_sitearch}/expect%{version}/pkgIndex.tcl +%{_libdir}/libexpect%{version}.so +%{_libdir}/libexpect.so +%{_mandir}/man1/autoexpect.1.gz +%{_mandir}/man1/dislocate.1.gz +%{_mandir}/man1/expect.1.gz +%{_mandir}/man1/kibitz.1.gz +%{_mandir}/man1/mkpasswd.1.gz +%{_mandir}/man1/passmass.1.gz +%{_mandir}/man1/tknewsbiff.1.gz +%{_mandir}/man1/unbuffer.1.gz +%{_mandir}/man1/xkibitz.1.gz + +%files devel +%defattr(-,root,root,-) +%{_mandir}/man3/libexpect.3* +%{_includedir}/* + +%files -n expectk +%defattr(-,root,root,-) +%{_bindir}/multixterm +%{_bindir}/tknewsbiff +%{_bindir}/tkpasswd +%{_bindir}/xpstat +%{_mandir}/man1/multixterm.1* +%{_mandir}/man1/tknewsbiff.1* + +%changelog +* Thu Oct 03 2013 Vitezslav Crhonek - 5.45-9 +- Fix memory leak when using -re option + Resolves: #1014624 + +* Wed Feb 13 2013 Fedora Release Engineering - 5.45-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 5.45-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Feb 06 2012 Vitezslav Crhonek - 5.45-6 +- Fix character matching to avoid segmentation fault +- Move libexpect link out of -devel subpackage + +* Fri Jan 13 2012 Fedora Release Engineering - 5.45-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Sep 06 2011 Vitezslav Crhonek - 5.45-4 +- Let user know when expample script needs telnet and it is missing + Resolves: #703702 +- Use full path to 'su' in passmass example, it's safer +- Fix expect man page minor formatting issue + +* Wed Mar 16 2011 Vitezslav Crhonek - 5.45-3 +- Fix mkpasswd fails randomly + Resolves: #674184 + +* Tue Feb 08 2011 Fedora Release Engineering - 5.45-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jan 18 2011 Vitezslav Crhonek - 5.45-1 +- Update to expect-5.45 + +* Wed Mar 10 2010 Vitezslav Crhonek - 5.44.1.15-1 +- Update to 5.44.1.15 from upstream CVS + Resolves: #528654, Resolves: #501820 +- Remove config.sub (no longer needed), remove unused patches (few are + upstream now, few are pointless with new version), comment patches +- Fix unbuffer to return exit code of ubuffered program + Resolves: #547686 +- Fix Tk initialization + Resolves: #456738 + +* Mon Aug 10 2009 Ville Skyttä - 5.43.0-19 +- Use bzipped upstream tarball. + +* Fri Jul 24 2009 Fedora Release Engineering - 5.43.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 5.43.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 11 2009 Vitezslav Crhonek - 5:43.0-16 +- Modify and rebuild for new Tcl + +* Thu Sep 25 2008 Vitezslav Crhonek - 5:43.0-15 +- Rediff all patches to work with patch --fuzz=0 + +* Mon Jun 9 2008 Vitezslav Crhonek - 5:43.0-14 +- Use latest config.sub file for package build + Resolves: #449560 + +* Mon Feb 11 2008 Vitezslav Crhonek - 5:43.0-13 +- Rebuild + +* Mon Jan 14 2008 Wart - 5.43.0-12 +- Update install locations to reflect updated auto_path in the tcl 8.5 package + +* Mon Jan 07 2008 Adam Tkac - 5.43.0-11 +- updated "tcl8.5" patch + +* Sat Jan 5 2008 Alex Lancaster - 5.43.0-10 +- Rebuild for new Tcl 8.5 + +* Thu Aug 23 2007 Vitezslav Crhonek - 5.43.0-9 +- rebuild + +* Sat Feb 10 2007 Jakub Jelinek - 5.43.0-8 +- Update to build this time with Tcl 8.4 + +* Thu Feb 8 2007 Miloslav Trmac - 5.43.0-7 +- s/%%{buildroot}/"$RPM_BUILD_ROOT"/g +- s,/usr/share/man,%%{_mandir},g +- Use the Fedora-specified Buildroot: +- Remove BuildRequires: libX11-devel +- Don't install pkgIndex.tcl as an executable file +- Drop the incorrect expect-5.32.2-fixcat.patch +- Remove comments from *.h.in because they confuse config.status; this makes + the workaround expect-5.43.0-cfg-setpgrp.patch unnecesary. + +* Sat Feb 3 2007 Miloslav Trmac - 5.43.0-6 +- Update to build with Tcl 8.5 +- Drop static libraries +- Ship more documentation +- Use %%check for (make test), remove the conditional + +* Wed Jul 12 2006 Jesse Keating - 5.43.0-5.1 +- rebuild + +* Mon May 15 2006 David Cantrell - 5.43.0-5 +- BuildRequires libX11-devel + +* Fri Feb 24 2006 David Cantrell - 5.43.0-4 +- Patch expLogChannelOpen() to create files with 0666 permissions (#182724) + +* Fri Feb 10 2006 Jesse Keating - 5.43.0-3.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 David Cantrell - 5.43.0-3 +- Rebuilt + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Tue May 31 2005 Jens Petersen - 5.43.0-2 +- fix flushing of unbuffer script (Charles Sullivan, #143963) + with unbuffer-child-flush-143963.patch (Don Libes) +- make autoconf include parent dir in testsuite to avoid error + (Robert Scheck, 150369) +- separate the examples scripts patches from the rest + +* Mon Mar 7 2005 Jens Petersen +- replace expect-5.32.2-setpgrp.patch by expect-5.43.0-cfg-setpgrp.patch + to set SETPGRP_VOID correctly + +* Mon Mar 7 2005 Jens Petersen - 5.43.0-1 +- run test make target by default + - can be turned off with --without check + +* Sat Mar 05 2005 Robert Scheck +- update to 5.43.0 (150369) + - no longer need expect-5.39.0-64bit-82547.patch, + expect-5.38.0-autopasswd-9917.patch + and expect-5.42-mkpasswd-verbose-user-141454.patch +- run aclocal and configure with current autoconf (116777) + - buildrequire autoconf and automake instead of autoconf213 + +* Fri Dec 3 2004 Jens Petersen - 5.42.1-2 +- fix "mkpasswd -v" failure when user not specified with + expect-5.42-mkpasswd-verbose-user-141454.patch (J F Wheeler, 141454) + +* Thu Aug 5 2004 Jens Petersen - 5.42.1-1 +- update to 5.42.1 (Robert Scheck, 126536) + - no longer need expect-5.32.2-kibitz.patch + - update expect-5.38.0-autopasswd-9917.patch +- drop explicit tcl and tk requires + +* Mon Jun 21 2004 Alan Cox +- Autopasswd doesnt work and isnt ever going to work with pam around + since password setting depends on the modules in use (think "fingerprint" + or "smartcard"..). Remove it. + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Fri Nov 28 2003 Jens Petersen - 5.39.0-95 +- new package split out from tcltk +- build against installed tcl and tk +- filtered changelog for expect +- buildrequire autoconf213 (#110583) [mvd@mylinux.com.ua] + +* Mon Nov 17 2003 Thomas Woerner 8.3.5-94 +- fixed RPATH for expect and expectk: expect-5.39.0-libdir.patch + +* Wed Oct 15 2003 Jens Petersen - 8.3.5-93 +- update expect to 5.39.0 (fixes #58317) +- drop first hunk of 64bit patch and rename to expect-5.39.0-64bit-82547.patch +- expect-5.32.2-weather.patch and expect-5.32.2-expectk.patch no longer needed + +* Wed Sep 17 2003 Matt Wilson 8.3.5-92 +- rebuild again for #91211 + +* Wed Sep 17 2003 Matt Wilson 8.3.5-91 +- rebuild to fix gzipped file md5sums (#91211) + +* Fri Jul 04 2003 Jens Petersen - 8.3.5-90 +- make sure expect and itcl are linked against buildroot not installroot libs + +* Tue Jan 28 2003 Jens Petersen - 8.3.5-87 +- bring back expect alpha patch, renamed to 64bit patch (#82547) + +* Fri Jan 17 2003 Jens Petersen - 8.3.5-85 +- add some requires + +* Tue Jan 14 2003 Jens Petersen - 8.3.5-84 +- drop synthetic lib provides +- remove obsolete patches from srpm +- update buildrequires +- use buildroot instead of RPM_BUILD_ROOT +- install all man pages under mandir, instead of moving some from /usr/man +- introduce _genfilelist macro for clean single-sweep find filelist generation + for each package +- use perl to remove buildroot prefix from filelists + +* Tue Jan 7 2003 Jeff Johnson 8.3.5-80 +- rebuild to generate deps for4 DSO's w/o DT_SONAME correctly. + +* Sat Jan 4 2003 Jeff Johnson 8.3.5-79 +- set execute bits on library so that requires are generated. + +* Tue Dec 10 2002 Jens Petersen 8.3.5-78 +- make lib symlinks to .so not .so.0 + +* Mon Dec 9 2002 Jens Petersen 8.3.5-76 +- make it build on x86_64 (details below) +- add 100 to expect patches +- patch expect configure to get EXP_LIB_SPEC to use libdir +- don't explicitly update config.{guess,sub} since %%configure does it for us +- added "--without check" rpmbuild option to disable running tests in future +- generate filelists from datadir and not from mandir from now on + +* Tue Dec 3 2002 Jens Petersen +- build without all makecfg patches for now + - in particular use upstream versioned library name convention +- add backward compatible lib symlinks for now +- add unversioned symlinks for versioned bindir files +- use make's -C option rather than jumping in and out of source dirs + during install +- use INSTALL_ROOT destdir-like make variable instead of makeinstall + for all subpackages except tix and itcl + +* Mon Oct 21 2002 Jens Petersen +- move expectk and expect-devel files out of expect into separate packages + (#9832) +- drop the crud compat dir symlinks in libdir +- correct expect license +- don't explicitly provide 64bit libs on ia64 and sparc64 + +* Tue Aug 20 2002 Jens Petersen 8.3.3-74 +- fix compat symlink from /usr/lib/expect (#71606) + +* Wed Aug 14 2002 Jens Petersen 8.3.3-73 +- update to expect spawn patch from hjl@gnu.org (bug 43310) + +* Tue Aug 13 2002 Jens Petersen 8.3.3-72 +- update expect to 5.38.0 +- fixes #71113 (reported by yarnall@lvc.edu) + +* Mon Jan 07 2002 Florian La Roche +- quick hack to have a correct setpgrp() call in expect +- fix config.guess and config.sub to newer versions + +* Mon Aug 28 2001 Adrian Havill +- expect's fixline1 busted for expectk scripts (tkpasswd/tknewsbiff/tkterm) + +* Mon Aug 8 2001 Adrian Havill +- re-enable glibc string and math inlines; recent gcc is a-ok. +- optimize at -O2 instead of -O +- rename "soname" patches related to makefile/autoconf changes + +* Wed Jul 25 2001 Adrian Havill +- fixed 64 bit RPM provides for dependencies + +* Thu Jul 19 2001 Adrian Havill +- used %%makeinstall to brute force fix any remaining unflexible makefile dirs +- improved randomness of expect's mkpasswd script via /dev/random (bug 9507) +- revert --enable-threads, linux is (still) not ready (yet) (bug 49251) + +* Sun Jul 8 2001 Adrian Havill +- refresh all sources to latest stable (TODO: separate expect/expectk) +- massage out some build stuff to patches (TODO: libtoolize hacked constants) +- remove patches already rolled into the upstream +- removed RPATH (bugs 45569, 46085, 46086), added SONAMEs to ELFs +- changed shared object filenames to something less gross +- reenable threads which seem to work now +- fixed spawn/eof read problem with expect (bug 43310) +- made compile-friendly for IA64 + +* Fri Mar 23 2001 Bill Nottingham +- bzip2 sources + +* Mon Mar 19 2001 Bill Nottingham +- build with -D_GNU_SOURCE - fixes expect on ia64 + +* Mon Mar 19 2001 Preston Brown +- build fix from ahavill. + +* Wed Feb 21 2001 Tim Powers +- fixed weather expect script using wrong server (#28505) + +* Tue Feb 13 2001 Adrian Havill +- rebuild so make check passes + +* Fri Oct 20 2000 Than Ngo +- rebuild with -O0 on alpha (bug #19461) + +* Thu Aug 17 2000 Jeff Johnson +- summaries from specspo. + +* Thu Jul 27 2000 Jeff Johnson +- rebuild against "working" util-linux col. + +* Fri Jun 16 2000 Jeff Johnson +- don't mess with %%{_libdir}, it's gonna be a FHS pita. + +* Fri Jun 2 2000 Jeff Johnson +- FHS packaging changes. +- revert --enable-threads, linux is not ready (yet) (#11789). +- expect: update to 5.31.7+ (#11595). + +* Sat Mar 18 2000 Jeff Johnson +- update to (tcl,tk}-8.2.3, expect-5.31, and itcl-3.1.0, URL's as well. +- use perl to drill out pre-pended RPM_BUILD_ROOT. +- configure with --enable-threads (experimental). +- autopasswd needs to handle password starting with hyphen (#9917). +- handle 553 ftp status in rftp expect script (#7869). +- remove cryptdir/decryptdir, as Linux has not crypt command (#6668). +- correct hierarchy spelling (#7082). +- fix "expect -d ...", format string had int printed as string (#7775). + +* Tue Mar 7 2000 Jeff Johnson +- rebuild for sparc baud rates > 38400. + +* Mon Feb 7 2000 Bill Nottingham +- handle compressed manpages + +* Thu Feb 03 2000 Elliot Lee +- Make changes from bug number 7602 +- Apply patch from bug number 7537 +- Apply fix from bug number 7157 +- Add fixes from bug #7601 to the runtcl patch + +* Wed Feb 02 2000 Cristian Gafton +- fix descriptions +- man pages are compressed (whatapain) + +* Tue Nov 30 1999 Jakub Jelinek +- compile on systems where SIGPWR == SIGLOST. + +* Thu Apr 8 1999 Jeff Johnson +- use /usr/bin/write in kibitz (#1320). +- use cirrus.sprl.umich.edu in weather (#1926). + +* Tue Feb 16 1999 Jeff Johnson +- expect does unaligned access on alpha (#989) +- upgrade expect to 5.28. + +* Tue Jan 12 1999 Cristian Gafton +- call libtoolize to allow building on the arm +- build for glibc 2.1 +- strip binaries + +* Thu Sep 10 1998 Jeff Johnson +- update tcl/tk/tclX to 8.0.3, expect is updated also. + +* Mon Jun 29 1998 Jeff Johnson +- expect: mkpasswd needs delay before sending password (problem #576) + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Sat May 02 1998 Cristian Gafton +- fixed expect binaries exec permissions + +* Wed Oct 22 1997 Otto Hammersmith +- fixed src urls + +* Mon Oct 06 1997 Erik Troan +- removed version numbers from descriptions + +* Mon Sep 22 1997 Erik Troan +- updated to tcl/tk 8.0 and related versions of packages + +* Tue Jun 17 1997 Erik Troan +- built against glibc +- fixed dangling tclx/tkx symlinks