ports/140012: Error in sysutils/heartbeat 2.1.4_3, find_interface_bsd

Justin Head ports at encarnate.com
Sat Oct 31 17:30:03 UTC 2009


The following reply was made to PR ports/140012; it has been noted by GNATS.

From: Justin Head <ports at encarnate.com>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: ports/140012: Error in sysutils/heartbeat 2.1.4_3, 
	find_interface_bsd
Date: Sat, 31 Oct 2009 12:23:27 -0500

 I don't understand why my simple text files can never seem to show
 correctly through FreeBSD's bug tool.  I send attachments just fine to
 everywhere else.
 
 Here is a paste below.
 
 - Justin
 
 ---
 
 --- files/patch-resources-OCF-IPaddr.orig       2009-08-21
 03:55:41.000000000 -0500
 +++ files/patch-resources-OCF-IPaddr    2009-10-31 10:02:44.000000000 -0500
 @@ -41,11 +41,11 @@
  +
  +            while (<STDIN>) {
  +                chomp();
 -+                if ( /^(\w+):\s+flags=/ ) {
 ++                if ( /^(\w+):\sflags=/ ) {
  +                    $if_name = $1;
  +                    $if_status = ( /UP/ ) ? 1 : 0;
  +                }
 -+                if ( /^\s+inet\s+${ip}/ ) {
 ++                if ( /^\tinet\s${ip}\s/ ) {
  +                    if ( $if_status ) {
  +                        print $if_name;
  +                        exit(0)



More information about the freebsd-ports-bugs mailing list