3 This document contains a collection of notes specific to the import
4 of atf into head. These notes are built on the instructions in
5 the FreeBSD Subversion Primer that detail how to deal with vendor
6 branches and you are supposed to follow those:
8 http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html
10 The ATF source code is hosted on GitHub:
12 https://github.com/jmmv/atf
14 and is imported into the atf vendor branch (see base/vendor/atf/).
16 To merge the vendor branch into head do something like this:
18 cd .../base/head/contrib/atf
19 svn merge --accept=postpone \
20 svn+ssh://svn.freebsd.org/base/vendor/atf/dist .
21 svn remove --force $(cat FREEBSD-Xlist)
23 and resolve any conflicts that may arise at this point.
25 Once this is done, you must regenerate bconfig.h. The recommended way
26 of doing so is by using the release files already imported into the
27 vendor branch (which is a good justification for importing the verbatim
28 sources in the first place so that this step is reproducible). You can
29 use a set of commands similar to the following:
33 .../vendor/atf/dist/configure \
36 --datarootdir=/usr/share
37 cp bconfig.h .../base/head/contrib/atf/
39 Please do NOT run './configure' straight from the 'dist' directory of
40 the vendor branch as you easily risk committing build products into the
43 Lastly, with the list of old and new files in this import, make sure
44 to update the reachover Makefiles accordingly.
46 Test the build (keeping in mind the WITH_TESTS/WITHOUT_TESTS knobs) and,
47 if all looks good, you are ready to commit all the changes in one go.