From owner-freebsd-ports@FreeBSD.ORG Sat Mar 29 08:59:35 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E117B6D for ; Sat, 29 Mar 2014 08:59:35 +0000 (UTC) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 359FD8A1 for ; Sat, 29 Mar 2014 08:59:34 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Sat, 29 Mar 2014 09:54:24 +0100 id 0068F043.53368A40.00010887 Date: Sat, 29 Mar 2014 09:54:23 +0100 From: Milan Obuch To: Lena@lena.kiev.ua Subject: Re: ftp/curl without GSSAPI Message-ID: <20140329095423.4a32a8a4@zeta.dino.sk> In-Reply-To: <20140329083509.GA783@lena.kiev> References: <20140329083509.GA783@lena.kiev> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2014 08:59:35 -0000 On Sat, 29 Mar 2014 10:35:09 +0200 Lena@lena.kiev.ua wrote: > In `man curl`: > > --krb > (FTP) Enable Kerberos authentication and use. The level > must be entered and should be one of 'clear', 'safe', > 'confidential', or 'private'. Should you use a level that is not > one of these, 'private' will instead be used. > > This option requires a library built with kerberos4 > or GSSAPI (GSS-Negotiate) support. This is not very common. Use -V, > --ver- sion to see if your curl supports it. > > ~ $ curl -V > curl 7.35.0 (i386-portbld-freebsd8.4) libcurl/7.35.0 OpenSSL/1.0.1f > zlib/1.2.3 libssh2/1.4.3 Protocols: dict file ftp ftps gopher http > https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp > Features: AsynchDNS Largefile NTLM NTLM_WB SSL libz TLS-SRP ~ $ > > `make config` offers choice of GSSAPI support via > base system, security/heimdal and security/krb5. > The "base system" option was always selected. > I use 8.4-RELEASE i386, its base doesn't contain libgssapi. > curl versions up to and including 7.35.0 worked without GSSAPI > (which I needn't). Fresh curl (7.36.0) fails to build: > > ---> Upgrading 'curl-7.35.0' to 'curl-7.36.0' (ftp/curl) > ... > ===> curl-7.36.0 depends on file: /usr/local/lib/libcrypto.so.8 - > found ===> curl-7.36.0 depends on file: /usr/local/bin/perl5.16.3 - > found ===> curl-7.36.0 depends on shared library: libssh2.so - found > - found > ===> Configuring for curl-7.36.0 > ... > checking run-time libs availability... failed > configure: error: one or more libs available at link-time are not > available run-time. Libs used at link-time: -lssh2 -lgssapi -lz ===> > Script "configure" failed unexpectedly. Please report the problem to > sunpoet@FreeBSD.org [maintainer] and attach the > "/usr/ports/ftp/curl/work/curl-7.36.0/config.log" including the > output of the failure of your make command. Also, it might be a good > idea to provide an overview of all packages installed on your system > (e.g. a /usr/sbin/pkg_info -Ea). *** Error code 1 > Stop in /usr/ports/ftp/curl. > > How to force curl 7.36.0 to build without GSSAPI? > Just unselect all GSS-related option. It is 'none or one of' option group, not 'exactly one of' kind. Milan