import p5-Bot-BasicBot

Basic bot system designed to make it easy to do simple bots, optionally
forking longer processes (like searches) concurrently in the background.
This commit is contained in:
simon 2009-05-13 00:07:51 +00:00
parent 7fd9ae429a
commit 9364b8b6c8
5 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/13 00:07:51 simon Exp $
COMMENT = simple irc bot baseclass
MODULES = cpan
DISTNAME = Bot-BasicBot-0.81
CATEGORIES = net
# Perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
RUN_DEPENDS = ::net/p5-POE-Component-IRC
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Bot-BasicBot
${INSTALL_DATA} ${WRKSRC}/examples/*.pl \
${PREFIX}/share/examples/p5-Bot-BasicBot
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Bot-BasicBot-0.81.tar.gz) = hN4+2i9SScYJzvYfWaQWUg==
RMD160 (Bot-BasicBot-0.81.tar.gz) = eaNR67lNaRp9v0AHJ39Bs3jWhKE=
SHA1 (Bot-BasicBot-0.81.tar.gz) = hRH8gNe19DE4asBchlHOdsTeXz8=
SHA256 (Bot-BasicBot-0.81.tar.gz) = 6wAFBxMQfp+p3EsGfJr0HCUU1mKwASm+kspi192dbxg=
SIZE (Bot-BasicBot-0.81.tar.gz) = 18311

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-t_connect_t,v 1.1.1.1 2009/05/13 00:07:51 simon Exp $
Avoid live test!
--- t/connect.t.orig Tue Feb 10 11:59:16 2009
+++ t/connect.t Tue Feb 10 11:59:18 2009
@@ -5,6 +5,10 @@ use Test::More;
use lib qw(lib t/lib);
+# not at all, no!
+plan skip_all => "test disabled by port maintainer";
+exit;
+
require IO::Socket;
my $s = IO::Socket::INET->new(
PeerAddr => "irc.perl.org:80",

View File

@ -0,0 +1,2 @@
Basic bot system designed to make it easy to do simple bots, optionally
forking longer processes (like searches) concurrently in the background.

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/13 00:07:51 simon Exp $
${P5SITE}/Bot/
@comment ${P5SITE}/Bot/._BasicBot.pm
${P5SITE}/Bot/BasicBot.pm
@man man/man3p/Bot::BasicBot.3p
share/examples/p5-Bot-BasicBot/
share/examples/p5-Bot-BasicBot/countdownbot.pl
share/examples/p5-Bot-BasicBot/cpanbot.pl
share/examples/p5-Bot-BasicBot/namer.pl
share/examples/p5-Bot-BasicBot/tailbot.pl
share/examples/p5-Bot-BasicBot/tango.pl