ports/82837: [patch] Missing dependencies at ftp/lftp + enhanced config
Dmitry A Grigorovich
odip at bionet.nsc.ru
Thu Jun 30 18:40:17 UTC 2005
>Number: 82837
>Category: ports
>Synopsis: [patch] Missing dependencies at ftp/lftp + enhanced config
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 30 18:40:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dmitry A Grigorovich
>Release: FreeBSD manticore.bionet.nsc.ru 5.4-RELEASE-p2
>Organization:
ICiG SB RAS, Russia
>Environment:
FreeBSD manticore.bionet.nsc.ru 5.4-RELEASE-p2
>Description:
At ftp/lftp ports missed dependency of expat library
Also added support for make config
Also lftp by default with openssl support
>How-To-Repeat:
Install ftp/lftp
root at manticore# ldd /usr/local/bin/lftp | grep expat
libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x282a1000)
Library expat found
root at manticore# pkg_info -rx lftp
Information for lftp-3.2.1_1:
Depends on:
Dependency: libiconv-1.9.2_1
Dependency: gettext-0.14.5
Expat not presented in dependency list !
>Fix:
Apply patch
Reinstall port
--- patch-lftp begins here ---
diff -ur lftp/Makefile lftp.new/Makefile
--- lftp/Makefile Mon Jun 27 14:26:38 2005
+++ lftp.new/Makefile Fri Jul 1 01:15:07 2005
@@ -7,6 +7,7 @@
PORTNAME= lftp
PORTVERSION= 3.2.1
+PORTREVISION= 1
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/ \
@@ -40,6 +41,21 @@
USE_GPG?= yes
SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc
+LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+OPTIONS= GNUTLS "With GnutTLS support" off \
+ OPENSSL "With OpenSSL support" on \
+ SOCKS4 "With socks4 support" off \
+ SOCKS5 "With socks5 support" off \
+ SOCKS_DANTE "With socksdante support" off \
+ NLS "With i18n support" on
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GNUTLS)
CONFIGURE_ARGS+= --with-gnutls
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
@@ -50,10 +66,6 @@
USE_OPENSSL= yes
.endif
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-
.if defined(WITH_SOCKS4)
CONFIGURE_ARGS+= --with-socks
.endif
@@ -83,4 +95,4 @@
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- patch-lftp ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list