Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[info] openssl-0.9.8
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Sep 06, 2006 5:03 pm    Post subject: [info] openssl-0.9.8 Reply with quote

è stato stabilizzato openssl-0.9.8

molte cose sono cambiate rispetto alla 0.9.7, quindi è fondamentale che si faccia un revdep-rebuild dopo l'aggiornamento
Quote:
* You must re-compile all packages that are linked against
* OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:
* # revdep-rebuild --library libssl.so.0.9.7
* # revdep-rebuild --library libcrypto.so.0.9.7
* After this, you can delete /usr/lib/libssl.so.0.9.7
* and /usr/lib/libcrypto.so.0.9.7


Last edited by .:chrome:. on Wed Sep 06, 2006 5:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Wed Sep 06, 2006 5:09 pm    Post subject: Reply with quote

grassie, non ci avevo fatto caso!
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Sep 06, 2006 9:13 pm    Post subject: Re: [info] openssl-0.9.8 Reply with quote

k.gothmog wrote:
quindi è fondamentale che si faccia un revdep-rebuild dopo l'aggiornamento

grazie.
avevo letto la tua prima versione del post, che non riportava così chiaramente l'output di emerge.
allora ho provato un semplice revdep-rebuild e ho scoperto con sorpresa che non ricompilava praticamente nulla (anche ripensando all'ultimo aggiornamento di openssl).

poi ho un po' indagato sul fenomeno, ho scoperto l'output di emerge e ho scoperto che nel mio sistema (accanto a quelle nuove) esistono ancora le vecchie versioni della libreria /usr/lib/libssl.so.0.9.7, che non sono state ripulite da emerge (cosa probabilmente voluta dagli sviluppatori di gentoo).

Allora mi chiedo se ricompilare tutto quanto sia veramente indispensabile se non sia possibile lasciare lavorare i pacchetti con le vecchie librerie fino a naturale aggiornamento o se questo determini problemi gravi di sicurezza o di stabilità.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Sep 06, 2006 9:52 pm    Post subject: Re: [info] openssl-0.9.8 Reply with quote

ehm, si... grave dimenticanza
scusami :)
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Sep 06, 2006 10:07 pm    Post subject: Re: [info] openssl-0.9.8 Reply with quote

k.gothmog wrote:
ehm, si... grave dimenticanza
scusami :)

:) :) :)

ehm, si ... è indispensabile ricompilare :?:
oppure
ehm, si ... puoi usare le vecchie librerie :?:

poi, se lo desideri, ci spieghi qualche differenza.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Wed Sep 06, 2006 10:45 pm    Post subject: Reply with quote

io ipotizzo... Se la libreria l'hanno aggiornata sarà perchè c'erano bug o altre amenità . Il fatto che la libreria vecchia venga lasciata forse è dovuto al fatto che non volevaono poi vedersi i bugreports pieni di "ho aggiornato openssl ora non va + una cippa!"
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Sep 06, 2006 10:58 pm    Post subject: Re: [info] openssl-0.9.8 Reply with quote

è indispensabile compilare.
è cambiata l'implementazione delle funzioni, e sono cambiate le funzioni implementate.

il nuovo ebuild non cancella i due files critici, altrimenti avresti un transitorio in cui non funziona più niente (e dico NIENTE) ma ti dice chiaramente di lanciare revdep-rebuild e poi cancellartelo a mano

lasciare i vecchi files può anche funzionare, ma al prima ggiornamento ti trovi roba compilata contro 0.9.7 e quello che hai appena aggiornato che è stato compilato contro 0.9.8 (ammesso e non concesso che questo aggiornamento vada a buon fine perché ho i miei dubbi anche su questo), e le due versioni NON SONO COMPATIBILI TRA DI LORO

per la cronaca, la nuova versione non corregge bug, ma corregge l'implementazione (penosa) della vecchia versione, migliora le vecchie primitive crittografiche, irrobustendo quelle che sono ormai broken. Fa uso maggiore di meccanismi crittografici relativamente nuovi, che sono diventati accessibili con l'aumentare delle risorse di calcolo (come la crittografia basata su logaritmi discreti).
So poi che nella versione 0.9.8 è stat itrodotta la crittografia ECC (Ellyptic-Curve Cryptography) ma non so se l'ebuild la implementi ed in questo momento mi sento troppo pigro per andare a curiosarci dentro ;) personalmente dubito, perché solo quattro mesi fa con ECC non funzionava più una mazza
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Wed Sep 06, 2006 11:40 pm    Post subject: Reply with quote

in pratica mi vuole ricompilare mezzo mondo. :roll:

