From nobody@FreeBSD.org  Tue Apr 25 21:56:43 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7ADA616A408
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Apr 2006 21:56:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 335FA43DBF
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Apr 2006 21:56:18 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3PLuInD051687
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Apr 2006 21:56:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k3PLuIM2051686;
	Tue, 25 Apr 2006 21:56:18 GMT
	(envelope-from nobody)
Message-Id: <200604252156.k3PLuIM2051686@www.freebsd.org>
Date: Tue, 25 Apr 2006 21:56:18 GMT
From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [libutil] [patch] ignored NO_INET6 knob
X-Send-Pr-Version: www-2.3

>Number:         96335
>Category:       bin
>Synopsis:       [libutil] [patch] ignored NO_INET6 knob
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 25 22:00:30 GMT 2006
>Closed-Date:    Mon May 28 06:17:29 GMT 2007
>Last-Modified:  Mon May 28 06:20:05 GMT 2007
>Originator:     Alex Kozlov
>Release:        FreeBSD 6.1-RC
>Organization:
private
>Environment:
FreeBSD localhost 6.1-RC FreeBSD 6.1-RC i386
>Description:
Makefile in lib/libutil not respect NO_INET6 knob
>How-To-Repeat:
#echo NO_INET6=true >> /etc/make.conf
#cd /usr/src/lib/libutil
#make
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/li
b/libutil/../libc/gen/ -DINET6  -c /var/src/lib/libutil/_secure_path.c
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/li
b/libutil/../libc/gen/ -DINET6  -c /var/src/lib/libutil/auth.c

>Fix:
--- Makefile        Wed Apr 26 00:27:06 2006
+++ Makefile.new    Wed Apr 26 00:29:18 2006
@@ -5,7 +5,11 @@
 SHLIB_MAJOR= 5
 SHLIBDIR?= /lib
 CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../libc/gen/
+
+.if !defined(NO_INET6)
 CFLAGS+=-DINET6
+.endif
+
 SRCS=  _secure_path.c auth.c fparseln.c humanize_number.c login.c \
        login_auth.c login_cap.c login_class.c login_crypt.c login_ok.c \
        login_times.c login_tty.c logout.c logwtmp.c \

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: delphij 
State-Changed-When: Fri Jun 9 18:24:02 UTC 2006 
State-Changed-Why:  
An independent patch applied against -CURRENT. 


Responsible-Changed-From-To: freebsd-bugs->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Fri Jun 9 18:24:02 UTC 2006 
Responsible-Changed-Why:  
I have committed a patch so over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96335 
State-Changed-From-To: patched->closed 
State-Changed-By: delphij 
State-Changed-When: Mon May 28 06:17:04 UTC 2007 
State-Changed-Why:  
A MFC was done against RELENG_6 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96335 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/96335: commit references a PR
Date: Mon, 28 May 2007 06:16:47 +0000 (UTC)

 delphij     2007-05-28 06:16:41 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     lib/libutil          Makefile 
   Log:
   Respect NO_INET6 knob (MFC in spirit of rev. 1.61).
   
   Submitted by:   Alex Kozlov <spam rm-rf.kiev.ua>
   PR:             bin/96335
   
   Revision  Changes    Path
   1.56.8.3  +2 -0      src/lib/libutil/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
