Subject: Re: how to make a package depend on openssl?
To: Pavel Cahyna <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 07/06/2004 12:49:23
On Tue, 6 Jul 2004, Pavel Cahyna wrote:
> The original software may have such switch but I do not understand why
> it would help, because openssl is not built at all.
> (There is an openssl coming with the base system but it's useless,
> because it is source-incompatible with the version which speakfreely
> uses. See openssl_des(3), the HISTORY section, especially the phrase "In
> OpenSSL 0.9.7, all des_ functions were renamed to DES_ ...". I believe
> openssl from pkgsrc should be fine, because it is at version 0.9.6m .)
One idea is to use:
See security/py-m2crypto/Makefile for an example.
Or add a few definitions (maybe in a patch) to make sure they are defined.
See security/dsniff/patches/patch-ab as an example.
Another idea is to maybe use sed to fix this depending on openssl used.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links