? update-opt-out-178581-18.patch
? update_optout_41.patch
? update_optout_46.patch
? sites/default/settings.php
Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.79
diff -u -p -r1.79 install.php
--- install.php	16 Oct 2007 11:41:19 -0000	1.79
+++ install.php	16 Oct 2007 13:29:35 -0000
@@ -902,6 +902,7 @@ function install_configure_form() {
     '#title' => st('Server settings'),
     '#collapsible' => FALSE,
   );
+
   $form['server_settings']['date_default_timezone'] = array(
     '#type' => 'select',
     '#title' => st('Default time zone'),
@@ -936,6 +937,15 @@ if (Drupal.jsEnabled) {
     '#weight' => 10,
   );
 
+  $form['server_settings']['update_status_module'] = array(
+    '#type' => 'radios',
+    '#title' => st('Update notifications'),
+    '#options' => array(0 => st('Disabled'), 1 => st('Check for updates automatically')),
+    '#default_value' => 1,
+    '#description' => st('Drupal can check periodically for important bug fixes and security releases. To do this, your site will send anonymous information on its installed components to drupal.org. It is <strong>highly recommended</strong> that you enable this option for your site\'s security. For more information please read the <a href="@update">Update status handbook page</a>.', array('@update' => 'http://drupal.org/handbook/modules/update')),
+    '#weight' => 15,
+  );
+
   $form['submit'] = array(
     '#type' => 'submit',
     '#value' => st('Save'),
@@ -945,6 +955,7 @@ if (Drupal.jsEnabled) {
   if (function_exists($hook_form_alter)) {
     $hook_form_alter($form, 'install_configure');
   }
+
   return $form;
 }
 
@@ -967,6 +978,11 @@ function install_configure_form_submit($
   variable_set('site_mail', $form_state['values']['site_mail']);
   variable_set('date_default_timezone', $form_state['values']['date_default_timezone']);
 
+  // Enable Update status module if this option was selected.
+  if ($form_state['values']['update_status_module']) {
+    drupal_install_modules(array('update'));
+  }
+
   // Turn this off temporarily so that we can pass a password through.
   variable_set('user_email_verification', FALSE);
   $form_state['old_values'] = $form_state['values'];
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.162
diff -u -p -r1.162 system.install
--- modules/system/system.install	12 Oct 2007 10:41:47 -0000	1.162
+++ modules/system/system.install	16 Oct 2007 13:29:40 -0000
@@ -187,6 +187,23 @@ function system_requirements($phase) {
   include_once './includes/unicode.inc';
   $requirements = array_merge($requirements, unicode_requirements());
 
+  // Check for Update status module.
+  if ($phase == 'runtime') {
+    if (!module_exists('update')) {
+      $requirements['update status'] = array(
+        'value' => $t('Not enabled'),
+        'severity' => REQUIREMENT_ERROR,
+        'description' => $t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the Update status module from the <a href="@module">module administration page</a> in order to stay up-to-date on new releases. For more information please read the <a href="@update">Update status handbook page</a>.', array('@update' => 'http://drupal.org/handbook/modules/update', '@module' => url('admin/build/modules'))),
+      );
+    }
+    else {
+      $requirements['update status'] = array(
+        'value' => $t('Enabled'),
+      );
+    }
+    $requirements['update status']['title'] = $t('Update notifications');
+  }
+
   return $requirements;
 }
 
@@ -4310,6 +4327,8 @@ function system_update_6026() {
   drupal_set_installed_schema_version('update', 0);
   module_enable(array('update'));
   menu_rebuild();
+  drupal_set_message(t('The Update status module was automatically enabled. This module automatically checks for new versions of modules and themes. For more information please read the <a href="@update-help">Update status module help page</a>.', array('@update-help' => url('admin/help/update'))), 'warning');
+
   return $ret;
 }
 
Index: modules/update/update.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/update/update.module,v
retrieving revision 1.1
diff -u -p -r1.1 update.module
--- modules/update/update.module	11 Jul 2007 15:15:40 -0000	1.1
+++ modules/update/update.module	16 Oct 2007 13:29:41 -0000
@@ -71,6 +71,13 @@ function update_help($path, $arg) {
       // These two pages don't need additional nagging.
       break;
 
+    case 'admin/help#update':
+      $output = '<p>'. t("The Update status module periodically checks for new versions of your site's software (including contributed modules and themes), and alerts you to available updates.") .'</p>';
+      $output .= '<p>'. t('The <a href="@update-report">report of available updates</a> will alert you when new releases are available for download. You may configure options for update checking frequency and notifications at the <a href="@update-settings">Update status module settings page</a>.', array('@update-report' => url('admin/logs/updates'), '@update-settings' => url('admin/logs/updates/settings'))) .'</p>';
+      $output .= '<p>'. t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the <a href="@modules">module administration page</a>.', array('@modules' => url('admin/build/modules'))) .'</p>';
+      $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@update">Update status page</a>.', array('@update' => 'http://drupal.org/handbook/modules/update')) .'</p>';
+      return $output;
+
     default:
       // Otherwise, if we're on *any* admin page and there's a security
       // update missing, print an error message about it.
Index: profiles/default/default.profile
===================================================================
RCS file: /cvs/drupal/drupal/profiles/default/default.profile,v
retrieving revision 1.16
diff -u -p -r1.16 default.profile
--- profiles/default/default.profile	11 Jul 2007 15:15:40 -0000	1.16
+++ profiles/default/default.profile	16 Oct 2007 13:29:41 -0000
@@ -8,7 +8,7 @@
  *  An array of modules to be enabled.
  */
 function default_profile_modules() {
-  return array('color', 'comment', 'help', 'menu', 'taxonomy', 'dblog', 'update');
+  return array('color', 'comment', 'help', 'menu', 'taxonomy', 'dblog');
 }
 
 /**
