pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/bitchbot Import bitchbot from pkgsrc-wip. Packag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52e549b732e1
branches:  trunk
changeset: 475501:52e549b732e1
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 17 09:27:57 2004 +0000

description:
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:

 chat/bitchbot/DESCR            |  16 ++++++++++++++++
 chat/bitchbot/Makefile         |  36 ++++++++++++++++++++++++++++++++++++
 chat/bitchbot/PLIST            |   5 +++++
 chat/bitchbot/distinfo         |   6 ++++++
 chat/bitchbot/patches/patch-aa |  20 ++++++++++++++++++++
 chat/bitchbot/patches/patch-ab |  20 ++++++++++++++++++++
 6 files changed, 103 insertions(+), 0 deletions(-)

diffs (127 lines):

diff -r d1fc44604332 -r 52e549b732e1 chat/bitchbot/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/bitchbot/DESCR       Mon May 17 09:27:57 2004 +0000
@@ -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 -r d1fc44604332 -r 52e549b732e1 chat/bitchbot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/bitchbot/Makefile    Mon May 17 09:27:57 2004 +0000
@@ -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@localhost
+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 -r d1fc44604332 -r 52e549b732e1 chat/bitchbot/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/bitchbot/PLIST       Mon May 17 09:27:57 2004 +0000
@@ -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 -r d1fc44604332 -r 52e549b732e1 chat/bitchbot/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/bitchbot/distinfo    Mon May 17 09:27:57 2004 +0000
@@ -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 -r d1fc44604332 -r 52e549b732e1 chat/bitchbot/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/bitchbot/patches/patch-aa    Mon May 17 09:27:57 2004 +0000
@@ -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 -r d1fc44604332 -r 52e549b732e1 chat/bitchbot/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/bitchbot/patches/patch-ab    Mon May 17 09:27:57 2004 +0000
@@ -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
++}



Home | Main Index | Thread Index | Old Index