Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/atf/dist Import atf 0.7. Changes in this release:
details: https://anonhg.NetBSD.org/src/rev/9a3e3dabedd6
branches: trunk
changeset: 750258:9a3e3dabedd6
user: jmmv <jmmv%NetBSD.org@localhost>
date: Tue Dec 22 13:25:45 2009 +0000
description:
Import atf 0.7. Changes in this release:
* Added build-time checks to atf-c and atf-c++. A binding for atf-sh
will come later.
* Migrated all build-time checks for header files to proper ATF tests.
This demonstrates the use of the new feature described above.
* Added an internal API for child process management.
* Converted all plain-text distribution documents to a Docbook canonical
version, and include pre-generated plain text and HTML copies in the
distribution file.
* Simplified the contents of the Makefile.am by regenerating it from a
canonical Makefile.am.m4 source. As a side-effect, some dependency
specifications were fixed.
* Migrated all checks from the check target to installcheck, as these
require ATF to be installed.
* Fixed sign comparison mismatches triggered by the now-enabled
-Wsign-compare.
* Fixed many memory and object leaks.
diffstat:
external/bsd/atf/dist/AUTHORS | 40 +-
external/bsd/atf/dist/COPYING | 109 +-
external/bsd/atf/dist/INSTALL | 418 +-
external/bsd/atf/dist/Makefile.am | 1111 +-
external/bsd/atf/dist/Makefile.am.m4 | 972 +
external/bsd/atf/dist/Makefile.in | 3805 +-
external/bsd/atf/dist/NEWS | 299 +-
external/bsd/atf/dist/README | 69 +-
external/bsd/atf/dist/aclocal.m4 | 6950 +--
external/bsd/atf/dist/admin/check-install.sh | 6 +-
external/bsd/atf/dist/admin/check-style-cpp.awk | 7 +-
external/bsd/atf/dist/admin/check-style-shell.awk | 4 +-
external/bsd/atf/dist/admin/check-style.sh | 8 +-
external/bsd/atf/dist/admin/choose-revision.sh | 74 +
external/bsd/atf/dist/admin/compile | 21 +-
external/bsd/atf/dist/admin/config.guess | 40 +-
external/bsd/atf/dist/admin/config.sub | 19 +-
external/bsd/atf/dist/admin/depcomp | 87 +-
external/bsd/atf/dist/admin/generate-makefile.sh | 75 +
external/bsd/atf/dist/admin/generate-revision-dist.sh | 107 +
external/bsd/atf/dist/admin/generate-revision.sh | 160 +
external/bsd/atf/dist/admin/ltmain.sh | 8750 +-
external/bsd/atf/dist/admin/missing | 49 +-
external/bsd/atf/dist/admin/revision-dist.h | 4 +-
external/bsd/atf/dist/atf-c++/application.cpp | 1 +
external/bsd/atf/dist/atf-c++/application.hpp | 2 +-
external/bsd/atf/dist/atf-c++/build.cpp | 117 +
external/bsd/atf/dist/atf-c++/build.hpp | 57 +
external/bsd/atf/dist/atf-c++/check.cpp | 61 +-
external/bsd/atf/dist/atf-c++/check.hpp | 39 +-
external/bsd/atf/dist/atf-c++/config.cpp | 11 +-
external/bsd/atf/dist/atf-c++/exceptions.cpp | 74 +-
external/bsd/atf/dist/atf-c++/fs.cpp | 79 +-
external/bsd/atf/dist/atf-c++/fs.hpp | 50 +-
external/bsd/atf/dist/atf-c++/process.cpp | 281 +-
external/bsd/atf/dist/atf-c++/process.hpp | 213 +-
external/bsd/atf/dist/atf-c++/tests.cpp | 23 +-
external/bsd/atf/dist/atf-c++/tests.hpp | 8 +-
external/bsd/atf/dist/atf-c++/utils.hpp | 54 +-
external/bsd/atf/dist/atf-c/atf-c-api.3 | 107 +-
external/bsd/atf/dist/atf-c/build.c | 245 +
external/bsd/atf/dist/atf-c/build.h | 47 +
external/bsd/atf/dist/atf-c/check.c | 445 +-
external/bsd/atf/dist/atf-c/check.h | 21 +-
external/bsd/atf/dist/atf-c/config.c | 131 +-
external/bsd/atf/dist/atf-c/error.c | 49 +-
external/bsd/atf/dist/atf-c/error.h | 3 +-
external/bsd/atf/dist/atf-c/expand.c | 9 +-
external/bsd/atf/dist/atf-c/fs.h | 4 +-
external/bsd/atf/dist/atf-c/io.h | 5 +-
external/bsd/atf/dist/atf-c/list.c | 95 +-
external/bsd/atf/dist/atf-c/list.h | 7 +-
external/bsd/atf/dist/atf-c/macros.h | 21 +-
external/bsd/atf/dist/atf-c/map.c | 2 +-
external/bsd/atf/dist/atf-c/object.c | 9 +-
external/bsd/atf/dist/atf-c/object.h | 4 +-
external/bsd/atf/dist/atf-c/process.c | 623 +-
external/bsd/atf/dist/atf-c/process.h | 100 +-
external/bsd/atf/dist/atf-c/tc.h | 4 +-
external/bsd/atf/dist/atf-c/tcr.c | 9 +-
external/bsd/atf/dist/atf-c/text.c | 50 +-
external/bsd/atf/dist/atf-c/text.h | 4 +-
external/bsd/atf/dist/atf-c/tp.c | 7 +-
external/bsd/atf/dist/atf-c/tp_main.c | 23 +-
external/bsd/atf/dist/atf-sh/atf-sh-api.3 | 64 +-
external/bsd/atf/dist/bconfig.h.in | 7 +
external/bsd/atf/dist/configure | 25851 +++------
external/bsd/atf/dist/configure.ac | 31 +-
external/bsd/atf/dist/doc/atf-test-case.4 | 5 +-
external/bsd/atf/dist/doc/authors.xml | 50 +
external/bsd/atf/dist/doc/build-xml.sh | 206 +
external/bsd/atf/dist/doc/copying.xml | 114 +
external/bsd/atf/dist/doc/install.xml | 506 +
external/bsd/atf/dist/doc/news.xml | 274 +
external/bsd/atf/dist/doc/readme.xml | 74 +
external/bsd/atf/dist/doc/roadmap.xml | 182 +
external/bsd/atf/dist/doc/specification.xml | 692 +
external/bsd/atf/dist/doc/standalone/authors.html | 71 +
external/bsd/atf/dist/doc/standalone/copying.html | 169 +
external/bsd/atf/dist/doc/standalone/install.html | 699 +
external/bsd/atf/dist/doc/standalone/news.html | 450 +
external/bsd/atf/dist/doc/standalone/readme.html | 108 +
external/bsd/atf/dist/doc/standalone/roadmap.html | 281 +
external/bsd/atf/dist/doc/standalone/sdocbook.xsl | 278 +
external/bsd/atf/dist/doc/standalone/specification.html | 1096 +
external/bsd/atf/dist/doc/standalone/standalone.css | 93 +
external/bsd/atf/dist/doc/text/authors.txt | 27 +
external/bsd/atf/dist/doc/text/copying.txt | 70 +
external/bsd/atf/dist/doc/text/install.txt | 343 +
external/bsd/atf/dist/doc/text/news.txt | 204 +
external/bsd/atf/dist/doc/text/readme.txt | 46 +
external/bsd/atf/dist/doc/text/roadmap.txt | 122 +
external/bsd/atf/dist/doc/text/specification.txt | 562 +
external/bsd/atf/dist/m4/compiler-flags.m4 | 110 +
external/bsd/atf/dist/m4/developer-mode.m4 | 43 +-
external/bsd/atf/dist/m4/doc-build.m4 | 120 +
external/bsd/atf/dist/m4/libtool.m4 | 7357 ++
external/bsd/atf/dist/m4/ltoptions.m4 | 368 +
external/bsd/atf/dist/m4/ltsugar.m4 | 123 +
external/bsd/atf/dist/m4/ltversion.m4 | 23 +
external/bsd/atf/dist/m4/lt~obsolete.m4 | 92 +
external/bsd/atf/dist/m4/runtime-tool.m4 | 44 +
external/bsd/atf/dist/revision.h | 4 +-
external/bsd/atf/dist/tests/atf/atf-c++/Atffile | 7 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_application_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_atf_c++_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_atffile_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_build_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_check_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_config_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_env_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_exceptions_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_expand_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_formats_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_fs_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_io_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_macros_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_parser_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_process_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_sanity_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_signals_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_tests_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_text_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_ui_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_user_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_include_utils_hpp.cpp | 1 +
external/bsd/atf/dist/tests/atf/atf-c++/d_use_macros_hpp.cpp | 100 +
external/bsd/atf/dist/tests/atf/atf-c++/h_lib.cpp | 61 +
external/bsd/atf/dist/tests/atf/atf-c++/h_lib.hpp | 60 +
external/bsd/atf/dist/tests/atf/atf-c++/t_application.cpp | 48 +
external/bsd/atf/dist/tests/atf/atf-c++/t_atf_c++.cpp | 48 +
external/bsd/atf/dist/tests/atf/atf-c++/t_atffile.cpp | 48 +
external/bsd/atf/dist/tests/atf/atf-c++/t_build.cpp | 247 +
external/bsd/atf/dist/tests/atf/atf-c++/t_check.cpp | 346 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_config.cpp | 284 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_env.cpp | 22 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_exceptions.cpp | 157 +
external/bsd/atf/dist/tests/atf/atf-c++/t_expand.cpp | 17 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_formats.cpp | 48 +
external/bsd/atf/dist/tests/atf/atf-c++/t_fs.cpp | 172 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_io.cpp | 13 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_macros.cpp | 39 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_parser.cpp | 13 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_process.cpp | 329 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_sanity.cpp | 48 +
external/bsd/atf/dist/tests/atf/atf-c++/t_signals.cpp | 17 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_tests.cpp | 13 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_text.cpp | 22 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_ui.cpp | 48 +
external/bsd/atf/dist/tests/atf/atf-c++/t_user.cpp | 13 +-
external/bsd/atf/dist/tests/atf/atf-c++/t_utils.cpp | 72 +-
external/bsd/atf/dist/tests/atf/atf-c/d_include_atf_c_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_build_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_check_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_config_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_dynstr_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_env_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_error_fwd_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_error_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_expand_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_fs_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_io_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_list_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_macros_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_map_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_object_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_process_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_sanity_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_signals_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_tc_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_tcr_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_text_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_tp_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_ui_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_include_user_h.c | 1 +
external/bsd/atf/dist/tests/atf/atf-c/d_use_macros_h.c | 78 +
external/bsd/atf/dist/tests/atf/atf-c/h_build.h | 414 +
external/bsd/atf/dist/tests/atf/atf-c/h_lib.c | 131 +
external/bsd/atf/dist/tests/atf/atf-c/h_lib.h | 66 +
external/bsd/atf/dist/tests/atf/atf-c/h_processes.c | 117 +
external/bsd/atf/dist/tests/atf/atf-c/t_atf_c.c | 50 +
external/bsd/atf/dist/tests/atf/atf-c/t_build.c | 286 +
external/bsd/atf/dist/tests/atf/atf-c/t_check.c | 432 +-
external/bsd/atf/dist/tests/atf/atf-c/t_config.c | 236 +-
external/bsd/atf/dist/tests/atf/atf-c/t_dynstr.c | 24 +-
external/bsd/atf/dist/tests/atf/atf-c/t_env.c | 13 +-
external/bsd/atf/dist/tests/atf/atf-c/t_error.c | 42 +-
external/bsd/atf/dist/tests/atf/atf-c/t_expand.c | 13 +-
external/bsd/atf/dist/tests/atf/atf-c/t_fs.c | 259 +-
external/bsd/atf/dist/tests/atf/atf-c/t_h_lib.c | 104 +
external/bsd/atf/dist/tests/atf/atf-c/t_io.c | 50 +-
external/bsd/atf/dist/tests/atf/atf-c/t_list.c | 175 +-
external/bsd/atf/dist/tests/atf/atf-c/t_macros.c | 319 +-
external/bsd/atf/dist/tests/atf/atf-c/t_map.c | 13 +-
external/bsd/atf/dist/tests/atf/atf-c/t_process.c | 1115 +-
external/bsd/atf/dist/tests/atf/atf-c/t_sanity.c | 157 +-
external/bsd/atf/dist/tests/atf/atf-c/t_signals.c | 84 +-
external/bsd/atf/dist/tests/atf/atf-c/t_tc.c | 13 +-
external/bsd/atf/dist/tests/atf/atf-c/t_tcr.c | 13 +-
external/bsd/atf/dist/tests/atf/atf-c/t_text.c | 224 +-
external/bsd/atf/dist/tests/atf/atf-c/t_ui.c | 21 +-
external/bsd/atf/dist/tests/atf/atf-c/t_user.c | 13 +-
external/bsd/atf/dist/tests/atf/atf-sh/h_misc.sh | 4 +-
external/bsd/atf/dist/tests/atf/test_programs/h_c.c | 4 +-
external/bsd/atf/dist/tests/atf/test_programs/h_cpp.cpp | 13 +-
external/bsd/atf/dist/tests/atf/tools/t_atf_check.sh | 19 +
external/bsd/atf/dist/tests/atf/tools/t_atf_cleanup.sh | 42 +-
external/bsd/atf/dist/tests/atf/tools/t_atf_compile.sh | 28 +-
external/bsd/atf/dist/tests/atf/tools/t_atf_config.sh | 32 +-
external/bsd/atf/dist/tests/bootstrap/h_tp_atf_check_sh.sh | 4 +-
external/bsd/atf/dist/tests/bootstrap/package.m4 | 10 +-
external/bsd/atf/dist/tests/bootstrap/t_atf_config.at | 32 +-
external/bsd/atf/dist/tests/bootstrap/testsuite | 13346 ++---
external/bsd/atf/dist/tools/atf-check.cpp | 52 +-
external/bsd/atf/dist/tools/atf-config.1 | 55 +-
external/bsd/atf/dist/tools/atf-exec.cpp | 130 +-
external/bsd/atf/dist/tools/atf-host-compile.sh | 4 +-
external/bsd/atf/dist/tools/atf-run.cpp | 169 +-
218 files changed, 49837 insertions(+), 38144 deletions(-)
diffs (truncated from 103110 to 300 lines):
diff -r f565616406a2 -r 9a3e3dabedd6 external/bsd/atf/dist/AUTHORS
--- a/external/bsd/atf/dist/AUTHORS Tue Dec 22 11:56:14 2009 +0000
+++ b/external/bsd/atf/dist/AUTHORS Tue Dec 22 13:25:45 2009 +0000
@@ -1,29 +1,27 @@
- Automated Testing Framework (atf)
- The NetBSD Foundation, Inc.
----------------------------------------------------------------------------
+ List of contributors to ATF
+ By Julio Merino, The NetBSD Foundation
+
+ Contents
-Authors
-=======
-
-* Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
+ 1. Authors
- Main developer. He started the work on this project when he took part
- in the Google Summer of Code 2007 program as a student.
+ Authors
-* Martin Husemann <martin%NetBSD.org@localhost>
+ * Julio Merino <jmmv%NetBSD.org@localhost>
- Mentored this project during its development as part of the Google
- Summer of Code 2007 program.
+ Main developer. He started the work on this project when he took part
+ in the Google Summer of Code 2007 program as a student.
-* Lukasz Strzygowski <qx89l4%gmail.com@localhost>
+ * Martin Husemann <martin%NetBSD.org@localhost>
+
+ Mentored this project during its development as part of the Google
+ Summer of Code 2007 program.
- Participant of the Google Summer of Code 2008 program. Mentored by The
- NetBSD Foundation, he worked on the atfify NetBSD-SoC project and, as
- a side-effect, he contributed to the ATF source code. He developed the
- initial version of the atf-check utility and started the addition of the
- ATF_REQUIRE family of macros in the C interface.
+ * Lukasz Strzygowski <qx89l4%gmail.com@localhost>
-
----------------------------------------------------------------------------
- End of document
+ Participant of the Google Summer of Code 2008 program. Mentored by The
+ NetBSD Foundation, he worked on the atfify NetBSD-SoC project and, as
+ a side-effect, he contributed to the ATF source code. He developed the
+ initial version of the atf-check utility and started the addition of
+ the ATF_REQUIRE family of macros in the C interface.
diff -r f565616406a2 -r 9a3e3dabedd6 external/bsd/atf/dist/COPYING
--- a/external/bsd/atf/dist/COPYING Tue Dec 22 11:56:14 2009 +0000
+++ b/external/bsd/atf/dist/COPYING Tue Dec 22 13:25:45 2009 +0000
@@ -1,67 +1,70 @@
- Automated Testing Framework (atf)
- The NetBSD Foundation, Inc.
----------------------------------------------------------------------------
+ Redistribution terms
+ By Julio Merino, The NetBSD Foundation
+
+ Contents
-License
-=======
+ 1. License
-Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
-All rights reserved.
+ 2. Relicensed code
+
+ License
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
+ Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc. All rights
+ reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
-THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
-CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
-IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
-Relicensed code
-===============
+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-The following code snippets have been taken from other projects.
-Even though they were not originally licensed under the terms above,
-the original authors have agreed to relicense their work so that
-this project can be distributed under a single license. This section
-is put here just to clarify this fact.
+ Relicensed code
-* configure.ac, Makefile.am: The original versions were derived from
- the ones in the XML Catalog Manager project, version 2.2.
- Author: Julio M. Merino Vidal <jmmv%users.sourceforge.net@localhost>
+ The following code snippets have been taken from other projects. Even
+ though they were not originally licensed under the terms above, the
+ original authors have agreed to relicense their work so that this project
+ can be distributed under a single license. This section is put here just
+ to clarify this fact.
-* atf-c/ui.c: The format_paragraph and format_text functions were
- derived form the ones in the Monotone project,
- revision 3a0982da308228d796df35f98d787c5cff2bb5b6.
- Author: Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
+ * configure.ac, Makefile.am: The original versions were derived from the
+ ones in the XML Catalog Manager project, version 2.2.
+
+ Author: Julio M. Merino Vidal <jmmv%users.sourceforge.net@localhost>
-* atf-c++/io.hpp, atf-c++/io.cpp, tests/atf-c++/t_io.cpp: These files
- were derived from the file_handle, systembuf, pipe, pistream and
- postream classes and tests found in the Boost.Process library.
- Author: Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
+ * atf-c/ui.c: The format_paragraph and format_text functions were
+ derived form the ones in the Monotone project, revision
+ 3a0982da308228d796df35f98d787c5cff2bb5b6.
+
+ Author: Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
-* admin/check-style.sh, admin/check-style-common.awk,
- admin/check-style-cpp.awk, admin/check-style-shell.awk: These files,
- except the first one, were first implemented in the Buildtool project.
- They were later adapted to be part of Boost.Process and, during that
- process, the shell script was created.
- Author: Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
+ * atf-c++/io.hpp, atf-c++/io.cpp, tests/atf-c++/t_io.cpp: These files
+ were derived from the file_handle, systembuf, pipe, pistream and
+ postream classes and tests found in the Boost.Process library.
+
+ Author: Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
+ * admin/check-style.sh, admin/check-style-common.awk,
+ admin/check-style-cpp.awk, admin/check-style-shell.awk: These files,
+ except the first one, were first implemented in the Buildtool project.
+ They were later adapted to be part of Boost.Process and, during that
+ process, the shell script was created.
----------------------------------------------------------------------------
- End of document
+ Author: Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
diff -r f565616406a2 -r 9a3e3dabedd6 external/bsd/atf/dist/INSTALL
--- a/external/bsd/atf/dist/INSTALL Tue Dec 22 11:56:14 2009 +0000
+++ b/external/bsd/atf/dist/INSTALL Tue Dec 22 13:25:45 2009 +0000
@@ -1,175 +1,343 @@
- Automated Testing Framework (atf)
- The NetBSD Foundation, Inc.
----------------------------------------------------------------------------
+ Installation instructions
+
+ By Julio Merino, The NetBSD Foundation
+
+ Contents
+
+ 1. Introduction
+
+ 2. Dependencies
+ 3. Regenerating the build system
+
+ 4. General build procedure
+
+ 5. Configuration flags
+
+ 6. Post-installation steps
+
+ Introduction
-Introduction
-============
+ ATF uses the GNU Automake, GNU Autoconf and GNU Libtool utilities as its
+ build system. These are used only when compiling the application from the
+ source code package. If you want to install ATF from a binary package, you
+ do not need to read this document.
+
+ For the impatient:
-ATF uses the GNU Automake, GNU Autoconf and GNU Libtool utilities as its
-build system. These are used only when compiling the application from the
-source code package. If you want to install ATF from a binary package, you
-do not need to read this document.
+ $ ./configure
+ $ make
+ Gain root privileges
+ # make install
+ Drop root privileges
+ $ make installcheck
-For the impatient:
+ Or alternatively, install as a regular user into your home directory:
+
+ $ ./configure --prefix ~/local
+ $ make
+ $ make install
+ $ make installcheck
-$ ./configure
-$ make
-$ make check
-Gain root privileges
-# make install
-Drop root privileges
-$ make installcheck
+ Dependencies
+
+ To build and use ATF successfully you need:
+
+ * A standards-compliant C/C++ complier. For example, GNU GCC 2.95 will
+ not work.
+
+ * A POSIX shell interpreter.
-Or alternatively, install as a regular user into your home directory:
+ * A make(1) utility.
+
+ If you are building ATF from the code on the repository, you will also
+ need the following tools. The versions listed here are the ones used to
+ build the files bundled in the last formal release, but these are not
+ strictly required. Newer ones will most likely work and, maybe, some
+ slightly older ones:
+
+ * GNU autoconf 2.65
+
+ * GNU automake 1.11.1
-$ ./configure --prefix ~/local
-$ make
-$ make check
-$ make install
-$ make installcheck
+ * GNU libtool 2.2.6b
+
+ If you are building the XML documentation (which is a requisite to be able
+ to generate a distfile), you will also need the following tools:
+ * links
+
+ * The Simple DocBook DTD 1.1
+
+ * tidy
-Dependencies
-============
+ * xsltproc
-To build and use ATF successfully you need:
+ * xmlcatalog and xmllint
-* A standards-compliant C/C++ complier. For example, GNU GCC 2.95 will not
- work.
-* A POSIX shell interpreter.
-* A make(1) utility.
+ Regenerating the build system
+
+ If you are building ATF from code extracted from the repository, you must
+ first regenerate the files used by the build system. You will also need to
+ do this if you modify one of configure.ac or Makefile.am.m4. To do this,
+ simply run:
-If you are building ATF from the code on the repository, you will also need
-the following tools. The versions listed here are the ones used to build
-the files bundled in the last formal release, but these are not strictly
Home |
Main Index |
Thread Index |
Old Index