From owner-freebsd-current Mon Mar 13 3:55:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 37B0837B573; Mon, 13 Mar 2000 03:54:59 -0800 (PST) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id NAA11060; Mon, 13 Mar 2000 13:54:46 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200003131154.NAA11060@zibbi.mikom.csir.co.za> Subject: Re: latest 4.0 snapshot breaks tcpdump In-Reply-To: from Kris Kennaway at "Mar 13, 2000 02:56:07 am" To: kris@hub.freebsd.org (Kris Kennaway) Date: Mon, 13 Mar 2000 13:54:46 +0200 (SAT) Cc: jhay@mikom.csir.co.za (John Hay), jkh@zippy.cdrom.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > 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