to update.
-Edit GITHOST /usr/Makefile to select a different download location, if desired.
+Edit GITHOST in /usr/Makefile to select a different download location, if desired.
This downloads the latest stable version of pkgsrc.
### Tracking the stable branch
-There are quarterly releases of pkgsrc that are specifically designed for stability. You should in general follow these, rather than bleeding edge pkgsrc. When a new branch is out you need to set up a local branch tracking that one. make pkgsrc-update will not do this for you.
+There are quarterly releases of pkgsrc that are specifically designed for stability. You should in general follow these, rather than bleeding edge pkgsrc. When a new branch is out you need to set up a local branch tracking that one. 'make pkgsrc-update' will not do this for you.
To see the available remote branches:
- cd /usr/pkgsrc
- git branch -r
+ # cd /usr/pkgsrc
+ # git branch -r
To create a local branch, tracking the remote quarterly release:
- cd /usr/pkgsrc
- git branch pkgsrc-2010Q4 origin/pkgsrc-2010Q4
+ # cd /usr/pkgsrc
+ # git branch pkgsrc-2010Q4 origin/pkgsrc-2010Q4
Branch naming format is 'pkgsrc-YYYYQX', where YYYY is the year and QX is quarters 1-4 of the year. Check [pkgsrc.org](http://www.pkgsrc.org/) to see the name of the most recently released branch.
After adding a new branch, it can be downloaded with:
- cd /usr/pkgsrc
- git checkout pkgsrc-2010Q4
- git pull
+ # cd /usr/pkgsrc
+ # git checkout pkgsrc-2010Q4
+ # git pull
## Dealing with pkgsrc packages