Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 10:53:55 +0200
From:      Cristiano Deana <cristiano.deana@gmail.com>
To:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   pkg info and dependencies (openssl related)
Message-ID:  <CAO82ECEQT_5Qp5gAu7FBgxkHrsSkqpYNd6md_YYZyn1xGW7tBw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

in a 9.x box I installed openssl from ports to have 1.x version. Now I
upgraded to 10-STABLE, so I'd prefer use openssl from base.

first problem: changing USE_OPENSSL_PORT to #USE_OPENSSL_PORT if I
have openssl installed recompiling ports needed openssl they linked
against the ports version, not the base version. If I specify
USE_OPENSSL_BASE I can't recompile (eg nginx) because openssl port is
installed.
So, what I should do is deinstalling all dep ports, delete openssl,
then reinstalling them.
Or I should force the recompiling against base openssl.

second problem: if I wanna know which ports depend from openssl i got:

pkg info -r openssl
openssl-1.0.1_15:
        p5-Net-SSLeay-1.65
        ettercap-0.8.0_2,1
        p5-libwww-6.08
        p5-XML-TreePP-0.42
        p5-XML-FeedPP-0.43
        p5-SOAP-Lite-0.716
        p5-Net-HTTP-6.07
        p5-Apache-DBI-1.12
        p5-Net-SSLGlue-1.053
        p5-Mail-IMAPClient-3.35
        otrs-3.3.7
        dokuwiki-20140505_3
        postfix-2.11.1_4,1
        apache22-2.2.29
        php5-openssl-5.4.32
        php5-snmp-5.4.32
        p5-Crypt-SSLeay-0.72
        nginx-1.6.1_1,2

but, if I try to delete it, I got a different list, why?

 # pkg delete openssl
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 23 packages (of 0
packages in the universe):

Installed packages to be REMOVED:
        openssl-1.0.1_15
        p5-Net-SSLeay-1.65 (depends on openssl-1.0.1_15)
        p5-libwww-6.08 (depends on openssl-1.0.1_15)
        p5-XML-TreePP-0.42 (depends on openssl-1.0.1_15)
        p5-XML-FeedPP-0.43 (depends on openssl-1.0.1_15)
        otrs-3.3.7 (depends on openssl-1.0.1_15)
        p5-SOAP-Lite-0.716 (depends on openssl-1.0.1_15)
        p5-Net-HTTP-6.07 (depends on openssl-1.0.1_15)
        p5-LWP-Protocol-https-6.06 (depends on openssl-1.0.1_15)
        p5-Crypt-SSLeay-0.72 (depends on openssl-1.0.1_15)
        p5-Net-SSLGlue-1.053 (depends on openssl-1.0.1_15)
        p5-Mail-IMAPClient-3.35 (depends on openssl-1.0.1_15)
        p5-IO-Socket-SSL-1.998 (depends on openssl-1.0.1_15)
        ettercap-0.8.0_2,1 (depends on openssl-1.0.1_15)
        p5-Apache-DBI-1.12 (depends on openssl-1.0.1_15)
        dokuwiki-20140505_3 (depends on openssl-1.0.1_15)
        postfix-2.11.1_4,1 (depends on openssl-1.0.1_15)
        apache22-2.2.29 (depends on openssl-1.0.1_15)
        ap22-mod_perl2-2.0.8_2,3 (depends on openssl-1.0.1_15)
        mod_php5-5.4.32,1 (depends on openssl-1.0.1_15)
        php5-openssl-5.4.32 (depends on openssl-1.0.1_15)
        php5-snmp-5.4.32 (depends on openssl-1.0.1_15)
        nginx-1.6.1_1,2 (depends on openssl-1.0.1_15)

Thank you

-- 
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO82ECEQT_5Qp5gAu7FBgxkHrsSkqpYNd6md_YYZyn1xGW7tBw>