From owner-freebsd-bugs Sat Apr 1 13:40:15 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1555337BC82 for ; Sat, 1 Apr 2000 13:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA92216; Sat, 1 Apr 2000 13:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from hydrant.intranova.net (hydrant.ncw.qc.ca [209.201.95.10]) by hub.freebsd.org (Postfix) with SMTP id B2BFD37BC2B for ; Sat, 1 Apr 2000 13:38:14 -0800 (PST) (envelope-from oogali@hydrant.intranova.net) Received: (qmail 14725 invoked by uid 1001); 1 Apr 2000 21:41:48 -0000 Message-Id: <20000401214148.14724.qmail@hydrant.intranova.net> Date: 1 Apr 2000 21:41:48 -0000 From: oogali@intranova.net Reply-To: oogali@intranova.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/17739: Traceroute will not compile without IPSEC Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17739 >Category: bin >Synopsis: Traceroute will not compile without IPSEC >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 1 13:40:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Omachonu Ogali >Release: FreeBSD 5.0-CURRENT i386 >Organization: Intranova Networking Group >Environment: FreeBSD 5.0-CURRENT without IPSEC support. >Description: Traceroute will not compile or run in an environment without IPSEC support due to it being hard-coded in the Makefile. >How-To-Repeat: Compile a kernel without IPSEC support and remove IPSEC libraries. cd /usr/src/usr.sbin/traceroute make >Fix: Patch file included below: --- /usr/src/usr.sbin/traceroute/Makefile.orig Thu Mar 30 14:16:52 2000 +++ /usr/src/usr.sbin/traceroute/Makefile Thu Mar 30 14:23:28 2000 @@ -5,4 +5,11 @@ BINMODE=4555 + +.ifndef (NOIPSEC) CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \ -DSTDC_HEADERS=1 -DIPSEC +.else +CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \ + -DSTDC_HEADERS=1 +.endif + # RTT Jitter on the internet these days means printing 3 decimal places on @@ -14,4 +21,7 @@ CLEANFILES+= version.c + +.ifndef (NOIPSEC) DPADD= ${LIBIPSEC} LDADD= -lipsec +.endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message