1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add verlihub, a Direct Connect Protocol Server, known for its amazingly high

user limit and low CPU/Bandwidth requirements.

- Uses a mysql backend (local or remote)
- Ability to use plugins to increase base functionality and flexibility
- Versatile OP commands

PR:		ports/66329
Submitted by:	Bill Cadwallader <hurbold@yahoo.com>
This commit is contained in:
Pav Lucistnik 2004-05-06 18:17:40 +00:00
parent 13bced31c5
commit 4966457c3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108567
11 changed files with 389 additions and 0 deletions

56
net-p2p/verlihub/Makefile Normal file
View File

@ -0,0 +1,56 @@
# New ports collection makefile for: verlihub
# Date created: 2 April 2004
# Whom: Hurbold
#
# $FreeBSD$
#
PORTNAME= verlihub
PORTVERSION= 0.9.7r5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= verlihub
DISTNAME= verlihub-0.9.7-RC5
MAINTAINER= hurbold@yahoo.com
COMMENT= Verlihub Linux/Unix Direct Connect Hub Software
LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP \
pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
USE_MYSQL= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php verlihub.html
post-patch:
@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/verlihub_config ${LOCALBASE}/bin
${MKDIR} ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/trigger ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/install ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/regnick ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/runhub ${EXAMPLESDIR}/scripts
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502010
USE_GCC= 3.3
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (verlihub-0.9.7-RC5.tar.gz) = 0ed37990a05804c04a21c4d2d14ab426
SIZE (verlihub-0.9.7-RC5.tar.gz) = 432016

View File

@ -0,0 +1,13 @@
Verlihub is a Linux/Unix Direct Connect protocol server (Hub).
It is written in c++, has relatively low CPU and RAM usage,
and has many useful features. It also uses a MySQL Database.
These are plugins that can be used to provide additional
functionality not present in the Verlihub base. They work
similarly to 'bots' which have been developed for other hub
servers, without the need for uncompiled scripts.
WWW: http://verlihub.sourceforge.net
-Hurbold
hurbold@yahoo.com

View File

@ -0,0 +1,33 @@
--------------------------------------------------------------------
Documentation has been installed in %%PREFIX%%/share/doc
Sample files have been installed in %%PREFIX%%/share/examples
These include the scripts necessary to start running Verlihub and some sample
configuration files.
The executable has been installed in %%PREFIX%%/bin
A script to link Verlihub plugins has been installed in %%PREFIX%%/bin
This port requires a working mysql server installation, either
locally or remotely.
Once you have a properly-running mysql server, please run the install
script:
%%PREFIX%%/share/examples/verlihub/scripts/install
Follow the instructions given.
You will need the files in %%PREFIX%%/share/examples/verlihub/config
to run the hub. These should be put in the .verlihub directory that
you created with the install script:
cp -R %%PREFIX%%/share/examples/verlihub/config/ /path/to/.verlihub
You should also copy or move the scripts to the .verlihub location:
cp -R %%PREFIX%%/share/examples/verlihub/scripts /path/to/.verlihub
Visit http://verlihub.sourceforge.net for the project's homepage
or http://verlihub.no-ip.com for the project's forums.
-------------------------------------------------------------------

View File

