From owner-freebsd-ports@freebsd.org Wed Oct 5 06:37:38 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 D26E5AF67F0 for ; Wed, 5 Oct 2016 06:37:38 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B5881321 for ; Wed, 5 Oct 2016 06:37:38 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B1FAEAF67EE; Wed, 5 Oct 2016 06:37:38 +0000 (UTC) Delivered-To: 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 B19B3AF67EB for ; Wed, 5 Oct 2016 06:37:38 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 79A16320 for ; Wed, 5 Oct 2016 06:37:38 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id E98E0BDCCF; Wed, 5 Oct 2016 08:37:36 +0200 (CEST) Received: from atuin.in.mat.cc (48.196.7.109.rev.sfr.net [109.7.196.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id BCD61BDCC4; Wed, 5 Oct 2016 08:37:36 +0200 (CEST) Subject: Re: usage of openssl command in ports To: Koichiro IWAO , ports@freebsd.org References: <0101015792959ef2-163aa5ec-0b1c-4220-baf0-67ab2871cfa8-000000@us-west-2.amazonses.com> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <2e86f306-455b-3f28-b00d-6f5c27694550@FreeBSD.org> Date: Wed, 5 Oct 2016 08:37:35 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <0101015792959ef2-163aa5ec-0b1c-4220-baf0-67ab2871cfa8-000000@us-west-2.amazonses.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gklkUrnNtQeK5qQw4vOjuqn2tN7krCssu" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 06:37:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gklkUrnNtQeK5qQw4vOjuqn2tN7krCssu Content-Type: multipart/mixed; boundary="3LlkXaMDEuV8ExSMC01UU0EAMc6gUoqHw"; protected-headers="v1" From: Mathieu Arnold To: Koichiro IWAO , ports@freebsd.org Message-ID: <2e86f306-455b-3f28-b00d-6f5c27694550@FreeBSD.org> Subject: Re: usage of openssl command in ports References: <0101015792959ef2-163aa5ec-0b1c-4220-baf0-67ab2871cfa8-000000@us-west-2.amazonses.com> In-Reply-To: <0101015792959ef2-163aa5ec-0b1c-4220-baf0-67ab2871cfa8-000000@us-west-2.amazonses.com> --3LlkXaMDEuV8ExSMC01UU0EAMc6gUoqHw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 05/10/2016 =C3=A0 04:04, Koichiro IWAO a =C3=A9crit : > Hi, > > I have a question about usage of openssl command in ports. > > If a port uses openssl command for example in pkg-install, how can I > determine which openssl to use? > I think if ssl=3Dbase, /usr/bin/openssl should be used. If ssl=3Dopens= sl, > ${PREFIX}/bin/openssl should be used. > And other ssl ports. > > Is there something like ${OPENSSL_CMD} or do I have to do manually > like this? > > .if ${SSL_DEFAULT} =3D=3D base > OPENSSL_CMD=3D /usr/bin/openssl > .endif > > .if ${SSL_DEFAULT} =3D=3D openssl > OPENSSL_CMD=3D ${PREFIX}/bin/openssl > .endif It should be: =2Eif ${SSL_DEFAULT} =3D=3D base OPENSSL_CMD=3D /usr/bin/openssl =2Eelse OPENSSL_CMD=3D ${PREFIX}/bin/openssl =2Eendif --=20 Mathieu Arnold --3LlkXaMDEuV8ExSMC01UU0EAMc6gUoqHw-- --gklkUrnNtQeK5qQw4vOjuqn2tN7krCssu 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 iQJ8BAEBCgBmBQJX9J+wXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85ILBsP/1M7FeYzI3dM4UhA5y4CQzfy QjsGyWMZTCL9NuhTLbTTBVXjRv+2lLrlHy2bzWXOadzETjPXouPCnebYP0Qptg2l d3OeNUrwrp5UQtyk0bwiXRQDzMPIwZ7gIuE0fo/Sjvoq7aT+KWcfnWEbm5Jxvnuj krox2lRVcsbggRh51DNbPy8GFhGnBSIfJVVyitPjBALnaVhucBd9n7z2Y6IweWUj XPbFjmol2pGhIb5b7dA3gLLiRfF9pTS3fl3cykac5h29wiShWsSR9GClI1FtlrFH K0fRndJPqVrkniRuJ6QLBNr2P+XDoAQf+oS4xNDHi4EILaeyXQjLWJhPc1YO8h+o X/mmMpWe9+nZlqJXhlP3kp3HdflwDBWrCM8A+an8cs/+v/g23uW6w6O923HSqQUs dQ8mnNBVgJMAgd2IiwUO4uoXLAEHMeXcv4DEx/l+0W38EvyXjcutvMj8aagTdbx3 MkxV6MK92s269T+MNJCj4JAOVhW5EiBOklDIUnrU70l7FdbClw1m/UZPheEhAvYc VdQOn1uNlpY1Imb2Hhv6dXLPwHP0itnMKrFgUKtZdfNFvb1l7lDsOvQRh3F40pJJ taARDzlNghTHnXYVRjM3LjEjrSB3FSG+FgzjEgXafdgjEJ834O9wsmlCfVTbXAkN P4w8I2T820IHfjMxEoaD =LUf+ -----END PGP SIGNATURE----- --gklkUrnNtQeK5qQw4vOjuqn2tN7krCssu--