On Wed, Mar 05, 2003 at 01:15:29PM -0500, Barney Wolff wrote:
> I have both apache-modssl and net-snmp running, but do NOT have the
> openssl port installed.  Everything builds and runs fine, with no
> mods to anything.  I conjecture that the problem others experience
> is that they have installed the openssl port, which I have never done.
> This is on both current and stable.

Oops, not net-snmp, net-snmp4 (aka ucd-snmp).  net-snmp doesn't appear
to have a dependency on openssl at all.

Here's a log:

[10:19am] [EMAIL PROTECTED] (/usr/ports/net/net-snmp4): pkg_info openssl\*
pkg_info: can't find package 'openssl*' installed or in a file!
[10:19am] [EMAIL PROTECTED] (/usr/ports/net/net-snmp4): portversion openssl
** No package matching 'openssl' was found.
[10:19am] [EMAIL PROTECTED] (/usr/ports/net/net-snmp4): sudo make
Password:

You may use the following build options:

        WITH_PORTSSL=yes  Use the OpenSSL Version delivered by the ports.
                          With FreeBSD 5, net-snmp4 requires automaticly
                          the OpenSSL ports-version. In the 5 case, you
                          don't need to define WITH_PORTSSL (default).
        WITHOUT_SSL=yes   Disable the OpenSSL support.

===>  Extracting for ucd-snmp-4.2.6
>> Checksum OK for ucd-snmp-4.2.6.tar.gz.
===>  Patching for ucd-snmp-4.2.6
===>  Applying FreeBSD patches for ucd-snmp-4.2.6
===>  Configuring for ucd-snmp-4.2.6
===>   ucd-snmp-4.2.6 depends on file: /usr/local/libexec/autoconf213/autoconf - found
===>   ucd-snmp-4.2.6 depends on executable: libtool - found
===>   ucd-snmp-4.2.6 depends on file: /usr/local/bin/perl5.6.1 - found
===>   ucd-snmp-4.2.6 depends on shared library: crypto.4 - not found
===>    Verifying install for crypto.4 in /usr/ports/security/openssl
>> openssl-0.9.7a.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://www.openssl.org/source/.
[...]


The problem is that this line forces WITH_PORTSSL with recent OS versions.

.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && 
${OSREL} == 4)

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to