site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
577
Share Topic
Posting?
Post a:
Post a:
Links: ·Forum FAQ ·Attitude Adjustment ·Linux docs ·DistroWatch ·OPLM
AuthorAll Replies


fcisler
Premium
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?


Trihexagonal

join:2004-08-29

1 edit

Edit: The option I put forward has also been depreciated.



Derwood
Wherever you go, there you are
Premium
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.



koitsu
Premium,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.



fcisler
Premium
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.



Trihexagonal

join:2004-08-29
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.


fcisler
Premium
join:2004-06-14
Riverhead, NY

thank you for the tip!


Sunday, 19-May 21:59:21 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics