> Hopefully this isn't off-topic as I assume a lot of you use
> sunfreeware.com ... I'm trying to determine how to a) best identify
> which of my installed packages came from sunfreeware, and b) be able to
> track when an update is available.
>
> It seems like a lot of the sunfreeware packages end up with a 'SMC'
> prefix, but maybe 'SFW' too?
>
> How do you guys track this?
>
> I'm hoping I can extract version information and compare with packages
> on the sunfreeware site to automatically determine if an update is
> available.

Try the following :

$ pkginfo | grep -v SUNW | grep -v CSW | awk '{ print $2 }' | xargs pkginfo -l


That will ignore all software from Sun and from Blastwave and then dump out
the verbose ( long ) info about the package. Don't be surprised if you see
stuff like this :

   PKGINST:  TSIpgxw
      NAME:  PGX32 (Raptor GFX) X Window System Support v4.0
  CATEGORY:  application,graphics
      ARCH:  sparc
   VERSION:  10.0.0,REV=2004.11.18
   BASEDIR:  /usr
    VENDOR:  Tech-Source Inc.
      DESC:  X Server loadable module for PGX32 (Raptor GFX) graphics
accelerator
    PSTAMP:  sun20041117142547
  INSTDATE:  Aug 08 2005 13:08
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       14 installed pathnames
                   9 shared pathnames
                   8 directories
                   2 executables
                   1 setuid/setgid executables
                1193 blocks used (approx)

That is still software from Sun but it doesn't have the SUNW in front of the
package name.

Dennis Clarke
Blastwave.org

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to