From nobody@FreeBSD.org  Mon Feb 15 10:16:02 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D80271065676
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Feb 2010 10:16:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C74B18FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Feb 2010 10:16:02 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1FAG2IE065103
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Feb 2010 10:16:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1FAG2Yh065102;
	Mon, 15 Feb 2010 10:16:02 GMT
	(envelope-from nobody)
Message-Id: <201002151016.o1FAG2Yh065102@www.freebsd.org>
Date: Mon, 15 Feb 2010 10:16:02 GMT
From: YAMAMOTO@FreeBSD.org, Shigeru <shigeru@iij.ad.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ports/net/freeradius2] patch to support "<utmpx.h>"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: david@wood2.org.uk

>Number:         143950
>Category:       ports
>Synopsis:       [ports/net/freeradius2] patch to support "<utmpx.h>"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 10:20:01 UTC 2010
>Closed-Date:    Mon Aug 30 17:01:20 UTC 2010
>Last-Modified:  Mon Aug 30 17:02:24 UTC 2010
>Originator:     YAMAMOTO, Shigeru
>Release:        FreeBSD 9.0-CURRENT
>Organization:
>Environment:
FreeBSD XXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Feb  8 00:07:59 JST 2010     root@XXX:/usr/src/sys/amd64/compile/XXX  amd64

>Description:
-current is now using <utmpx.h> insted of <utmp.h>.
But, ports/net/freeradius2 is not care for FreeBSD-current.

>How-To-Repeat:
1) change to @ports/net/freeradius2/
2) make

>Fix:
I make a patch for -current.


Patch attached with submission follows:

--- src/include/sysutmp.h.orig	2009-12-31 00:44:35.000000000 +0900
+++ src/include/sysutmp.h	2010-02-15 17:18:45.000000000 +0900
@@ -30,7 +30,7 @@
 #  define UT_NAMESIZE	32
 #  define UT_LINESIZE	32
 #  define UT_HOSTSIZE	257
-#ifdef hpux
+#if defined(hpux) || defined(__FreeBSD__)
 #  define ut_name ut_user
 #endif
 #else
@@ -43,7 +43,7 @@
 #  define UT_HOSTSIZE	64
 #endif
 
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) || defined(__OpenBSD__) || defined(__APPLE__)
+#if (defined(__FreeBSD__) && !defined(HAVE_UTMPX_H)) || defined(__NetBSD__) || defined(bsdi) || defined(__OpenBSD__) || defined(__APPLE__)
 #  ifndef UTMP_FILE
 #    define UTMP_FILE "/var/run/utmp"
 #  endif


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Feb 15 10:20:11 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: david@wood2.org.uk
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/143950: [ports/net/freeradius2] patch to support "<utmpx.h>"
Date: Mon, 15 Feb 2010 10:20:08 UT

 Maintainer of net/freeradius2,
 
 Please note that PR ports/143950 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/143950
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Thu Mar 4 19:44:46 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/143950: commit references a PR
Date: Sun,  7 Mar 2010 01:12:20 +0000 (UTC)

 wxs         2010-03-07 01:12:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/freeradius2      Makefile 
   Added files:
     net/freeradius2/files patch-src__include__sysutmp.h 
   Log:
   - Unbreak on 9.x after utmp changes.
   - Pass maintainer to Ryan Steinmetz who has been active with this port in
     the past.
   
   PR:             ports/143950
   Submitted by:   YAMAMOTO@FreeBSD.org, Shigeru <shigeru@iij.ad.jp>
   Approved by:    maintainer timeout, portmgr (linimon@)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.83      +1 -1      ports/net/freeradius2/Makefile
   1.1       +20 -0     ports/net/freeradius2/files/patch-src__include__sysutmp.h (new)
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: wxs 
State-Changed-When: Sun Mar 7 02:22:46 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143950 
State-Changed-From-To: closed->open 
State-Changed-By: pgollucci 
State-Changed-When: Mon Aug 30 16:59:07 UTC 2010 
State-Changed-Why:  
distinfo added 


Responsible-Changed-From-To: wxs->lwhsu 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Mon Aug 30 16:59:07 UTC 2010 
Responsible-Changed-Why:  
distinfo added 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143950 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Mon Aug 30 17:01:19 UTC 2010 
State-Changed-Why:  
dyslexia strikes again 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143950 
Responsible-Changed-From-To: lwhsu->wxs 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Mon Aug 30 17:02:20 UTC 2010 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=143950 
>Unformatted:
