Subject: pkg/20531: Updated package: chat/ircu
To: None <gnats-bugs@gnats.netbsd.org>
From: None <adrianp@stindustries.net>
List: netbsd-bugs
Date: 02/28/2003 17:59:49
>Number:         20531
>Category:       pkg
>Synopsis:       Updated package: chat/ircu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 28 18:00:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Portelli
>Release:        NetBSD 1.6 i386
>Organization:
STIndustries
>Environment:
NetBSD krusty.mdc.stindustries.net 1.6 NetBSD 1.6 (KRUSTY) #1: Wed Feb  5 21:45:03 EST 2003     root@krusty.mdc.stindustries.net:/usr/src/sys/arch/i386/compile/KRUSTY i386
>Description:
pkgsrc/chat/ircu is at 2.10.04 and 2.10.11.04 is the latest release available. Changes include:

NetBSD startup script now supplied with package.
Changed homepage and download site to reflect new package location.

Heaps of changes, too many to list here. For full details see:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/undernet-ircu/ircu2.10/ChangeLog?rev=1.290.2.127
>How-To-Repeat:
cd pkgsrc/chat/ircu && make show-var VARNAME=PKGNAME
>Fix:
Index: MESSAGE
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/MESSAGE,v
retrieving revision 1.2
diff -u -r1.2 MESSAGE
--- MESSAGE	2002/09/12 17:12:38	1.2
+++ MESSAGE	2003/03/01 01:36:37
@@ -1,11 +1,10 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/12 17:12:38 wiz Exp $
+$NetBSD$
 
-The ${PREFIX}/etc/ircd directory where ircd's configuration files live is
-currently owned by root with world-readable permissions.
+The /var/ircd directory where ircd's configuration files live.
 
-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.
+Please be aware of the directory and file permissions when you customise
+ircd for your site.
 
 You should also create an "ircd.motd" MOTD file for local connect users,
 and an "remote.motd" MOTD file for remote users.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	2002/08/01 02:37:45	1.4
+++ Makefile	2003/03/01 01:36:38
@@ -1,33 +1,69 @@
 # $NetBSD: Makefile,v 1.4 2002/08/01 02:37:45 jschauma Exp $
 #
 
-DISTNAME=	ircu2.10.04
-PKGNAME=	ircu-2.10.04
+DISTNAME=	ircu2.10.11.04
+PKGNAME=	ircu-2.10.11.04
+WRKSRC=		${WRKDIR}/ircu2.10
 CATEGORIES=	chat
-MASTER_SITES=	ftp://ftp.undernet.org/pub/irc/servers/current/ \
-		ftp://ftp.asu.net/pub/irc/servers/undernet/
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=undernet-ircu/}
 
 MAINTAINER=	packages@netbsd.org
 HOMEPAGE=	http://coder-com.undernet.org/
 COMMENT=	Internet Relay Chat server customized for Undernet
 
+USE_BUILDLINK2=	yes
 GNU_CONFIGURE=	yes
-INTERACTIVE_STAGE=	configure
+CONFIGURE_ARGS+=--with-cpath=/var/ircd \
+		--with-mode=555 --with-owner=root \
+		--with-group=wheel --with-symlink=no \
+		--with-lpath=/var/log/ircd.log \
+		--bindir=${PREFIX}/sbin
 
-post-configure:
-	@${CP} ${FILESDIR}/config ${WRKSRC}/config/.config
-	@cd ${WRKSRC} && \
-		${MAKE} PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" config
+USE_PKGINSTALL= yes
 
