Bradley Giesbrecht | 1 Jun 2009 16:03
Gravatar

Re: openssl


On May 31, 2009, at 11:56 AM, Ryan Schmidt wrote:

>
> On May 31, 2009, at 12:50, Bradley Giesbrecht wrote:
>
>> I'm befuddled:
>> bash-3.2# port installed|grep openssl
>>  openssl  <at> 0.9.8j_0
>>  openssl  <at> 1.0.0-beta1_0 (active)
>>
>> bash-3.2# port info openssl
>> openssl  <at> 0.9.8k (devel, security)
>>
>> Was openssl  <at> 1.0.0-beta1_0 removed from macports?
>
> Yes, I believe it was found to cause problems so it was removed.
>
>
>> I'm attempting to bump local versions for p5-net-ssleay which  
>> starts to download openssl,   <at> 0.9.8j_0 I presume.
>
> If you "port upgrade openssl" it should uninstall 1.0.0-beta1_0 and  
> install 0.9.8k_0.
>
>
>> bash-3.2# port deps p5-net-ssleay
>> p5-net-ssleay has build dependencies on:
>> 	openssl
>>
(Continue reading)

Joshua Root | 1 Jun 2009 17:00
Favicon

Re: openssl

On 2009-6-2 00:03, Bradley Giesbrecht wrote:
> 
> On May 31, 2009, at 11:56 AM, Ryan Schmidt wrote:
>> After 0.9.8k is installed, you may need to forcibly rebuild any ports
>> that had linked with 1.0.0.
> 
> Would this do it?
> port upgrade -vfR openssl

Yes, though it will also rebuild everything on which openssl depends.
Add -n to skip processing those.

- Josh
Bradley Giesbrecht | 1 Jun 2009 18:16
Gravatar

openssl

Is there a way to get deps when they are declared inside variants?

This does not pick up the openssl dep for postfix+tls.

bash-3.2# port installed depends:openssl
The following ports are currently installed:
   apache2  <at> 2.2.11_0+darwin_9 (active)
   bind9  <at> 9.6.0-P1_0+dlz_mysql5 (active)
   cclient  <at> 2007d_0 (active)
   dovecot  <at> 1.1.3_0+darwin_9+mysql5+rawlog
   dovecot  <at> 1.1.15_0+darwin_9+mysql5+rawlog (active)
   lynx  <at> 2.8.6rel.5_1+ssl (active)
   mysql5-devel  <at> 5.1.30_1+partition+server
   mysql5-devel  <at> 5.1.34_1+partition+server (active)
   openvpn2  <at> 2.0.9_1 (active)
   p5-crypt-ssleay  <at> 0.57_0 (active)
   p5-net-ssleay  <at> 1.35_1 (active)
   php5  <at> 5.2.8_1+apache2+imap+macosx+mysql5+pear+pspell+readline+sqlite 
+tidy (active)
   wget  <at> 1.11.4_3 (active)

Tried port list depends:openssl as well.

//Brad
Jeremy Lavergne | 1 Jun 2009 18:17

Re: openssl

depends_build-append
depends_run-append
depends_lib-append

On Jun 1, 2009, at 12:16 PM, Bradley Giesbrecht wrote:

> Is there a way to get deps when they are declared inside variants?

Attachment (smime.p7s): application/pkcs7-signature, 2435 bytes
depends_build-append
depends_run-append
depends_lib-append

On Jun 1, 2009, at 12:16 PM, Bradley Giesbrecht wrote:

> Is there a way to get deps when they are declared inside variants?

Emmanuel Hainry | 1 Jun 2009 18:46
Favicon

Re: openssl

Citando Bradley Giesbrecht :
>
> Is there a way to get deps when they are declared inside variants?

The answer is yes. However, I don't understand if you want to know what
depends on openssl or what openssl depends on.

> This does not pick up the openssl dep for postfix+tls.
>
> bash-3.2# port installed depends:openssl

