aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2012-11-03 02:49:55 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2012-11-03 02:49:55 +0000
commit91447d690b10eccf7c752b34108b10af28cfd6c6 (patch)
tree2e91e6ffbb4c08b13c42dbd17dc76fdb1cd7c445
parente20a09caa9c076c551d86b124508545dcf2471f2 (diff)
downloadpaludis-91447d690b10eccf7c752b34108b10af28cfd6c6.tar.gz
paludis-91447d690b10eccf7c752b34108b10af28cfd6c6.tar.xz
Update ebuild hook list
Fixes: ticket:1257
-rw-r--r--doc/configuration/hooks.html.part61
-rw-r--r--hooks/Makefile.am.m451
2 files changed, 100 insertions, 12 deletions
diff --git a/doc/configuration/hooks.html.part b/doc/configuration/hooks.html.part
index b9f4c18..58e0fb6 100644
--- a/doc/configuration/hooks.html.part
+++ b/doc/configuration/hooks.html.part
@@ -164,21 +164,30 @@ hooks.</p>
<li><code>ebuild_metadata_pre</code></li>
<li><code>ebuild_metadata_fail</code></li>
<li><code>ebuild_metadata_post</code></li>
+ <li><code>ebuild_variable_pre</code></li>
+ <li><code>ebuild_variable_fail</code></li>
+ <li><code>ebuild_variable_post</code></li>
<li><code>ebuild_init_pre</code></li>
<li><code>ebuild_init_fail</code></li>
<li><code>ebuild_init_post</code></li>
- <li><code>ebuild_fetch_pre</code></li>
- <li><code>ebuild_fetch_fail</code></li>
- <li><code>ebuild_fetch_post</code></li>
+ <li><code>ebuild_initmisc_pre</code></li>
+ <li><code>ebuild_initmisc_fail</code></li>
+ <li><code>ebuild_initmisc_post</code></li>
+ <li><code>ebuild_fetch_extra_pre</code></li>
+ <li><code>ebuild_fetch_extra_fail</code></li>
+ <li><code>ebuild_fetch_extra_post</code></li>
<li><code>ebuild_tidyup_pre</code></li>
<li><code>ebuild_tidyup_fail</code></li>
<li><code>ebuild_tidyup_post</code></li>
- <li><code>ebuild_strip_pre</code></li>
- <li><code>ebuild_strip_fail</code></li>
- <li><code>ebuild_strip_post</code></li>
<li><code>ebuild_unpack_pre</code></li>
<li><code>ebuild_unpack_fail</code></li>
<li><code>ebuild_unpack_post</code></li>
+ <li><code>ebuild_prepare_pre</code></li>
+ <li><code>ebuild_prepare_fail</code></li>
+ <li><code>ebuild_prepare_post</code></li>
+ <li><code>ebuild_configure_pre</code></li>
+ <li><code>ebuild_configure_fail</code></li>
+ <li><code>ebuild_configure_post</code></li>
<li><code>ebuild_compile_pre</code></li>
<li><code>ebuild_compile_fail</code></li>
<li><code>ebuild_compile_post</code></li>
@@ -188,6 +197,18 @@ hooks.</p>
<li><code>ebuild_test_pre</code></li>
<li><code>ebuild_test_fail</code></li>
<li><code>ebuild_test_post</code></li>
+ <li><code>ebuild_test_expensive_pre</code></li>
+ <li><code>ebuild_test_expensive_fail</code></li>
+ <li><code>ebuild_test_expensive_post</code></li>
+ <li><code>ebuild_pretend_pre</code></li>
+ <li><code>ebuild_pretend_fail</code></li>
+ <li><code>ebuild_pretend_post</code></li>
+ <li><code>ebuild_bad_options_pre</code></li>
+ <li><code>ebuild_bad_options_fail</code></li>
+ <li><code>ebuild_bad_options_post</code></li>
+ <li><code>ebuild_bad_required_use_pre</code></li>
+ <li><code>ebuild_bad_required_use_fail</code></li>
+ <li><code>ebuild_bad_required_use_post</code></li>
<li><code>ebuild_setup_pre</code></li>
<li><code>ebuild_setup_fail</code></li>
<li><code>ebuild_setup_post</code></li>
@@ -209,8 +230,36 @@ hooks.</p>
<li><code>ebuild_postrm_pre</code></li>
<li><code>ebuild_postrm_fail</code></li>
<li><code>ebuild_postrm_post</code></li>
+ <li><code>ebuild_info_pre</code></li>
+ <li><code>ebuild_info_fail</code></li>
+ <li><code>ebuild_info_post</code></li>
+ <li><code>ebuild_infovars_pre</code></li>
+ <li><code>ebuild_infovars_fail</code></li>
+ <li><code>ebuild_infovars_post</code></li>
+ <li><code>ebuild_pivotbin_pre</code></li>
+ <li><code>ebuild_pivotbin_fail</code></li>
+ <li><code>ebuild_pivotbin_post</code></li>
+ <li><code>ebuild_installbin_pre</code></li>
+ <li><code>ebuild_installbin_fail</code></li>
+ <li><code>ebuild_installbin_post</code></li>
+ <li><code>ebuild_saveenv_pre</code></li>
+ <li><code>ebuild_saveenv_fail</code></li>
+ <li><code>ebuild_saveenv_post</code></li>
+ <li><code>ebuild_loadenv_pre</code></li>
+ <li><code>ebuild_loadenv_fail</code></li>
+ <li><code>ebuild_loadenv_post</code></li>
+ <li><code>ebuild_killold_pre</code></li>
+ <li><code>ebuild_killold_fail</code></li>
+ <li><code>ebuild_killold_post</code></li>
+ <li><code>ebuild_tidyup_pre</code></li>
+ <li><code>ebuild_tidyup_fail</code></li>
+ <li><code>ebuild_tidyup_post</code></li>
</ul>
+<p>These are called before and after the corresponding <code>src_</code>,
+<code>pkg_</code> or <code>builtin_</code> phase functions (in particular,
+note <code>src_configure</code> versus <code>pkg_config</code>).
+
<p>As well as the full ebuild environment, the <code>HOOK</code> environment
variable will contain the name of the hook being called. The
<code>PALUDIS_CMDLINE</code> variables described below are also available.</p>
diff --git a/hooks/Makefile.am.m4 b/hooks/Makefile.am.m4
index 31164ff..d9ae596 100644
--- a/hooks/Makefile.am.m4
+++ b/hooks/Makefile.am.m4
@@ -98,18 +98,21 @@ userhook(`fetch_all_post')
userhook(`ebuild_metadata_pre')
userhook(`ebuild_metadata_fail')
userhook(`ebuild_metadata_post')
+userhook(`ebuild_variable_pre')
+userhook(`ebuild_variable_fail')
+userhook(`ebuild_variable_post')
userhook(`ebuild_init_pre')
userhook(`ebuild_init_fail')
userhook(`ebuild_init_post')
-userhook(`ebuild_fetch_pre')
-userhook(`ebuild_fetch_fail')
-userhook(`ebuild_fetch_post')
+userhook(`ebuild_initmisc_pre')
+userhook(`ebuild_initmisc_fail')
+userhook(`ebuild_initmisc_post')
+userhook(`ebuild_fetch_extra_pre')
+userhook(`ebuild_fetch_extra_fail')
+userhook(`ebuild_fetch_extra_post')
userhook(`ebuild_tidyup_pre')
userhook(`ebuild_tidyup_fail')
userhook(`ebuild_tidyup_post')
-userhook(`ebuild_strip_pre')
-userhook(`ebuild_strip_fail')
-userhook(`ebuild_strip_post')
userhook(`ebuild_unpack_pre')
userhook(`ebuild_unpack_fail')
userhook(`ebuild_unpack_post')
@@ -128,6 +131,18 @@ userhook(`ebuild_install_post')
userhook(`ebuild_test_pre')
userhook(`ebuild_test_fail')
userhook(`ebuild_test_post')
+userhook(`ebuild_test_expensive_pre')
+userhook(`ebuild_test_expensive_fail')
+userhook(`ebuild_test_expensive_post')
+userhook(`ebuild_pretend_pre')
+userhook(`ebuild_pretend_fail')
+userhook(`ebuild_pretend_post')
+userhook(`ebuild_bad_options_pre')
+userhook(`ebuild_bad_options_fail')
+userhook(`ebuild_bad_options_post')
+userhook(`ebuild_bad_required_use_pre')
+userhook(`ebuild_bad_required_use_fail')
+userhook(`ebuild_bad_required_use_post')
userhook(`ebuild_setup_pre')
userhook(`ebuild_setup_fail')
userhook(`ebuild_setup_post')
@@ -149,6 +164,30 @@ userhook(`ebuild_prerm_post')
userhook(`ebuild_postrm_pre')
userhook(`ebuild_postrm_fail')
userhook(`ebuild_postrm_post')
+userhook(`ebuild_info_pre')
+userhook(`ebuild_info_fail')
+userhook(`ebuild_info_post')
+userhook(`ebuild_infovars_pre')
+userhook(`ebuild_infovars_fail')
+userhook(`ebuild_infovars_post')
+userhook(`ebuild_pivotbin_pre')
+userhook(`ebuild_pivotbin_fail')
+userhook(`ebuild_pivotbin_post')
+userhook(`ebuild_installbin_pre')
+userhook(`ebuild_installbin_fail')
+userhook(`ebuild_installbin_post')
+userhook(`ebuild_saveenv_pre')
+userhook(`ebuild_saveenv_fail')
+userhook(`ebuild_saveenv_post')
+userhook(`ebuild_loadenv_pre')
+userhook(`ebuild_loadenv_fail')
+userhook(`ebuild_loadenv_post')
+userhook(`ebuild_killold_pre')
+userhook(`ebuild_killold_fail')
+userhook(`ebuild_killold_post')
+userhook(`ebuild_tidyup_pre')
+userhook(`ebuild_tidyup_fail')
+userhook(`ebuild_tidyup_post')
userhook(`einfo')
userhook(`ewarn')