 fcislerPremium join:2004-06-14 Riverhead, NY | [FreeBSD] Replacement for portcheck?I used to use this almost daily. What's a good replacement?
I cobbled together this:
clear portsnap fetch portsnap update portaudit
Which works for packages with security issues....but portcheck also used to let me know about ALL updates. Now to acomplish that I have to do a portmaster afterwards.
Anyone have a good recommendation? |
|
 1 edit | Edit: The option I put forward has also been depreciated. |
|
 DerwoodWherever you go, there you arePremium join:2003-01-21 Dayton, OH Reviews:
·RoadRunner Cable
| reply to fcisler My port update script:
portsnap fetch portsnap extract /usr/local/sbin/portsdb -u rm /root/p-version /usr/local/sbin/portversion > /root/p-version
Then I portupgrade whatever I want to update that needs it. |
|
 koitsuPremium,MVM join:2002-07-16 Mountain View, CA kudos:19 | reply to fcisler I'm not familiar with portcheck; it sounds like what you're looking for is pkg_version -v, which has existed for at least 10 years now, if not longer.
portaudit is for security audits, not "is there new software available"; use the above for the latter.
-- Making life hard for others since 1977. I speak for myself and not my employer/affiliates of my employer. |
|
|
|
 fcislerPremium join:2004-06-14 Riverhead, NY | Thanks Derwood!
Thank you, koitsu! This filled the gap. I was familiar with portaudit being used for security audits. I had always used portcheck to check for updates.
My modified replacement for portcheck (which is now a shell script /usr/local/bin/portcheck):
clear portsnap fetch portsnap update pkg_version -v -L = portaudit
If anyone is interested, the -L = does not show me up to date versions. |
|
 Reviews:
·AT&T Midwest
| said by fcisler:I was familiar with portaudit being used for security audits. I had always used portcheck to check for updates.
My modified replacement for portcheck (which is now a shell script /usr/local/bin/portcheck):
clear portsnap fetch portsnap update pkg_version -v -L = portaudit
If anyone is interested, the -L = does not show me up to date versions. If you're just running
portaudit
without any flags you're not updating your vulnerability database. I always run it with the -Fda flags so it downloads the latest database before it runs. |
|
 fcislerPremium join:2004-06-14 Riverhead, NY | thank you for the tip! |
|