Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 14:53:56 -0400
From:      mfv <mfv@bway.net>
To:        freebsd-questions@freebsd.org
Subject:   Sync Ports to Packages
Message-ID:  <20150717145356.612a3a1e@gecko4>

next in thread | raw e-mail | index | archive | help
Hello,

Am trying to write a script to keep my packages and ports in sync but
have not been able to find a local file in the package system that
contains the revision number of my last upgrade.  Once that number is
obtained it is possible to sync the port tree.

The following script extracts the build number from the appropriate
server but needs Internet access:

https://gist.github.com/reedacartwright/8622973baf89b263a6d7

Is it possible to extract the same revision number from a local file?

Any leads would be appreciated.

    Cheers ...                                 __o
                                             _ \<,_
    Marek                                   (+)/ (+)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150717145356.612a3a1e>