aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-07 02:17:40 +0800
committerpav <pav@FreeBSD.org>2004-05-07 02:17:40 +0800
commit54ff0dcdbb8dd181a473aac31eab0319fd667f15 (patch)
treef15643f0e42c093ae526d922db8f1e9cb151067d
parent01b25eec6704e5650b7da6168a94b627cbda657a (diff)
downloadfreebsd-ports-gnome-54ff0dcdbb8dd181a473aac31eab0319fd667f15.tar.gz
freebsd-ports-gnome-54ff0dcdbb8dd181a473aac31eab0319fd667f15.tar.zst
freebsd-ports-gnome-54ff0dcdbb8dd181a473aac31eab0319fd667f15.zip
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>
-rw-r--r--net-p2p/verlihub/Makefile56
-rw-r--r--net-p2p/verlihub/distinfo2
-rw-r--r--net-p2p/verlihub/pkg-descr13
-rw-r--r--net-p2p/verlihub/pkg-message33
-rw-r--r--net-p2p/verlihub/pkg-plist90
-rw-r--r--net/Makefile1
-rw-r--r--net/verlihub/Makefile56
-rw-r--r--net/verlihub/distinfo2
-rw-r--r--net/verlihub/pkg-descr13
-rw-r--r--net/verlihub/pkg-message33
-rw-r--r--net/verlihub/pkg-plist90
11 files changed, 389 insertions, 0 deletions
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 <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 502010
+USE_GCC= 3.3
+.endif
+
+.include <bsd.port.post.mk>
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
diff --git a/net/Makefile b/net/Makefile
index c414c0f06dd5..b4ad40ef022b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -683,6 +683,7 @@
SUBDIR += utftpd
SUBDIR += v6eval
SUBDIR += vchat
+ SUBDIR += verlihub
SUBDIR += vicq
SUBDIR += vls
SUBDIR += vnc
diff --git a/net/verlihub/Makefile b/net/verlihub/Makefile
new file mode 100644
index 000000000000..f7cb1769c71f
--- /dev/null
+++ b/net/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 <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 502010
+USE_GCC= 3.3
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/verlihub/distinfo b/net/verlihub/distinfo
new file mode 100644
index 000000000000..8774c07f6de6
--- /dev/null
+++ b/net/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/verlihub/pkg-descr b/net/verlihub/pkg-descr
new file mode 100644
index 000000000000..a7ab8659d3fe
--- /dev/null
+++ b/net/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/verlihub/pkg-message b/net/verlihub/pkg-message
new file mode 100644
index 000000000000..9bf2a685d492
--- /dev/null
+++ b/net/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/verlihub/pkg-plist b/net/verlihub/pkg-plist
new file mode 100644
index 000000000000..d19d112a9ed6
--- /dev/null
+++ b/net/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