Ethereal-dev: Re: [Ethereal-dev] Next Release?

Note: This archive is from the project's previous web site, This list is no longer active.

From: Joerg Mayer <[email protected]>
Date: Wed, 7 Jul 2004 09:16:23 +0200
On Wed, Jul 07, 2004 at 08:39:59AM +0200, Joerg Mayer wrote:
> The issue with linking against openssl is still there. I'm absolutely low
> on time, so I won't be able to do anything about it until the weekend.
> IIRC someone sent a patch to handle this during configure time. This patch
> could be used as a base.

The patch is from Wes Hardaker and I've attached it below. Please note that
it should not be applied in this form:
- it currently doesn't handle ucd-snmp
- we need a configure option (like --with-openssl-crypto) to reenable
  using openssl on systems where it is either a system lib or just built for
  and by the enduser


Joerg Mayer                                           <[email protected]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
>From Wes Hardaker

RCS file: /cvsroot/ethereal/,v
retrieving revision 1.264
diff -u -r1.264
---	26 May 2004 12:08:15 -0000	1.264
+++	5 Jun 2004 14:38:04 -0000
@@ -674,6 +674,10 @@
 	dnl other choices for flags to use here: could also use
 	dnl --prefix or --exec-prefix if you don't want the full list.
+	if net-snmp-config --libs | grep lcrypto > /dev/null ; then
+		AC_MSG_ERROR([Can not compile against Net-SNMP's library when it is linked with the OpenSSL libcrypto library due to restrictive GPL license issues.  Please either remove this functionality from Net-SNMP's libraries (--without-openssl) or remove the desire to link against it from ethereal (--without-net-snmp)])
+	fi
 	# Save the current settings of CFLAGS and CPPFLAGS, and add
 	# the output of "$NETSNMPCONFIG --cflags" to it, so that when