From owner-freebsd-ports Thu Aug 8 5:13: 3 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 735E737B40F for ; Thu, 8 Aug 2002 05:12:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFE5E43ECF for ; Thu, 8 Aug 2002 05:12:42 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g78CBMJU013570 for ; Thu, 8 Aug 2002 05:11:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g78CBMdD013569; Thu, 8 Aug 2002 05:11:22 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4379C37B400 for ; Thu, 8 Aug 2002 05:08:42 -0700 (PDT) Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.112.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFF7C43E42 for ; Thu, 8 Aug 2002 05:08:41 -0700 (PDT) (envelope-from mjm@CSUA.Berkeley.EDU) Received: from soda.CSUA.Berkeley.EDU (IDENT:d3uqqZAV/CMgFMEeJ+wKmvPBUgEl8UKl@localhost [127.0.0.1]) by soda.CSUA.Berkeley.EDU (8.12.3/8.12.3) with ESMTP id g78C8fV0074514 for ; Thu, 8 Aug 2002 05:08:41 -0700 (PDT) (envelope-from mjm@soda.CSUA.Berkeley.EDU) Received: (from mjm@localhost) by soda.CSUA.Berkeley.EDU (8.12.3/8.12.3/Submit) id g78C8flf074513; Thu, 8 Aug 2002 05:08:41 -0700 (PDT) Message-Id: <200208081208.g78C8flf074513@soda.CSUA.Berkeley.EDU> Date: Thu, 8 Aug 2002 05:08:41 -0700 (PDT) From: "Mark J. Miller" Reply-To: "Mark J. Miller" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41444: ports system fails to check for non-base openssl install Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41444 >Category: ports >Synopsis: ports system fails to check for non-base openssl install >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 08 05:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Mark J. Miller >Release: FreeBSD 4.6.1-RELEASE i386 >Organization: none >Environment: System: FreeBSD soda.CSUA.Berkeley.EDU 4.6.1-RELEASE FreeBSD 4.6.1-RELEASE #0: Wed Jul 24 08:30:32 PDT 2002 root@:/usr/src/sys/compile/MKVI i386 >Description: On a recent installation of 4.6-release, I opted not to install the openssl security subsystem because of the recently discovered bugs. I did, however, immediately install openssh-3.4 from the pkg system, and portupgrade'd openssl to openssl-.97e . This process adds libcrypto.so and libssl.so to /usr/local/lib/, not /usr/lib. However, the /usr/ports/Mk/bsd.port.mk only checks /usr/lib for libcrypto, not /usr/local/lib. >How-To-Repeat: *Remove all traces of openssl from the system, then add an updated version via ports. *Add "USE_OPENSSL=yes" to /etc/make.conf *cd /usr/ports/www/links && make install The ports system will complain that openssl is not installed. >Fix: add if !exists(/usr/local/lib/libcrypto.so) after if !exists(/usr/lib/libcrypto.so) in /usr/ports/Mk/bsd.port.mk. and as a side note, make sure the updated versions of openssl and openssh go into the next released version :) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message