Date: Sat, 25 Jul 2009 15:43:35 -0400 From: Jerry <gesbbb@yahoo.com> To: freebsd-ports@freebsd.org Subject: Re: Using WITH_OPENSSL_PORT Message-ID: <20090725154335.27bbbe3d@scorpio.seibercom.net> In-Reply-To: <1789c2360907250950k3a957f2j27715566d1be0f2e@mail.gmail.com> References: <1789c2360907250950k3a957f2j27715566d1be0f2e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Jul 2009 11:50:17 -0500 Peggy Wilkins <enlil65@gmail.com> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090725154335.27bbbe3d>