pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/lftp Update to version 3.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf656adfe49e
branches:  trunk
changeset: 494789:bf656adfe49e
user:      salo <salo%pkgsrc.org@localhost>
date:      Mon May 30 16:01:40 2005 +0000

description:
Update to version 3.2.1

Changes:

- convert to PKG_OPTIONS framework
- make gnutls default option, ssl optional

3.2.1:
======
- fixed handling of file names starting with a tilde in sftp protocol.
- fixed minor problem with `lftp -u user --help'.
- fixed compilation with modules.
- fixed compilation without OpenSSL and GnuTLS.
- fixed compilation with certain compiler versions.
- relaxed version requirement on GnuTLS.

3.2.0:
======
- added support for gnutls library. Now OpenSSL is only used if explicitly
  configured with option --with-openssl, and by default gnutls is used.
- added parser for AS/400 ftp listing.
- fixed a coredump in mirror when symbolic link target is unknown.

diffstat:

 net/lftp/Makefile   |   9 +++++----
 net/lftp/distinfo   |   8 ++++----
 net/lftp/options.mk |  22 ++++++++++++++++++++++
 3 files changed, 31 insertions(+), 8 deletions(-)

diffs (73 lines):

diff -r 2965d091c979 -r bf656adfe49e net/lftp/Makefile
--- a/net/lftp/Makefile Mon May 30 15:43:25 2005 +0000
+++ b/net/lftp/Makefile Mon May 30 16:01:40 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2005/04/18 16:19:16 salo Exp $
+# $NetBSD: Makefile,v 1.57 2005/05/30 16:01:40 salo Exp $
 #
 
-DISTNAME=              lftp-3.1.3
+DISTNAME=              lftp-3.2.1
 CATEGORIES=            net
 MASTER_SITES=          ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
                        ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
@@ -26,7 +26,8 @@
 
 SHLIBTOOL_OVERRIDE=    libtool
 
-CONFIGURE_ARGS+=       --with-ssl=${SSLBASE}
+.include "options.mk"
+
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-modules
 
@@ -44,6 +45,6 @@
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 2965d091c979 -r bf656adfe49e net/lftp/distinfo
--- a/net/lftp/distinfo Mon May 30 15:43:25 2005 +0000
+++ b/net/lftp/distinfo Mon May 30 16:01:40 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.31 2005/04/18 16:19:16 salo Exp $
+$NetBSD: distinfo,v 1.32 2005/05/30 16:01:40 salo Exp $
 
-SHA1 (lftp-3.1.3.tar.bz2) = dc065707ec6b5c88d7636deae3f7dbc55899d2e3
-RMD160 (lftp-3.1.3.tar.bz2) = e4ca381308921502f30f401156ca8d25aed38d1f
-Size (lftp-3.1.3.tar.bz2) = 1232798 bytes
+SHA1 (lftp-3.2.1.tar.bz2) = 7bd0ecca43e97887d9b0cd80c269ecd313f5e3f0
+RMD160 (lftp-3.2.1.tar.bz2) = cfad943ff48a718a9bb759590157ea0d3faf6ffc
+Size (lftp-3.2.1.tar.bz2) = 1238136 bytes
 SHA1 (patch-aa) = 07b287f211e1fa87ce319ccc5f9746ebc07da632
 SHA1 (patch-ab) = d230522c60786a2bcbce346419d8dfce412578d3
 SHA1 (patch-ac) = 8000bf8b44b39b7f87e9d7c89bcb513aa5150753
diff -r 2965d091c979 -r bf656adfe49e net/lftp/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/lftp/options.mk       Mon May 30 16:01:40 2005 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2005/05/30 16:01:40 salo Exp $
+#
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.lftp
+PKG_SUPPORTED_OPTIONS= gnutls ssl
+PKG_DEFAULT_OPTIONS=   gnutls
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgnutls) && !empty(PKG_OPTIONS:Mssl)
+PKG_FAIL_REASON+=      "Options \"gnutls\" and \"ssl\" are mutually exclusive."
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+CONFIGURE_ARGS+=       --without-openssl
+.include "../../security/gnutls/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+=       --without-gnutls
+CONFIGURE_ARGS+=       --with-openssl=${SSLBASE}
+.include "../../security/openssl/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index