This line is probably equivalent to port depends openssl. It shows which
ports need openssl (openssl's dependents). As there is no dependency on
variants, the variants you installed openssl with have no effect.
However, it takes into account the ports that depended on openssl
through a variant. It only works for installed ports obviously.

The second option (openssl's dependencies) would be
port deps openssl +variants

Emmanuel
Citando Bradley Giesbrecht :
>
> Is there a way to get deps when they are declared inside variants?

The answer is yes. However, I don't understand if you want to know what
depends on openssl or what openssl depends on.

(Continue reading)

Blair Zajac | 1 Jun 2009 19:23
Gravatar

Re: openssl

Joshua Root wrote:
> On 2009-6-2 00:03, Bradley Giesbrecht wrote:
>> On May 31, 2009, at 11:56 AM, Ryan Schmidt wrote:
>>> After 0.9.8k is installed, you may need to forcibly rebuild any ports
>>> that had linked with 1.0.0.
>> Would this do it?
>> port upgrade -vfR openssl
> 
> Yes, though it will also rebuild everything on which openssl depends.
> Add -n to skip processing those.

Isn't '-vfRn' just the same as '-v' then?

      -n       don't follow dependencies in upgrade (only for upgrading)

      -R       also upgrade dependents (only for upgrading)

Blair

Rainer Müller | 1 Jun 2009 19:36
Favicon

Re: openssl

On 2009-06-01 18:46, Emmanuel Hainry wrote:
> Citando Bradley Giesbrecht :
>> bash-3.2# port installed depends:openssl
> 
> This line is probably equivalent to port depends openssl.

There is no 'port depends'. You mean 'port dependents'.

The depends: pseudo-port syntax does not pick up variants, as it only
operates on the PortIndex where this information is not available.

Rainer
Bradley Giesbrecht | 1 Jun 2009 19:44
Gravatar

Re: openssl


On Jun 1, 2009, at 10:36 AM, Rainer Müller wrote:

> On 2009-06-01 18:46, Emmanuel Hainry wrote:
>> Citando Bradley Giesbrecht :
>>> bash-3.2# port installed depends:openssl
>>
>> This line is probably equivalent to port depends openssl.
>
> There is no 'port depends'. You mean 'port dependents'.

Oh, this is perfect. Thank you Rainer

//brad
Bradley Giesbrecht | 1 Jun 2009 20:01
Gravatar

Re: openssl


On Jun 1, 2009, at 10:36 AM, Rainer Müller wrote:

> On 2009-06-01 18:46, Emmanuel Hainry wrote:
>> Citando Bradley Giesbrecht :
>>> bash-3.2# port installed depends:openssl
>>
>> This line is probably equivalent to port depends openssl.
>
> There is no 'port depends'. You mean 'port dependents'.

Would there be a cleaner (no shell, port only) command than this?

for i in $(port dependents openssl | awk '{print $1}') ; do port -vf  
upgrade $i ; done

I think it would be nice if the "-q" flag was available to most  
commands and would print hits only.

port -q dependents openssl | port -vf upgrade

I'm not suggesting anyone should put time into "-q" but when updating  
the port functions maybe it could be considered.

//Brad
Joshua Root | 1 Jun 2009 21:32
Favicon

Re: openssl

On 2009-6-2 03:23, Blair Zajac wrote:
> Joshua Root wrote:
>> On 2009-6-2 00:03, Bradley Giesbrecht wrote:
>>> On May 31, 2009, at 11:56 AM, Ryan Schmidt wrote:
>>>> After 0.9.8k is installed, you may need to forcibly rebuild any ports
>>>> that had linked with 1.0.0.
>>> Would this do it?
>>> port upgrade -vfR openssl
>>
>> Yes, though it will also rebuild everything on which openssl depends.
>> Add -n to skip processing those.
> 
> Isn't '-vfRn' just the same as '-v' then?
> 
>      -n       don't follow dependencies in upgrade (only for upgrading)
> 
>      -R       also upgrade dependents (only for upgrading)

No, dependents are the opposite of dependencies.

- Josh

Gmane