@ -0,0 +1,90 @@
bin/verlihub
bin/verlihub_config
include/verlihub/cantiflood.h
include/verlihub/casyncconn.h
include/verlihub/casyncsocketserver.h
include/verlihub/cbanlist.h
include/verlihub/cban.h
include/verlihub/ccallbacklist.h
include/verlihub/ccmdr.h
include/verlihub/ccommand.h
include/verlihub/cconfigbase.h
include/verlihub/cconfigfile.h
include/verlihub/cconfigitembase.h
include/verlihub/cconfmysql.h
include/verlihub/cconnbase.h
include/verlihub/cconndc.h
include/verlihub/cconnchoose.h
include/verlihub/cconnpoll.h
include/verlihub/cconnselect.h
include/verlihub/cdbconf.h
include/verlihub/cdcconf.h
include/verlihub/cdcconsole.h
include/verlihub/cdcproto.h
include/verlihub/cdctag.h
include/verlihub/cfreqlimiter.h
include/verlihub/cgeoip.h
include/verlihub/cinfoserver.h
include/verlihub/cinterpolexp.h
include/verlihub/ckicklist.h
include/verlihub/ckick.h
include/verlihub/cmeanfrequency.h
include/verlihub/cmessagedc.h
include/verlihub/cmysql.h
include/verlihub/cobj.h
include/verlihub/config.h
include/verlihub/coperator.h
include/verlihub/cparser.h
include/verlihub/cpcre.h
include/verlihub/cpenaltylist.h
include/verlihub/cpluginbase.h
include/verlihub/cpluginloader.h
include/verlihub/cpluginmanager.h
include/verlihub/cprotocommand.h
include/verlihub/cquery.h
include/verlihub/creglist.h
include/verlihub/creguserinfo.h
include/verlihub/cserverdc.h
include/verlihub/csetuplist.h
include/verlihub/ctempfunctionbase.h
include/verlihub/ctimeout.h
include/verlihub/ctime.h
include/verlihub/ctriggers.h
include/verlihub/ctrigger.h
include/verlihub/curr_date_time.h
include/verlihub/cusercollection.h
include/verlihub/cuser.h
include/verlihub/cvhpluginmgr.h
include/verlihub/cvhplugin.h
include/verlihub/dll.h
include/verlihub/tcache.h
include/verlihub/thasharray.h
include/verlihub/tchashlistmap.h
include/verlihub/tpluginbase.h
lib/libdiakritika_pi.a
lib/libdiakritika_pi.la
lib/libdiakritika_pi.so
lib/libdiakritika_pi.so.0
lib/libperl_pi.a
lib/libperl_pi.la
lib/libperl_pi.so
lib/libperl_pi.so.0
lib/libtest_pi.a
lib/libtest_pi.la
lib/libtest_pi.so
lib/libtest_pi.so.0
lib/libverlihub.a
lib/libverlihub.la
lib/libverlihub.so
lib/libverlihub.so.0
lib/libvhinterface.a
lib/libvhinterface.la
lib/libvhinterface.so
lib/libvhinterface.so.0
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/trigger
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/install
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/regnick
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/runhub
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/scripts
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm include/verlihub

View File

@ -683,6 +683,7 @@
SUBDIR += utftpd
SUBDIR += v6eval
SUBDIR += vchat
SUBDIR += verlihub
SUBDIR += vicq
SUBDIR += vls
SUBDIR += vnc

56
net/verlihub/Makefile Normal file
View File