che due pelotas, dopo il mondo per l'upgrade di gcc (che ho fatto su un solo pc) per chi l'ha già fatto è un bel macello perchè vuol dire ricompilare ancora un macello di roba. per fortuna che ho ccache abilitata, magari qualcosa risparmio.
Back to top
View user's profile Send private message
tizio
Guru
Guru


Joined: 22 Mar 2005
Posts: 365

PostPosted: Thu Sep 07, 2006 12:02 am    Post subject: Reply with quote

Code:

* You must re-compile all packages that are linked against
* OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:
* # revdep-rebuild --library libssl.so.0.9.7
* # revdep-rebuild --library libcrypto.so.0.9.7
* After this, you can delete /usr/lib/libssl.so.0.9.7
* and /usr/lib/libcrypto.so.0.9.7

perdonatemi se dico una baggianata... ma è indispensabile lanciare due volte il revdep-rebuild su due librerie diverse?
in questo modo i programi che le usano entrambe non vengono compilati due volte?
non c'è un modo per fixare entrambe le librerie in un colpo solo?
EDIT:
ok era una baggianata... quando vengono ricompilati alla prima useranno le nuove librerie quindi non entreranno nel secondo revdep-rebuild
scusate ancora...sarà l'orario... :P
_________________
ci son 10 tipi di persone al mondo..
chi capisce il binario e chi no
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 07, 2006 6:38 am    Post subject: Reply with quote

Ho messo in evidenza il thread ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Sep 07, 2006 7:19 am    Post subject: Reply with quote

grazie k.gothmog .

8) avete visto che lo abbiamo stanato?

@tizio : gli insiemi di ebuild relativi alle due librerie sono pressoché sovrapposti.
dopo il primo revdep, il secondo troverà ben poco lavoro da completare.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Thu Sep 07, 2006 9:10 am    Post subject: Reply with quote

azz, volevo fare l'aggiornamento con calma nel week-end, ma oggi con un --depclean fatto senza controllare bene mi ha disinstallato openssl, togliendo pure le librerie :roll:

al momento non ho altre macchine con gentoo installata a disposizione: non è che un'anima volonterosa potrebbe uploadarmi da qualche parte libssl.so.0.9.7 e libcrypto.so.0.9.7?
_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Sep 07, 2006 9:54 am    Post subject: Reply with quote

cloc3 wrote:
avete visto che lo abbiamo stanato?

stanato? a cosa ti riferisci?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Sep 07, 2006 10:13 am    Post subject: Reply with quote

k.gothmog wrote:

stanato? a cosa ti riferisci?

a nulla, che ci hai detto quattro cose in più :)
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Thu Sep 07, 2006 10:17 am    Post subject: Reply with quote

non basta quella faccina...
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Thu Sep 07, 2006 10:30 am    Post subject: Reply with quote

alcuni sw non compilano con la nuova versione (es: imapproxy).
bah, io rimando per il momento
non mi pare ci siano falle di sicurezza tali da costringere all'upgrade immediato.
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
tizio
Guru
Guru


Joined: 22 Mar 2005
Posts: 365

PostPosted: Thu Sep 07, 2006 12:55 pm    Post subject: Reply with quote

è normale che facendo:
revdep-rebuild --library libcrypto.so.0.9.7
trovi /usr/lib/libssl.so.0.9.7 e mi continui a riemergere openssl stesso?
la versione 0.9.8c non dovrebbe sostituire proprio questa libreria?
dove sbaglio?
_________________
ci son 10 tipi di persone al mondo..
chi capisce il binario e chi no
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Sep 07, 2006 3:31 pm    Post subject: Reply with quote

tizio wrote:
è normale che facendo:
revdep-rebuild --library libcrypto.so.0.9.7
trovi /usr/lib/libssl.so.0.9.7 e mi continui a riemergere openssl stesso?
la versione 0.9.8c non dovrebbe sostituire proprio questa libreria?
dove sbaglio?

si:
Code:

linux99 ~ # ldd /usr/lib/libssl.so.0.9.7
        ...
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7e26000)
        ...

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Sephirot
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2004
Posts: 124
Location: Milano

PostPosted: Thu Sep 07, 2006 11:59 pm    Post subject: Reply with quote

dopo aver dato # revdep-rebuild --library libssl.so.0.9.7 , mentre ri-emergeva app-crypt/qca-tls-1.0-r2 mi da' questo errore:

