summaryrefslogtreecommitdiff
path: root/irc/inspircd
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-01 15:12:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-01 15:12:51 +0000
commit121b6e2993308eb393a5e700f63d4cf878d0bf31 (patch)
treea2baf23ad593e43fcfe6f4dc0441d89452624598 /irc/inspircd
parent- Fix location of pkgconfig file (diff)
InspIRCd is a highly modular C++ IRC daemon. It supports most features
of other IRC daemons, and supports FreeBSD kqueue() for connection management. WWW: http://www.inspircd.org/ PR: ports/102583 Submitted by: Craig Edwards <brain@mail1.chatspike.net>
Notes
Notes: svn path=/head/; revision=178481
Diffstat (limited to 'irc/inspircd')
-rw-r--r--irc/inspircd/Makefile52
-rw-r--r--irc/inspircd/distinfo3
-rw-r--r--irc/inspircd/files/config.cache36
-rw-r--r--irc/inspircd/pkg-descr5
-rw-r--r--irc/inspircd/pkg-message2
-rw-r--r--irc/inspircd/pkg-plist119
6 files changed, 217 insertions, 0 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile
new file mode 100644
index 000000000000..77371cde520b
--- /dev/null
+++ b/irc/inspircd/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: inspircd
+# Date created: 25 August 2006
+# Whom: brain
+#
+# $FreeBSD$
+#
+
+PORTNAME= inspircd
+PORTVERSION= 1.0.6
+CATEGORIES= irc
+MASTER_SITES= http://www.inspircd.org/downloads/ \
+ http://www.chatspike.net/downloads/
+
+MAINTAINER= brain@inspircd.org
+COMMENT= A modular C++ IRC daemon
+
+USE_GCC= 3.2+
+USE_GMAKE= yes
+
+# Configure script is written in perl
+USE_PERL5_BUILD=yes
+
+CONFIGURE_ARGS= -update
+HAS_CONFIGURE= yes
+
+# We're using a nonstandard configure, so these cached
+# values must be copied into the ${WRKSRC} directory.
+pre-configure:
+ @${CP} ${FILESDIR}/config.cache ${WRKSRC}/.config.cache
+ @echo 'CC="${CC}"' >> ${WRKSRC}/.config.cache
+ @echo 'CONFIG_DIR="${PREFIX}/etc/inspircd"' >> ${WRKSRC}/.config.cache
+ @echo 'MODULE_DIR="${PREFIX}/lib/inspircd/modules"' >> ${WRKSRC}/.config.cache
+ @echo 'LIBRARY_DIR="${PREFIX}/lib/inspircd"' >> ${WRKSRC}/.config.cache
+ @echo 'BASE_DIR="${PREFIX}/inspircd"' >> ${WRKSRC}/.config.cache
+ @echo 'BINARY_DIR="${PREFIX}/bin"' >> ${WRKSRC}/.config.cache
+ @echo 'ME="${PREFIX}"' >> ${WRKSRC}/.config.cache
+
+# 1.0.6 Makefile forgets to make these directories
+# during install. We make these ourselves. This may
+# be fixed in a later version of InspIRCd.
+pre-su-install:
+ @-${MKDIR} ${PREFIX}/inspircd
+ @-${MKDIR} ${PREFIX}/lib/inspircd
+ @-${MKDIR} ${PREFIX}/lib/inspircd/modules
+ @-${MKDIR} ${PREFIX}/etc/inspircd
+
+post-install:
+ ${STRIP_CMD} ${PREFIX}/lib/inspircd/modules/*.so
+ ${STRIP_CMD} ${PREFIX}/lib/inspircd/*.so
+ ${STRIP_CMD} ${PREFIX}/bin/inspircd
+
+.include <bsd.port.mk>
diff --git a/irc/inspircd/distinfo b/irc/inspircd/distinfo
new file mode 100644
index 000000000000..11675e903bda
--- /dev/null
+++ b/irc/inspircd/distinfo
@@ -0,0 +1,3 @@
+MD5 (inspircd-1.0.6.tar.gz) = 574ddfd0a173f1f5249fb5313177d523
+SHA256 (inspircd-1.0.6.tar.gz) = d558309cedd74bc277174a633d218826aab3eb66ff41581301319ea120be8ab7
+SIZE (inspircd-1.0.6.tar.gz) = 422997
diff --git a/irc/inspircd/files/config.cache b/irc/inspircd/files/config.cache
new file mode 100644
index 000000000000..80411c765e60
--- /dev/null
+++ b/irc/inspircd/files/config.cache
@@ -0,0 +1,36 @@
+MAX_KICK="255"
+MAKEPROG="make"
+MAX_IDENT="12"
+HAS_KQUEUE="1"
+MAX_GECOS="128"
+MAX_CLIENT_T="5018"
+STATIC_LINK="no"
+MAXI_MODES="20"
+USE_GNUTLS="n"
+HAS_OPENSSL="n"
+GCCVER="3"
+THREADED_DNS="n"
+MAX_TOPIC="307"
+MAKEORDER="ircd mods"
+HAS_GNUTLS="n"
+HAS_EPOLL="0"
+CHAN_LENGT="64"
+USE_OPENSSL="n"
+OPTIMISATI="-g"
+USE_KQUEUE="y"
+FLAGS="-fPIC -frtti -Wall -Woverloaded-virtual -g"
+NICK_LENGT="31"
+HAS_STRLCPY="true"
+MAX_CLIENT="5018"
+MAX_CHANNE="20"
+MAX_DESCRIPTORS="5018"
+GCC34="4"
+MAX_AWAY="200"
+LDLIBS="-Ldl -lstdc++"
+CHANGE_COMPILER="n"
+MAX_QUIT="255"
+STATICLIBS=""
+OSNAME="FreeBSD"
+MAX_OPERCH="60"
+OPTIMITEMP="0"
+USE_EPOLL="y"
diff --git a/irc/inspircd/pkg-descr b/irc/inspircd/pkg-descr
new file mode 100644
index 000000000000..0a65e8ba994e
--- /dev/null
+++ b/irc/inspircd/pkg-descr
@@ -0,0 +1,5 @@
+InspIRCd is a highly modular C++ IRC daemon. It supports most features
+of other IRC daemons, and supports FreeBSD kqueue() for connection
+management.
+
+WWW: http://www.inspircd.org/
diff --git a/irc/inspircd/pkg-message b/irc/inspircd/pkg-message
new file mode 100644
index 000000000000..82eba2dc7302
--- /dev/null
+++ b/irc/inspircd/pkg-message
@@ -0,0 +1,2 @@
+Don't forget to copy the example configuration file inspircd.conf.example
+as inspircd.conf, or use inspircd -config <filename> to start InspIRCd.
diff --git a/irc/inspircd/pkg-plist b/irc/inspircd/pkg-plist
new file mode 100644
index 000000000000..463d6a48b5ba
--- /dev/null
+++ b/irc/inspircd/pkg-plist
@@ -0,0 +1,119 @@
+bin/inspircd
+inspircd/inspircd
+lib/inspircd/libIRCDaes.so
+lib/inspircd/libIRCDasyncdns.so
+lib/inspircd/libIRCDbase.so
+lib/inspircd/libIRCDchannels.so
+lib/inspircd/libIRCDcommand_parse.so
+lib/inspircd/libIRCDcommands.so
+lib/inspircd/libIRCDcull_list.so
+lib/inspircd/libIRCDdnsqueue.so
+lib/inspircd/libIRCDdynamic.so
+lib/inspircd/libIRCDhash.so
+lib/inspircd/libIRCDhelper.so
+lib/inspircd/libIRCDio.so
+lib/inspircd/libIRCDmessage.so
+lib/inspircd/libIRCDmode.so
+lib/inspircd/libIRCDmodules.so
+lib/inspircd/libIRCDsocket.so
+lib/inspircd/libIRCDsocketengine.so
+lib/inspircd/libIRCDstring.so
+lib/inspircd/libIRCDtimer.so
+lib/inspircd/libIRCDuserprocess.so
+lib/inspircd/libIRCDusers.so
+lib/inspircd/libIRCDwildcard.so
+lib/inspircd/libIRCDxline.so
+lib/inspircd/modules/m_alias.so
+lib/inspircd/modules/m_antibear.so
+lib/inspircd/modules/m_antibottler.so
+lib/inspircd/modules/m_banexception.so
+lib/inspircd/modules/m_blockamsg.so
+lib/inspircd/modules/m_blockcaps.so
+lib/inspircd/modules/m_blockcolor.so
+lib/inspircd/modules/m_botmode.so
+lib/inspircd/modules/m_cban.so
+lib/inspircd/modules/m_censor.so
+lib/inspircd/modules/m_chanfilter.so
+lib/inspircd/modules/m_chanprotect.so
+lib/inspircd/modules/m_check.so
+lib/inspircd/modules/m_chghost.so
+lib/inspircd/modules/m_chgident.so
+lib/inspircd/modules/m_cloaking.so
+lib/inspircd/modules/m_conn_lusers.so
+lib/inspircd/modules/m_conn_waitpong.so
+lib/inspircd/modules/m_connflood.so
+lib/inspircd/modules/m_denychans.so
+lib/inspircd/modules/m_devoice.so
+lib/inspircd/modules/m_filter.so
+lib/inspircd/modules/m_foobar.so
+lib/inspircd/modules/m_globalload.so
+lib/inspircd/modules/m_globops.so
+lib/inspircd/modules/m_helpop.so
+lib/inspircd/modules/m_hostchange.so
+lib/inspircd/modules/m_ident.so
+lib/inspircd/modules/m_inviteexception.so
+lib/inspircd/modules/m_joinflood.so
+lib/inspircd/modules/m_kicknorejoin.so
+lib/inspircd/modules/m_knock.so
+lib/inspircd/modules/m_messageflood.so
+lib/inspircd/modules/m_nicklock.so
+lib/inspircd/modules/m_noctcp.so
+lib/inspircd/modules/m_noinvite.so
+lib/inspircd/modules/m_nokicks.so
+lib/inspircd/modules/m_nonicks.so
+lib/inspircd/modules/m_nonotice.so
+lib/inspircd/modules/m_operchans.so
+lib/inspircd/modules/m_operjoin.so
+lib/inspircd/modules/m_operlevels.so
+lib/inspircd/modules/m_opermd5.so
+lib/inspircd/modules/m_opermodes.so
+lib/inspircd/modules/m_opermotd.so
+lib/inspircd/modules/m_opersha256.so
+lib/inspircd/modules/m_operwho.so
+lib/inspircd/modules/m_override.so
+lib/inspircd/modules/m_park.so
+lib/inspircd/modules/m_randquote.so
+lib/inspircd/modules/m_redirect.so
+lib/inspircd/modules/m_remove.so
+lib/inspircd/modules/m_restrictchans.so
+lib/inspircd/modules/m_restrictmsg.so
+lib/inspircd/modules/m_safelist.so
+lib/inspircd/modules/m_sajoin.so
+lib/inspircd/modules/m_samode.so
+lib/inspircd/modules/m_sanick.so
+lib/inspircd/modules/m_sapart.so
+lib/inspircd/modules/m_saquit.so
+lib/inspircd/modules/m_securelist.so
+lib/inspircd/modules/m_services.so
+lib/inspircd/modules/m_services_account.so
+lib/inspircd/modules/m_sethost.so
+lib/inspircd/modules/m_setident.so
+lib/inspircd/modules/m_setidle.so
+lib/inspircd/modules/m_setname.so
+lib/inspircd/modules/m_showwhois.so
+lib/inspircd/modules/m_silence.so
+lib/inspircd/modules/m_spanningtree.so
+lib/inspircd/modules/m_spy.so
+lib/inspircd/modules/m_ssl_dummy.so
+lib/inspircd/modules/m_sslmodes.so
+lib/inspircd/modules/m_stripcolor.so
+lib/inspircd/modules/m_swhois.so
+lib/inspircd/modules/m_testcommand.so
+lib/inspircd/modules/m_timedbans.so
+lib/inspircd/modules/m_uninvite.so
+lib/inspircd/modules/m_userip.so
+lib/inspircd/modules/m_vhost.so
+lib/inspircd/modules/m_watch.so
+@dirrm inspircd
+@dirrm lib/inspircd/modules
+@dirrm lib/inspircd
+@unexec if cmp -s %D/etc/inspircd/inspircd.conf.example %D/etc/inspircd/inspircd.conf; then rm -f %D/etc/inspircd/inspircd.conf; fi
+etc/inspircd/inspircd.conf.example
+@exec if [ ! -f %D/etc/inspircd/inspircd.conf ] ; then cp -p %D/%F %B/inspircd.conf; fi
+@unexec if cmp -s %D/etc/inspircd/inspircd.quotes.example %D/etc/inspircd/inspircd.quotes; then rm -f %D/etc/inspircd/inspircd.quotes; fi
+etc/inspircd/inspircd.quotes.example
+@exec if [ ! -f %D/etc/inspircd/inspircd.quotes ] ; then cp -p %D/%F %B/inspircd.quotes; fi
+@unexec if cmp -s %D/etc/inspircd/inspircd.rules.example %D/etc/inspircd/inspircd.rules; then rm -f %D/etc/inspircd/inspircd.rules; fi
+etc/inspircd/inspircd.rules.example
+@exec if [ ! -f %D/etc/inspircd/inspircd.rules ] ; then cp -p %D/%F %B/inspircd.rules; fi
+@dirrmtry etc/inspircd