Update of /cvsroot/fink/experimental/thesin/finkinfo/test
In directory usw-pr-cvs1:/tmp/cvs-serv4250

Added Files:
        blootbot-1.2.0-1.info blootbot-1.2.0-1.patch 
Log Message:
Testing, gonna compile mysql and try and more temptress over tomorrow

--- NEW FILE: blootbot-1.2.0-1.info ---
Package: blootbot
Version: 1.2.0
Revision: 1
###
Depends: libwww-pm, html-parser-pm, dbd-mysql-pm, dbi-pm, www-search-google-pm, 
net-irc-pm
Suggests: mysql
###
Source: http://%n.sourceforge.net/pub/%n-%v.tar.gz
Source-MD5: 5da3139579e2ae932d51f5d69a313015
SourceDirectory: %n
###
PatchScript: sed -e s,@FINKPREFIX@,%p,g %a/%f.patch | patch -p1
###
CompileScript: <<
  #!/bin/sh
  echo No Compile Script!
<<
###
InstallScript: <<
  #!/bin/sh
  # Make needed directories
  mkdir -p %i/share/blootbot/data/setup
  mkdir -p %i/share/blootbot/src/Factoids
  mkdir -p %i/share/blootbot/src/IRC
  mkdir -p %i/share/blootbot/src/Modules
  mkdir -p %i/share/blootbot/scripts
  mkdir -p %i/etc/blootbot
  mkdir -p %i/sbin
  mkdir -p %i/var/log/blootbot
  mkdir -p %i/var/run/blootbot
  mkdir -p %i/var/lib/blootbot

  # Start of instell
  install -m0640 etc/template.config files/template.{servers,chan,users} \
                 %i/share/blootbot/data
  install -m0644 files/blootbot.{help,lang,lart,randtext} files/unittab \
                 %i/share/blootbot/data
  install -m0644 setup/*.sql \
                 %i/share/blootbot/data/setup
  install -m0640 etc/directories \
                 %i/etc/blootbot
  install -m0755 blootbot \
                 %i/sbin

  # Hackery to install the actual code
  install -m0644 src/*.pl \
                 %i/share/blootbot/src
  install -m0644 src/Factoids/*.pl \
                 %i/share/blootbot/src/Factoids
  install -m0644 src/IRC/*.pl \
                 %i/share/blootbot/src/IRC
  install -m0644 src/Modules/*.pl \
                 %i/share/blootbot/src/Modules

  # and the install/config helpers...
  install -m0755 scripts/makepasswd setup/setup.pl \
                 %i/share/blootbot/scripts
  install -m0755 setup/setup.pl \
                 %i/sbin/blootbotsetup

  # and permissions on the directories...
  chmod 0700 %i/var/log/blootbot %i/etc/blootbot \
             %i/var/run/blootbot %i/var/lib/blootbot
<<
###
DocFiles: AUTHORS ChangeLog* INSTALL* LICENSE README* TODO
###
DaemonicFile: <<
<service>
 <description>BlootBot</description>
 <message>BlootBot</message>

 <daemon name="blootbot">
  <executable background="yes">%p/sbin/blootbot</executable>
  <pidfile>%p/var/run/%n.pid</pidfile>
  <parameters>--chuid blootbot</parameters>
 </daemon>

</service>
<<
###
Description: Severely modified infobot for IRC
DescDetail: <<
 This bot is based upon infobot-0.44.2 by Kevin Lenzo.  The basis of infobot
 is still there but _many_ wild features have been added. Along the way, a
 couple of typos were spotted in the original infobot source and fixed in
 this version. Without infobot, there would be no blootbot so all thanks to
 kevin for bringing infobot in the first place.
 .
 FEATURES
        * Additional information stored with factoids. (factinfo)
        * Wide range of statistics for Bot, Factoids, IRC, Debian.
          (status, factstats, ircstats, chanstats, cmdstats)
        * Advanced topic management. (the first cool feature)
        * Improved factoid search, allowing search by key or value.
        * Freshmeat support (freshmeat.net)
        * Debian Contents and Packages, search and info.
        * much more...
<<
###
License: Artistic
Maintainer: Justin F. Hallett <[EMAIL PROTECTED]>
Homepage: http://blootbot.sourceforge.net/

--- NEW FILE: blootbot-1.2.0-1.patch ---
diff -ruN blootbot.orig/etc/directories blootbot/etc/directories
--- blootbot.orig/etc/directories       1969-12-31 17:00:00.000000000 -0700
+++ blootbot/etc/directories    2002-11-08 20:33:43.000000000 -0700
@@ -0,0 +1,5 @@
+$bot_state_dir = '@FINKPREFIX@/var/lib/blootbot';
+$bot_data_dir  = '@FINKPREFIX@/share/blootbot/data';
+$bot_src_dir   = '@FINKPREFIX@/share/blootbot/src';
+$bot_log_dir   = '@FINKPREFIX@/var/log/blootbot';
+$bot_run_dir   = '@FINKPREFIX@/var/run/blootbot';
diff -ruN blootbot.orig/etc/template.config blootbot/etc/template.config
--- blootbot.orig/etc/template.config   1969-12-31 17:00:00.000000000 -0700
+++ blootbot/etc/template.config        2002-11-08 20:56:24.000000000 -0700
@@ -0,0 +1,228 @@
+# parameter settings file for the infobot
+# kevin lenzo ([EMAIL PROTECTED])
+# modified by xk <[EMAIL PROTECTED]>
+###
+
+#AUTO - delete this line to stop debconf from changing things in this file
[...1794 lines suppressed...]
+        my $dir = "$bot_base_dir/$_/";
+        next if ( -d $dir);
+        &status("Making dir $_");
+        mkdir $dir, 0755;
+    }
+
     # read.
     &loadLang($bot_data_dir. "/blootbot.lang");
     &loadIRCServers();
diff -ruN blootbot.orig/src/modules.pl blootbot/src/modules.pl
--- blootbot.orig/src/modules.pl        2002-05-13 08:11:23.000000000 -0600
+++ blootbot/src/modules.pl     2002-11-08 21:31:38.000000000 -0700
@@ -28,6 +28,7 @@
        "dumpvars"      => "DumpVars.pl",
        "symdump"       => "DumpVars2.pl",
        "factoids"      => "Factoids.pl",
+       "fink"          => "Fink.pl",
        "freshmeat"     => "Freshmeat.pl",
        "kernel"        => "Kernel.pl",
        "ircdcc"        => "UserDCC.pl",



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to