Date: 04 Mar 2003 16:09:34 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: ports@freebsd.org, mit@dreamlabs.com, ade@lovett.com Subject: Re: having difficulty ucd-snmp-4.2.6/FreeBSD 4.7-STABLE Message-ID: <1046812173.310.49.camel@gyros> In-Reply-To: <20030304215606.7df8bff5.lehmann@ans-netz.de> References: <000301c2e27a$5ab16d60$0800a8c0@shadow> <20030304212652.4833de5d.lehmann@ans-netz.de> <1046810349.310.34.camel@gyros> <20030304215606.7df8bff5.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-7K/qPBeyPA//21iRy0Ud Content-Type: multipart/mixed; boundary="=-UnZePOhLFWoI9+yyxv2s" --=-UnZePOhLFWoI9+yyxv2s Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-03-04 at 15:56, Oliver Lehmann wrote: > Joe Marcus Clarke wrote: >=20 >=20 > > Real quick, I don't think you need the scapi patch. Simply setting > > OPENSSL_DES_LIBDES_COMPATIBILITY will fix things in the backend > > libraries. >=20 > Dam, you are right! I tested it now successfully with an > OPENSSL_OVERWRITE_BASE system too. >=20 > Base OpenSSL 0.9.6i, 500043 - works > Base OpenSSL 0.9.7a, 470103 - works > Ports OpenSSL 0.9.7a, 470103 - works >=20 >=20 > Whats about CURRENT? does it work too? If so, i'm going to submit a PR > with > the ports Makefile patch only. Okay, what about this? Defining OPENSSL_DES_LIBDES_COMPAT won't hurt even if the user has the old OpenSSL. Of course, doing the !=3D on /usr/bin/openssl does work, too. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-UnZePOhLFWoI9+yyxv2s Content-Disposition: attachment; filename=net-snmp4.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=net-snmp4.patch; charset=ISO8859-1 --- Makefile.orig Mon Feb 24 14:10:41 2003 +++ Makefile Tue Mar 4 16:02:50 2003 @@ -71,17 +71,9 @@ .if defined(WITHOUT_SSL) CONFIGURE_ARGS+=3D --without-openssl .else -.if defined(WITH_PORTSSL) || ${OSVERSION} >=3D 500100 || (${OSVERSION} >= =3D 470103 && ${OSREL} =3D=3D 4) -.if ${OSVERSION} >=3D 500100 || (${OSVERSION} >=3D 470103 && ${OSREL} =3D= =3D 4) -LIB_DEPENDS+=3D crypto.4:${PORTSDIR}/security/openssl -.else -LIB_DEPENDS+=3D crypto.3:${PORTSDIR}/security/openssl -.endif -CONFIGURE_ARGS+=3D --with-openssl=3D${LOCALBASE} -CFLAGS+=3D -DOPENSSL_DES_LIBDES_COMPATIBILITY -.else +USE_OPENSSL=3D yes CONFIGURE_ARGS+=3D --with-openssl=3D/usr -.endif +CFLAGS+=3D -DOPENSSL_DES_LIBDES_COMPATIBILITY .endif =20 SHLIB_VERSION=3D 4 @@ -89,12 +81,8 @@ =20 pre-everything:: @${ECHO} "" - @${ECHO} "You may use the following build options:" + @${ECHO} "You may use the following build option(s):" @${ECHO} "" - @${ECHO} " WITH_PORTSSL=3Dyes Use the OpenSSL Version delivered by the p= orts." - @${ECHO} " With FreeBSD 5, net-snmp4 requires automatic= ly" - @${ECHO} " the OpenSSL ports-version. In the 5 case, yo= u" - @${ECHO} " don't need to define WITH_PORTSSL (default).= " @${ECHO} " WITHOUT_SSL=3Dyes Disable the OpenSSL support." @${ECHO} "" =20 --=-UnZePOhLFWoI9+yyxv2s-- --=-7K/qPBeyPA//21iRy0Ud Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+ZRYNb2iPiv4Uz4cRAincAKCALcrIfoQrpbPxz4rIa4WgoWUsAwCgk9pt HiKL7B+49USet5RFz3WK9bg= =BnHQ -----END PGP SIGNATURE----- --=-7K/qPBeyPA//21iRy0Ud-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1046812173.310.49.camel>