Re: Getting dovecot to use the openssl from ports

2020-05-30 Thread Carmel NY
On Fri, 29 May 2020 11:38:44 +0200, Willem Jan Withagen stated:
>Right that helped
>
>root@test:/tmp/usr/local/lib/dovecot # ldd ./libdovecot-login.so.0.0.0
>./libdovecot-login.so.0.0.0:
>     libdovecot.so.0 => not found (0)
>     libssl.so.11 => /usr/local/lib/libssl.so.11 (0x800683000)
>     libcrypto.so.11 => /usr/local/lib/libcrypto.so.11
> (0x801018000) libc.so.7 => /lib/libc.so.7 (0x800245000)
>     libthr.so.3 => /lib/libthr.so.3 (0x800719000)
>
>Now wait for a silent moment on the server to actually install this
>package and find out if it really helps.

So, did it work? From experience, I always have to restart Dovecot
after an update.

-- 
Carmel
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Getting dovecot to use the openssl from ports

2020-05-29 Thread Willem Jan Withagen

On 29-5-2020 11:31, Willem Jan Withagen wrote:

On 29-5-2020 00:56, Carmel NY wrote:

On Thu, 28 May 2020 23:36:46 +0200, Willem Jan Withagen stated:

On 28-5-2020 16:53, Carmel NY wrote:

On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated:

Hi,

I'm trying to get dovecot to use the openssl from ports in
/usr/local/lib. But whatever I try, en en op with cryptostuff from
/usr/lib

I think the correct way is to set
etc/make.conf
      DEFAULT_VERSIONS+=ssl=openssl

En though when making tells me:
     dovecot-2.3.10.1 depends on file:
/usr/local/lib/libcrypto.so.11 - found

I end up with:
/usr/local/libexec/dovecot/imap-login:
      libdovecot-login.so.0 =>
/usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
      libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
(0x801422000)
      libc.so.7 => /lib/libc.so.7 (0x800825000)
      libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
      libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c0)

Which the crypto stuff from BASE

But I have available
root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
/usr/local/lib/libcrypto.so.11

What am I missing here?

How are you attempting to build the port?

I realized this after posting, but I did this by what I'm used to doing
since 1993:
 cd /usr/ports/mail/dovecot
 make install

But even if I use poudriere it still uses what is in base.

Are you sure you modified the correct "make.conf" file? Specifically:

/usr/local/etc/poudriere.d/make.conf

This is what you should have in that file:

DEFAULT_VERSIONS+=ssl=openssl

Make sure to update the ports tree in poudriere, and then try
rebuilding "dovecot". Once it rebuilds it, look at the build log and
see if it shows any obvious errors.


I have build env.s for several releases on this server
And it is always a trick to get it in the right one.
Trying yours as we speak.


Right that helped

root@test:/tmp/usr/local/lib/dovecot # ldd ./libdovecot-login.so.0.0.0
./libdovecot-login.so.0.0.0:
    libdovecot.so.0 => not found (0)
    libssl.so.11 => /usr/local/lib/libssl.so.11 (0x800683000)
    libcrypto.so.11 => /usr/local/lib/libcrypto.so.11 (0x801018000)
    libc.so.7 => /lib/libc.so.7 (0x800245000)
    libthr.so.3 => /lib/libthr.so.3 (0x800719000)

Now wait for a silent moment on the server to actually install this package
and find out if it really helps.

--WjW
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Getting dovecot to use the openssl from ports

2020-05-29 Thread Willem Jan Withagen

On 29-5-2020 00:56, Carmel NY wrote:

On Thu, 28 May 2020 23:36:46 +0200, Willem Jan Withagen stated:

On 28-5-2020 16:53, Carmel NY wrote:

On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated:

Hi,

I'm trying to get dovecot to use the openssl from ports in
/usr/local/lib. But whatever I try, en en op with cryptostuff from
/usr/lib

I think the correct way is to set
etc/make.conf
      DEFAULT_VERSIONS+=ssl=openssl

En though when making tells me:
     dovecot-2.3.10.1 depends on file:
/usr/local/lib/libcrypto.so.11 - found

I end up with:
/usr/local/libexec/dovecot/imap-login:
      libdovecot-login.so.0 =>
/usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
      libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
(0x801422000)
      libc.so.7 => /lib/libc.so.7 (0x800825000)
      libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
      libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c0)

Which the crypto stuff from BASE

But I have available
root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
/usr/local/lib/libcrypto.so.11

What am I missing here?

How are you attempting to build the port?
  

I realized this after posting, but I did this by what I'm used to doing
since 1993:
     cd /usr/ports/mail/dovecot
     make install

But even if I use poudriere it still uses what is in base.

Are you sure you modified the correct "make.conf" file? Specifically:

/usr/local/etc/poudriere.d/make.conf

This is what you should have in that file:

DEFAULT_VERSIONS+=ssl=openssl

Make sure to update the ports tree in poudriere, and then try
rebuilding "dovecot". Once it rebuilds it, look at the build log and
see if it shows any obvious errors.


I have build env.s for several releases on this server
And it is always a trick to get it in the right one.
Trying yours as we speak.

