summaryrefslogtreecommitdiff
path: root/chat/bitchbot
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-05-17 09:27:57 +0000
committerminskim <minskim@pkgsrc.org>2004-05-17 09:27:57 +0000
commite81ce78f024065b31b8fe4a537acd67a70d34179 (patch)
tree5b70b5fb014d0359124446d47f4bd274ef7fc421 /chat/bitchbot
parent4d58623faf404d6724f1231da94c043bffe69575 (diff)
downloadpkgsrc-e81ce78f024065b31b8fe4a537acd67a70d34179.tar.gz
Import bitchbot from pkgsrc-wip. Packaged by Adrian Portelli.
Bitchbot is a GPL'ed perl-based IRC bot coded mainly for #gloom on irc.edgeirc.net. The bot has a wide variety of useful and useless features, to name a few: * factoids (bits of information about things) * Game server query support for all popular FPS titles (using qstat, www.qstat.org) * Message system for leaving short notes for people who are offline. * Configurable access list to allow users to manipulate certain features. * Channel operator commands (limited use; bitchbot wasn't designed to be a chanbot) * Last seen nickname to find out when a user was last on the channel. * Vote and poll on user defined topics. * Channel statistics (if your server can handle the horrible memory leaks) * Support for the cyborgizer and techifier toys from www.brunching.com. * A ton of other stuff you'll find from looking at the command reference.
Diffstat (limited to 'chat/bitchbot')
-rw-r--r--chat/bitchbot/DESCR16
-rw-r--r--chat/bitchbot/Makefile36
-rw-r--r--chat/bitchbot/PLIST5
-rw-r--r--chat/bitchbot/distinfo6
-rw-r--r--chat/bitchbot/patches/patch-aa20
-rw-r--r--chat/bitchbot/patches/patch-ab20
6 files changed, 103 insertions, 0 deletions
diff --git a/chat/bitchbot/DESCR b/chat/bitchbot/DESCR
new file mode 100644
index 00000000000..79cbc2070ca
--- /dev/null
+++ b/chat/bitchbot/DESCR
@@ -0,0 +1,16 @@
+Bitchbot is a GPL'ed perl-based IRC bot coded mainly for #gloom on
+irc.edgeirc.net. The bot has a wide variety of useful and useless
+features, to name a few:
+
+* factoids (bits of information about things)
+* Game server query support for all popular FPS titles
+ (using qstat, www.qstat.org)
+* Message system for leaving short notes for people who are offline.
+* Configurable access list to allow users to manipulate certain features.
+* Channel operator commands
+ (limited use; bitchbot wasn't designed to be a chanbot)
+* Last seen nickname to find out when a user was last on the channel.
+* Vote and poll on user defined topics.
+* Channel statistics (if your server can handle the horrible memory leaks)
+* Support for the cyborgizer and techifier toys from www.brunching.com.
+* A ton of other stuff you'll find from looking at the command reference.
diff --git a/chat/bitchbot/Makefile b/chat/bitchbot/Makefile
new file mode 100644
index 00000000000..f74bc57e7b6
--- /dev/null
+++ b/chat/bitchbot/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/17 09:27:57 minskim Exp $
+
+DISTNAME= bitchbot-1.0.2
+CATEGORIES= chat
+MASTER_SITES= http://www.r1ch.net/projects/bitchbot/download/
+
+MAINTAINER= adrianp@stindustries.net
+HOMEPAGE= http://www.r1ch.net/projects/bitchbot/
+COMMENT= Bitchbot is a perl-based IRC bot
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_PERL5= YES
+USE_PKGINSTALL= YES
+NO_BUILDLINK= YES
+
+REPLACE_PERL= bitch.pl genstats.pl
+
+CONF_FILES= ${PREFIX}/share/examples/bitch/bitch.conf.template \
+ ${PKG_SYSCONFDIR}/bitch.conf
+
+INSTALLATION_DIRS= bin
+
+do-build:
+ @${SED} -e 's#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#g' \
+ < ${WRKSRC}/bitch.pl > ${WRKSRC}/bitch;
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bitch
+
+ ${INSTALL_SCRIPT} ${WRKSRC}/bitch ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/genstats.pl ${PREFIX}/bin/genstats
+ ${INSTALL_DATA} ${WRKSRC}/bitch.conf.template \
+ ${PREFIX}/share/examples/bitch
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/bitchbot/PLIST b/chat/bitchbot/PLIST
new file mode 100644
index 00000000000..6c2e4cd516a
--- /dev/null
+++ b/chat/bitchbot/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/17 09:27:57 minskim Exp $
+bin/bitch
+bin/genstats
+share/examples/bitch/bitch.conf.template
+@dirrm share/examples/bitch
diff --git a/chat/bitchbot/distinfo b/chat/bitchbot/distinfo
new file mode 100644
index 00000000000..0859e767255
--- /dev/null
+++ b/chat/bitchbot/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/05/17 09:27:57 minskim Exp $
+
+SHA1 (bitchbot-1.0.2.tar.gz) = 8fee2b908bed9ae1f552a2e8b7c0576ed0e8af20
+Size (bitchbot-1.0.2.tar.gz) = 34325 bytes
+SHA1 (patch-aa) = 1d53d75ba42b3eb27a34db8b56ed0f22d5cf057a
+SHA1 (patch-ab) = 819d0394a622306ff70836edabf6ab5280b29532
diff --git a/chat/bitchbot/patches/patch-aa b/chat/bitchbot/patches/patch-aa
new file mode 100644
index 00000000000..3a6c4707aaa
--- /dev/null
+++ b/chat/bitchbot/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/05/17 09:27:57 minskim Exp $
+
+--- bitch.conf.template.orig Tue Oct 14 21:43:47 2003
++++ bitch.conf.template Tue Oct 14 21:44:13 2003
+@@ -230,7 +230,7 @@
+ #------------
+ #max number of nicks on chanstats page
+ #------------
+-$statsmax = 100;
++$maxstats = 100;
+
+ #---------------
+ #average the stats or include EVERYONE (1 or 0)
+@@ -306,4 +306,4 @@
+ #--------
+ $uploadname = 'index.html';
+
+-1;
+\ No newline at end of file
++1;
diff --git a/chat/bitchbot/patches/patch-ab b/chat/bitchbot/patches/patch-ab
new file mode 100644
index 00000000000..43f61c3d403
--- /dev/null
+++ b/chat/bitchbot/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/05/17 09:27:57 minskim Exp $
+
+--- bitch.pl.orig Tue Oct 14 21:52:52 2003
++++ bitch.pl Tue Oct 14 21:54:17 2003
+@@ -182,7 +182,7 @@
+ $mfail = "[FAILED]";
+ $mok = "[ OK ]";
+ } else {
+- $win321 = './';
++ $win321 = '@PKG_SYSCONFDIR@/';
+ $mfail = "[FAILED]";
+ $mok = "[ OK ]";
+ }
+@@ -4571,4 +4571,4 @@
+ }
+
+ print CHATLOG time() . "\001$action\001$nickname\001$text\n";
+-}
+\ No newline at end of file
++}