Date: Mon, 13 Mar 2000 13:54:46 +0200 (SAT) From: John Hay <jhay@mikom.csir.co.za> To: kris@hub.freebsd.org (Kris Kennaway) Cc: jhay@mikom.csir.co.za (John Hay), jkh@zippy.cdrom.com, current@FreeBSD.ORG Subject: Re: latest 4.0 snapshot breaks tcpdump Message-ID: <200003131154.NAA11060@zibbi.mikom.csir.co.za> In-Reply-To: <Pine.BSF.4.21.0003130254380.95376-100000@hub.freebsd.org> from Kris Kennaway at "Mar 13, 2000 02:56:07 am"
next in thread | previous in thread | raw e-mail | index | archive | help
It also needs DISTRIBUTION=crypto inside that .if so that it will end up
in the crypto distribution. And maybe the exists(../../../crypto should
be exists(${.CURDIR}/../../secure) like the ppp/Makefile?
>
> > Hmm. I didn't know that - probably it could. The question is then whether
> > make release correctly compiles everything without libcrypto (the original
> > poster suggests not).
>
> Looks like it needs the following patch:
>
> Index: usr.sbin/tcpdump//tcpdump/Makefile
> ===================================================================
> RCS file: /home/ncvs/src/usr.sbin/tcpdump/tcpdump/Makefile,v
> retrieving revision 1.25
> diff -u -r1.25 Makefile
> --- usr.sbin/tcpdump//tcpdump/Makefile 2000/03/02 13:27:25 1.25
> +++ usr.sbin/tcpdump//tcpdump/Makefile 2000/03/13 10:54:05
> @@ -21,7 +21,7 @@
> CLEANFILES+= version.c
> DPADD+= ${LIBL} ${LIBPCAP}
> LDADD+= -ll -lpcap
> -.if exists(../../../crypto) && !defined(NOSECURE) && !defined(NO_OPENSSL)
> +.if exists(../../../crypto) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
> DPADD+= ${LIBCRYPTO}
> LDADD+= -lcrypto
> CFLAGS+= -I${DESTDIR}/usr/include/openssl -DCRYPTO -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H
>
> ----
> In God we Trust -- all others must submit an X.509 certificate.
> -- Charles Forsythe <forsythe@alum.mit.edu>
>
John
--
John Hay -- John.Hay@mikom.csir.co.za
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003131154.NAA11060>
