From owner-freebsd-ports@freebsd.org Mon Jul 18 21:11:44 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BAA9B9BDBF for ; Mon, 18 Jul 2016 21:11:44 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F0D51321 for ; Mon, 18 Jul 2016 21:11:44 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qk0-x229.google.com with SMTP id p74so169345376qka.0 for ; Mon, 18 Jul 2016 14:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ee88FhmEe3mzhU3SKQDVmcs+Q1frG77aXsHNJEREzw0=; b=BNuIabR6n+uh9A3BSb13baQsF0vHZt7IOvAqPYgHwLyt/TNX4TYp5FNGc7A1xHb5V1 QMJozROzFApOrGMqrj3XrKASKqY5KzOVeWgusV22sD+eaPYhWMF93ir/vnS9snSf6mHg WMOLvvAA+28OaIhRgmopbc1q8O5rZHXnn7tIhgtT6KFEiJzbZOW3R7bxGWUs7YpOuPsB h2ziW60IjAtQrGl5uPdL70g8fYAWd4u2CwWvueuKECQIRDTv9B4evQ6WToIJEyIe3HhG s7IgPn9DcylNWnG8Xa41ON/yS3eF0SQB6kYDBJphlFhs8ntqnO8r61K8+hMAU9DFxMzP xNMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ee88FhmEe3mzhU3SKQDVmcs+Q1frG77aXsHNJEREzw0=; b=WWNuwibJMLKa+JLP0iipvRAcaeZcMKLEs6q1kvWUAyig9fUNhsxXwlFDmBknbuP69Q xTJWOBC4kXofGiVDYg48G2v2cFmuY02mrpys67M5+LaGMYeRn23cbWxcpm1Pk6SpkLVf qfIuUt6ECAXOovsfMpt6crZvDKwKZIUCK46BkqyK3JqP44YDeGasdR2eaxSblns++1QE U068hgWLY/GN/vMkPeueF/if3bWvrbZDD3IRZ5fvGHKxFZz9UCCPnEjdN5WUthi+XbYw wxmBS99tpVVK1wITJD2rk3lvbdq8tbUfEyvA1dEreYyJjIV9cpwKvXr9KS2VqGDroJbK z5lA== X-Gm-Message-State: ALyK8tJiH8NeW9OBCYtIR5ekgCCo1H1YOl/uTqREQ+Ka+NYNkoXmSOnlTfepzlOLxqnrDQ== X-Received: by 10.55.129.71 with SMTP id c68mr44352085qkd.174.1468876303006; Mon, 18 Jul 2016 14:11:43 -0700 (PDT) Received: from [192.168.1.4] (pool-96-249-243-37.nrflva.fios.verizon.net. [96.249.243.37]) by smtp.gmail.com with ESMTPSA id g73sm698860qke.35.2016.07.18.14.11.42 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 14:11:42 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: curl and nginx no longer build on same host From: Jim Ohlstein X-Mailer: iPhone Mail (13F69) In-Reply-To: <7c8b-578d3e00-15-6b8b4580@127158756> Date: Mon, 18 Jul 2016 17:11:41 -0400 Cc: Kevin Oberman , FreeBSD Ports Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <8FD19636-C34F-4609-BA5D-C6DBC32E7BA1@ohlste.in> References: <7c8b-578d3e00-15-6b8b4580@127158756> To: Euan Thoms X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 21:11:44 -0000 Hello, > On Jul 18, 2016, at 4:37 PM, Euan Thoms wrote: >=20 >=20 >> On Tuesday, July 19, 2016 04:03 SGT, Kevin Oberman w= rote:=20 >>=20 >>> On Mon, Jul 18, 2016 at 12:45 PM, Euan Thoms wrote: >>>=20 >>>=20 >>> On Saturday, July 16, 2016 20:43 SGT, Jim Ohlstein wrote= : >=20 >>>=20 >>> OK, I understand. And I'm glad we're heading somewhere where we will hav= e >>> more consistency. I just feel that we shouldn't need anything in >>> /etc/make.conf unless we are exerting some extra control and using >=20 >>> non-default options. I've managed to get away without anything in >>> /etc/make.conf on all my jails, collectively they install quite a range o= f >>> software types. >>>=20 >>> Are you sure that WITH_OPENSSL_PORT isn't deprecated. I got some warning= s >>> to that effect. So I've been using USES+=3Dssl=3Dopenssl instead. Perhap= s >>> that's part of the problem, maybe the ftp/curl port is still using the >>> older make.conf flag. I'll try it next time I update. >>>=20 >>> Thanks Jim. >=20 >>=20 >> Yes and no. WITH_OPENSSL_PORT in make,conf has been deprecated. It should= >> still work, but you should update to the new syntax. If you do use it, yo= u >> should see the following: >> "Using WITH_OPENSSL_PORT in make.conf is deprecated, replace it with >> DEFAULT_VERSIONS+=3Dssl=3Dopenssl in your make.conf" >>=20 >> To avoid conflicting SSL libraries in different ports, it is bast to put >> the "DEFAULT_VERSIONS+=3Dssl=3Dopenssl" in /etc/make.conf. If you use bas= e >> OpsnSSL in some ports that create shareable libraries and the ports versi= on >> in others, you will eventually hit an executable, possibly from a third >> port, that is linked to both and those programs will not run. >=20 > OK, I'm clear about the make.conf options and what they mean. But I still h= ave a problem in that even if I use DEFAULT_VERSIONS+=3Dssl=3Dopenssl, ftp/c= url will not build, certainly not with portmaster and I think I tried buildi= ng it manually from inside it's ports directory. >=20 > /usr/ports/ftp/curl]# make > =3D=3D=3D> curl-7.49.1 GSSAPI_BASE is not compatible with OpenSSL from po= rts. Use > other GSSAPI options or OpenSSL from base system. > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/ftp/curl >=20 >=20 > So basically, I'd have to change one of the GSSAPI options in ftp/curl. Ex= cept I haven't got a clue on the ramifications of this. Do I need GSSAPI? If= so, should I use Heimdal or MIT? >=20 > So you see my point, it's not friendly on new FreeBSD users. I'm a fairly e= xperienced FreeBSD sys-adimin and I don't know what to do in this case. >=20 > At least I now know that there is a good reason to not have on port built a= gainst base openssl and another built against ports openssl.=20 So basically they've deprecated a useful option without replicating the func= tionality. Bravo!=20 Fortunately, it still works as intended.=20 -- Jim=