OpenBSD updating ports
James Hartley
jjhartley at gmail.com
Tue Dec 18 05:37:03 PST 2007
On Dec 18, 2007 12:33 AM, x x <tonino-pablo at lycos.com> wrote:
>
> How do I use csup or cvs to keep the ports up to date all that time? I am
> using release, I'm not running current if that makes any difference.
Note that -release is defined by what is shipped on the official CD
sets. Once shipped, -release does not change. The -stable branch
*may* change due to released patches, but discussion on misc@ of late
indicates that updating the ports tree for -stable is/has become a
casualty of having too few available for maintenance.
The rest of this message discusses -stable.
Similar to discussion found Section 5.3.3 of the FAQ:
http://openbsd.org/faq/faq5.html#BldBinary
Note what trees are exposed by CVS:
http://www.openbsd.org/cgi-bin/cvsweb/
& substitute the ports branch for what is found in Section 5.3.3. ie.
# cd /usr
# export CVSROOT=anoncvs at anoncvs.example.org:/cvs
# cvs -d$CVSROOT checkout -rOPENBSD_4_2 -P ports
...which assumes you are running OpenBSD 4.2. This will be done only
once. Subsequent updates will resemble:
# cd /usr/ports
# export CVSROOT=anoncvs at anoncvs.example.org:/cvs
# cvs -d$CVSROOT up -rOPENBSD_4_2 -Pd
As an important warning, be sure to specify the OPENBSD_4_2 tag.
Otherwise, you will soon begin to experience the weirdnesses described
in:
http://openbsd.org/faq/faq15.html#NoFun
More information about the Openbsd-newbies
mailing list