From owner-freebsd-ports@FreeBSD.ORG Sat Jul 25 17:19:44 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 912EE1065689 for ; Sat, 25 Jul 2009 17:19:44 +0000 (UTC) (envelope-from enlil65@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB9A8FC14 for ; Sat, 25 Jul 2009 17:19:44 +0000 (UTC) (envelope-from enlil65@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1126165qwe.7 for ; Sat, 25 Jul 2009 10:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=pa20LTeMv/eOWhZdzqJNgfwoiZSMBgQ2mjZVvcx9HrU=; b=TWGg9usabo2Cw0MkzcaR1A1tkIP0zPrIDXF1AbIO4A4Xv30isByeg4x6gpL2SSI5Zr ToQ2oPwJeDs39G74YU2EtnBFSzBG2qdn7jTh4vT6QwJF4Rnf32OQlRI0UMlqqX86tTpA 2zMdzbqCvTK67L0bkepYCaj494IparADLLC+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=FIN85lR5yB+Zjb/jEhaSmh1Dl+wJxSHcMJgU+zfhAGVWU8YXBUD/PiYBGy4FpOLH9c z5kFpExJcRudRCN9Ft8MvwiQXZYHekol49EW8UzVONZuY6o3sXu6xcecZrkK263CA3yi LkaHU9UfxmsF1fJ/GAT+vTGsSt6Ee2uYtkxa8= MIME-Version: 1.0 Received: by 10.220.45.205 with SMTP id g13mr3057010vcf.24.1248540617141; Sat, 25 Jul 2009 09:50:17 -0700 (PDT) Date: Sat, 25 Jul 2009 11:50:17 -0500 Message-ID: <1789c2360907250950k3a957f2j27715566d1be0f2e@mail.gmail.com> From: Peggy Wilkins To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Using WITH_OPENSSL_PORT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 17:19:44 -0000 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