pkgsrc/net/lftp/Makefile

56 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.83 2009/03/20 05:51:53 yyamano Exp $
DISTNAME= lftp-3.5.11
PKGREVISION= 1
CATEGORIES= net
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
MASTER_SITES= http://ftp.yars.free.net/pub/source/lftp/ \
ftp://ftp.iasi.roedu.net/pub/os/Linux/network/ftp/lftp/ \
http://ftp.yars.free.net/pub/source/lftp/old/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://lftp.yar.ru/
COMMENT= Powerful command line file transfer client
2004-03-29 05:28:49 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
2007-09-23 19:17:12 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2004-03-29 05:28:49 +02:00
2008-08-22 19:45:02 +02:00
MAKE_JOBS_SAFE= no
Update to version 2.6.4. Based on patches from Juan RP and Toru TAKAMIZU via PR pkg/19419. Changes: Version 2.6.4 - 2002-12-26 ========================== * new settings net:socket-bind-ipv4 and net:socket-bind-ipv6 to bind sockets to a specific address (useful to select a specific network interface to use). * now reget does not start transfer if not needed. * ssl:verify-certificate set to no by default. * fixed ~ handling in find and mirror. Version 2.6.3 - 2002-11-04 ========================== * fixed wrong eta calculation. * fixed cls when redirected output file was not writable. * fixed uploading of zero sized files over fish protocol. * fixed timezone manipulation on linux. * fixed a compilation problem on hp/ux. Version 2.6.2 - 2002-09-10 ========================== * readline history is now stored in a file. * handle full-disk condition as fatal if the file is removed. * recursive deletion (rm -r) fixed. It used DELE instead of RMD. * fixed a rare core dump, usually happening on completion. * fixed compilation with modules. Version 2.6.1 - 2002-08-10 ========================== * fixed core dump when handling Content-Disposition. * fixed core dump when specifying zero queue position. * fixed ETA rounding - it was possible to see 1h60m. * a number of compile problems fixed. Version 2.6.0 - 2002-08-02 ========================== * separated rate limitations for download and upload (set limit-rate 200:100). * added SSL certificate support and several SSL related settings. * connection slot support. Now you can switch sessions with Meta-[123...] or with command `slot <name>'. You can also use slot:<name> as a pseudo-URL. * per-slot queues. Now you can have several queues for the same site using different slots. * queue can be stopped now. Use `queue' with no args to create a stopped queue, `queue start' to run it, `queue stop' to stop it. When you exit lftp, the queue will start automatically. * mirror now appends source base name to target if target ends with a slash. * improved hftp:proxy setting. Now it defaults to http:proxy and is not needed if ftp:proxy is set to `http://...'. * fixed mirror in case of server without MDTM command. * mirror could start multiple transfers if it could not cd to a direcory, even without --parallel. * fixed fd leak in `(commands)' structure. * fixed memory leak in '(commands)'. Version 2.5.4 - 2002-06-05 ========================== * fixed double free problem introduced in version 2.5.3. * compilation fixes. Version 2.5.3 - 2002-06-02 ========================== * security fix: long error message from ftp server could cause buffer overflow. * fixed ftp:fix-pasv-address. Now the address should be fixed properly. * handle HTTP `100 Continue' in any open mode. * status line fixed: don't write a space to last screen column. * security fix: check that addresses have proper length. * migrated to gettext-0.11.2 and automake-1.6.1.
2003-01-31 18:01:57 +01:00
USE_PKGLOCALEDIR= YES
2004-07-10 05:14:45 +02:00
USE_LANGUAGES= c c++
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
USE_LIBTOOL= YES
Update to version 2.6.4. Based on patches from Juan RP and Toru TAKAMIZU via PR pkg/19419. Changes: Version 2.6.4 - 2002-12-26 ========================== * new settings net:socket-bind-ipv4 and net:socket-bind-ipv6 to bind sockets to a specific address (useful to select a specific network interface to use). * now reget does not start transfer if not needed. * ssl:verify-certificate set to no by default. * fixed ~ handling in find and mirror. Version 2.6.3 - 2002-11-04 ========================== * fixed wrong eta calculation. * fixed cls when redirected output file was not writable. * fixed uploading of zero sized files over fish protocol. * fixed timezone manipulation on linux. * fixed a compilation problem on hp/ux. Version 2.6.2 - 2002-09-10 ========================== * readline history is now stored in a file. * handle full-disk condition as fatal if the file is removed. * recursive deletion (rm -r) fixed. It used DELE instead of RMD. * fixed a rare core dump, usually happening on completion. * fixed compilation with modules. Version 2.6.1 - 2002-08-10 ========================== * fixed core dump when handling Content-Disposition. * fixed core dump when specifying zero queue position. * fixed ETA rounding - it was possible to see 1h60m. * a number of compile problems fixed. Version 2.6.0 - 2002-08-02 ========================== * separated rate limitations for download and upload (set limit-rate 200:100). * added SSL certificate support and several SSL related settings. * connection slot support. Now you can switch sessions with Meta-[123...] or with command `slot <name>'. You can also use slot:<name> as a pseudo-URL. * per-slot queues. Now you can have several queues for the same site using different slots. * queue can be stopped now. Use `queue' with no args to create a stopped queue, `queue start' to run it, `queue stop' to stop it. When you exit lftp, the queue will start automatically. * mirror now appends source base name to target if target ends with a slash. * improved hftp:proxy setting. Now it defaults to http:proxy and is not needed if ftp:proxy is set to `http://...'. * fixed mirror in case of server without MDTM command. * mirror could start multiple transfers if it could not cd to a direcory, even without --parallel. * fixed fd leak in `(commands)' structure. * fixed memory leak in '(commands)'. Version 2.5.4 - 2002-06-05 ========================== * fixed double free problem introduced in version 2.5.3. * compilation fixes. Version 2.5.3 - 2002-06-02 ========================== * security fix: long error message from ftp server could cause buffer overflow. * fixed ftp:fix-pasv-address. Now the address should be fixed properly. * handle HTTP `100 Continue' in any open mode. * status line fixed: don't write a space to last screen column. * security fix: check that addresses have proper length. * migrated to gettext-0.11.2 and automake-1.6.1.
2003-01-31 18:01:57 +01:00
GNU_CONFIGURE= YES
USE_GNU_READLINE= YES # uses GNU readline internal _rl_mark_modified_lines
SHLIBTOOL_OVERRIDE= # empty
.include "options.mk"
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
PLIST_SRC+= ${PKGDIR}/PLIST
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
Update to version 2.6.4. Based on patches from Juan RP and Toru TAKAMIZU via PR pkg/19419. Changes: Version 2.6.4 - 2002-12-26 ========================== * new settings net:socket-bind-ipv4 and net:socket-bind-ipv6 to bind sockets to a specific address (useful to select a specific network interface to use). * now reget does not start transfer if not needed. * ssl:verify-certificate set to no by default. * fixed ~ handling in find and mirror. Version 2.6.3 - 2002-11-04 ========================== * fixed wrong eta calculation. * fixed cls when redirected output file was not writable. * fixed uploading of zero sized files over fish protocol. * fixed timezone manipulation on linux. * fixed a compilation problem on hp/ux. Version 2.6.2 - 2002-09-10 ========================== * readline history is now stored in a file. * handle full-disk condition as fatal if the file is removed. * recursive deletion (rm -r) fixed. It used DELE instead of RMD. * fixed a rare core dump, usually happening on completion. * fixed compilation with modules. Version 2.6.1 - 2002-08-10 ========================== * fixed core dump when handling Content-Disposition. * fixed core dump when specifying zero queue position. * fixed ETA rounding - it was possible to see 1h60m. * a number of compile problems fixed. Version 2.6.0 - 2002-08-02 ========================== * separated rate limitations for download and upload (set limit-rate 200:100). * added SSL certificate support and several SSL related settings. * connection slot support. Now you can switch sessions with Meta-[123...] or with command `slot <name>'. You can also use slot:<name> as a pseudo-URL. * per-slot queues. Now you can have several queues for the same site using different slots. * queue can be stopped now. Use `queue' with no args to create a stopped queue, `queue start' to run it, `queue stop' to stop it. When you exit lftp, the queue will start automatically. * mirror now appends source base name to target if target ends with a slash. * improved hftp:proxy setting. Now it defaults to http:proxy and is not needed if ftp:proxy is set to `http://...'. * fixed mirror in case of server without MDTM command. * mirror could start multiple transfers if it could not cd to a direcory, even without --parallel. * fixed fd leak in `(commands)' structure. * fixed memory leak in '(commands)'. Version 2.5.4 - 2002-06-05 ========================== * fixed double free problem introduced in version 2.5.3. * compilation fixes. Version 2.5.3 - 2002-06-02 ========================== * security fix: long error message from ftp server could cause buffer overflow. * fixed ftp:fix-pasv-address. Now the address should be fixed properly. * handle HTTP `100 Continue' in any open mode. * status line fixed: don't write a space to last screen column. * security fix: check that addresses have proper length. * migrated to gettext-0.11.2 and automake-1.6.1.
2003-01-31 18:01:57 +01:00
CONFIGURE_ARGS+= --with-modules
CONFIGURE_ENV+= F77=${FALSE:Q}
LDFLAGS.Darwin+= -flat_namespace
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= yes
.endif
EGDIR= ${PREFIX}/share/examples/lftp
CONF_FILES= ${EGDIR}/lftp.conf.default ${PKG_SYSCONFDIR}/lftp.conf
INSTALLATION_DIRS= bin lib/lftp ${PKGMANDIR}/man1 share/examples/lftp share/lftp
2004-03-29 05:28:49 +02:00
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
post-install: post-install-perl
2007-09-23 19:17:12 +02:00
${INSTALL_DATA} ${WRKSRC}/lftp.conf ${DESTDIR}${EGDIR}/lftp.conf.default
.include "../../converters/libiconv/buildlink3.mk"
2004-02-15 22:41:04 +01:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"