There's a port databases/mytop which has been on 1.6 for a very long time, this port refers to the original author's site http://jeremy.zawodny.com/mysql/mytop/
Obviously Jeremy has since moved to github where he released version 1.7 (AKA, databases/mytop needs an update) see https://github.com/jzawodn/mytop
The blob in MariaDB 5.5 has a version 1.91 by mgrennan which I've tracked back to here http://www.mysqlfanboy.com/mytop-3 which is a modified fork of the original code. The bit that says "FreeBSD users can find mytop in the ports collection. The maintainer seems to keep it relatively current." is misleading...
Propose to update the databases/mytop port and remove mytop from the MariaDB pkg-plist.
Tried my hand at updating this port to the 1.9.1 version but lack perl skills. There seems to be some sort of issue with $STATUS and $OLD_STATUS which is solved in the port, but now Sort_rows is used as well as Queries.
For now looks like the distributed tarball is OK, will investigate further as I find time.
Auto-assigned to maintainer matthew@FreeBSD.org
Thank you for letting me know about the new upstream locations. I'll update the port probably at the weekend.
A commit references this bug:
Date: Sat Dec 6 17:13:16 UTC 2014
New revision: 374121
Update to 1.7
- MASTER_SITE switch to GitHub
- Add LICENSE (GPLv2)
- Use PLIST_FILES and delete pkg-plist
Submitted by: firstname.lastname@example.org
Great! Created a patch for MariaDB 10.0 so it removes mytop.
Closing this looks complete, if needed we can reopen later.