diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/heartbeat/Makefile | 2 | ||||
-rw-r--r-- | sysutils/heartbeat/files/patch-resources-OCF-IPaddr | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/heartbeat/Makefile b/sysutils/heartbeat/Makefile index df472bab491d..781ed82466e5 100644 --- a/sysutils/heartbeat/Makefile +++ b/sysutils/heartbeat/Makefile @@ -7,7 +7,7 @@ PORTNAME= heartbeat PORTVERSION= 2.1.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils #MASTER_SITES= http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2 MASTER_SITES= ${MASTER_SITE_LOCAL} diff --git a/sysutils/heartbeat/files/patch-resources-OCF-IPaddr b/sysutils/heartbeat/files/patch-resources-OCF-IPaddr index 0c64e197478e..ed52d0c27bdb 100644 --- a/sysutils/heartbeat/files/patch-resources-OCF-IPaddr +++ b/sysutils/heartbeat/files/patch-resources-OCF-IPaddr @@ -41,11 +41,11 @@ Patch attached with submission follows: + + 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) |