Code:
 * Applying qca-pathfix.patch ...                                         [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/qca-tls-1.0-r2/work/qca-tls-1.0 ...
Configuring qca-tls ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for OpenSSL ... yes

Good, your configure finished. Now run 'make'.

i686-pc-linux-gnu-g++ -c -pipe -Wall -W -march=pentium-m -O2 -pipe -fno-strict-aliasing -D_REENTRANT -fPIC  -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -march=pentium-m -O2 -fomit-frame-pointer -pipe -mfpmath=sse -mmmx -msse -msse2 -fforce-addr  -fprefetch-loop-arrays -I/usr/qt/3/mkspecs/linux-g++ -I/var/tmp/portage/qca-tls-1.0-r2/work/qca-tls-1.0 -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp
qca-tls.cpp: In member function 'virtual bool RSAKeyContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:457: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
qca-tls.cpp:457: error:   initializing argument 2 of 'RSA* d2i_RSA_PUBKEY(RSA**, const unsigned char**, long int)'
qca-tls.cpp: In member function 'virtual bool CertContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:802: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
qca-tls.cpp:802: error:   initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
make: *** [qca-tls.o] Error 1

!!! ERROR: app-crypt/qca-tls-1.0-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  qca-tls-1.0-r2.ebuild, line 32:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


revdep-rebuild failed to emerge all packages
you have the following choices:

- if emerge failed during the build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (trys to rebuild package, not exact
  ebuild)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild_eef3b244.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*


bha.... ora pero' sono troppo stanco per sbatterci la testa sopra.
_________________
"Gentoo is more educational than mainstream distros. It encourages you to look under the hood and effectively turns a lot of n00bs into l33ts."
resistence is futile
(if < 1 ohm)
Back to top
View user's profile Send private message
tizio
Guru
Guru


Joined: 22 Mar 2005
Posts: 365

PostPosted: Fri Sep 08, 2006 1:29 am    Post subject: Reply with quote

Sephirot wrote:
dopo aver dato # revdep-rebuild --library libssl.so.0.9.7 , mentre ri-emergeva app-crypt/qca-tls-1.0-r2 mi da' questo errore:

metti qca-tls in package.keywords e installa la r3, a me ha funzionato
_________________
ci son 10 tipi di persone al mondo..
chi capisce il binario e chi no
Back to top
View user's profile Send private message
Sephirot
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2004
Posts: 124
Location: Milano

PostPosted: Fri Sep 08, 2006 7:24 am    Post subject: Reply with quote

Fatto ma il problema si ripresenta (stesso errore). revdep-rebuild ricompila la r2.
_________________
"Gentoo is more educational than mainstream distros. It encourages you to look under the hood and effectively turns a lot of n00bs into l33ts."
resistence is futile
(if < 1 ohm)
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Sep 08, 2006 8:07 am    Post subject: Reply with quote

Sephirot wrote:
Fatto ma il problema si ripresenta (stesso errore). revdep-rebuild ricompila la r2.

c'è un altro con lo stesso problema... installa A MANO la r3 e non lasciar fare a revdep-rebuild quello che vuole
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Sep 08, 2006 3:27 pm    Post subject: Re: [info] openssl-0.9.8 Reply with quote

ho notato che la versione 2.1.21-r2 di cyrus-sasl non funziona più con questo pacchetto.
la 2.1.22 invece compila regolarmente.
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Sat Sep 09, 2006 10:59 am    Post subject: Re: [info] openssl-0.9.8 Reply with quote

k.gothmog wrote:
è stato stabilizzato openssl-0.9.8

molte cose sono cambiate rispetto alla 0.9.7, quindi è fondamentale che si faccia un revdep-rebuild dopo l'aggiornamento
Quote:
* You must re-compile all packages that are linked against
* OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:
* # revdep-rebuild --library libssl.so.0.9.7
* # revdep-rebuild --library libcrypto.so.0.9.7
* After this, you can delete /usr/lib/libssl.so.0.9.7
* and /usr/lib/libcrypto.so.0.9.7


Ed io che sono su AMD64?
Quote:
* You must re-compile all packages that are linked against
* OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:
* # revdep-rebuild --library libssl.so.0.9.7
* # revdep-rebuild --library libcrypto.so.0.9.7
* After this, you can delete /usr/lib64/libssl.so.0.9.7
* and /usr/lib64/libcrypto.so.0.9.7
>>> Regenerating /etc/ld.so.cache...
>>> dev-libs/openssl-0.9.8c merged.

:!:
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Sep 09, 2006 11:39 am    Post subject: Re: [info] openssl-0.9.8 Reply with quote

non credo che quelle librerie debbano essere portate a 64 bit.
o forse si?

a naso mi verrebbe da dire di no
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum