summaryrefslogtreecommitdiff
path: root/chat/ircu
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-15 00:36:25 +0000
committerwiz <wiz>2000-12-15 00:36:25 +0000
commitc14570556499bf6fff1ea3aae45ddfecf11f6e64 (patch)
tree9efd46171d88d283a1dcc676d340dae7e3a2606c /chat/ircu
parent457d8e87adf2eec3c960d68d946b92357ed076e8 (diff)
downloadpkgsrc-c14570556499bf6fff1ea3aae45ddfecf11f6e64.tar.gz
Create new 'chat' category, featuring chat clients and servers of all kinds.
Move some packages from 'net' here.
Diffstat (limited to 'chat/ircu')
-rw-r--r--chat/ircu/Makefile32
-rw-r--r--chat/ircu/files/config79
-rw-r--r--chat/ircu/files/md53
-rw-r--r--chat/ircu/files/patch-sum7
-rw-r--r--chat/ircu/patches/patch-aa28
-rw-r--r--chat/ircu/patches/patch-ab52
-rw-r--r--chat/ircu/patches/patch-ac13
-rw-r--r--chat/ircu/patches/patch-ad13
-rw-r--r--chat/ircu/patches/patch-ae28
-rw-r--r--chat/ircu/pkg/COMMENT1
-rw-r--r--chat/ircu/pkg/DESCR6
-rw-r--r--chat/ircu/pkg/MESSAGE13
-rw-r--r--chat/ircu/pkg/PLIST9
13 files changed, 284 insertions, 0 deletions
diff --git a/chat/ircu/Makefile b/chat/ircu/Makefile
new file mode 100644
index 00000000000..67260239ee6
--- /dev/null
+++ b/chat/ircu/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+#
+
+DISTNAME= ircu2.10.04
+PKGNAME= ircu-2.10.04
+CATEGORIES= chat
+MASTER_SITES= ftp://ftp.undernet.org/pub/irc/servers/current/ \
+ ftp://ftp.asu.net/pub/irc/servers/undernet/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tv@netbsd.org
+HOMEPAGE= http://coder-com.undernet.org/
+
+GNU_CONFIGURE= yes
+IS_INTERACTIVE= yes
+
+post-configure:
+ @${CP} ${FILESDIR}/config ${WRKSRC}/config/.config
+ @cd ${WRKSRC} && \
+ ${MAKE} PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" config
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/etc/ircd ${PREFIX}/share/doc/ircd
+ ${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ircd/chkconf ${PREFIX}/sbin/ircd-chkconf
+ ${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${PREFIX}/man/man8/
+ ${INSTALL_DATA} ${WRKSRC}/doc/example.conf \
+ ${PREFIX}/etc/ircd/ircd.conf.example
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} readme.crules readme.who \
+ ${PREFIX}/share/doc/ircd/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/ircu/files/config b/chat/ircu/files/config
new file mode 100644
index 00000000000..71c8cbf62f3
--- /dev/null
+++ b/chat/ircu/files/config
@@ -0,0 +1,79 @@
+# $NetBSD: config,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+EXTRA_INCLUDEDIRS="none"
+IRCDLIBS="-lcrypt"
+BINDIR="$PREFIX/sbin"
+SYMLINK="ircd"
+IRCDMODE="555"
+IRCDOWN="root"
+IRCDGRP="wheel"
+MANDIR="$PREFIX/man"
+EXTRA_CPPFLAGS=""
+CPPFLAGS="-I../include"
+USE_POLL=y
+RELIABLE_CLOCK=n
+CHROOTDIR=n
+CONFIG_SETUGID=n
+IRC_UID=
+IRC_GID=
+CMDLINE_CONFIG=n
+UNIXPORT=n
+VIRTUAL_HOST=y
+HUB=y
+DEBUGMODE=n
+DEBUGMALLOC=n
+DPATH="$PREFIX/etc/ircd"
+SPATH="$PREFIX/bin/ircd"
+CPATH="ircd.conf"
+MPATH="ircd.motd"
+RPATH="remote.motd"
+PPATH="none"
+CONFIG_LOG_WHOX=n
+MAXSENDQLENGTH=300000
+INT_BUFFERPOOL=3
+BUFFERPOOL="(3 * MAXSENDQLENGTH)"
+CLIENT_FLOOD=1024
+MAXCONNECTIONS=252
+PORTNUM=6667
+NICKNAMEHISTORYLENGTH=100
+ALLOW_SNO_CONNEXIT=y
+R_LINES=n
+SHOW_INVISIBLE_USERS=y
+SHOW_ALL_INVISIBLE_USERS=y
+OPERS_SEE_IN_SECRET_CHANNELS=y
+LOCOP_SEE_IN_SECRET_CHANNELS=n
+UNLIMIT_OPER_QUERY=n
+OPER_KILL=y
+OPER_REHASH=y
+OPER_RESTART=y
+OPER_DIE=y
+OPER_LGLINE=y
+OPER_REMOTE=y
+LOCOP_REHASH=y
+LOCOP_RESTART=n
+LOCOP_DIE=n
+LOCOP_LGLINE=y
+CONFIG_LIST=y
+DEFAULT_LIST="T<10"
+DEFAULT_LIST_PARAM="T<10"
+COMMENT_IS_FILE=n
+IDLE_FROM_MSG=y
+CHECK_CLONE=y
+CHECK_CLONE_LIMIT=2
+CHECK_CLONE_PERIOD=20
+CHECK_CLONE_DELAY=600
+MAXIMUM_LINKS=1
+MSGLOG_ENABLED=n
+LOCAL_KILL_ONLY=n
+TIMESEC=60
+PINGFREQUENCY=120
+CONNECTFREQUENCY=600
+HANGONGOODLINK=300
+HANGONRETRYDELAY=10
+CONNECTTIMEOUT=90
+KILLCHASETIMELIMIT=30
+MAXCHANNELSPERUSER=10
+MAXSILES=15
+AVBANLEN=40
+MAXSILELENGTH="(40 * MAXSILES)"
+CONFIG_NEW=y
diff --git a/chat/ircu/files/md5 b/chat/ircu/files/md5
new file mode 100644
index 00000000000..4fa9768d6a0
--- /dev/null
+++ b/chat/ircu/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+MD5 (ircu2.10.04.tgz) = 1e38f0b2df965a2e9a2be62e97a70279
diff --git a/chat/ircu/files/patch-sum b/chat/ircu/files/patch-sum
new file mode 100644
index 00000000000..19acc2d09fe
--- /dev/null
+++ b/chat/ircu/files/patch-sum
@@ -0,0 +1,7 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+MD5 (patch-aa) = ba61ab7126ac080e661d6b92ecbaab35
+MD5 (patch-ab) = 88eddc2117a03192f4660008ba5ce8c5
+MD5 (patch-ac) = e639cdf2c236bab10a00266694e59899
+MD5 (patch-ad) = c822d6f305257926537b5e8c1e75aa26
+MD5 (patch-ae) = 65eaba0a83399bbe78ce186af975c96d
diff --git a/chat/ircu/patches/patch-aa b/chat/ircu/patches/patch-aa
new file mode 100644
index 00000000000..1e663e9b4e4
--- /dev/null
+++ b/chat/ircu/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+--- config/Configure.in.orig Wed Nov 12 11:25:08 1997
++++ config/Configure.in Tue Nov 24 13:54:44 1998
+@@ -189,7 +189,6 @@
+ #
+ readln () {
+ if [ "$USE_DEFAULT" = "y" -a -n "$3" ]; then
+- echo "$1"
+ ans=$2
+ else
+ echo $n "$1$c"
+@@ -209,7 +208,6 @@
+ # comment 'xxx'
+ #
+ comment () {
+- echo "*"; echo "* $1" ; echo "*"
+ (echo "" ; echo "#"; echo "# $1" ; echo "#") >>$CONFIG
+ (echo "" ; echo "/*"; echo " * $1" ; echo " */") >>$CONFIG_H
+ }
+@@ -485,7 +483,6 @@
+ if [ -r $DEFAULTS ]; then
+ echo "*"
+ echo "* Using defaults found in" $DEFAULTS
+- echo "* If you type a 'c' the script will finish using all defaults."
+ echo "*"
+ . $DEFAULTS
+ else
diff --git a/chat/ircu/patches/patch-ab b/chat/ircu/patches/patch-ab
new file mode 100644
index 00000000000..c0c0abc7c4b
--- /dev/null
+++ b/chat/ircu/patches/patch-ab
@@ -0,0 +1,52 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+--- config/config-sh.in.orig Fri May 1 19:30:04 1998
++++ config/config-sh.in Tue Nov 24 13:31:51 1998
+@@ -44,7 +44,6 @@
+ if [ "$DEFAULTS" != "none" ]; then
+ bool 'Do you want to change your previous configuration' CHANGE_CONFIG
+ if [ "$CHANGE_CONFIG" = "n" ]; then
+- echo "Ok, I will only prompt you for NEW parameters."
+ USE_DEFAULT=y
+ else
+ USE_DEFAULT=n
+@@ -63,13 +62,10 @@
+ eval exec_prefix="$prefix"
+ fi
+ string 'Which compiler do you want to use' CC "$CC_DEFAULT"
+- echo "* For the following four questions, specify 'none' when you want it to be empty."
+ eval string "'What flags should I pass to $CC [none]'" CFLAGS "'$CFLAGS_DEFAULT'"
+ string 'Do you need extra include directories [none]' EXTRA_INCLUDEDIRS none
+ if [ -z "$LDFLAGS_DEFAULT" ]; then
+ LDFLAGS_DEFAULT=none
+- else
+- eval LDFLAGS_DEFAULT="$LDFLAGS_DEFAULT"
+ fi
+ string 'Which linker flags do you need [none]' LDFLAGS "$LDFLAGS_DEFAULT"
+ if [ -z "$LIBS" ]; then
+@@ -78,9 +74,6 @@
+ string 'Which extra libraries do you need [none]' IRCDLIBS "$LIBS"
+ eval bindir="$bindir"
+ string 'In which directory should I install the ircd binary' BINDIR $bindir
+- if [ ! -d "$BINDIR" ]; then
+- echo "$BINDIR : No such directory"
+- fi
+ string 'What should the name of the installed symbolic link to the exectuable be' SYMLINK ircd
+ string 'Which permissions do you want the binary to have' IRCDMODE 711
+ string 'Which owner do you want the binary to have' IRCDOWN "`id | sed -e 's/.*uid=[0-9]*(//' -e 's/).*//' 2> /dev/null`"
+@@ -192,7 +185,6 @@
+ eval DPATH_DEFAULT="${prefix}/lib/ircd"
+ string 'Directory where all ircd stuff resides' DPATH $DPATH_DEFAULT
+ define_string SPATH "$BINDIR/ircd"
+- echo "The following filenames are either full paths or files within DPATH"
+ string 'Server configuration file' CPATH 'ircd.conf'
+ string 'Server MOTD file' MPATH 'ircd.motd'
+ string 'Server remote MOTD file (3 lines max)' RPATH 'remote.motd'
+@@ -338,7 +330,6 @@
+ int 'Check clone delay (600!)' CHECK_CLONE_DELAY 600
+ fi
+ int 'Max auto connects per class (1!)' MAXIMUM_LINKS 1
+- echo '* Never define this on a production server:'
+ bool 'Enable message logging' MSGLOG_ENABLED
+ if [ "$MSGLOG_ENABLED" = "y" ]; then
+ int 'Message log size' MSGLOG_SIZE 128
diff --git a/chat/ircu/patches/patch-ac b/chat/ircu/patches/patch-ac
new file mode 100644
index 00000000000..1567a218d34
--- /dev/null
+++ b/chat/ircu/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+--- config/Makefile.in.orig Tue Nov 24 13:41:41 1998
++++ config/Makefile.in Tue Nov 24 13:42:08 1998
+@@ -47,7 +47,7 @@
+ autoconf
+
+ config: configure setup.h.in config.status Configure FORCE
+- @CONFIG_BATCH=n ${SHELL} ./Configure || exit 1
++ @CONFIG_BATCH=y ${SHELL} ./Configure || exit 1
+ @# Allow the use of non-GNU make with 'make config':
+ @cd ../ircd; ${MAKE} Makefile
+ @cd ../doc; ${MAKE} Makefile
diff --git a/chat/ircu/patches/patch-ad b/chat/ircu/patches/patch-ad
new file mode 100644
index 00000000000..9bb970ffaed
--- /dev/null
+++ b/chat/ircu/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+--- ircd/s_user.c.orig Tue Nov 24 14:02:15 1998
++++ ircd/s_user.c Tue Nov 24 14:04:17 1998
+@@ -326,7 +326,7 @@
+ time_t last;
+ struct abacklog *next;
+ char *connected;
+- char count;
++ int count;
+ };
+
+ static struct abacklog *backlog[256]; /* hash table */
diff --git a/chat/ircu/patches/patch-ae b/chat/ircu/patches/patch-ae
new file mode 100644
index 00000000000..d3b026dd690
--- /dev/null
+++ b/chat/ircu/patches/patch-ae
@@ -0,0 +1,28 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
+
+--- doc/example.conf.orig Tue Nov 24 15:57:46 1998
++++ doc/example.conf Tue Nov 24 15:59:33 1998
+@@ -302,8 +302,7 @@
+ #
+ # When your server gets fuller, you will notice delays when trying to
+ # connect to your server's primary listening port. Via the Port lines
+-# it is possible to specify additional ports (both AF_UNIX and AF_INET)
+-# for ircd to listen to.
++# it is possible to specify additional ports for ircd to listen to.
+ # De facto ports are: 6667 - standard; 6660-6669 - additional client
+ # ports; 7000 - original Undernet port; 4400, 7777 - used mainly for
+ # server-to-server connections.
+@@ -312,12 +311,11 @@
+ # On a side note, the /UPING command uses port 7007/udp. If your server
+ # is located behind a firewall, you may want to make another hole in it
+ # for this port.
+-# P:<hostmask, or path>:::<port number>
++# P:<hostmask>:::<port number>
+
+ P::::4400
+ P::::7000
+ P:*.nl:::6666
+-P:/tmp/.ircd:::6667
+
+ #
+ # Well, you have now reached the end of this sample configuration file
diff --git a/chat/ircu/pkg/COMMENT b/chat/ircu/pkg/COMMENT
new file mode 100644
index 00000000000..1b5b975e87a
--- /dev/null
+++ b/chat/ircu/pkg/COMMENT
@@ -0,0 +1 @@
+Internet Relay Chat server customized for Undernet
diff --git a/chat/ircu/pkg/DESCR b/chat/ircu/pkg/DESCR
new file mode 100644
index 00000000000..e868c0ee395
--- /dev/null
+++ b/chat/ircu/pkg/DESCR
@@ -0,0 +1,6 @@
+ircu is the Undernet's modified version of the original ircd.
+
+The original ircd is in general no longer maintained, and the various IRC
+networks have customized ircd to suit their needs.
+
+You can find more information about Undernet at http://www.undernet.org/
diff --git a/chat/ircu/pkg/MESSAGE b/chat/ircu/pkg/MESSAGE
new file mode 100644
index 00000000000..71f961d1607
--- /dev/null
+++ b/chat/ircu/pkg/MESSAGE
@@ -0,0 +1,13 @@
+==========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2000/12/15 00:36:32 wiz Exp $
+
+The ${PREFIX}/etc/ircd directory where ircd's configuration files live is
+currently owned by root with world-readable permissions.
+
+Before creating your ircd.conf, you should chown(8) that directory to the
+user ID that will be running ircd, and chmod(8) the directory to 0700.
+
+You should also create an "ircd.motd" MOTD file for local connect users,
+and an "remote.motd" MOTD file for remote users.
+
+==========================================================================
diff --git a/chat/ircu/pkg/PLIST b/chat/ircu/pkg/PLIST
new file mode 100644
index 00000000000..4c2a5053080
--- /dev/null
+++ b/chat/ircu/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/15 00:36:32 wiz Exp $
+etc/ircd/ircd.conf.example
+man/man8/ircd.8
+sbin/ircd
+sbin/ircd-chkconf
+share/doc/ircd/readme.crules
+share/doc/ircd/readme.who
+@dirrm etc/ircd
+@dirrm share/doc/ircd