diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2007-04-11 23:47:05 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2007-04-11 23:47:05 +0000 |
commit | 9f010cb8560dda42835fc70e845ad5450628446f (patch) | |
tree | 2006942bb47f1815d9b887d8d4b56b8bb20732f4 /databases/mytop | |
parent | 94ab7b4be7a9ddae43b4883277c35966c5603701 (diff) | |
download | ports-9f010cb8560dda42835fc70e845ad5450628446f.tar.gz ports-9f010cb8560dda42835fc70e845ad5450628446f.zip |
Notes
Diffstat (limited to 'databases/mytop')
-rw-r--r-- | databases/mytop/Makefile | 2 | ||||
-rw-r--r-- | databases/mytop/files/patch-mytop | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile index bac1096dc503..8e9851fc2afd 100644 --- a/databases/mytop/Makefile +++ b/databases/mytop/Makefile @@ -7,7 +7,7 @@ PORTNAME= mytop PORTVERSION= 1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://jeremy.zawodny.com/mysql/mytop/ diff --git a/databases/mytop/files/patch-mytop b/databases/mytop/files/patch-mytop index 39f59c10219f..afe00a3bd744 100644 --- a/databases/mytop/files/patch-mytop +++ b/databases/mytop/files/patch-mytop @@ -1,5 +1,5 @@ ---- mytop.orig Sun Apr 1 08:26:56 2007 -+++ mytop Sun Apr 1 08:27:00 2007 +--- mytop.orig Thu Apr 12 07:42:22 2007 ++++ mytop Thu Apr 12 07:42:24 2007 @@ -369,6 +369,10 @@ require Data::Dumper; print Data::Dumper::Dumper([\%config]); @@ -51,7 +51,7 @@ + ? ($s->{Seconds_Behind_Master} > 60 ? BOLD('WARN') : GREEN('OK ')) : RED('ERR ') + ), RESET(), + " Delay: ", -+ sprintf('%03d:%02d', int($s->{Seconds_Behind_Master} / 60), $s->{Seconds_Behind_Master} % 60), ++ defined($s->{Seconds_Behind_Master}) ? sprintf('%03d:%02d', int($s->{Seconds_Behind_Master} / 60), $s->{Seconds_Behind_Master} % 60) : '---:--', + " $s->{Master_User}\@$s->{Master_Host}: ", + "$s->{Master_Log_File}/$s->{Read_Master_Log_Pos} ", + "\n"; |