Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2010 22:32:34 GMT
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/144514: New port: irc/tircd
Message-ID:  <201003062232.o26MWYk2059956@freefall.freebsd.org>
Resent-Message-ID: <201003062240.o26Me1x5060058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144514
>Category:       ports
>Synopsis:       New port: irc/tircd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 06 22:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Atkinson
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.0-STABLE FreeBSD 8.0-STABLE #42 r204803: Sat Mar 6 21:21:56 UTC 2010 simon@freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386


>Description:

tircd presents Twitter as an irc channel. You can connect to tircd
with any IRC client, and tweet as if you were on IRC.  The daemon
supports authentication via OAuth or standard http and https
authentication, and supports direct messages, automatic URL shortening,
and Twitter searching.

Quickstart: in irssi, "/connect localhost 6667 twitpass twituser"
and join #twitter

    - @gavinatkinson
XWWW: http://code.google.com/p/tircd/

>How-To-Repeat:
	N/A
>Fix:

(shar also available at http://people.freebsd.org/~gavin/tircd.shar )

--- tircd.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	irc/tircd
#	irc/tircd/Makefile
#	irc/tircd/distinfo
#	irc/tircd/pkg-descr
#	irc/tircd/files
#	irc/tircd/files/tircd.in
#
echo c - irc/tircd
mkdir -p irc/tircd > /dev/null 2>&1
echo x - irc/tircd/Makefile
sed 's/^X//' >irc/tircd/Makefile << '6f2afb3f773a26b5a1a7a1a0d023b1da'
X# New ports collection makefile for: tircd
X# Date created:		6th March 2010
X# Whom:			Gavin Atkinson <gavin@FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tircd
XPORTVERSION=	0.10
XCATEGORIES=	irc
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XDISTNAME=	${PORTNAME}_v${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	gavin@FreeBSD.org
XCOMMENT=	IRC proxy to Twitter
X
XRUN_DEPENDS=	p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \
X		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
X		p5-URI>=0:${PORTSDIR}/net/p5-URI \
X		p5-Time-Local>=0:${PORTSDIR}/devel/p5-Time-Local \
X		p5-Storable>=0:${PORTSDIR}/devel/p5-Storable \
X		p5-Net-Twitter-Lite>=0:${PORTSDIR}/net/p5-Net-Twitter-Lite \
X		p5-POE>=0:${PORTSDIR}/devel/p5-POE \
X		p5-POE-Filter-IRCD>=0:${PORTSDIR}/irc/p5-POE-Filter-IRCD
X
XWRKSRC=		${WRKDIR}/tircd.extracted/tircd
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
X
XMAN1=		tircd.1
XUSE_RC_SUBR=	tircd
X
XPLIST_FILES=	bin/tircd.pl \
X		etc/tircd.cfg
X
Xdo-extract:
X	@${RM} -rf ${WRKDIR}/tircd.extracted
X	@${MKDIR} ${WRKDIR}/tircd.extracted
X	@cd ${WRKDIR}/tircd.extracted && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS}
X
Xpost-patch:
X	${SED}	-e '1s,^#!/usr/bin/perl,#!${PREFIX}/bin/perl,' \
X		-e 's,/etc/tircd.cfg,${PREFIX}/etc/tircd.cfg,g' \
X		-i "" ${WRKSRC}/tircd.pl
X
Xpre-install:
X	pod2man ${WRKSRC}/tircd.pod > ${WRKSRC}/tircd.1
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/tircd.pl ${PREFIX}/bin/tircd.pl
X	${INSTALL_DATA} ${WRKSRC}/tircd.cfg.example ${PREFIX}/etc/tircd.cfg
X	${INSTALL_MAN} ${WRKSRC}/tircd.1 ${MANPREFIX}/man/man1/tircd.1
X
X.include <bsd.port.mk>
6f2afb3f773a26b5a1a7a1a0d023b1da
echo x - irc/tircd/distinfo
sed 's/^X//' >irc/tircd/distinfo << '5ad4c3b39d23f0b46ab6ee9636ebdc12'
XMD5 (tircd_v0.10.tgz) = b98d8dfac4aec44327f65e5643b5af34
XSHA256 (tircd_v0.10.tgz) = 81f5ea5441af71d242acc4c2e98757e26005f19235752e8053193bab2aecea54
XSIZE (tircd_v0.10.tgz) = 26766
5ad4c3b39d23f0b46ab6ee9636ebdc12
echo x - irc/tircd/pkg-descr
sed 's/^X//' >irc/tircd/pkg-descr << '23c3b208feb9a4a52a8ddbf4017d4926'
Xtircd presents Twitter as an irc channel. You can connect to tircd
Xwith any IRC client, and tweet as if you were on IRC.  The daemon
Xsupports authentication via OAuth or standard http and https
Xauthentication, and supports direct messages, automatic URL shortening,
Xand Twitter searching.
X
XQuickstart: in irssi, "/connect localhost 6667 twitpass twituser"
Xand join #twitter
X
X    - @gavinatkinson
X
XWWW: http://code.google.com/p/tircd/
23c3b208feb9a4a52a8ddbf4017d4926
echo c - irc/tircd/files
mkdir -p irc/tircd/files > /dev/null 2>&1
echo x - irc/tircd/files/tircd.in
sed 's/^X//' >irc/tircd/files/tircd.in << '4c6472a9904a5e787e3c87417a39f0cc'
X#! /bin/sh
X# $FreeBSD$
X#
X# PROVIDE: tircd
X# REQUIRE: LOGIN syslogd
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# tircd_enable (bool):   Set to NO by default.
X#               Set it to YES to enable tircd.
X
X. %%RC_SUBR%%
X
Xname="tircd"
Xrcvar=${name}_enable
X
Xcommand="%%PREFIX%%/bin/$name.pl"
Xcommand_args="&"
Xrequired_files="%%PREFIX%%/etc/tircd.cfg"
X
Xload_rc_config $name
X
X: ${tircd_enable="NO"}
X
Xrun_rc_command "$1"
4c6472a9904a5e787e3c87417a39f0cc
exit
--- tircd.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003062232.o26MWYk2059956>