From owner-freebsd-ports@freebsd.org Fri Jan 5 13:34:19 2018 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 4694CEA97A8 for ; Fri, 5 Jan 2018 13:34:19 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C472969251 for ; Fri, 5 Jan 2018 13:34:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w05DXuM8038286 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 Jan 2018 14:33:57 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: mjl@luckie.org.nz Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w05DXj41051667 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 5 Jan 2018 20:33:45 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: using security/openssl in a port To: Matthew Luckie , portmaster@BSDforge.com References: <3bad8f9f1092b028945f9ce7720855e1@udns.ultimatedns.net> <3677cb37-8cc2-60c0-3e23-55fa507a4465@luckie.org.nz> <5A4EFA61.1030106@grosbein.net> <5ea5e276-08da-aec9-ba81-b50ea96bf8c4@luckie.org.nz> Cc: freebsd-ports@freebsd.org From: Eugene Grosbein Message-ID: <5A4F7EA9.7050502@grosbein.net> Date: Fri, 5 Jan 2018 20:33:29 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <5ea5e276-08da-aec9-ba81-b50ea96bf8c4@luckie.org.nz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xfHpTvModwHpbcSSoRDa8pN0QKxc0H6xi" X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 13:34:19 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xfHpTvModwHpbcSSoRDa8pN0QKxc0H6xi Content-Type: multipart/mixed; boundary="hhbIxlh425Nmdka3VNqKQeAXC3uqFJtOG"; protected-headers="v1" From: Eugene Grosbein To: Matthew Luckie , portmaster@BSDforge.com Cc: freebsd-ports@freebsd.org Message-ID: <5A4F7EA9.7050502@grosbein.net> Subject: Re: using security/openssl in a port References: <3bad8f9f1092b028945f9ce7720855e1@udns.ultimatedns.net> <3677cb37-8cc2-60c0-3e23-55fa507a4465@luckie.org.nz> <5A4EFA61.1030106@grosbein.net> <5ea5e276-08da-aec9-ba81-b50ea96bf8c4@luckie.org.nz> In-Reply-To: <5ea5e276-08da-aec9-ba81-b50ea96bf8c4@luckie.org.nz> --hhbIxlh425Nmdka3VNqKQeAXC3uqFJtOG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 05.01.2018 11:16, Matthew Luckie =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 1/5/18 5:09 PM, Eugene Grosbein wrote: >> On 05.01.2018 09:44, Matthew Luckie wrote: >> >>> My main worry is that I could not find a single port that apparently >>> depends on security/openssl. I'm worried that its more complicated t= han >>> simply declaring a dependency on security/openssl on particular freeb= sd >>> versions because other ports that use openssl might link against it >>> without registering a dependency. Is my worry misplaced? >> >> Why don't you read the Porter's Handbook? It has answers to all your q= uestions: >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/use= s-ssl.html >=20 > I already said that I considered USES =3D ssl and that it didn't seem t= o > address my concerns. Can you please point me at a port that depends on= > OpenSSL from ports using USES =3D ssl (or whatever this page of the > porters handbook is trying to tell me to do). For example, net/vtun has this: =2Einclude =2Eif ${SSL_DEFAULT:Mopenssl-devel} BROKEN=3D Does not build with openssl-devel =2Eendif =2Einclude That is, it stops build if user has specified SSL_DEFAULT=3Dopenssl-devel= =2E You need to stop build if FreeBSD version is old and user has NOT specifi= ed SSL_DEFAULT=3Dopenssl (instead of SSL_DEFAULT=3Dbase) to build your port = with security/openssl. --hhbIxlh425Nmdka3VNqKQeAXC3uqFJtOG-- --xfHpTvModwHpbcSSoRDa8pN0QKxc0H6xi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJaT361AAoJELDNGvImmIsoChYH/jBHAjnqJi37QOpYPjBb+g7M 0OnAFxY3pwZZ7OX0+QFy+zW8acLVwRRyWJG1gItgr0HBEMoLJrcPtTkWHMxzIDvT emWmvSetR1AgcgFQ5CLk4VXL8yegYVw8VhzAx2pO6Yd5ASd5MWJeThXWy8qmyRNP GQ7NHu4CD0YxYiqW2o9NbJsHl2pvp8dCXxg4kEL/KF/bUYQmu4/2XapJroABtp4/ 723cTqhm+7ISM2N2K2LwAymhJC7Pp/MIvpUA88HOBqOW2yrtvVb0UEua5X/TyXMM W9d3B8QsgU5FPH+v50HKvXJMmGorigDtBg3/l51s0CDgqsaT+8RxwsZZdh+Kg8Y= =2RXo -----END PGP SIGNATURE----- --xfHpTvModwHpbcSSoRDa8pN0QKxc0H6xi--