summaryrefslogtreecommitdiff
path: root/net/lftp/options.mk
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2005-05-30 16:01:40 +0000
committersalo <salo@pkgsrc.org>2005-05-30 16:01:40 +0000
commit838053b91b78e882f42bbb74d3ad574863e45ff8 (patch)
tree0e601c0d22a478634c34943abcf83568cbbaf15e /net/lftp/options.mk
parentfea026691496512c8ffc74781d72a61f0bfce60e (diff)
downloadpkgsrc-838053b91b78e882f42bbb74d3ad574863e45ff8.tar.gz
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 (limited to 'net/lftp/options.mk')
-rw-r--r--net/lftp/options.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/lftp/options.mk b/net/lftp/options.mk
new file mode 100644
index 00000000000..13f62dffcf3
--- /dev/null
+++ b/net/lftp/options.mk
@@ -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