@ -0,0 +1,56 @@
# New ports collection makefile for: verlihub
# Date created: 2 April 2004
# Whom: Hurbold
#
# $FreeBSD$
#
PORTNAME= verlihub
PORTVERSION= 0.9.7r5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= verlihub
DISTNAME= verlihub-0.9.7-RC5
MAINTAINER= hurbold@yahoo.com
COMMENT= Verlihub Linux/Unix Direct Connect Hub Software
LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP \
pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
USE_MYSQL= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php verlihub.html
post-patch:
@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/verlihub_config ${LOCALBASE}/bin
${MKDIR} ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/trigger ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/install ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/regnick ${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/runhub ${EXAMPLESDIR}/scripts
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502010
USE_GCC= 3.3
.endif
.include <bsd.port.post.mk>

2
net/verlihub/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (verlihub-0.9.7-RC5.tar.gz) = 0ed37990a05804c04a21c4d2d14ab426
SIZE (verlihub-0.9.7-RC5.tar.gz) = 432016

13
net/verlihub/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
Verlihub is a Linux/Unix Direct Connect protocol server (Hub).
It is written in c++, has relatively low CPU and RAM usage,
and has many useful features. It also uses a MySQL Database.
These are plugins that can be used to provide additional
functionality not present in the Verlihub base. They work
similarly to 'bots' which have been developed for other hub
servers, without the need for uncompiled scripts.
WWW: http://verlihub.sourceforge.net
-Hurbold
hurbold@yahoo.com

33
net/verlihub/pkg-message Normal file
View File

@ -0,0 +1,33 @@
--------------------------------------------------------------------
Documentation has been installed in %%PREFIX%%/share/doc
Sample files have been installed in %%PREFIX%%/share/examples
These include the scripts necessary to start running Verlihub and some sample
configuration files.
The executable has been installed in %%PREFIX%%/bin
A script to link Verlihub plugins has been installed in %%PREFIX%%/bin
This port requires a working mysql server installation, either
locally or remotely.
Once you have a properly-running mysql server, please run the install
script:
%%PREFIX%%/share/examples/verlihub/scripts/install
Follow the instructions given.
You will need the files in %%PREFIX%%/share/examples/verlihub/config
to run the hub. These should be put in the .verlihub directory that
you created with the install script:
cp -R %%PREFIX%%/share/examples/verlihub/config/ /path/to/.verlihub
You should also copy or move the scripts to the .verlihub location:
cp -R %%PREFIX%%/share/examples/verlihub/scripts /path/to/.verlihub
Visit http://verlihub.sourceforge.net for the project's homepage
or http://verlihub.no-ip.com for the project's forums.
-------------------------------------------------------------------

90
net/verlihub/pkg-plist Normal file
View File

@ -0,0 +1,90 @@
bin/verlihub
bin/verlihub_config
include/verlihub/cantiflood.h
include/verlihub/casyncconn.h
include/verlihub/casyncsocketserver.h
include/verlihub/cbanlist.h
include/verlihub/cban.h
include/verlihub/ccallbacklist.h
include/verlihub/ccmdr.h
include/verlihub/ccommand.h
include/verlihub/cconfigbase.h
include/verlihub/cconfigfile.h
include/verlihub/cconfigitembase.h
include/verlihub/cconfmysql.h
include/verlihub/cconnbase.h
include/verlihub/cconndc.h
include/verlihub/cconnchoose.h
include/verlihub/cconnpoll.h
include/verlihub/cconnselect.h
include/verlihub/cdbconf.h
include/verlihub/cdcconf.h
include/verlihub/cdcconsole.h
include/verlihub/cdcproto.h
include/verlihub/cdctag.h
include/verlihub/cfreqlimiter.h
include/verlihub/cgeoip.h
include/verlihub/cinfoserver.h
include/verlihub/cinterpolexp.h
include/verlihub/ckicklist.h
include/verlihub/ckick.h
include/verlihub/cmeanfrequency.h
include/verlihub/cmessagedc.h
include/verlihub/cmysql.h
include/verlihub/cobj.h
include/verlihub/config.h
include/verlihub/coperator.h
include/verlihub/cparser.h
include/verlihub/cpcre.h
include/verlihub/cpenaltylist.h
include/verlihub/cpluginbase.h
include/verlihub/cpluginloader.h
include/verlihub/cpluginmanager.h
include/verlihub/cprotocommand.h
include/verlihub/cquery.h
include/verlihub/creglist.h
include/verlihub/creguserinfo.h
include/verlihub/cserverdc.h
include/verlihub/csetuplist.h
include/verlihub/ctempfunctionbase.h
include/verlihub/ctimeout.h
include/verlihub/ctime.h
include/verlihub/ctriggers.h
include/verlihub/ctrigger.h
include/verlihub/curr_date_time.h
include/verlihub/cusercollection.h
include/verlihub/cuser.h
include/verlihub/cvhpluginmgr.h
include/verlihub/cvhplugin.h
include/verlihub/dll.h
include/verlihub/tcache.h
include/verlihub/thasharray.h
include/verlihub/tchashlistmap.h
include/verlihub/tpluginbase.h
lib/libdiakritika_pi.a
lib/libdiakritika_pi.la
lib/libdiakritika_pi.so
lib/libdiakritika_pi.so.0
lib/libperl_pi.a
lib/libperl_pi.la
lib/libperl_pi.so
lib/libperl_pi.so.0
lib/libtest_pi.a
lib/libtest_pi.la
lib/libtest_pi.so
lib/libtest_pi.so.0
lib/libverlihub.a
lib/libverlihub.la
lib/libverlihub.so
lib/libverlihub.so.0
lib/libvhinterface.a
lib/libvhinterface.la
lib/libvhinterface.so
lib/libvhinterface.so.0
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/trigger
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/install
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/regnick
%%PORTDOCS%%%%EXAMPLESDIR%%/scripts/runhub
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/scripts
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm include/verlihub