Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 11:47:13 +0100
From:      "David Demelier" <markand@malikania.fr>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187136: New port: irc/irccd a fast and powerful C++ IRC bot
Message-ID:  <20140228104713.5031F7D93@postfix.malikania.fr>
Resent-Message-ID: <201402281050.s1SAo0lQ097607@freefall.freebsd.org>

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

>Number:         187136
>Category:       ports
>Synopsis:       New port: irc/irccd a fast and powerful C++ IRC bot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 28 10:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     David Demelier
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Pomme.malikania.fr 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r261002: Wed Jan 22 10:16:44 CET 2014 root@Pomme.malikania.fr:/usr/obj/usr/src/sys/Pomme amd64

>Description:
Irccd is an IRC bot written in C++ and extensible with Lua.

http://projects.malikania.fr/irccd

>How-To-Repeat:
>Fix:

--- irccd.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:
#
#	irccd
#	irccd/pkg-plist
#	irccd/Makefile
#	irccd/distinfo
#	irccd/pkg-descr
#
echo c - irccd
mkdir -p irccd > /dev/null 2>&1
echo x - irccd/pkg-plist
sed 's/^X//' >irccd/pkg-plist << '6d1d5a96c2cbf1d9f92ddb0e21f2373b'
Xbin/irccd
Xbin/irccdctl
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/1.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/10.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/11.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/12.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/13.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/14.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/15.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/2.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/3.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/4.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/5.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/6.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/7.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/8.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/callouts/9.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/caution.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/example.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/home.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/important.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/next.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/note.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/prev.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/tip.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/up.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/icons/warning.png
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-antiflood.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-ask.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-auth.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-badwords.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-date.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-history.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-logger.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/plugin-roulette.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/socket-guide.html
X%%PORTDOCS%%%%DOCSDIR%%/guides/user-guide.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/examples/Connect.lua.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/examples/Formatting.lua.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/examples/Server.lua.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/examples/Welcome.lua.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/index.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/ldoc.css
X%%PORTDOCS%%%%DOCSDIR%%/lua/logo.png
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.fs.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.logger.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.parser.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.plugin.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.server.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.socket.address.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.socket.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.socket.listener.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.system.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.thread.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.thread.pipe.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/modules/irccd.util.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/robot.png
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/1-Introduction.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/1.1-Standard-Libraries.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/2-Plugin_creation.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/2.1-Using_irccd_test.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/2.2-List_of_Events.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Action.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Channel-notice.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Command.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Connect.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Invite.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Join.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Kick.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Load.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Message.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Mode.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Names.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Nick.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Notice.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Part.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Query.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Reload.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Topic.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Unload.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-User-mode.md.html
X%%PORTDOCS%%%%DOCSDIR%%/lua/topics/3-Event-Whois.md.html
X%%ANTIFLOOD%%%%DATADIR%%/plugins/antiflood.lua
X%%ASK%%%%DATADIR%%/plugins/ask.lua
X%%AUTH%%%%DATADIR%%/plugins/auth.lua
X%%BADWORDS%%%%DATADIR%%/plugins/badwords.lua
X%%DATE%%%%DATADIR%%/plugins/date.lua
X%%HISTORY%%%%DATADIR%%/plugins/history.lua
X%%LOGGER%%%%DATADIR%%/plugins/logger.lua
X%%ROULETTE%%%%DATADIR%%/plugins/roulette.lua
X@dirrmtry %%DATADIR%%/plugins
X@dirrmtry %%DATADIR%%
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/lua/topics
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/lua/modules
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/lua/examples
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/lua
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/guides/icons/callouts
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/guides/icons
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/guides
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
Xman/man1/irccd.1.gz
Xman/man1/irccdctl.1.gz
Xman/man5/irccd.conf.5.gz
Xman/man5/irccdctl.conf.5.gz
X@unexec if cmp -s %D/etc/irccd.conf.sample %D/etc/irccd.conf; then rm -f %D/etc/irccd.conf; fi
Xetc/irccd.conf.sample
X@exec if [ ! -f %D/etc/irccd.conf ] ; then cp -p %D/%F %B/irccd.conf; fi
X@unexec if cmp -s %D/etc/irccdctl.conf.sample %D/etc/irccdctl.conf; then rm -f %D/etc/irccdctl.conf; fi
Xetc/irccdctl.conf.sample
X@exec if [ ! -f %D/etc/irccdctl.conf ] ; then cp -p %D/%F %B/irccdctl.conf; fi
6d1d5a96c2cbf1d9f92ddb0e21f2373b
echo x - irccd/Makefile
sed 's/^X//' >irccd/Makefile << '5cc871110b4bec4b53e1e02e7bbc46fb'
X# $FreeBSD$
X
XPORTNAME=	irccd
XPORTVERSION=	1.1.2
XCATEGORIES=	irc
XMASTER_SITES=	http://releases.malikania.fr/irccd/
XDISTVERSIONSUFFIX=	-source
X
XMAINTAINER=	markand@malikania.fr
XCOMMENT=	very fast and powerful IRC bot
X
XLICENSE=	ISCL
X
XLIB_DEPENDS=	libxdg-basedir.so:${PORTSDIR}/x11/libxdg-basedir
X
XCXXFLAGS+=	-DNDEBUG
X
XUSES=		cmake compiler:c++11-lang compiler:c++11-lib
XCMAKE_ARGS=	-DMANDIR=man
X
XOPTIONS_DEFINE=	LUA DOCS
XOPTIONS_DEFAULT=LUA
XOPTIONS_SUB=	yes
X
XOPTIONS_GROUP=	PLUGINS
X
XPLUGINS=	ANTIFLOOD ASK AUTH BADWORDS DATE HISTORY LOGGER ROULETTE
X
X.for n in ${PLUGINS}
X  OPTIONS_GROUP_PLUGINS+= ${n}
X  OPTIONS_DEFAULT+= ${n}
X  ${n}_DESC=Enable plugin ${n}
X.endfor
X
XDOCS_CMAKE_OFF=	-DWITH_LDOC=Off -DWITH_DOC=Off
XLUA_CMAKE_ON=	-DWITH_LUA52=On -DWITH_LUAJIT=Off
XLUA_CMAKE_OFF=	-DWITH_LUA52=Off -DWITH_LUAJIG=Off
XLUA_USES=	lua
X
X.include <bsd.port.options.mk>
X
X.for n in ${PLUGINS}
X.  if ${PORT_OPTIONS:M${n}}
X.    if !${PORT_OPTIONS:MLUA}
XBROKEN=${n} requires LUA option
X.    else
XCMAKE_ARGS+=	-DMOD_${n}=On
X.    endif
X.  else
XCMAKE_ARGS+=	-DMOD_${n}=Off
X.  endif
X.endfor
X
X.include <bsd.port.mk>
5cc871110b4bec4b53e1e02e7bbc46fb
echo x - irccd/distinfo
sed 's/^X//' >irccd/distinfo << '01a36fbca63dceebfbfea9a12702f57f'
XSHA256 (irccd-1.1.2-source.tar.gz) = 5aa4e76288d7b866969eb1996bd7f30b249409be7c662bfb33621eed36f44adb
XSIZE (irccd-1.1.2-source.tar.gz) = 13727909
01a36fbca63dceebfbfea9a12702f57f
echo x - irccd/pkg-descr
sed 's/^X//' >irccd/pkg-descr << '0d907f7d641324a63e39a0202837b564'
XIrccd is a IRC bot written in C++ and Lua. It runs as a daemon and waits for
Xevents. Irccd is extendable with Lua plugins, this allow you to create anything
Xyou want.
X
XCurrently, irccd can use Lua plugins to interact with IRC events. This means,
Xyou can catch the messages, joining, the topic changes and many other events.
XThere are a lot of IRC events supported.
X
XIt is also possible to control irccd with its dedicated tool called irccdctl
Xwhich allows to send messages to a channel, a query, etc.
X
XWWW: http://projects.malikania.fr/irccd
0d907f7d641324a63e39a0202837b564
exit
--- irccd.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?20140228104713.5031F7D93>