From owner-freebsd-ports@FreeBSD.ORG Sat Jul 25 19:43:37 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A42A1065670 for ; Sat, 25 Jul 2009 19:43:37 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp103.prem.mail.ac4.yahoo.com (smtp103.prem.mail.ac4.yahoo.com [76.13.13.42]) by mx1.freebsd.org (Postfix) with SMTP id 0FDDF8FC15 for ; Sat, 25 Jul 2009 19:43:36 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 5072 invoked from network); 25 Jul 2009 19:43:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:X-Virus-Status:X-Virus-Scanned:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=hSYGPJ0caqHT3u3+fD2zAeeZytwjf/mGd5wf9TvOGlKwdZFyTkLupEZnkic0gr1of48w+CMNRUze6rFm0FEwqtjbN9QiJo/ICXQIhWFXLERt/OGrJ1scq+Zu2h5nzhy+HPDrJOyYed6D08KToD9RD4NgXr8Sp9qOptBrrJHVkpk= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 25 Jul 2009 12:43:36 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: kzLMGBMVM1nvPrORwpoS8QUKSwbz8.E6NqwV1RCcO9yuvPAKj9yS4xq3ONRbHWs_zWUB1UGMPneyk5JK80sirsx2Tp.eO7khkywXUYw2YIQkj.cfevX1zHaUfVV7kQ6aOgCmwQorzNpapKzgDdYT87.G4CD7h0QsRsc3B59shpTcCdFiVR2_2UAUCyK1Tx2udjQRycnObL7NBtN177hpD6ANj2BNgWMxfIasd8Mkyu4F06MLKZFrF3OebFvsrdRM30ccZGIZap4UBuneKOQmz_vaBlU9jQkwqFBFghOfeWsLtIGF2vAs3ETbv_HRHxCVuynfyDc2PF1.wYiQ2lTvHE_JDwcR X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id C42A9229E1; Sat, 25 Jul 2009 15:43:35 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.2 at scorpio.seibercom.net Date: Sat, 25 Jul 2009 15:43:35 -0400 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20090725154335.27bbbe3d@scorpio.seibercom.net> In-Reply-To: <1789c2360907250950k3a957f2j27715566d1be0f2e@mail.gmail.com> References: <1789c2360907250950k3a957f2j27715566d1be0f2e@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Using WITH_OPENSSL_PORT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 19:43:37 -0000 On Sat, 25 Jul 2009 11:50:17 -0500 Peggy Wilkins wrote: > My system (uname -a) is FreeBSD grenache.lib.uchicago.edu > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Fri Jun 26 15:23:52 CDT 2009 > root@grenache.lib.uchicago.edu:/usr/obj/usr/src/sys/GENERIC > amd64. > > I recently installed security/krb5 which is my first installed port > that has set WITH_OPENSSL_PORT in its Makefile. It didn't take me > long to notice after the installation of security/krb5 that > security/pam_ldap on the same system no longer works, so I tried > recompiling/reinstalling openldap and pam_ldap but that didn't fix it. > However, I didn't set WITH_OPENSSL_PORT myself when I did that -- I > assumed the ports system would automatically detect that the openssl > port was installed and would use that. > > Since I couldn't live with broken pam_ldap on my production system > while I figured it out, I undid everything I did, so my system is now > back to the way it was before installing security/krb5. However, I > still need security/krb5 (as a prereq for samba3 with ADS > authentication). > > I am unsure what I need to do to use the ports openssl on my system > instead of the one that comes with the base system, without breaking > things. I assume I need to recompile the ports that depend on > openssl, but how do I get the list of those things, given that (AFAIK) > none of them list openssl as a dependency? > > Since I do OS updates from source, will using ports openssl affect > make installworld and/or make installkernel on the base system? > > I read the openssl section in the FreeBSD Handbook and didn't find any > useful information about this in there. I also read through (as much > as I could follow, anyway) /usr/ports/Mk/bsd.openssl.mk but am still > clueless. > > Can someone outline how to use openssl from ports correctly? > > Thanks for any advice. > > plw Place this in your '/etc/make.conf' file: WITH_OPENSSL_PORT=yes Then, after updating your ports tree, try running this: portupgrade -Rrf security/krb5 You may not need the 'security/' part. That should rebuild the required ports and get you up and running. -- Jerry gesbbb@yahoo.com Nothing lasts forever. Where do I find nothing?