aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-04-26 05:45:48 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-04-26 05:45:48 +0000
commit7bccca1caa9edce65cdb4f3d3cd46ecb1496b7f5 (patch)
treed18692180f51e492176d22d2223232d56bf2263c /irc
parent442a4ece4059985726091dcb222a996d65bd9219 (diff)
downloadports-7bccca1caa9edce65cdb4f3d3cd46ecb1496b7f5.tar.gz
ports-7bccca1caa9edce65cdb4f3d3cd46ecb1496b7f5.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/thales/Makefile71
-rw-r--r--irc/thales/distinfo2
-rw-r--r--irc/thales/pkg-descr15
-rw-r--r--irc/thales/pkg-plist125
5 files changed, 214 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 5dccbe0ff05d..579f0184a740 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -90,6 +90,7 @@
SUBDIR += sircd
SUBDIR += slirc
SUBDIR += srvx
+ SUBDIR += thales
SUBDIR += tirc
SUBDIR += tircproxy
SUBDIR += tkirc
diff --git a/irc/thales/Makefile b/irc/thales/Makefile
new file mode 100644
index 000000000000..74c5913becb9
--- /dev/null
+++ b/irc/thales/Makefile
@@ -0,0 +1,71 @@
+# Ports collection makefile for: GNU Thales
+# Date created: 30 May 2004
+# Whom: Gerrit Beine <tux@pinguru.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= thales
+PORTVERSION= 1.0
+CATEGORIES= irc
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= tux@pinguru.net
+COMMENT= GNU Thales -- An IRC to MySQL gateway
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_MYSQL= yes
+USE_REINPLACE= yes
+
+# Currently, not all supported IRCDs are handled here, only the ones
+# I could find corresponding RUN_DEPENDS in our Ports Collection
+.if defined(WITH_IRCD) && ${WITH_IRCD} == hybrid
+RUN_DEPENDS= ${LOCALBASE}/bin/ircd:${PORTSDIR}/irc/ircd-hybrid
+IS_INTERACTIVE= yes
+.elif defined(WITH_IRCD) && ${WITH_IRCD} == ircdru
+RUN_DEPENDS= ${LOCALBASE}/sbin/ircd:${PORTSDIR}/irc/ircd-ru
+IS_INTERACTIVE= yes
+.else
+WITH_IRCD= unreal
+RUN_DEPENDS= ${LOCALBASE}/Unreal/ircd:${PORTSDIR}/irc/unreal
+.endif
+
+CONFIGURE_ARGS:= --with-ircd=${WITH_IRCD}
+
+.if defined(WITHOUT_MODES)
+CONFIGURE_ARGS+= --enable-no-modes
+.endif
+
+pre-everything:: .SILENT
+ ${ECHO_CMD} ""
+ ${ECHO_CMD} "You may specify the IRCD which thales is compiled for"
+ ${ECHO_CMD} ""
+ ${ECHO_CMD} " WITH_IRCD=foo"
+ ${ECHO_CMD} ""
+ ${ECHO_CMD} "The default value is \"unreal\". Other possible values are:"
+ ${ECHO_CMD} " bahamut, hybrid, ircdru, unreal, ultimate28, ultimate30"
+ ${ECHO_CMD} ""
+ ${ECHO_CMD} "Additinal tunables:"
+ ${ECHO_CMD} ""
+ ${ECHO_CMD} " WITHOUT_MODES Disable modes in the database (default: on)"
+ ${ECHO_CMD} ""
+
+post-patch: .SILENT
+ ${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} \;
+ ${REINPLACE_CMD} -e 's,thales.conf,${PREFIX}/etc/&,' \
+ ${WRKSRC}/src/conf.h
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/thales ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/data/thales.conf.default ${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/data/*.sql ${DATADIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${EXAMPLESDIR} ${DATADIR}/tools
+ ${CP} -r ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ ${CP} -r ${WRKSRC}/tools/* ${DATADIR}/tools
+.endif
+
+.include <bsd.port.mk>
diff --git a/irc/thales/distinfo b/irc/thales/distinfo
new file mode 100644
index 000000000000..73d7553fdcc9
--- /dev/null
+++ b/irc/thales/distinfo
@@ -0,0 +1,2 @@
+MD5 (thales-1.0.tar.gz) = c42323127f212b7a843a7b1f6a61ea21
+SIZE (thales-1.0.tar.gz) = 189768
diff --git a/irc/thales/pkg-descr b/irc/thales/pkg-descr
new file mode 100644
index 000000000000..c9a443e8bacc
--- /dev/null
+++ b/irc/thales/pkg-descr
@@ -0,0 +1,15 @@
+Thales is an IRC to MySQL Gateway. It connects to your IRC network as a
+service, and converts messages it receives to SQL queries to update the
+database. It collects data about users, channels and servers. It does
+not build stats itself, but gives you the database, it's your role to
+write third-party applications or scripts, for example in PHP, to extract
+data from it. Some example applications are provided.
+
+Supported DBMS and IRCDs:
+
+* Currently runs with MySQL
+* Currently supports Unreal (3.1 or later)
+* Support for Bahamut (1.4.27 or later), Hybrid 7 and Ultimate (2.8 or
+ later, 3.0.0 or later) is still included, but is not maintained
+
+WWW: http://www.gnu.org/software/thales/
diff --git a/irc/thales/pkg-plist b/irc/thales/pkg-plist
new file mode 100644
index 000000000000..1e29abd3d97a
--- /dev/null
+++ b/irc/thales/pkg-plist
@@ -0,0 +1,125 @@
+bin/thales
+etc/thales.conf.default
+%%DATADIR%%/mysql-bahamut.sql
+%%DATADIR%%/mysql-hybrid.sql
+%%DATADIR%%/mysql-ircdru.sql
+%%DATADIR%%/mysql-ultimate28.sql
+%%DATADIR%%/mysql-ultimate30.sql
+%%DATADIR%%/mysql-unreal.sql
+%%PORTDOCS%%%%EXAMPLESDIR%%/MRTG/thalesinfo.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/nickinfo/img/online.gif
+%%PORTDOCS%%%%EXAMPLESDIR%%/nickinfo/img/offline.gif
+%%PORTDOCS%%%%EXAMPLESDIR%%/nickinfo/nickinfo.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/nickinfo/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/compteur_js.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/deb.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/0.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/1.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/2.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/3.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/4.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/5.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/6.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/7.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/8.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/9.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/1/visites.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/deb.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/0.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/1.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/2.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/3.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/4.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/5.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/6.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/7.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/8.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/9.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/2/visites.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/deb.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/0.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/1.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/2.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/3.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/4.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/5.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/6.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/7.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/8.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/9.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/3/visites.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/deb.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/0.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/1.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/2.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/3.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/4.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/5.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/6.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/7.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/8.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/9.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/4/visites.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/deb.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/0.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/1.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/2.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/3.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/4.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/5.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/6.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/7.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/8.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/9.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/counter/pictures/5/visites.PNG
+%%PORTDOCS%%%%EXAMPLESDIR%%/whois/whois.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/whois/dowhois.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/mysql.ini.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/counters/users_tc.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/counters/chans_tc.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/counters/servers_tc.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/counters/chans_max.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/counters/users_max.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/counters/chan_po.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/status/server_on.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/status/user_ison.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/status/user_status.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/status/chan_topic.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/memphistools/common.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/clones/clones.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/recycledcounter/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/recycledcounter/recycpt.php
+%%PORTDOCS%%%%DATADIR%%/tools/crontab/cron.sh
+%%PORTDOCS%%%%DATADIR%%/tools/README
+%%PORTDOCS%%%%DATADIR%%/tools/logfilter/README
+%%PORTDOCS%%%%DATADIR%%/tools/logfilter/logfilter.sh
+%%PORTDOCS%%%%DATADIR%%/tools/testbed/README
+%%PORTDOCS%%%%DATADIR%%/tools/testbed/killrunall.sh
+%%PORTDOCS%%%%DATADIR%%/tools/testbed/killall.sh
+%%PORTDOCS%%%%DATADIR%%/tools/testbed/compileall.sh
+%%PORTDOCS%%%%DATADIR%%/tools/testbed/chgCacheTime.sh
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/recycledcounter
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/clones
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/memphistools/status
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/memphistools/counters
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/memphistools
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/whois
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter/pictures/5
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter/pictures/4
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter/pictures/3
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter/pictures/2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter/pictures/1
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter/pictures
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/counter
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/nickinfo/img
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/nickinfo
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/MRTG
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DATADIR%%/tools/testbed
+%%PORTDOCS%%@dirrm %%DATADIR%%/tools/logfilter
+%%PORTDOCS%%@dirrm %%DATADIR%%/tools/crontab
+%%PORTDOCS%%@dirrm %%DATADIR%%/tools
+@dirrm %%DATADIR%%