16. How to rebase on a supported FreeBSD branch
Prev |  | Next

## 16. How to rebase on a supported FreeBSD branch

As of 2011, the philosophy of package building is to build packages based on the earliest supported release of each branch. e.g.: if on `RELENG-8`, the following releases are supported: 8.1, 8.2, 8.3; then `packages-8-stable` should be built from 8.1.

As releases go End-Of-Life (see chart), a full (not incremental!) package build should be done and uploaded.

The procedure is as follows:

- Edit `/a/portbuild/admin/conf/admin.conf` with the following changes:

  - Change the value of `SRC_BRANCH_`branch`_SUBDIR` to `releng/``branch`.`N` where `N` is the newest 'oldest' release for that branch.

- Run `/a/portbuild/admin/scripts/updatesnap` manually.

- Run `dopackages` with `-nobuild`.

- Follow the setup procedure.

- Now you can run `dopackages` without `-nobuild`.

Prev |  | Next
15. How to delete an unsupported FreeBSD branch | Home | 17. How to configure a new architecture

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.