Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 10:18:22 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/146791: Port update: ftp/lftp - Update to v4.0.7
Message-ID:  <201005211018.o4LAIMrO067679@www.freebsd.org>
Resent-Message-ID: <201005211020.o4LAK6ba041701@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146791
>Category:       ports
>Synopsis:       Port update: ftp/lftp - Update to v4.0.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 21 10:20:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        9.0-CURRENT
>Organization:
http://contribs.martymac.org
>Environment:
FreeBSD laptop.martymac.com 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Thu Jan 21 14:46:32 UTC 2010     martymac@laptop.martymac.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
This patch updates ftp/lftp to v4.0.7.

Changelog :

Version 4.0.7 - 2010-04-29

* make xfer:clobber off by default.
* limit number of attempts to upload a file (net:max-retries).
* handle 426 ftp reply to STOR specially.
* retry FEAT after login even after non-standard 5xx reply.

Version 4.0.6 - 2010-03-25

* use O_EXCL flag when xfer:clobber is off.
* better validation of server-provided file name.
* new setting xfer:auto-rename (off by default).
* new setting ftp:ssl-copy-sid (for some broken servers).
* fixed CCC ftp command to shutdown SSL connection properly.
* fixed `pget -c' on complete files.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN lftp.orig/Makefile lftp/Makefile
--- lftp.orig/Makefile	2010-05-20 16:07:24.364826533 +0000
+++ lftp/Makefile	2010-05-20 16:07:34.136781069 +0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lftp
-PORTVERSION=	4.0.5
+PORTVERSION=	4.0.7
 CATEGORIES=	ftp ipv6
 MASTER_SITES=	ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
 		ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/old/ \
diff -aurN lftp.orig/distinfo lftp/distinfo
--- lftp.orig/distinfo	2010-05-20 16:07:24.361826152 +0000
+++ lftp/distinfo	2010-05-20 16:07:57.572740109 +0000
@@ -1,3 +1,3 @@
-MD5 (lftp-4.0.5.tar.bz2) = 5400cad5f91e131ac2ded7c24aea594c
-SHA256 (lftp-4.0.5.tar.bz2) = 5c1f94f5780ed3cb51fe00439fbfa4e8b4bd28564c3248cb21f6ee9fd794c473
-SIZE (lftp-4.0.5.tar.bz2) = 1604028
+MD5 (lftp-4.0.7.tar.bz2) = a40e4518fc477c82ffcc5b04d9ff64ff
+SHA256 (lftp-4.0.7.tar.bz2) = 11d46744742274bd3437ffd1bdc298481242dd65308a401249f0a60d31987f41
+SIZE (lftp-4.0.7.tar.bz2) = 1596521
diff -aurN lftp.orig/files/patch-build-aux-ltmain.sh lftp/files/patch-build-aux-ltmain.sh
--- lftp.orig/files/patch-build-aux-ltmain.sh	2010-05-20 16:07:24.357828716 +0000
+++ lftp/files/patch-build-aux-ltmain.sh	2010-05-20 17:10:39.269269837 +0000
@@ -1,15 +1,15 @@
---- build-aux/ltmain.sh.orig	2008-12-15 18:04:37.000000000 +0100
-+++ build-aux/ltmain.sh	2008-12-15 18:07:52.000000000 +0100
-@@ -2077,10 +2077,12 @@
+--- build-aux/ltmain.sh.orig	2010-05-20 17:09:31.539282017 +0000
++++ build-aux/ltmain.sh	2010-05-20 17:10:11.971297050 +0000
+@@ -2076,12 +2076,6 @@
+ 	  func_execute_cmds "$postinstall_cmds" 'exit $?'
  	fi
  
- 	# Install the pseudo-library for information purposes.
-+	if false; then
- 	func_basename "$file"
- 	name="$func_basename_result"
- 	instname="$dir/$name"i
- 	func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
-+	fi
- 
+-	# Install the pseudo-library for information purposes.
+-	func_basename "$file"
+-	name="$func_basename_result"
+-	instname="$dir/$name"i
+-	func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
+-
  	# Maybe install the static library, too.
  	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+ 	;;
diff -aurN lftp.orig/files/patch-lib-Makefile.in lftp/files/patch-lib-Makefile.in
--- lftp.orig/files/patch-lib-Makefile.in	2010-05-20 16:07:24.348828410 +0000
+++ lftp/files/patch-lib-Makefile.in	2010-05-20 17:09:00.662349194 +0000
@@ -1,15 +1,15 @@
---- lib/Makefile.in.orig	2009-12-21 16:27:02.000000000 +0000
-+++ lib/Makefile.in	2009-12-28 07:11:54.582266810 +0000
-@@ -1063,8 +1063,6 @@
+--- lib/Makefile.in.orig	2010-05-20 17:06:32.285300994 +0000
++++ lib/Makefile.in	2010-05-20 17:08:39.765460763 +0000
+@@ -1127,8 +1127,6 @@
  ARG_NONNULL_H = arg-nonnull.h
+ CXXDEFS_H = c++defs.h
  GPERF = gperf
- LINK_WARNING_H = link-warning.h
 -charset_alias = $(DESTDIR)$(libdir)/charset.alias
 -charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
+ WARN_ON_USE_H = warn-on-use.h
  all: $(BUILT_SOURCES) config.h
  	$(MAKE) $(AM_MAKEFLAGS) all-recursive
- 
-@@ -1877,31 +1875,10 @@
+@@ -1981,31 +1979,10 @@
  	fi ; \
  	if $$need_charset_alias; then \
  	  $(mkinstalldirs) $(DESTDIR)$(libdir) ; \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005211018.o4LAIMrO067679>