From 922a434492728968b42cdfe7c1c25edb9e0c9770 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 12 Sep 2009 18:01:33 +0000 Subject: [PATCH] - up to 4.0.0 Changed files: lftp-m4.patch -> 1.3 lftp.spec -> 1.272 --- lftp-m4.patch | 25 +++++++++++++++++++++++++ lftp.spec | 9 ++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 lftp-m4.patch diff --git a/lftp-m4.patch b/lftp-m4.patch new file mode 100644 index 0000000..3041ffe --- /dev/null +++ b/lftp-m4.patch @@ -0,0 +1,25 @@ +--- lftp-4.0.0/configure.ac~ 2009-09-12 19:39:22.434759846 +0200 ++++ lftp-4.0.0/configure.ac 2009-09-12 19:39:56.352256686 +0200 +@@ -254,9 +254,9 @@ + + AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls], [don't use GNUTLS library]), + [with_gnutls=$withval], [with_gnutls=yes]) +-AC_ARG_WITH(openssl, ++AC_ARG_WITH(openssl,[ + AS_HELP_STRING([--with-openssl[[=/path]]], [use OpenSSL [at /path]]) +-AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)]), ++AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)])], + [with_openssl=$withval], [with_openssl=no]) + case "$with_openssl" in + yes) with_gnutls=no;; +--- lftp-4.0.0/configure.ac~ 2009-09-12 19:40:40.005586037 +0200 ++++ lftp-4.0.0/configure.ac 2009-09-12 19:43:06.141403565 +0200 +@@ -255,7 +255,7 @@ + AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls], [don't use GNUTLS library]), + [with_gnutls=$withval], [with_gnutls=yes]) + AC_ARG_WITH(openssl,[ +-AS_HELP_STRING([--with-openssl[[=/path]]], [use OpenSSL [at /path]]) ++AS_HELP_STRING([--with-openssl=/path], [use OpenSSL at /path]) + AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)])], + [with_openssl=$withval], [with_openssl=no]) + case "$with_openssl" in diff --git a/lftp.spec b/lftp.spec index 1d57a29..d065a2f 100644 --- a/lftp.spec +++ b/lftp.spec @@ -19,18 +19,20 @@ Summary(pl.UTF-8): Zaawansowany klient FTP/HTTP Summary(pt_BR.UTF-8): Sofisticado programa de transferência de arquivos (cliente FTP/HTTP) Summary(zh_CN.UTF-8): lftp 客户端程序 Name: lftp -Version: 3.7.15 +Version: 4.0.0 Release: 1 License: GPL v3+ Group: Applications/Networking Source0: ftp://ftp.yars.free.net/pub/source/lftp/%{name}-%{version}.tar.lzma -# Source0-md5: 7407a8eadacae90c9c6caf542c3f46d2 +# Source0-md5: 3a0baead3174e6d10c3262b03bc642c3 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2 # Source1-md5: cdad8fb5342eebd9916eccefc98a855b Source2: %{name}.desktop Patch0: %{name}-home_etc.patch Patch1: %{name}-makefile.patch +# ALWAYS send updated patch to lftp mailing lists Patch2: %{name}-pl.po-update.patch +Patch3: %{name}-m4.patch URL: http://lftp.yar.ru/ BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -78,7 +80,8 @@ o arquivo FEATURES para uma lista mais detalhada. %setup -q #%%patch0 -p1 %patch1 -p1 -%patch2 -p1 +#%patch2 -p1 +%patch3 -p1 rm -f po/stamp-po -- 2.44.0