Using WITH_OPENSSL_PORT
Jerry
gesbbb at yahoo.com
Sat Jul 25 19:43:37 UTC 2009
On Sat, 25 Jul 2009 11:50:17 -0500
Peggy Wilkins <enlil65 at 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 at 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 at yahoo.com
Nothing lasts forever.
Where do I find nothing?
More information about the freebsd-ports
mailing list