aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2015-05-15 04:45:19 +0800
committermartymac <martymac@FreeBSD.org>2015-05-15 04:45:19 +0800
commitde81649b342b4e5a1083f3f96879f10104ef8c57 (patch)
tree29692370c844cc8f67b95f0b371d3be3338200a1 /ftp
parent901fc1c529527555326e9099d3be1bdae912c992 (diff)
downloadfreebsd-ports-gnome-de81649b342b4e5a1083f3f96879f10104ef8c57.tar.gz
freebsd-ports-gnome-de81649b342b4e5a1083f3f96879f10104ef8c57.tar.zst
freebsd-ports-gnome-de81649b342b4e5a1083f3f96879f10104ef8c57.zip
Update to 4.6.2.
Note: Lftp, when built with OpenSSL, now needs OpenSSL >= 1.0.1. On older FreeBSD releases (8.x and 9.x), base OpenSSL is too old. In this case, the ports' version will be used.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/lftp/Makefile11
-rw-r--r--ftp/lftp/distinfo4
2 files changed, 12 insertions, 3 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 171506ecae39..30ec2b7e12f0 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lftp
-PORTVERSION= 4.6.1
+PORTVERSION= 4.6.2
CATEGORIES= ftp ipv6
MASTER_SITES= http://lftp.yar.ru/ftp/ \
http://lftp.yar.ru/ftp/old/ \
@@ -50,6 +50,15 @@ GNUTLS_CONFIGURE_WITH= gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_USES= pkgconfig
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL}
+. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015
+WITH_OPENSSL_PORT= yes
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+. endif
+.endif
+
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/lftp.conf \
${STAGEDIR}${PREFIX}/etc/lftp.conf.sample
diff --git a/ftp/lftp/distinfo b/ftp/lftp/distinfo
index c411602d3946..05ac8e5e96cc 100644
--- a/ftp/lftp/distinfo
+++ b/ftp/lftp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lftp-4.6.1.tar.gz) = abc35f5d5ed9c9d7b52c0b8c8c98dfae0f1714dabaf5136bf5b117a5948cb768
-SIZE (lftp-4.6.1.tar.gz) = 2629303
+SHA256 (lftp-4.6.2.tar.gz) = 7e5291a0638f1602fd7f98c407fbc191f4d29677f469dd0455f66b48fc7953ca
+SIZE (lftp-4.6.2.tar.gz) = 2637499