- readline-patch updated
- OMIT-patch added - remove OMMIT-DEPENDENCES
NFY: proto-ftp and proto-http shared libraries are made with .soU extension
Changed files:
lftp-readline.patch -> 1.2
lftp.spec -> 1.93
---- lftp-2.3.9.orig/src/complete.cc Fri Dec 8 16:30:37 2000
-+++ lftp-2.3.9/src/complete.cc Sat Apr 14 05:38:44 2001
-@@ -39,7 +39,11 @@
+--- ./src/complete.cc.orig Mon May 14 20:59:10 2001
++++ ./src/complete.cc Mon May 14 22:13:26 2001
+@@ -38,8 +38,14 @@
+ #include "lftp_rl.h"
CDECL_BEGIN
+#undef __P
+#define __P(args) args
CDECL_BEGIN
+#undef __P
+#define __P(args) args
CDECL_END
static char *bash_dequote_filename (char *text, int quote_char);
CDECL_END
static char *bash_dequote_filename (char *text, int quote_char);
-@@ -575,7 +579,7 @@
- text=bash_dequote_filename(text, quoted);
- len=strlen(text);
+@@ -577,7 +583,7 @@
+ textq=bash_dequote_filename(textq, quoted);
+ len=strlen(textq);
-- char **matches=completion_matches(text,(CPFunction*)generator);
-+ char **matches=rl_completion_matches(text,(CPFunction*)generator);
+- char **matches=lftp_rl_completion_matches(textq,generator);
++ char **matches=rl_completion_matches(textq,generator);
+@@ -952,7 +958,6 @@
+ return (0);
+ }
- int lftp_complete_remote(int count,int key)
+-extern "C" int (*rl_last_func)(int,int);
+ static int lftp_complete_remote(int count,int key)
-- extern Function *rl_last_func;
--
- if(rl_last_func == (Function*)lftp_complete_remote)
- rl_last_func = (Function*)rl_complete;
Summary: Commandline ftp client
Summary(pl): Zaawansowany klient ftp
Name: lftp
Summary: Commandline ftp client
Summary(pl): Zaawansowany klient ftp
Name: lftp
-Version: 2.3.9
-Release: 4
+Version: 2.3.10
+Release: 1
License: GPL
Group: Applications/Networking
Group(de): Applikationen/Netzwerkwesen
License: GPL
Group: Applications/Networking
Group(de): Applikationen/Netzwerkwesen
Patch0: %{name}-am14_fix.patch
Patch1: %{name}-use_system_gettext.m4.patch
Patch2: %{name}-readline.patch
Patch0: %{name}-am14_fix.patch
Patch1: %{name}-use_system_gettext.m4.patch
Patch2: %{name}-readline.patch
+Patch3: %{name}-OMIT.patch
Icon: ftp.gif
URL: http://ftp.yars.free.net/projects/lftp/
BuildRequires: ncurses-devel >= 5.2
Icon: ftp.gif
URL: http://ftp.yars.free.net/projects/lftp/
BuildRequires: ncurses-devel >= 5.2
-%patch0 -p1
-%patch1 -p1
+#%patch0 -p1
+#%patch1 -p1
%build
libtoolize --copy --force
%build
libtoolize --copy --force
automake -a -c
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
%configure \
automake -a -c
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
%configure \
--with-modules \
--with%{?bcond_off_ssl:out}-ssl
%{__make}
--with-modules \
--with%{?bcond_off_ssl:out}-ssl
%{__make}
install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
+gzip -9nf README NEWS FAQ