Hi, I am a little bit confused about the versions of openssl. Here is the output of port info: port info openssl openssl 0.9.8e, devel/openssl (Variants: universal, darwin, darwin_6, darwin_8) http://www.openssl.org/ The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. Library Dependencies: zlib Platforms: darwin freebsd Maintainers: mww@macports.org port outdated reports openssl as outdated: port outdated The following installed ports are outdated: apr 1.2.8_0 < 1.2.9_0 cairo 1.4.8_0 < 1.4.10_0 freetype 2.3.4_1 < 2.3.5_0 gtk2 2.10.12_0 < 2.10.13_0 openssl 0.9.8_2 < 0.9.8e_0 p5-compress-raw-zlib 2.004_0 < 2.005_0 p5-compress-zlib 2.004_0 < 2.005_0 p5-io-compress-base 2.004_0 < 2.005_0 p5-io-compress-zlib 2.004_0 < 2.005_0 pkgconfig 0.21_0 < 0.22_0 popt 1.10.4_3 < 1.11_1 sqlite3 3.3.17_0 < 3.4.0_1 But when I try to upgrade openssl nothing happens: sudo port -vd upgrade openssl DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/devel/openssl DEBUG: epoch: in tree: 0 installed: 0 DEBUG: openssl 0.9.8e_0 exists in the ports tree DEBUG: openssl 0.9.8_2 is installed DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/archivers/zlib DEBUG: epoch: in tree: 0 installed: 0 DEBUG: zlib 1.2.3_1 exists in the ports tree DEBUG: zlib 1.2.3_1 is installed DEBUG: No need to upgrade! zlib 1.2.3_1 >= zlib 1.2.3_1 DEBUG: No need to upgrade! openssl 0.9.8_2 >= openssl 0.9.8e_0 Am I using the latest version of openssl? Do I have to force upgrade? Thanks, -Kastus
On 11 Jul, 2007, at 12:40, Kastus Shchuka wrote:
port outdated reports openssl as outdated:
...
But when I try to upgrade openssl nothing happens:
sudo port -vd upgrade openssl DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/devel/openssl DEBUG: epoch: in tree: 0 installed: 0 DEBUG: openssl 0.9.8e_0 exists in the ports tree DEBUG: openssl 0.9.8_2 is installed DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/archivers/zlib DEBUG: epoch: in tree: 0 installed: 0 DEBUG: zlib 1.2.3_1 exists in the ports tree DEBUG: zlib 1.2.3_1 is installed DEBUG: No need to upgrade! zlib 1.2.3_1 >= zlib 1.2.3_1 DEBUG: No need to upgrade! openssl 0.9.8_2 >= openssl 0.9.8e_0
This relates to a deficiency in the way versions and revisions are munged and demunged. `port outdated` properly understands openssl as being "version 0.9.8, revision 2" but `port upgrade` mistakenly understands it as "version 0.9.8_2". For the technically inclined, I've put a brief and reproducible summary of the problem at the end of this email; it occurs at / Library/Tcl/macports1.0/macports.tcl line 1847. I'll commit a fix shortly, though it might take a bit to get into release.
Am I using the latest version of openssl? Do I have to force upgrade?
Nope, 0.9.8e is the new version. Go ahead and force it. You probably want to add the -n flag too, so you'll avoid upgrading zlib as well. Chris % set auto_path /opt/local/share/macports/Tcl/ % package require Pextlib 1.0 % rpm-vercomp 0.9.8 0.9.8e -1 % rpm-vercomp 0.9.8_2 0.9.8e_0 1
participants (2)
-
Chris Pickel
-
Kastus Shchuka