From 4966457c3ebd86970b6e9ee423d18bc8761d863d Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 6 May 2004 18:17:40 +0000 Subject: 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 --- net-p2p/verlihub/Makefile | 56 +++++++++++++++++++++++++++ net-p2p/verlihub/distinfo | 2 + net-p2p/verlihub/pkg-descr | 13 +++++++ net-p2p/verlihub/pkg-message | 33 ++++++++++++++++ net-p2p/verlihub/pkg-plist | 90 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 194 insertions(+) create mode 100644 net-p2p/verlihub/Makefile create mode 100644 net-p2p/verlihub/distinfo create mode 100644 net-p2p/verlihub/pkg-descr create mode 100644 net-p2p/verlihub/pkg-message create mode 100644 net-p2p/verlihub/pkg-plist (limited to 'net-p2p/verlihub') diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile new file mode 100644 index 000000000000..f7cb1769c71f --- /dev/null +++ b/net-p2p/verlihub/Makefile @@ -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 + +.if ${OSVERSION} < 502010 +USE_GCC= 3.3 +.endif + +.include diff --git a/net-p2p/verlihub/distinfo b/net-p2p/verlihub/distinfo new file mode 100644 index 000000000000..8774c07f6de6 --- /dev/null +++ b/net-p2p/verlihub/distinfo @@ -0,0 +1,2 @@ +MD5 (verlihub-0.9.7-RC5.tar.gz) = 0ed37990a05804c04a21c4d2d14ab426 +SIZE (verlihub-0.9.7-RC5.tar.gz) = 432016 diff --git a/net-p2p/verlihub/pkg-descr b/net-p2p/verlihub/pkg-descr new file mode 100644 index 000000000000..a7ab8659d3fe --- /dev/null +++ b/net-p2p/verlihub/pkg-descr @@ -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 diff --git a/net-p2p/verlihub/pkg-message b/net-p2p/verlihub/pkg-message new file mode 100644 index 000000000000..9bf2a685d492 --- /dev/null +++ b/net-p2p/verlihub/pkg-message @@ -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. + +------------------------------------------------------------------- diff --git a/net-p2p/verlihub/pkg-plist b/net-p2p/verlihub/pkg-plist new file mode 100644 index 000000000000..d19d112a9ed6 --- /dev/null +++ b/net-p2p/verlihub/pkg-plist @@ -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 -- cgit v1.2.3