--WjW
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Getting dovecot to use the openssl from ports

2020-05-28 Thread Carmel NY
On Thu, 28 May 2020 23:36:46 +0200, Willem Jan Withagen stated:
>On 28-5-2020 16:53, Carmel NY wrote:
>> On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated:  
>>> Hi,
>>>
>>> I'm trying to get dovecot to use the openssl from ports in
>>> /usr/local/lib. But whatever I try, en en op with cryptostuff from
>>> /usr/lib
>>>
>>> I think the correct way is to set
>>> etc/make.conf
>>>      DEFAULT_VERSIONS+=ssl=openssl
>>>
>>> En though when making tells me:
>>>     dovecot-2.3.10.1 depends on file:
>>> /usr/local/lib/libcrypto.so.11 - found
>>>
>>> I end up with:
>>> /usr/local/libexec/dovecot/imap-login:
>>>      libdovecot-login.so.0 =>
>>> /usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
>>>      libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
>>> (0x801422000)
>>>      libc.so.7 => /lib/libc.so.7 (0x800825000)
>>>      libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
>>>      libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c0)
>>>
>>> Which the crypto stuff from BASE
>>>
>>> But I have available
>>> root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
>>> /usr/local/lib/libcrypto.so.11
>>>
>>> What am I missing here?  
>> How are you attempting to build the port?
>>  
>I realized this after posting, but I did this by what I'm used to doing
>since 1993:
>     cd /usr/ports/mail/dovecot
>     make install
>
>But even if I use poudriere it still uses what is in base.

Are you sure you modified the correct "make.conf" file? Specifically:

/usr/local/etc/poudriere.d/make.conf

This is what you should have in that file:

DEFAULT_VERSIONS+=ssl=openssl

Make sure to update the ports tree in poudriere, and then try
rebuilding "dovecot". Once it rebuilds it, look at the build log and
see if it shows any obvious errors.

Good Luck!

-- 
Carmel


pgpP2rilqKuNL.pgp
Description: OpenPGP digital signature


Re: Getting dovecot to use the openssl from ports

2020-05-28 Thread Willem Jan Withagen

On 28-5-2020 16:53, Carmel NY wrote:

On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated:

Hi,

I'm trying to get dovecot to use the openssl from ports in
/usr/local/lib. But whatever I try, en en op with cryptostuff from
/usr/lib

I think the correct way is to set
etc/make.conf
     DEFAULT_VERSIONS+=ssl=openssl

En though when making tells me:
    dovecot-2.3.10.1 depends on file: /usr/local/lib/libcrypto.so.11 -
found

I end up with:
/usr/local/libexec/dovecot/imap-login:
     libdovecot-login.so.0 =>
/usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
     libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
(0x801422000)
     libc.so.7 => /lib/libc.so.7 (0x800825000)
     libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c0)

Which the crypto stuff from BASE

But I have available
root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
/usr/local/lib/libcrypto.so.11

What am I missing here?

How are you attempting to build the port?


I realized this after posting, but I did this by what I'm used to doing
since 1993:
    cd /usr/ports/mail/dovecot
    make install

But even if I use poudriere it still uses what is in base.

--WjW

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Getting dovecot to use the openssl from ports

2020-05-28 Thread Carmel NY
On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated:
>Hi,
>
>I'm trying to get dovecot to use the openssl from ports in
>/usr/local/lib. But whatever I try, en en op with cryptostuff from
>/usr/lib
>
>I think the correct way is to set
>etc/make.conf
>     DEFAULT_VERSIONS+=ssl=openssl
>
>En though when making tells me:
>    dovecot-2.3.10.1 depends on file: /usr/local/lib/libcrypto.so.11 -
> found
>
>I end up with:
>/usr/local/libexec/dovecot/imap-login:
>     libdovecot-login.so.0 => 
>/usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
>     libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0 
>(0x801422000)
>     libc.so.7 => /lib/libc.so.7 (0x800825000)
>     libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
>     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c0)
>
>Which the crypto stuff from BASE
>
>But I have available
>root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
>/usr/local/lib/libcrypto.so.11
>
>What am I missing here?

How are you attempting to build the port?

-- 
Carmel


pgpDOO3OhDop1.pgp
Description: OpenPGP digital signature


Getting dovecot to use the openssl from ports

2020-05-28 Thread Willem Jan Withagen


Hi,

I'm trying to get dovecot to use the openssl from ports in /usr/local/lib.
But whatever I try, en en op with cryptostuff from /usr/lib

I think the correct way is to set
etc/make.conf
    DEFAULT_VERSIONS+=ssl=openssl

En though when making tells me:
   dovecot-2.3.10.1 depends on file: /usr/local/lib/libcrypto.so.11 - found

I end up with:
/usr/local/libexec/dovecot/imap-login:
    libdovecot-login.so.0 => 
/usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
    libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0 
(0x801422000)

    libc.so.7 => /lib/libc.so.7 (0x800825000)
    libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
    libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c0)

Which the crypto stuff from BASE

But I have available
root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
/usr/local/lib/libcrypto.so.11

What am I missing here?

--WjW

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"