pkgsrc/net/lftp/patches/patch-aa

38 lines
1.5 KiB
Text
Raw Normal View History

2009-12-05 17:25:01 +01:00
$NetBSD: patch-aa,v 1.15 2009/12/05 16:25:01 tnn Exp $
Do not install by default Perl scripts; they are installed via
${INSTALL_SCRIPT} if the user set the "perl" option.
Update to 2.4.4, as provided in pkg/14062 by Hiramatsu Yoshifumi, with some changes by me (strongly buildlinked now). ATTENTION: If package compilation is failing for you on -current in the linking step, make sure you have /usr/include/libintl.h v1.2 (2001/08/13)! [Thanks for the tip, Johnny!] Some of the changes since 2.3.9 (for a complete log see ${WRKSRC}/NEWS): * sometimes lftp did not expand tilde in remote path - fixed. * new setting ftp:home to specify starting directory explicitly. Set it to `/' to override RFC1738 ftp url semantics if you don't like the look of `ftp://host/%2Fpath'. * improved abort sequence for passive mode, now wu-ftpd does not hang. * fish protocol support (over plain ssh connection). * use CONNECT method for https over http proxy. * support for variable name completion (Nicolas Noble). * queue editing support (Glenn F. Maynard). * support http keep-alive in case of chunked transfer encoding. * terminate some never-ending jobs before moving to background. * support for HTTP/1.1 416 reply code. * support for ftp ACCT command (ftp:acct variable) and for SITE GROUP command (ftp:site-group variable). E.g. `set ftp:acct/user@host account/password'. * new setting ftp:port-ipv4 to specify explicitly IP address sent with PORT command (suggested by Julien Oster and Jonas Jensen with patches). * new setting ftp:ssl-auth to specify AUTH argument to use (SSL, TLS, TLS-C or TLS-P). * roxen directory listing support. * new settings ftp:retry-530 and ftp:retry-530-anonymous. Retry on server reply 530 for PASS command if text matches these regular expressions. These settings should be useful to distinguish between overloaded server (temporary condition) and incorrect password (permanent condition). * retry ftp login quickly on next address if the server has many (works well on ftp.redhat.com, for example). * improved fuzzy variable name matching. Exact prefix and exact name after prefix are taken into account separately. E.g. http:pro is not ambigous now between http:proxy and https:proxy. * implemented -c option for reverse mirror (mirror -R -c). * allow open "" to switch to disconnected dummy session. * allow adding bookmark for disconnected dummy session. * new translation zh_TW (by R.I.P. Deaddog <maddog@linuxhall.org>). * made `lftp@' the default ftp password. As well as many bug fixes and translation updates.
2001-10-03 16:37:13 +02:00
Do not remove the *.la files.
--- src/Makefile.in.orig 2009-09-16 11:31:08.000000000 +0200
+++ src/Makefile.in
@@ -980,7 +980,7 @@ top_builddir = @top_builddir@
Update to 3.7.14. Upstream changes: Version 3.7.14 - 2009-05-15 use line buffering for mirror log file. fixed `chmod' command mode calculation. fixed status line of `repeat' command. fixed sftp charset translation in file listings. fixed output ordering by flushing stdout before calling external programs. fixed coredump in sftp when ssh process gets killed. Version 3.7.13 - 2009-04-30 fixed a coredump in some commands printing to screen. Version 3.7.12 - 2009-04-28 fixed core dump on `mput -d' command. fixed a core dump on `kill' command. fixed mkdir -p for sftp protocol. fixed some signed/unsigned conversion bugs. Version 3.7.11 - 2009-03-20 add dynamic commands in abc order (as output by help). fixed eta display (broken in 3.7.10). Version 3.7.10 - 2009-03-18 fixed pget -c. fixed `exit kill' command. show sleep time left in status. make ftp:prefer-epsv off by default. recognize a specific error message and turn off REST command. Version 3.7.9 - 2009-03-03 new setting ftp:prefer-epsv. add support for IPv6 scope for link-local addresses (Arkadiusz Miskiewicz). fixed compilation on OpenBSD (Kevin Lo). fixed parsing of NT unix-like listings where hour is one digit. gnulib sources updated, vsnprintf-posix module imported. Version 3.7.8 - 2009-01-23 fixed upload via ftps in encrypted mode. gnulib sources updated. Version 3.7.7 - 2008-12-12 new ftp proxy auth type: proxy-user@host. new setting ftp:trust-feat (default no). changed GPL version to 3 (as gnulib modules require it). Version 3.7.6 - 2008-11-17 fixed memory corruption in zmore. fixed compilation on some systems. Version 3.7.5 - 2008-11-07 new setting cmd:move-background-detach. added support for number suffixes in settings (k - kibi, m - mebi, etc). shutdown SSL connection before closing the socket on upload. fixed mirror -RP. fixed another problem with `kill all'. updated gnulib. Version 3.7.4 - 2008-08-06 fixed a coredump in `kill all'. fixed compilation problems on some systems. used getdate from gnulib. Version 3.7.3 - 2008-05-23 added support for 2-argument SITE UTIME and MFMT commands. added a workaround for paramiko sftp server. included newer gnulib sources using gnulib-tool. Polish translation updated (Jakub Bogusz). fixed German translation encoding. Version 3.7.2 - 2008-05-07 fixed core dump when sending http cookies. fixed assertion failure for ftp over http proxy (CONNECT mode). fixed cwd tracking for ftps. Version 3.7.1 - 2008-04-18 use time 12:00:00 instead of 12:00:30 when the time is unknown. make sftp:use-full-path on by default. fixed sftp du on non-existent files. GNU Lib sources updated (Nix). fixed compilation on cygwin (Arkady Sherman). French translation updated (Alain PORTAL). German translation updated (Moritz Moeller-Herrmann). Version 3.7.0 - 2008-03-07 new setting ftp:proxy-auth-type and two new ftp proxy modes (joined-acct, open) (partly based on patch from David Wolfe). don't add the same network address multiple times; report resolved addresses. added new open -s option; help for "slot" command (Laurent MONIN). added a workaround for proftpd NLST bug. added a workaround for servers sending single NL. handle host key verification error in fish and sftp. handle http codes 307 and 303. fixed a core dump when doing "open host>file". fixed CCC handling in secure ftp. fixed spinning when cmd:fail-exit is true in a script. included zh_HK translation (Abel Cheung). Version 3.6.3 - 2008-01-28 new setting sftp:use-full-path to send full path instead of home-relative. don't use sftp FSETSTAT when not needed. fixed core dump on kill all with mirror. fixed sftp:charset setting. fixed debug printing of sftp file handle. fixed unsetting of fish:charset setting. fixed compilation on systems lacking wcwidth. Version 3.6.2 - 2008-01-03 added a workaround for ftp servers which don't open data connection in certain conditions. don't decode URL escapes in get/put when no URL schema used. fixed counting of file removal errors in mirror. fixed a 2-byte buffer overflow when showing transfer percents. fixed a problem with incorrect port/host name in http requests. fixed coredump in du command with long paths on some systems. fixed coredump in html parser on empty links. fixed compilation on some systems. Version 3.6.1 - 2007-11-09 repeat --weak option to terminate the loop automatically when exiting lftp. ftp:use-stat-for-list is off by default. slot command fixed. fixed timeout handling in ftp. french and polish translations updated. Version 3.6.0 - 2007-10-19 major code cleanup. new setting ftp:use-stat-for-list allows faster directory listing. new command `eval' with -f option allows complex aliases. send encoded parts of ftp URLs untranslated to ftp server. new mirror options --on-change, --depth-first, --no-empty-dirs, --ascii. new mirror option --only-existing (Damon Harper). new setting xfer:log, log successful transfers if true to ~/.lftp/tarnsfer_log. new setting ssl:check-hostname. fixed cls exit code in case of an error. Version 3.5.15 - 2007-10-19 fixed timeout handling when waiting for 150 or 125 ftp reply. fixed a bug occuring when turning off proxy server setting. Version 3.5.14 - 2007-08-31 handle ftp reply with code 125 same as code 150 (Craig Ruff). french translation updated (Alain PORTAL). Version 3.5.13 - 2007-08-23 fixed ftps not to access data socket before 150 reply. fixed sftp to send properly sized packets on upload. fixed infinite retrying on upload. fixed compilation without iconv. fixed buffering in ascii mode transfers. Version 3.5.12 - 2007-07-26 hex-encode all non-ascii characters in URLs. allow cross-compilation without iconv (Jakob Truelsen). french translation updated (Alain PORTAL).
2009-06-08 11:54:50 +02:00
top_srcdir = @top_srcdir@
Update to version 3.3.5 Changes: - prefer ssl over gnutls by default, by popular demand - refresh MASTER_SITES list - add perl option, installs optional additional perl scripts 3.3.5: ====== - added mirror --older-than, --size-range and --max-errors options. - improved CCC support - allowed protected transfers after CCC. - added support for sftp v5 and v6 (experimental). - added configure option --with-pager. - fixed file uploading via protected ftp with openssl. - fixed compilation on cygwin. - fixed compilation with sun c++. 3.3.4: ====== - added support for CCC command and ftp:ssl-use-ccc setting. - remove password from URLs when showing them on status line. - fixed `open -u' with an URL. - fixed a rare spinning. - fixed compilation on HP-UX. - fixed handling of 334 reply to AUTH command. 3.3.3: ====== - added support for LFTP_HOME environment variable. - added workaround for proftpd's empty directories. - fixed `open file:/path'. - fixed some bugs introduced in 3.3.2. 3.3.2: ====== - fixed a coredump caused by double-free. 3.3.1: ====== - new setting xfer:destination-directory (default for -O option of get, mget). - fixed path+file combination in http - avoid double slash. - fixed url composition in hftp, a slash was missed. - fixed `open ftp.example.com/path'. - fixed a coredump when a bookmark contained lots of quotable characters. - fixed a coredump when an error happened while loading CA or CRL certificates. - fixed uploading of empty files via ftp with ftp:ssl-protect-data on. - fixed exit code of slot command. - fixed a coredump with `kill all'. - fixed path extraction from html files (broken in 3.3.0). 3.3.0: ====== - now plain files can be current location in http protocol. - report total bytes transferred and transfer rate in mirror. - included a script for file verification (verify-file). It can check crc32, md5sum, gzip, bzip2, rpm, unzip and other things. - new settings xfer:verify, xfer:verify-command. When xfer:verify is on, verify-command is launched after successful file transfer (to local disk) to check the file consistency. - fixed `source -e' to allow subprocess reading from the terminal. - fixed `source' to return error exit code if the file is unreadable. - fixed `source' on large command files - some commands were truncated.
2005-12-04 23:12:07 +01:00
pkgverlibdir = $(pkglibdir)/$(VERSION)
bin_SCRIPTS = lftpget
-pkgdata_SCRIPTS = import-ncftp import-netscape verify-file convert-netscape-cookies
+pkgdata_SCRIPTS = import-ncftp import-netscape
noinst_SCRIPTS = ftpget
EXTRA_DIST = $(pkgdata_SCRIPTS) $(bin_SCRIPTS) $(noinst_SCRIPTS)
lftp_SOURCES = lftp.cc complete.h complete.cc lftp_rl.c lftp_rl.h
@@ -1513,7 +1513,7 @@ all-am: Makefile $(LTLIBRARIES) $(PROGRA
install-binPROGRAMS: install-libLTLIBRARIES
Update to 2.4.4, as provided in pkg/14062 by Hiramatsu Yoshifumi, with some changes by me (strongly buildlinked now). ATTENTION: If package compilation is failing for you on -current in the linking step, make sure you have /usr/include/libintl.h v1.2 (2001/08/13)! [Thanks for the tip, Johnny!] Some of the changes since 2.3.9 (for a complete log see ${WRKSRC}/NEWS): * sometimes lftp did not expand tilde in remote path - fixed. * new setting ftp:home to specify starting directory explicitly. Set it to `/' to override RFC1738 ftp url semantics if you don't like the look of `ftp://host/%2Fpath'. * improved abort sequence for passive mode, now wu-ftpd does not hang. * fish protocol support (over plain ssh connection). * use CONNECT method for https over http proxy. * support for variable name completion (Nicolas Noble). * queue editing support (Glenn F. Maynard). * support http keep-alive in case of chunked transfer encoding. * terminate some never-ending jobs before moving to background. * support for HTTP/1.1 416 reply code. * support for ftp ACCT command (ftp:acct variable) and for SITE GROUP command (ftp:site-group variable). E.g. `set ftp:acct/user@host account/password'. * new setting ftp:port-ipv4 to specify explicitly IP address sent with PORT command (suggested by Julien Oster and Jonas Jensen with patches). * new setting ftp:ssl-auth to specify AUTH argument to use (SSL, TLS, TLS-C or TLS-P). * roxen directory listing support. * new settings ftp:retry-530 and ftp:retry-530-anonymous. Retry on server reply 530 for PASS command if text matches these regular expressions. These settings should be useful to distinguish between overloaded server (temporary condition) and incorrect password (permanent condition). * retry ftp login quickly on next address if the server has many (works well on ftp.redhat.com, for example). * improved fuzzy variable name matching. Exact prefix and exact name after prefix are taken into account separately. E.g. http:pro is not ambigous now between http:proxy and https:proxy. * implemented -c option for reverse mirror (mirror -R -c). * allow open "" to switch to disconnected dummy session. * allow adding bookmark for disconnected dummy session. * new translation zh_TW (by R.I.P. Deaddog <maddog@linuxhall.org>). * made `lftp@' the default ftp password. As well as many bug fixes and translation updates.
2001-10-03 16:37:13 +02:00
installdirs:
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgverlibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)"; do \
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)"; do \
Update to 3.7.14. Upstream changes: Version 3.7.14 - 2009-05-15 use line buffering for mirror log file. fixed `chmod' command mode calculation. fixed status line of `repeat' command. fixed sftp charset translation in file listings. fixed output ordering by flushing stdout before calling external programs. fixed coredump in sftp when ssh process gets killed. Version 3.7.13 - 2009-04-30 fixed a coredump in some commands printing to screen. Version 3.7.12 - 2009-04-28 fixed core dump on `mput -d' command. fixed a core dump on `kill' command. fixed mkdir -p for sftp protocol. fixed some signed/unsigned conversion bugs. Version 3.7.11 - 2009-03-20 add dynamic commands in abc order (as output by help). fixed eta display (broken in 3.7.10). Version 3.7.10 - 2009-03-18 fixed pget -c. fixed `exit kill' command. show sleep time left in status. make ftp:prefer-epsv off by default. recognize a specific error message and turn off REST command. Version 3.7.9 - 2009-03-03 new setting ftp:prefer-epsv. add support for IPv6 scope for link-local addresses (Arkadiusz Miskiewicz). fixed compilation on OpenBSD (Kevin Lo). fixed parsing of NT unix-like listings where hour is one digit. gnulib sources updated, vsnprintf-posix module imported. Version 3.7.8 - 2009-01-23 fixed upload via ftps in encrypted mode. gnulib sources updated. Version 3.7.7 - 2008-12-12 new ftp proxy auth type: proxy-user@host. new setting ftp:trust-feat (default no). changed GPL version to 3 (as gnulib modules require it). Version 3.7.6 - 2008-11-17 fixed memory corruption in zmore. fixed compilation on some systems. Version 3.7.5 - 2008-11-07 new setting cmd:move-background-detach. added support for number suffixes in settings (k - kibi, m - mebi, etc). shutdown SSL connection before closing the socket on upload. fixed mirror -RP. fixed another problem with `kill all'. updated gnulib. Version 3.7.4 - 2008-08-06 fixed a coredump in `kill all'. fixed compilation problems on some systems. used getdate from gnulib. Version 3.7.3 - 2008-05-23 added support for 2-argument SITE UTIME and MFMT commands. added a workaround for paramiko sftp server. included newer gnulib sources using gnulib-tool. Polish translation updated (Jakub Bogusz). fixed German translation encoding. Version 3.7.2 - 2008-05-07 fixed core dump when sending http cookies. fixed assertion failure for ftp over http proxy (CONNECT mode). fixed cwd tracking for ftps. Version 3.7.1 - 2008-04-18 use time 12:00:00 instead of 12:00:30 when the time is unknown. make sftp:use-full-path on by default. fixed sftp du on non-existent files. GNU Lib sources updated (Nix). fixed compilation on cygwin (Arkady Sherman). French translation updated (Alain PORTAL). German translation updated (Moritz Moeller-Herrmann). Version 3.7.0 - 2008-03-07 new setting ftp:proxy-auth-type and two new ftp proxy modes (joined-acct, open) (partly based on patch from David Wolfe). don't add the same network address multiple times; report resolved addresses. added new open -s option; help for "slot" command (Laurent MONIN). added a workaround for proftpd NLST bug. added a workaround for servers sending single NL. handle host key verification error in fish and sftp. handle http codes 307 and 303. fixed a core dump when doing "open host>file". fixed CCC handling in secure ftp. fixed spinning when cmd:fail-exit is true in a script. included zh_HK translation (Abel Cheung). Version 3.6.3 - 2008-01-28 new setting sftp:use-full-path to send full path instead of home-relative. don't use sftp FSETSTAT when not needed. fixed core dump on kill all with mirror. fixed sftp:charset setting. fixed debug printing of sftp file handle. fixed unsetting of fish:charset setting. fixed compilation on systems lacking wcwidth. Version 3.6.2 - 2008-01-03 added a workaround for ftp servers which don't open data connection in certain conditions. don't decode URL escapes in get/put when no URL schema used. fixed counting of file removal errors in mirror. fixed a 2-byte buffer overflow when showing transfer percents. fixed a problem with incorrect port/host name in http requests. fixed coredump in du command with long paths on some systems. fixed coredump in html parser on empty links. fixed compilation on some systems. Version 3.6.1 - 2007-11-09 repeat --weak option to terminate the loop automatically when exiting lftp. ftp:use-stat-for-list is off by default. slot command fixed. fixed timeout handling in ftp. french and polish translations updated. Version 3.6.0 - 2007-10-19 major code cleanup. new setting ftp:use-stat-for-list allows faster directory listing. new command `eval' with -f option allows complex aliases. send encoded parts of ftp URLs untranslated to ftp server. new mirror options --on-change, --depth-first, --no-empty-dirs, --ascii. new mirror option --only-existing (Damon Harper). new setting xfer:log, log successful transfers if true to ~/.lftp/tarnsfer_log. new setting ssl:check-hostname. fixed cls exit code in case of an error. Version 3.5.15 - 2007-10-19 fixed timeout handling when waiting for 150 or 125 ftp reply. fixed a bug occuring when turning off proxy server setting. Version 3.5.14 - 2007-08-31 handle ftp reply with code 125 same as code 150 (Craig Ruff). french translation updated (Alain PORTAL). Version 3.5.13 - 2007-08-23 fixed ftps not to access data socket before 150 reply. fixed sftp to send properly sized packets on upload. fixed infinite retrying on upload. fixed compilation without iconv. fixed buffering in ascii mode transfers. Version 3.5.12 - 2007-07-26 hex-encode all non-ascii characters in URLs. allow cross-compilation without iconv (Jakob Truelsen). french translation updated (Alain PORTAL).
2009-06-08 11:54:50 +02:00
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
Update to 2.4.4, as provided in pkg/14062 by Hiramatsu Yoshifumi, with some changes by me (strongly buildlinked now). ATTENTION: If package compilation is failing for you on -current in the linking step, make sure you have /usr/include/libintl.h v1.2 (2001/08/13)! [Thanks for the tip, Johnny!] Some of the changes since 2.3.9 (for a complete log see ${WRKSRC}/NEWS): * sometimes lftp did not expand tilde in remote path - fixed. * new setting ftp:home to specify starting directory explicitly. Set it to `/' to override RFC1738 ftp url semantics if you don't like the look of `ftp://host/%2Fpath'. * improved abort sequence for passive mode, now wu-ftpd does not hang. * fish protocol support (over plain ssh connection). * use CONNECT method for https over http proxy. * support for variable name completion (Nicolas Noble). * queue editing support (Glenn F. Maynard). * support http keep-alive in case of chunked transfer encoding. * terminate some never-ending jobs before moving to background. * support for HTTP/1.1 416 reply code. * support for ftp ACCT command (ftp:acct variable) and for SITE GROUP command (ftp:site-group variable). E.g. `set ftp:acct/user@host account/password'. * new setting ftp:port-ipv4 to specify explicitly IP address sent with PORT command (suggested by Julien Oster and Jonas Jensen with patches). * new setting ftp:ssl-auth to specify AUTH argument to use (SSL, TLS, TLS-C or TLS-P). * roxen directory listing support. * new settings ftp:retry-530 and ftp:retry-530-anonymous. Retry on server reply 530 for PASS command if text matches these regular expressions. These settings should be useful to distinguish between overloaded server (temporary condition) and incorrect password (permanent condition). * retry ftp login quickly on next address if the server has many (works well on ftp.redhat.com, for example). * improved fuzzy variable name matching. Exact prefix and exact name after prefix are taken into account separately. E.g. http:pro is not ambigous now between http:proxy and https:proxy. * implemented -c option for reverse mirror (mirror -R -c). * allow open "" to switch to disconnected dummy session. * allow adding bookmark for disconnected dummy session. * new translation zh_TW (by R.I.P. Deaddog <maddog@linuxhall.org>). * made `lftp@' the default ftp password. As well as many bug fixes and translation updates.
2001-10-03 16:37:13 +02:00
install: install-am
2009-12-05 17:25:01 +01:00
@@ -1631,6 +1631,9 @@ uninstall-am: uninstall-binPROGRAMS unin
2009-12-05 17:25:01 +01:00
# libtool does not strip modules, do it here.
install-data-hook:
+ :
+
+install-data-hook-disabled:
@WITH_MODULES_TRUE@ rm -f $(DESTDIR)$(pkgverlibdir)/*.la; \
@WITH_MODULES_TRUE@ case " $(LDFLAGS) " in *" -s "*) \
@WITH_MODULES_TRUE@ $(STRIP) $(DESTDIR)$(pkgverlibdir)/*.so;; \