diff --git a/lftp-3.6.1-empty_argument.patch b/lftp-3.6.1-empty_argument.patch new file mode 100644 index 0000000..0ad3750 --- /dev/null +++ b/lftp-3.6.1-empty_argument.patch @@ -0,0 +1,12 @@ +diff -up lftp-3.6.1/src/HttpDir.cc.empty_argument lftp-3.6.1/src/HttpDir.cc +--- lftp-3.6.1/src/HttpDir.cc.empty_argument 2007-08-29 13:20:13.000000000 +0200 ++++ lftp-3.6.1/src/HttpDir.cc 2008-01-25 14:00:43.000000000 +0100 +@@ -70,6 +70,8 @@ static bool find_value(const char *scan, + if(*scan=='"' || *scan=='\'') + quote=*scan++; + ++ if(match) ++ store.set(""); + while(scan $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf %find_lang %{name} -%if %{DEBUG} -%{_libdir}/rpm/brp-compress -exit 0 -%endif -:; %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig -%postun -if [ "$1" = 0 ]; then -/sbin/ldconfig -fi -exit 0 +%postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO %config(noreplace) %{_sysconfdir}/lftp.conf -%config /etc/ld.so.conf.d/* %{_bindir}/* %{_mandir}/*/* @@ -102,10 +83,12 @@ exit 0 %{_libdir}/liblftp-tasks* %changelog -* Tue Jan 23 2008 Martin Nagy - 3.6.1-1 +* Mon Feb 11 2008 Martin Nagy - 3.6.1-1 - upgrade to upstream version 3.6.1 - remove rpath and make some spec file changes for review (#225984) - remove old patches +- fix core dumping when html tag has its argument empty +- use own libtool * Tue Dec 13 2007 Martin Nagy - 3.5.14-3 - Fixed coredumping when downloading (#414051)