SOURCES: eventum-irc-config.patch - updated to 1.6.1

glen glen at pld-linux.org
Sat Aug 20 13:34:52 CEST 2005


Author: glen                         Date: Sat Aug 20 11:34:52 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 1.6.1

---- Files affected:
SOURCES:
   eventum-irc-config.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/eventum-irc-config.patch
diff -u SOURCES/eventum-irc-config.patch:1.5 SOURCES/eventum-irc-config.patch:1.6
--- SOURCES/eventum-irc-config.patch:1.5	Wed Jul 27 09:43:33 2005
+++ SOURCES/eventum-irc-config.patch	Sat Aug 20 13:34:46 2005
@@ -1,45 +1,30 @@
---- ./misc/irc/bot.php	2005-01-05 01:06:16.000000000 +0200
-+++ ./misc/irc/bot.php	2005-01-18 16:09:13.000000000 +0200
-@@ -52,10 +52,12 @@
-     exit;
- }
- 
-+include '/etc/eventum/irc.php';
-+
- // SETUP: need to change the project name in here
- $channels = array(
-     Project::getID('Default Project') => array(
--        '#issues',
-+        $irc_default_channel,
-     )
- );
- 
---- ./misc/irc/bot.php~	2005-03-14 14:47:40.000000000 +0200
-+++ ./misc/irc/bot.php	2005-03-28 20:58:31.000000000 +0300
-@@ -56,7 +56,7 @@
- 
- // SETUP: need to change the project name in here
+--- ./misc/irc/bot.php.bak	2005-08-20 05:28:05.000000000 +0300
++++ ./misc/irc/bot.php	2005-08-20 05:33:35.000000000 +0300
+@@ -28,7 +28,6 @@
+ // @(#) $Id$
+ //
+ 
+-include_once("../../config.inc.php");
+ include_once(APP_INC_PATH . "db_access.php");
+ include_once(APP_INC_PATH . "class.auth.php");
+ include_once(APP_INC_PATH . "class.lock.php");
+@@ -41,8 +40,8 @@
+ // the following is the list of IRC channels that the bot should connect to,
+ // and the associated project name
  $channels = array(
 -    Project::getID('Default Project') => array(
+-        '#issues',
 +    Project::getID($irc_default_project) => array(
-         $irc_default_channel,
++        $irc_default_channel,
      )
  );
---- ./misc/irc/bot.php~	2005-07-26 19:15:02.000000000 +0300
-+++ ./misc/irc/bot.php	2005-07-26 19:15:45.000000000 +0300
-@@ -395,11 +395,11 @@
- $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-quarantined', $bot, 'listQuarantinedIssues');
- 
+ $irc_server_hostname = 'localhost';
+@@ -54,6 +53,8 @@
+ $username = '';
+ $password = '';
  
--$irc->connect('localhost', 6667);
--$irc->login('EventumBOT', 'EventumBOT', 0, 'EventumBOT');
-+$irc->connect($irc_host, $irc_port);
-+$irc->login($irc_nick, $irc_realname, 0, $irc_username, $irc_password);
- $irc->listen();
- $irc->disconnect();
++include_once('/etc/eventum/irc.php');
++
  
- // release the lock
- Lock::release('irc_bot');
--?>
-\ No newline at end of file
-+?>
+ // ============================================
+ // ============================================
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-irc-config.patch?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list