+IRCD_USER?=	ircd
+IRCD_GROUP?=ircd
+EGDIR=		${PREFIX}/share/examples/ircd
+DOCDIR=		${PREFIX}/share/doc/ircd
+OWN_DIRS=	/var/ircd
+
+CONF_FILES_PERMS+=	${EGDIR}/ircd.conf.sample \
+				${OWN_DIRS}/ircd.conf \
+				${IRCD_USER} ${IRCD_GROUP} 0600
+RCD_SCRIPTS=	ircd
+
+FILES_SUBST+=	IRCD_USER=${IRCD_USER}
+
+PKG_GROUPS=	${IRCD_GROUP}
+PKG_USERS=	${IRCD_USER}:${IRCD_GROUP}::IRC\\ Program:${OWN_DIRS}:${SH}
+
+pre-install:
+	@cd ${WRKSRC}/tools && \
+		${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
+		-f Makefile.crypt
+	@${SED} -e 's#@PREFIX@#${PREFIX}#g' \
+		${WRKSRC}/doc/ircd.conf.sample \
+		>${WRKDIR}/ircd.conf.sample
+
 do-install:
-	${INSTALL_DATA_DIR} ${PREFIX}/etc/ircd ${PREFIX}/share/doc/ircd
+	${INSTALL_DATA_DIR} ${OWN_DIRS}
+	${INSTALL_DATA_DIR} ${DOCDIR}
+	${INSTALL_DATA_DIR} ${EGDIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${PREFIX}/sbin/
-	${INSTALL_PROGRAM} ${WRKSRC}/ircd/chkconf ${PREFIX}/sbin/ircd-chkconf
+	${INSTALL_PROGRAM} ${WRKSRC}/ircd/chkconf \
+		${PREFIX}/bin/ircd-chkconf
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/mkpasswd \
+		${PREFIX}/bin/ircd-mkpasswd
 	${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/
+	${INSTALL_DATA} ${WRKDIR}/ircd.conf.sample ${EGDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${EGDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/tools/README \
+		${DOCDIR}/README.mkpasswd
+	cd ${WRKSRC}/doc && ${INSTALL_DATA} readme.* iauth.txt \
+		${DOCDIR}
+	${CHOWN} ${IRCD_USER}:${IRCD_GROUP} ${OWN_DIRS}
+	${CHMOD} 0700 ${OWN_DIRS}
 
+.include "../../mk/bsd.prefs.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	2001/10/31 19:47:10	1.1
+++ PLIST	2003/03/01 01:36:38
@@ -1,9 +1,24 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 19:47:10 zuntum Exp $
-etc/ircd/ircd.conf.example
+@comment $NetBSD$
+bin/ircd-chkconf
+bin/ircd-mkpasswd
+etc/rc.d/ircd
 man/man8/ircd.8
 sbin/ircd
-sbin/ircd-chkconf
+share/doc/ircd/README
+share/doc/ircd/README.mkpasswd
+share/doc/ircd/iauth.txt
+share/doc/ircd/readme.asll
+share/doc/ircd/readme.chroot
 share/doc/ircd/readme.crules
+share/doc/ircd/readme.cvs
+share/doc/ircd/readme.features
+share/doc/ircd/readme.gline
+share/doc/ircd/readme.indent
+share/doc/ircd/readme.jupe
+share/doc/ircd/readme.log
 share/doc/ircd/readme.who
-@dirrm etc/ircd
+share/doc/ircd/readme.www
+share/examples/ircd/example.conf
+share/examples/ircd/ircd.conf.sample
+@dirrm share/examples/ircd
 @dirrm share/doc/ircd
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2001/04/18 11:07:18	1.2
+++ distinfo	2003/03/01 01:36:38
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 11:07:18 agc Exp $
+$NetBSD$
 
-SHA1 (ircu2.10.04.tgz) = 5569131ab9e24e4148f851229102d9b18ed52499
-Size (ircu2.10.04.tgz) = 367512 bytes
-SHA1 (patch-aa) = c2b09bde44f577dea348bfd2695e8e8e73698401
-SHA1 (patch-ab) = 2397c832880dcf0a069cbccfbe2dfd277a292568
-SHA1 (patch-ac) = 7bb16e5969fd1082dc2736e6c3a5c013eb391cd7
-SHA1 (patch-ad) = 64e6ea9bf26e88e25287370033b231613b4ecd7b
-SHA1 (patch-ae) = ee5d913737bddbfeddc656ad3362aff81e25ca3d
+SHA1 (ircu2.10.11.04.tar.gz) = a3142419a7ed62d0975513157f35bae1ce6742fe
+Size (ircu2.10.11.04.tar.gz) = 778473 bytes
+SHA1 (patch-af) = 74b68dbb2ffa978f73e527f7253943c38953bee9
+SHA1 (patch-ag) = 5bf0b8cc0655b99bbaa2a7a5cb5463be216ee199
Index: files/config
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/files/config,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 config
--- files/config	2000/12/15 00:36:31	1.1.1.1
+++ files/config	2003/03/01 01:36:38
@@ -1,79 +0,0 @@
-# $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
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa	2000/12/15 00:36:31	1.1.1.1
+++ patches/patch-aa	2003/03/01 01:36:38
@@ -1,28 +0,0 @@
-$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
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/patches/patch-ab,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ab
--- patches/patch-ab	2000/12/15 00:36:31	1.1.1.1
+++ patches/patch-ab	2003/03/01 01:36:38
@@ -1,52 +0,0 @@
-$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
Index: patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/patches/patch-ac,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ac
--- patches/patch-ac	2000/12/15 00:36:31	1.1.1.1
+++ patches/patch-ac	2003/03/01 01:36:38
@@ -1,13 +0,0 @@
-$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
Index: patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/patches/patch-ad,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ad
--- patches/patch-ad	2000/12/15 00:36:31	1.1.1.1
+++ patches/patch-ad	2003/03/01 01:36:38
@@ -1,13 +0,0 @@
-$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 */
Index: patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ircu/patches/patch-ae,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ae
--- patches/patch-ae	2000/12/15 00:36:31	1.1.1.1
+++ patches/patch-ae	2003/03/01 01:36:38
@@ -1,28 +0,0 @@
-$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
--- patches/patch-af.orig	Sat Mar  1 12:38:34 2003
+++ patches/patch-af	Fri Feb 21 17:14:32 2003
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- doc/ircd.conf.sample.orig	Fri Feb 21 16:17:55 2003
++++ doc/ircd.conf.sample	Fri Feb 21 16:21:06 2003
+@@ -349,7 +349,8 @@
+ # - O: lines are not required
+ #
+ # Notes:
+-#	- Use the tools/mkpasswd tool to encrypt passwords
++#	- Use the @PREFIX@/bin/ircd-mkpasswd tool to encrypt passwords
++#	  (See @PREFIX@/share/doc/ircd/README.mkpasswd)
+ #	- Choose safe passwords
+ #	- Make the <host|ip> mask as narrowly matching as possible
+ #
--- patches/patch-ag.orig	Sat Mar  1 12:38:45 2003
+++ patches/patch-ag	Sat Mar  1 12:13:35 2003
@@ -0,0 +1,30 @@
+$NetBSD$
+
+--- tools/README.orig	Sat Feb 22 12:23:55 2003
++++ tools/README	Sat Feb 22 12:28:39 2003
+@@ -35,17 +35,14 @@
+ obvious problem.
+ 
+ So how do you generate these icky looking strings for passwords?
+-There's a simple program called mkpasswd to do that for you.  Just run
+-mkpasswd, and at the prompt type in your plaintext password.  It will
+-spit out the encrypted password, which you should then just copy into
+-the irc.conf file. This should be done only when adding new passwords
+-to your irc.conf file. To change over your irc.conf file to use
+-encrypted passwords, define CRYPT_OPER_PASSWORD in config.h. You will
+-need to recompile your server if you already compiled it with this
+-feature disabled. Once compiled, edit the Makefile in this directory
+-and chang "IRCDCONF" to your irc.conf file. Then "make install" in this
+-directory to replace all the operator passwords in your irc.conf file
+-with the encrypted format.
++There's a simple program called ircd-mkpasswd to do that for you.  
++Just run ircd-mkpasswd, and at the prompt type in your plaintext 
++password.  It will spit out the encrypted password, which you should 
++then just copy into the ircd.conf file. This should be done only when 
++adding new passwords to your ircd.conf file. 
++
++To change over your ircd.conf file to use encrypted passwords, define 
++F:CRYPT_OPER_PASSWORD:TRUE in ircd.conf.
+ 
+ Choose your passwords carefully. Do not choose something in a
+ dictionary, make sure its at least 5 characters. Anything past 8
--- files/ircd.sh.orig	Sat Mar  1 12:39:42 2003
+++ files/ircd.sh	Sat Mar  1 12:06:59 2003
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# $NetBSD$
+#
+
+# PROVIDE: ircd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+if [ -f /etc/rc.subr ]
+then
+	. /etc/rc.subr
+fi
+
+name="ircd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+required_files="/var/ircd/ircd.conf"
+pidfile="/var/ircd/${name}.pid"
+command_args="-d /var/ircd -f /var/ircd/ircd.conf"
+ircd_user=@IRCD_USER@
+
+if [ -f /etc/rc.subr ]
+then
+	load_rc_config $name
+	eval [ -z "\$${rcvar}" ] && eval ${rcvar}=NO
+	run_rc_command "$1"
+else
+	@ECHO@ -n " ${name}"
+	${command} ${ircd_flags} ${command_args}
+fi

>Release-Note:
>Audit-Trail:
>Unformatted: