From afarsec@012.net.il  Sun Jan 28 22:35:28 2007
Return-Path: <afarsec@012.net.il>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2843716A401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Jan 2007 22:35:28 +0000 (UTC)
	(envelope-from afarsec@012.net.il)
Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4])
	by mx1.freebsd.org (Postfix) with ESMTP id D4FF913C471
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Jan 2007 22:35:27 +0000 (UTC)
	(envelope-from afarsec@012.net.il)
Received: from afarsec.com ([80.178.197.171])
 by i_mtaout2.012.net.il (HyperSendmail v2004.12)
 with SMTP id <0JCL00ACBOFNQ9U0@i_mtaout2.012.net.il> for
 FreeBSD-gnats-submit@freebsd.org; Mon, 29 Jan 2007 00:42:59 +0200 (IST)
Received: by afarsec.com (sSMTP sendmail emulation); Mon,
 29 Jan 2007 00:17:54 +0200
Message-Id: <0JCL00ACCOFNQ9U0@i_mtaout2.012.net.il>
Date: Mon, 29 Jan 2007 00:17:54 +0200
From: Jonathan <afarsec@012.net.il>
Reply-To: Jonathan <afarsec@012.net.il>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix net/libdnet on 7.0 - retire "aout" support
X-Send-Pr-Version: 3.113
X-GNATS-Notify: onatan@gmail.com

>Number:         108500
>Category:       ports
>Synopsis:       Fix net/libdnet on 7.0 - retire "aout" support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 28 22:40:07 GMT 2007
>Closed-Date:    Tue Jan 30 19:32:54 GMT 2007
>Last-Modified:  Tue Jan 30 19:40:15 GMT 2007
>Originator:     Jonathan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Afarsec
>Environment:
System: FreeBSD server.afarsec.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jun 3 15:27:37 IDT 2006 root@server.afarsec.com:/usr/obj/usr/src/sys/GENERIC-ALTQ i386
>Description:
"aout" format is dead, long live "elf".
This patch fixes configure to default to "elf" instead of "aout".
The current configure works in <7.0 because /usr/bin/objformat exists,
but will fallback to "aout" when /usr/bin/objformat is removed.

Kindly prodded and assisted by: kris@
>How-To-Repeat:
install current, install the libdnet, "make deinstall", see plist errors.
>Fix:
--- libdnet-no-aout.diff begins here ---
diff -urN libdnet.orig/files/patch-configure libdnet/files/patch-configure
--- libdnet.orig/files/patch-configure	Thu Jan  1 02:00:00 1970
+++ libdnet/files/patch-configure	Sun Jan 28 23:38:11 2007
@@ -0,0 +1,11 @@
+--- configure.orig	Sun Jan 28 23:21:00 2007
++++ configure	Sun Jan 28 23:24:44 2007
+@@ -7783,7 +7783,7 @@
+   ;;
+ 
+ freebsd*)
+-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+   version_type=freebsd-$objformat
+   case $version_type in
+     freebsd-elf*)
--- libdnet-no-aout.diff ends here ---


>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Mon Jan 29 01:30:43 UTC 2007 
Class-Changed-Why:  
Fix category (submitter is not maintainer) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108500 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jan 29 01:30:58 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: "Jonatan B" <onatan@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108500: Fix net/libdnet on 7.0 - retire "aout" support
Date: Mon, 29 Jan 2007 07:16:35 +0200

 Approved.
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Mon Jan 29 07:11:14 UTC 2007 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108500 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jan 30 19:24:58 UTC 2007 
State-Changed-Why:  
Committed, thanks! (I redid the patch inline in the Makefile.) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108500: commit references a PR
Date: Tue, 30 Jan 2007 19:32:41 +0000 (UTC)

 pav         2007-01-30 19:32:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/libdnet          Makefile 
   Log:
   - Fix after objformat removal
   
   PR:             ports/108500
   Submitted by:   Jonathan <afarsec@012.net.il> (maintainer)
   
   Revision  Changes    Path
   1.26      +3 -0      ports/net/libdnet/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:
