pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/unrealircd UnrealIRCd is an IRC server based on t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4330f2870e9c
branches: trunk
changeset: 503787:4330f2870e9c
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Tue Nov 29 19:17:03 2005 +0000
description:
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
diffstat:
chat/unrealircd/DESCR | 16 +++
chat/unrealircd/MESSAGE | 17 +++
chat/unrealircd/MESSAGE.inet6 | 18 +++
chat/unrealircd/Makefile | 131 ++++++++++++++++++++++++++++
chat/unrealircd/PLIST | 165 ++++++++++++++++++++++++++++++++++++
chat/unrealircd/distinfo | 7 +
chat/unrealircd/files/unrealircd.sh | 23 +++++
chat/unrealircd/options.mk | 77 ++++++++++++++++
chat/unrealircd/patches/patch-aa | 44 +++++++++
chat/unrealircd/patches/patch-ab | 13 ++
10 files changed, 511 insertions(+), 0 deletions(-)
diffs (truncated from 551 to 300 lines):
diff -r 4c743fbbdf1f -r 4330f2870e9c chat/unrealircd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd/DESCR Tue Nov 29 19:17:03 2005 +0000
@@ -0,0 +1,16 @@
+UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
+formerly used by the DALnet IRC Network. Since development started on it
+(around May 1999) many new features has been added, modified, and many bugs
+fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
+Some features to mention: Channel Halfops, No-color channel mode,
+Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
+Admin only channels, exception bans, Nokicks mode (channel and user), Flood
+limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
+notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
+restriction (people can only go to these channels if enabled), Trojan/DCC
+Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
+FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
+synchs, limited WebTV Client support, /vhost, and many dreamforge
+optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
+
+Also includes SSL and IPv6 support.
diff -r 4c743fbbdf1f -r 4330f2870e9c chat/unrealircd/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd/MESSAGE Tue Nov 29 19:17:03 2005 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/11/29 19:17:03 adrianp Exp $
+
+You will need to customise the following files to get unrealircd to work:
+
+ ${UIRCD_HOME}/unrealricd.conf
+
+For further information see:
+
+ ${PREFIX}/share/doc/html/unrealircd/unreal32docs.html
+
+or the online version at:
+
+ http://www.vulnscan.org/UnrealIrcd/unreal32docs.html
+
+
+===========================================================================
diff -r 4c743fbbdf1f -r 4330f2870e9c chat/unrealircd/MESSAGE.inet6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd/MESSAGE.inet6 Tue Nov 29 19:17:03 2005 +0000
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD: MESSAGE.inet6,v 1.1.1.1 2005/11/29 19:17:03 adrianp Exp $
+
+In order to support IPv6 addresses with unrealircd your system must be
+configured to support IPv4-mapped address. On NetBSD this can be achieved
+by placing the following in your sysctl.conf:
+
+ net.inet6.ip6.v6only=0
+
+The setting will come into effect on the next system reboot or
+alternatively type the following for the change to take place immediately:
+
+ sysctl -w net.inet6.ip6.v6only=0
+
+NOTE: There are potential security issues to be aware of when changing this
+setting.
+
+===========================================================================
diff -r 4c743fbbdf1f -r 4330f2870e9c chat/unrealircd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd/Makefile Tue Nov 29 19:17:03 2005 +0000
@@ -0,0 +1,131 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/29 19:17:03 adrianp Exp $
+
+DISTNAME= Unreal3.2.3
+PKGNAME= unrealircd-3.2.3
+CATEGORIES= chat
+MASTER_SITES= http://unreal.atlanti-ka.org/
+
+MAINTAINER= adrianp%NetBSD.org@localhost
+HOMEPAGE= http://www.unrealircd.com/
+COMMENT= Advanced IRC server with IPv6 and SSL support
+
+CONFLICTS+= ircu-[0-9]*
+
+GNU_CONFIGURE= YES
+USE_PKGINSTALL= YES
+USE_TOOLS+= pkg-config
+WRKSRC= ${WRKDIR}/Unreal3.2
+TRE_NEEDED= 0.7.2
+
+BUILDLINK_DEPENDS.tre+= tre-${TRE_NEEDED}
+
+.include "../../mk/bsd.prefs.mk"
+
+CONFIGURE_ENV+= tre_version=${TRE_NEEDED:Q}
+CONFIGURE_ENV+= TRELIBS="-L${PREFIX}/lib -ltre"
+
+CONFIGURE_ARGS+= --with-dpath=${UIRCD_HOME}
+CONFIGURE_ARGS+= --with-spath=${PREFIX}/sbin/ircd
+CONFIGURE_ARGS+= --with-permissions=0660
+CONFIGURE_ARGS+= --enable-dynamic-linking
+
+CONFIGURE_ARGS+= --with-hostname=${UIRCD_HOST}
+CONFIGURE_ARGS+= --enable-prefixaq
+CONFIGURE_ARGS+= --with-listen=${UIRCD_LISTEN}
+CONFIGURE_ARGS+= --with-sendq=${UIRCD_SENDQ}
+CONFIGURE_ARGS+= --with-bufferpool=${UIRCD_BUFFER}
+CONFIGURE_ARGS+= --with-fd-setsize=${UIRCD_FDSIZE}
+CONFIGURE_ARGS+= --with-nick-history=${UIRCD_NICKHIST}
+CONFIGURE_ARGS+= --disable-inet6
+
+.include "options.mk"
+
+IRCD_DOCS= ${PREFIX}/share/doc/unrealircd
+IRCD_SHARE= ${PREFIX}/share/unrealircd
+IRCD_EG= ${PREFIX}/share/examples/unrealircd
+
+BUILD_DEFS+= UIRCD_SENDQ UIRCD_LISTEN UIRCD_BUFFER UIRCD_USER UIRCD_HOST
+BUILD_DEFS+= UIRCD_HOME UIRCD_NICKHIST UIRCD_FDSIZE UIRCD_GROUP
+
+PTHREAD_OPTS+= require
+
+# The defaults for most of these here are from the standard Conf
+# script supplied with the UnrealIRCd package.
+#
+UIRCD_SENDQ?= 3000000
+UIRCD_LISTEN?= 5
+UIRCD_BUFFER?= 18
+UIRCD_NICKHIST?= 2000
+UIRCD_FDSIZE?= 512
+UIRCD_USER?= uircd
+UIRCD_GROUP?= uircd
+UIRCD_HOST?= localhost
+UIRCD_HOME?= ${VARBASE}/unrealircd
+
+DOC_FILES= doc/Authors doc/coding-guidelines doc/tao.of.irc LICENSE
+
+CONF_FILES_PERMS= ${IRCD_EG}/example.conf ${UIRCD_HOME}/unrealircd.conf \
+ ${UIRCD_USER} ${UIRCD_GROUP} 0660
+
+PKG_USERS= ${UIRCD_USER}:${UIRCD_GROUP}::UnrealIRCD\ user:${UIRCD_HOME}:${NOLOGIN}
+PKG_GROUPS= ${UIRCD_GROUP}
+RCD_SCRIPTS= unrealircd
+
+MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC
+MESSAGE_SUBST+= UIRCD_HOME=${UIRCD_HOME}
+FILES_SUBST+= UIRCD_HOME=${UIRCD_HOME:Q}
+FILES_SUBST+= UIRCD_USER=${UIRCD_USER:Q}
+FILES_SUBST+= UIRCD_GROUP=${UIRCD_GROUP:Q}
+
+SUBST_CLASSES+= homedir
+SUBST_STAGE.homedir= post-patch
+SUBST_FILES.homedir= doc/example.conf
+SUBST_SED.homedir= -e "s|src/modules|${IRCD_SHARE}/modules|g" \
+ -e "s|include \"|include \"${IRCD_SHARE}/|g"
+SUBST_MESSAGE.homedir= "Fixing home directory of IRC server."
+
+OWN_DIRS_PERMS+= ${UIRCD_HOME} ${UIRCD_USER} ${UIRCD_GROUP} 0770
+OWN_DIRS_PERMS+= ${UIRCD_HOME}/tmp ${UIRCD_USER} ${UIRCD_GROUP} 0770
+
+.if ${OPSYS} == "Darwin"
+INSTALL_UNSTRIPPED=YES
+.endif
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../devel/tre/buildlink3.mk"
+
+post-build:
+ @${CP} ${PKGDIR}/MESSAGE ${WRKDIR}/.MESSAGE_SRC
+.if !empty(PKG_OPTIONS:Minet6)
+ @${CP} ${PKGDIR}/MESSAGE.inet6 ${WRKDIR}/.MESSAGE_SRC.inet6
+.endif
+
+do-install:
+ ${INSTALL_DATA_DIR} ${IRCD_SHARE}
+ ${INSTALL_DATA_DIR} ${IRCD_SHARE}/networks
+ ${INSTALL_DATA_DIR} ${IRCD_SHARE}/aliases
+ ${INSTALL_DATA_DIR} ${IRCD_SHARE}/modules
+ ${INSTALL_DATA_DIR} ${IRCD_DOCS}
+ ${INSTALL_DATA_DIR} ${IRCD_EG}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/unrealircd
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/networks/*.network ${IRCD_SHARE}/networks
+ ${INSTALL_DATA} ${WRKSRC}/networks/networks.ndx ${IRCD_SHARE}/networks
+ ${INSTALL_SCRIPT} ${WRKSRC}/networks/makenet ${IRCD_SHARE}/networks
+ ${INSTALL_DATA} ${WRKSRC}/aliases/*.conf ${IRCD_SHARE}/aliases
+ ${INSTALL_DATA} ${WRKSRC}/badwords*.conf ${IRCD_SHARE}
+ ${INSTALL_DATA} ${WRKSRC}/help.conf ${IRCD_SHARE}
+ ${INSTALL_DATA} ${WRKSRC}/spamfilter.conf ${IRCD_SHARE}
+ ${INSTALL_DATA} ${WRKSRC}/src/modules/*.so ${IRCD_SHARE}/modules
+
+ for f in ${DOC_FILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${IRCD_DOCS}; \
+ done
+
+ ${INSTALL_DATA} ${WRKSRC}/doc/unreal32docs.html \
+ ${PREFIX}/share/doc/html/unrealircd
+
+ ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${IRCD_EG}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4c743fbbdf1f -r 4330f2870e9c chat/unrealircd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/unrealircd/PLIST Tue Nov 29 19:17:03 2005 +0000
@@ -0,0 +1,165 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/29 19:17:03 adrianp Exp $
+sbin/ircd
+share/doc/html/unrealircd/unreal32docs.html
+share/doc/unrealircd/Authors
+share/doc/unrealircd/LICENSE
+share/doc/unrealircd/coding-guidelines
+share/doc/unrealircd/tao.of.irc
+share/examples/rc.d/unrealircd
+share/examples/unrealircd/example.conf
+share/unrealircd/aliases/aliases.conf
+share/unrealircd/aliases/anope.conf
+share/unrealircd/aliases/auspice.conf
+share/unrealircd/aliases/cygnus.conf
+share/unrealircd/aliases/epona.conf
+share/unrealircd/aliases/generic.conf
+share/unrealircd/aliases/genericstats.conf
+share/unrealircd/aliases/ircservices.conf
+share/unrealircd/aliases/operstats.conf
+share/unrealircd/badwords.channel.conf
+share/unrealircd/badwords.message.conf
+share/unrealircd/badwords.quit.conf
+share/unrealircd/help.conf
+share/unrealircd/modules/cloak.so
+share/unrealircd/modules/commands.so
+share/unrealircd/modules/m_addline.so
+share/unrealircd/modules/m_addomotd.so
+share/unrealircd/modules/m_admin.so
+share/unrealircd/modules/m_adminchat.so
+share/unrealircd/modules/m_akill.so
+share/unrealircd/modules/m_away.so
+share/unrealircd/modules/m_botmotd.so
+share/unrealircd/modules/m_chatops.so
+share/unrealircd/modules/m_chghost.so
+share/unrealircd/modules/m_chgident.so
+share/unrealircd/modules/m_chgname.so
+share/unrealircd/modules/m_close.so
+share/unrealircd/modules/m_connect.so
+share/unrealircd/modules/m_cycle.so
+share/unrealircd/modules/m_dccallow.so
+share/unrealircd/modules/m_dccdeny.so
+share/unrealircd/modules/m_eos.so
+share/unrealircd/modules/m_globops.so
+share/unrealircd/modules/m_guest.so
+share/unrealircd/modules/m_help.so
+share/unrealircd/modules/m_htm.so
+share/unrealircd/modules/m_invite.so
+share/unrealircd/modules/m_ison.so
+share/unrealircd/modules/m_join.so
+share/unrealircd/modules/m_kick.so
+share/unrealircd/modules/m_kill.so
+share/unrealircd/modules/m_knock.so
+share/unrealircd/modules/m_lag.so
+share/unrealircd/modules/m_links.so
+share/unrealircd/modules/m_list.so
+share/unrealircd/modules/m_locops.so
+share/unrealircd/modules/m_lusers.so
+share/unrealircd/modules/m_map.so
+share/unrealircd/modules/m_message.so
+share/unrealircd/modules/m_mkpasswd.so
+share/unrealircd/modules/m_mode.so
+share/unrealircd/modules/m_motd.so
+share/unrealircd/modules/m_nachat.so
+share/unrealircd/modules/m_netinfo.so
+share/unrealircd/modules/m_nick.so
+share/unrealircd/modules/m_oper.so
+share/unrealircd/modules/m_opermotd.so
+share/unrealircd/modules/m_part.so
+share/unrealircd/modules/m_pass.so
+share/unrealircd/modules/m_pingpong.so
+share/unrealircd/modules/m_protoctl.so
+share/unrealircd/modules/m_quit.so
+share/unrealircd/modules/m_rakill.so
+share/unrealircd/modules/m_rping.so
+share/unrealircd/modules/m_rules.so
+share/unrealircd/modules/m_sajoin.so
+share/unrealircd/modules/m_samode.so
+share/unrealircd/modules/m_sapart.so
+share/unrealircd/modules/m_sdesc.so
+share/unrealircd/modules/m_sendsno.so
+share/unrealircd/modules/m_sendumode.so
+share/unrealircd/modules/m_server.so
+share/unrealircd/modules/m_sethost.so
+share/unrealircd/modules/m_setident.so
+share/unrealircd/modules/m_setname.so
+share/unrealircd/modules/m_silence.so
+share/unrealircd/modules/m_sjoin.so
+share/unrealircd/modules/m_sqline.so
+share/unrealircd/modules/m_squit.so
+share/unrealircd/modules/m_stats.so
+share/unrealircd/modules/m_svsfline.so
+share/unrealircd/modules/m_svsjoin.so
+share/unrealircd/modules/m_svskill.so
+share/unrealircd/modules/m_svsmode.so
+share/unrealircd/modules/m_svsmotd.so
+share/unrealircd/modules/m_svsnick.so
+share/unrealircd/modules/m_svsnline.so
+share/unrealircd/modules/m_svsnoop.so
+share/unrealircd/modules/m_svso.so
Home |
Main Index |
Thread Index |
Old Index