From owner-freebsd-questions@freebsd.org Mon Feb 18 12:01:14 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3631414D9496 for ; Mon, 18 Feb 2019 12:01:14 +0000 (UTC) (envelope-from sirn@ogsite.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 753608B8D9 for ; Mon, 18 Feb 2019 12:01:13 +0000 (UTC) (envelope-from sirn@ogsite.net) Received: by mailman.ysv.freebsd.org (Postfix) id 3992114D9490; Mon, 18 Feb 2019 12:01:13 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F337414D947B for ; Mon, 18 Feb 2019 12:01:12 +0000 (UTC) (envelope-from sirn@ogsite.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9BAA18B8CD for ; Mon, 18 Feb 2019 12:01:12 +0000 (UTC) (envelope-from sirn@ogsite.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AA9922222B; Mon, 18 Feb 2019 07:01:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 18 Feb 2019 07:01:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ogsite.net; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=6e4pwYJee20tVprwmmkrqkbKz2 F0lBlswfNnpouDUh4=; b=KfZqIGvsx1+S4AN1JQ0OL/hxwsh9JGZ753A1jrx1BO QWR5aWzdIOCEpovec3cykBawljEKi2RfS3khl6FvHEMrLP1suzHYl1csK11Z+GTg nWhbOWjNdA0C11F6UyIt03N5wdhlVRzvhkVPaU0wSdm1mC4sil3pnxEx6EHm73NE yvkDGsjucinvEsZN3gLNTLwgpyrnjkLckf+lBWBS6gWTIPkBVF9KPAToFhrbTgN/ nw8neXvQPlURw2DxqDvrdXZ5Jrl6hUP0HA6vw4X0eT42dJo+TsBMK0efFZUJ2qC3 ShFcbESyRk3QbHf5huZHXqRi8sNAvYFFl75ctTz9mblg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=6e4pwY Jee20tVprwmmkrqkbKz2F0lBlswfNnpouDUh4=; b=cGLn0+rhj2NcRqxh5L9vv/ rfVS4dRntcFo3LKInNoDkhrWxwm8/cCab/MjFlnjbvPJtHEk5u6Pd89AuOUp5gRS S3hV9U5YTkJXO3DXP2AL3C1/6zxGJunfx/BNNWcKttPON93VdOTkfHY+RMosUZbN QYgJX6pLjBVB/jfBW3uTZzaOHJzfDyByrvulkNrU8Yar54wsCWLE0qJ+NfX7t+Iy eTWhfmZHF52DrknA020kUFlXz+eHLLPRByLc0s87ndTAv0upsFwiMMGun9cqM9DN VZWYrjTBItrU+6SC4UhNXSQ14v8/YzwkNFuzOXUbfzQbmEyiBROsX6gw1ZgPpi6w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtddugddtfeculddtuddrgedtledrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepmfhrihgushgr uggrucfvhhgrnhgrsghulhhpohhnghcuoehsihhrnhesohhgshhithgvrdhnvghtqeenuc ffohhmrghinhepfhhrvggvsghsugdrohhrghenucfkphepudefledrleelrdduvdefrdek keenucfrrghrrghmpehmrghilhhfrhhomhepshhirhhnsehoghhsihhtvgdrnhgvthenuc evlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ns547006.ip-139-99-123.net [139.99.123.88]) by mail.messagingengine.com (Postfix) with ESMTPA id 87F911030F; Mon, 18 Feb 2019 07:01:10 -0500 (EST) From: Kridsada Thanabulpong To: Odhiambo Washington , questions Subject: Re: OpenSSL In-Reply-To: References: Date: Mon, 18 Feb 2019 19:01:07 +0700 Message-ID: <86va1hfgqk.fsf@gemini.workspace.grid.in.th> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 9BAA18B8CD X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 12:01:14 -0000 You can probably do something among this line to query packages that were built against port OpenSSL. pkg query "%do %o" | awk '/^security\/openssl/ { print $2 }' Unfortunately, I don't know if there's a way to do this for packages that were built against OpenSSL in base. Probably involving `ldd` a relevant binary and see if it was linked against `/usr/bin/libssl.so` or not. Odhiambo Washington writes: > Answering myself: > > On my FreeBSD-11.2, I have: > > root@waridi:/ # /usr/bin/openssl version > OpenSSL 1.0.2p-freebsd 14 Aug 2018 > root@waridi:/ # /usr/local/bin/openssl version > OpenSSL 1.0.2q 20 Nov 2018 > > So the OpenSSL version is the same. I need to deinstall the port and remain > with the base one, or if I want crazy things, I can install > security/openssl1111. > So I have a choice between adding either of the following to /etc/make.conf: > > DEFAULT_VERSIONS+=ssl=base > DEFAULT_VERSIONS+=ssl=openssl > > ..then doing a `[portupgrade -a`. > > Is that correct??? > > At the moment, I have been having DEFAULT_VERSIONS+=ssl=openssl but I seem > to suffer from certain conflicts related to OpenSSL. > > So, assuming I want to standardize linking against the ports/openssl, how > do I have to make a list of ALL installed ports, deinstall them, then > reinstall them again? > Is there an easier way to do that?? > > > > > > On Mon, 18 Feb 2019 at 11:15, Odhiambo Washington > wrote: > >> Is there a way to ensure that all ports are linked against the same >> version of openssl (either the base one or the port one)?? >> How do I do this on a live server? >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254 7 3200 0004/+254 7 2274 3223 >> "Oh, the cruft.", grep ^[^#] :-) >> > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft.", grep ^[^#] :-) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"