[pacman-dev] Linking to OpenSSL

Xavier shiningxc at gmail.com
Sat Jul 19 15:12:02 EDT 2008


Teran McKinney wrote:
> Hi,
> 
> I have been working on an Arch fork for the past several months, and
> thus have been following Arch developments closely. I noticed this
> commit ( http://projects.archlinux.org/gitweb.cgi?p=pacman.git;a=commit;h=b8a66d68593d1f267c3bb8cd8943724711626903
> ), where OpenSSL replaces the usage of md5sum and sha1sum utilities
> for Pacman. While I like the idea of using libraries instead of
> external binaries, I feel that linking to OpenSSL complicates a few
> things.

I am confused, the patch you showed is for makepkg, which is a bash script.
The usage of md5sum and sha1sum binaries was replaced by the usage of 
openssl binary. We don't use openssl lib.

For pacman, we also need md5 hashing functionality. For that we imported 
a md5.c file from the xyssl project.




More information about the pacman-dev mailing list