Only in .: orig
diff -upr orig/securepages.info ./securepages.info
--- orig/securepages.info       2008-02-29 13:56:28.000000000 -0500
+++ ./securepages.info  2008-02-29 13:57:18.000000000 -0500
@@ -7,3 +7,4 @@ version = "5.x-1.6"
 project = "securepages"
 datestamp = "1199150707"
 
+core = 6.x
diff -upr orig/securepages.module ./securepages.module
--- orig/securepages.module     2008-02-29 13:56:28.000000000 -0500
+++ ./securepages.module        2008-02-29 14:56:57.000000000 -0500
@@ -42,19 +42,18 @@ function securepages_init() {
 /**
  * Implementation of hook_menu()
  */
-function securepages_menu($may_cache) {
+function securepages_menu() {
   $items = array();
-  if ($may_cache) {
-    $items[] = array(
-      'path' => 'admin/settings/securepages',
-      'title' => t('Secure Pages'),
-      'description' => t('Configure which pages are and are not to be viewed in SSL'),
-      'callback' => 'drupal_get_form',
-      'callback arguments' => 'securepages_settings',
-      'access' => user_access('administer site configuration'),
+  
+    $items['admin/settings/securepages'] = array(
+      'title' => 'Secure Pages',
+      'description' => 'Configure which pages are and are not to be viewed in SSL',
+      'page callback' => 'drupal_get_form',
+      'page arguments' => array('securepages_settings'),
+      'access arguments' => array('administer site configuration'),
       'type' => MENU_NORMAL_ITEM,
     );
-  }
+  
   return $items;
 }
 
@@ -63,14 +62,14 @@ function securepages_menu($may_cache) {
  */
 function securepages_settings() {
   $form = array();
-
+  
   $form['securepages_enable'] = array(
     '#type' => 'radios',
     '#title' => t('Enable Secure Pages'),
     '#default_value' => variable_get('securepages_enable', 0),
     '#options' => array(t('Disabled'), t('Enabled')),
     '#disabled' => !securepages_test(),
-    '#description' => t('To start using secure pages this setting must be enabled. This setting will only be able to changed when the web server has been configured for SSL.<br />If this test has failed then go <a href="!url">here</a>', array('!url' => preg_replace(';^http://;i', 'https://', url($_GET['q'], NULL, NULL, TRUE)))),
+    '#description' => t('To start using secure pages this setting must be enabled. This setting will only be able to changed when the web server has been configured for SSL.<br />If this test has failed then go <a href="!url">here</a>', array('!url' => preg_replace(';^http://;i', 'https://', url($_GET['q'], array('absolute' => TRUE))))),
   );
   $form['securepages_switch'] = array(
     '#type' => 'checkbox',
@@ -106,7 +105,7 @@ function securepages_settings() {
 /**
  * Implementation of hook_form_alter()
  */
-function securepages_form_alter($form_id, &$form) {
+function securepages_form_alter(&$form, &$form_state, $form_id) {
   if (!variable_get('securepages_enable', 0)) {
     return;
   }
@@ -206,7 +205,7 @@ function securepages_goto($secure) {
 function securepages_get_destination($path, $query, $secure) {
   if (function_exists('url')) {
     // if url() exists then use that as it will more robust.
-    $url = url($path, $query == '' ? NULL : $query, NULL, TRUE);
+    $url = url($path, array('absolute' => TRUE, 'query' => '' ? NULL : $query));
   }
   else {
     // This should convert to the current page ok.
@@ -241,8 +240,9 @@ function securepages_match($path) {
    * Check to see if the current menu item has a preference and ignore the
    * secure pages settings
    */
+
   if (function_exists('menu_get_item')) {
-    $item = menu_get_item(menu_get_active_item());
+    $item = menu_get_item($path);
     if (isset($item['secure'])) {
       return $item['secure'];
     }
@@ -283,7 +283,7 @@ function securepages_test() {
   if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
     return TRUE;
   }
-  $url = 'https://'. preg_replace(';^http[s]?://;s', '', url('admin/settings/securepages/test', NULL, NULL, TRUE));
+  $url = 'https://'. preg_replace(';^http[s]?://;s', '', url('admin/settings/securepages/test', array('absolute' => TRUE)));
 
   $response = drupal_http_request($url);