[MacPorts] #26813: MacPorts (on Linux) does not build against OpenSSL anymore

MacPorts noreply at macports.org
Tue Oct 12 00:12:10 PDT 2010


#26813: MacPorts (on Linux) does not build against OpenSSL anymore
-------------------------------------+--------------------------------------
 Reporter:  mmpestorich@…            |       Owner:  macports-tickets@…                   
     Type:  request                  |      Status:  new                                  
 Priority:  Low                      |   Milestone:  MacPorts 2.0.0                       
Component:  base                     |     Version:  1.9.1                                
 Keywords:  openssl libmd checksums  |        Port:                                       
-------------------------------------+--------------------------------------
 On the [http://www.macports.org/install.php MacPorts Download &
 Installation Page] it lists a few requirements to build MacPorts on other
 platforms. One of those requirements is ''OpenSSL or libmd'' which are
 used for checksums. I remember way back when, I used to be able to compile
 MacPorts on my Linux system against OpenSSL, however, it seems for some
 time now I can only compile it successfully against a ported version of
 libmd. I have not found too many implementations of libmd for the Linux
 system. As such, I ended up porting over a FreeBSD 8 version of the
 library to run on Linux. It works fine, however, as it only gets used for
 my MacPorts installation and everything else on my system that uses MD5,
 SHA, etc... links against OpenSSL, I would like to get rid of it and not
 have to maintain a library ported from another operating system.

 Here's what I have been able to ascertain so far. If I:

  * Set MD5_LIBS="-lcrypt"
  * Modify so <openssl/md5.h>, etc... is found by configure

 I can get through configure but then I run into compile problems with some
 of the #defines in pextlib1.0/md5cmd.c and pextlib1.0/sha1cmd.c:

  * MD5File undefined
  * SHAFile undefined
  * SHA_HASHBYTES undefined

 I haven't looked any further into this than that. But thought I'd put this
 up here to see if it makes sense to be able to link against OpenSSL's
 libcrypto.

-- 
Ticket URL: <https://trac.macports.org/ticket/26813>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list