summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2013-11-17 23:19:06 +0000
committerjmmv <jmmv@FreeBSD.org>2013-11-17 23:19:06 +0000
commit2dc825c61c8f2e10a5c2d1e5b3838ac44380a5e2 (patch)
tree9d651d4498dc0f6f38da5f7b5625420b8a39feda
parent3f9944eeba112b77a2694fb1bb51591b29d15932 (diff)
downloadFreeBSD-src-2dc825c61c8f2e10a5c2d1e5b3838ac44380a5e2.zip
FreeBSD-src-2dc825c61c8f2e10a5c2d1e5b3838ac44380a5e2.tar.gz
Update notes for imports of atf.
This is because the atf vendor branch now includes a verbatim copy of the distfile sources. As a result, the list of files to-be-removed from the contrib/ directory is now more aggressive (and different) and the upgrade notes now only describe stuff that is specific to the atf import and is not documented in the Subversion Primer. Approved by: rpaulo (mentor)
-rw-r--r--contrib/atf/FREEBSD-Xlist18
-rw-r--r--contrib/atf/FREEBSD-upgrade48
2 files changed, 45 insertions, 21 deletions
diff --git a/contrib/atf/FREEBSD-Xlist b/contrib/atf/FREEBSD-Xlist
index 9d18c3c..a38273f 100644
--- a/contrib/atf/FREEBSD-Xlist
+++ b/contrib/atf/FREEBSD-Xlist
@@ -1,8 +1,12 @@
+*/*/Makefile*
+*/Makefile*
+INSTALL
+Makefile*
+aclocal.m4
+admin/
+atf-*/atf-*.m4
+atf-*/atf-*.pc.in
+bconfig.h.in
bootstrap/
-config.log
-config.status
-libtool
-Makefile
-stamp-h1
-*/*/.deps/
-*/.deps/
+configure*
+m4/
diff --git a/contrib/atf/FREEBSD-upgrade b/contrib/atf/FREEBSD-upgrade
index 45a4bf5..1b1970f 100644
--- a/contrib/atf/FREEBSD-upgrade
+++ b/contrib/atf/FREEBSD-upgrade
@@ -1,28 +1,48 @@
$FreeBSD$
-atf
+This document contains a collection of notes specific to the import
+of atf into head. These notes are built on the instructions in
+the FreeBSD Subversion Primer that detail how to deal with vendor
+branches and you are supposed to follow those:
-The source code is hosted on GoogleCode as a subcomponent of the Kyua project:
+ http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html
+
+The ATF source code is hosted on Google Code as a subcomponent of the
+Kyua project:
http://code.google.com/p/kyua/downloads/list
-For the contrib directory, the sources were initially prepared like so:
+and is imported into the atf vendor branch (see base/vendor/atf/).
- ./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share
+To merge the vendor branch into head do something like this:
-For the contrib directory, files and directories were pruned by:
+ cd .../base/head/contrib/atf
+ svn merge --accept=postpone \
+ svn+ssh://svn.freebsd.org/base/vendor/atf/dist .
+ svn remove --force $(cat FREEBSD-Xlist)
-sh -c 'for F in `cat FREEBSD-Xlist`; do rm -rf ./$F ; done'
+and resolve any conflicts that may arise at this point.
-You may check if there are any new files that we don't need.
+Once this is done, you must regenerate bconfig.h. The recommended way
+of doing so is by using the release files already imported into the
+vendor branch (which is a good justification for importing the verbatim
+sources in the first place so that this step is reproducible). You can
+use a set of commands similar to the following:
-The instructions for importing new release and merging to HEAD can be found
-at FreeBSD wiki:
+ mkdir /tmp/atf
+ cd /tmp/atf
+ .../vendor/atf/dist/configure \
+ --prefix=/ \
+ --exec-prefix=/usr \
+ --datarootdir=/usr/share
+ cp bconfig.h .../base/head/contrib/atf/
- http://wiki.freebsd.org/SubversionPrimer/VendorImports
+Please do NOT run './configure' straight from the 'dist' directory of
+the vendor branch as you easily risk committing build products into the
+tree.
-To make local changes to atf, simply patch and commit to the trunk
-branch (aka HEAD). Never make local changes on the vendor branch.
+Lastly, with the list of old and new files in this import, make sure
+to udpate the reachover Makefiles accordingly.
-gcooper@FreeBSD.org
-5-August-2012
+Test the build (keeping in mind the WITH_TESTS/WITHOUT_TESTS knobs) and,
+if all looks good, you are ready to commit all the changes in one go.
OpenPOWER on IntegriCloud