Skip site navigation (1)Skip section navigation (2)
Date:      1 Apr 2000 21:41:48 -0000
From:      oogali@intranova.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/17739: Traceroute will not compile without IPSEC
Message-ID:  <20000401214148.14724.qmail@hydrant.intranova.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000401214148.14724.qmail>