<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 17, 2020, at 2:18 AM, Marc G Fournier <<a href="mailto:scrappy@hub.org" class="">scrappy@hub.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Not sure where to send this … lists seem a wee bit quite, bugtracker broken, but …</div><div class=""><br class=""></div><div class="">Attached is an update to <a href="http://bsdstats.org/" class="">bsdstats</a>  tested on latest MidnightBSD, that fixes a bug in device reporting, and extends ports reporting to work with the mport system …</div><div class=""><br class=""></div><div class="">Let me know if anyone has any questions / problems …</div><div class=""><br class=""></div></div></div></blockquote><br class=""></div><div>Thanks for the updated script.  I’ve updated the port and also fixed our bug tracker. Sorry about that.  </div><div><br class=""></div><div>I did make a slight modification.  In the get_mports function, I switched to using /usr/libexec/mport.list | xargs which will gave a list of currently installed packages.  I also switched to using the master.db rather than index.db.  Master contains packages actually installed on the system whereas index.db is the list of packages available.  Since the user might not have updated all of their packages, it made more sense to me to report the versions installed.  Also if the user were to install a port that’s newer than the last package build, it will still work by using master.  Everything is created as a package first before getting installed in MidnightBSD so master should always match what’s installed. </div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><p style="margin: 0px; min-height: 14px;" class="">You can see the modifications in github</p><p style="margin: 0px; min-height: 14px;" class=""> <a href="https://github.com/MidnightBSD/mports/blob/master/sysutils/bsdstats/files/300.statistics.in" class="">https://github.com/MidnightBSD/mports/blob/master/sysutils/bsdstats/files/300.statistics.in</a><br class="Apple-interchange-newline"><br class=""></p><p style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica;" class="">Lucas Holt</font></p><p style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica;" class=""><a href="mailto:Luke@FoolishGames.com" class="">Luke@FoolishGames.com</a></font></p><p style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica;" class="">________________________________________________________</font></p><p style="margin: 0px;" class=""><a href="http://MidnightBSD.org" class="">MidnightBSD.org</a> (Free OS)</p><p style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica;" class=""><a href="http://JustJournal.com" class="">JustJournal.com</a> (Free blogging)</font></p><font class="Apple-style-span" face="Verdana" size="3"></font></span></span><div class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; -webkit-text-decorations-in-effect: none;"><br class="Apple-interchange-newline"></span></div><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></span></div>
</div>
<br class=""></body></html>