mcbot shows the proper git location for the source...
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Sat, 13 Dec 2008 15:40:26 +0100
changeset 14 fe8adc56b109
parent 13 d3554afaa768
child 15 f19c1f9b4cd3
mcbot shows the proper git location for the source... committer: Markus Bröker <mbroeker@largo.homelinux.org>
TODO
config/.mcbotrc
debian/changelog
src/CMakeLists.txt
src/parse.c
--- a/TODO
+++ b/TODO
@@ -3,9 +3,9 @@
 #
 
 Known Bugs:
-	* no known bugs :)
+	* no known bugs :) fixed
 	* PRIVMSG for n=some@unaffiliated/users
-	* strdup must be freed...
+	* strdup must be freed: DONE
 
 Todo:
 	* UTF-8 aware Character-Encoding
--- a/config/.mcbotrc
+++ b/config/.mcbotrc
@@ -7,4 +7,4 @@
 SERVER:irc.freenode.net
 PORT:6667
 CHANNEL:#test
-TOPIC:[:test:] Support Channel || ENTER !help for help || Source: http://largo.homelinux.org/svn/c/mcbot/trunk
+TOPIC:[:test:] Support Channel || ENTER !help for help || Source: http://largo.homelinux.org/cgi-bin/gitweb.cgi?p=net/mcbot.git
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mcbot (0.94-5) unstable; urgency=low
+mcbot (0.95-0) unstable; urgency=low
 
   * Initial Release
   * the location of mcbot.cgi is stored in the db
@@ -12,5 +12,6 @@
   * privmsgs will be send to the proper location...
   * A simple garbage collector fills the memory leaks...
   * compat.c added for XOPEN_SOURCE features - not finished yet
+  * SOURCE_URL points to the proper git-location.
 
- -- Markus Broeker <mbroeker@largo.homelinux.org>  Sat, 10 Aug 2008 16:48:54 +0200
+ -- Markus Broeker <mbroeker@largo.homelinux.org>  Sat, 10 Aug 2008 20:00:54 +0200
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -10,7 +10,7 @@
 # C-Definitions
 ADD_DEFINITIONS(-Wall -O2 -ansi -pedantic)
 ADD_DEFINITIONS(-D_XOPEN_SOURCE=500)
-ADD_DEFINITIONS(-DVERSION=0.94)
+ADD_DEFINITIONS(-DVERSION=0.95)
 
 # Includes
 INCLUDE_DIRECTORIES(../include)
--- a/src/parse.c
+++ b/src/parse.c
@@ -19,6 +19,10 @@
 #define DATABASE_FILE "/var/lib/nobody/data/mcbot.dat"
 #endif
 
+#ifndef SOURCE_URL
+#define SOURCE_URL "http://largo.homelinux.org/cgi-bin/gitweb.cgi?p=net/mcbot.git"
+#endif
+
 const
 char *COMMAND_LIST[] = {
     "!help      Known Commands: join(1), leave(2), add(3), replace(4), delete(5), list(6), search(7), info(8)\r\n",
@@ -179,7 +183,7 @@
 
             case 8:            /* !info */
                 snprintf (msg, 512, "PRIVMSG %s :I am MCBot-%1.2f and my source code can be found on %s\r\n",
-                          message->channel, VERSION, "http://largo.homelinux.org/svn/c/mcbot/trunk");
+                          message->channel, VERSION, SOURCE_URL);
                 return msg;
 
             case 9:            /* !ping */