diff -Nur /usr/ports/irc/unreal/Makefile unreal/Makefile
--- /usr/ports/irc/unreal/Makefile	Thu Jan 20 12:48:38 2005
+++ unreal/Makefile	Fri Feb 18 14:36:49 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	Unreal
 PORTVERSION=	3.2.2b
+PORTREVISION=	1
 CATEGORIES=	irc
 MASTER_SITES=	http://unreal.atlanti-ka.org/ \
 		http://unreal.stfu-n00b.net/ \
@@ -29,11 +30,15 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}3.2
 
+MODULESDIR=	${PREFIX}/lib/${PORTNAME}
+CONFIGDIR=	${PREFIX}/etc/${PORTNAME}
+RUNDIR=		/var/run/ircd
+
 HAS_CONFIGURE=	yes
 
 CONFIGURE_ARGS=	--with-listen=5 \
-		--with-dpath=${PREFIX}/Unreal \
-		--with-spath=${PREFIX}/Unreal/ircd \
+		--with-dpath=${CONFIGDIR} \
+		--with-spath=${PREFIX}/libexec/ircd \
 		--with-nick-history=2000 \
 		--with-sendq=3000000 \
 		--with-bufferpool=18 \
@@ -49,9 +54,17 @@
 		PREFIXAQ "Enable prefixes for chanadmin and chanowner" off
 #		REMOTE "Enable remote includes" off \ this does not work at the moment
 
-SQLMOD=		Unreal/SQLMod.tar.gz
+PORT_DBDIR?=	/var/db/ports
+LATEST_LINK=	${PORTNAME}
+OPTIONSFILE?=	${PORT_DBDIR}/${LATEST_LINK}/options
+
+.if exists(${OPTIONSFILE})
+.include "${OPTIONSFILE}"
+.endif
 
-.include <bsd.port.pre.mk>
+PORTDOCS=	LICENSE Donation doc/Authors doc/coding-guidelines \
+		doc/example.conf doc/example.settings doc/tao.of.irc \
+		doc/unreal32docs.html
 
 .if defined(WITH_HUB)
 CONFIGURE_ARGS+=	--enable-hub
@@ -83,11 +96,13 @@
 CONFIGURE_ARGS+=	--enable-prefixaq
 .endif
 
+SQLMOD=		${PORTNAME}/SQLMod.tar.gz
+
 .if exists(${DISTDIR}/${SQLMOD})
 USE_MYSQL=	yes
 WITH_SQLMOD=	yes
 MAKE_ARGS=	all custommodule MODULEFILE=m_sqlmod
-PLIST_FILES+=	Unreal/modules/m_sqlmod.so Unreal/m_sqlmod.conf \
+PLIST_FILES+=	etc/Unreal/m_sqlmod.conf lib/Unreal/m_sqlmod.so
 		Unreal/doc/Changes.sqlmod Unreal/doc/README.sqlmod \
 		Unreal/doc/LICENSE.sqlmod
 .endif
@@ -104,16 +119,36 @@
 	@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch
 .endif
 
-pre-configure:
-	@${ECHO} ${CONFIGURE_ARGS}
+do-install:
+	${INSTALL} -m 0700 ${WRKSRC}/src/ircd ${PREFIX}/libexec/ircd
+	${INSTALL_SCRIPT} ${SCRIPTDIR}/unrealircd.sh ${PREFIX}/etc/rc.d
+	${MKDIR} ${MODULESDIR}
+	${MKDIR} ${CONFIGDIR}
+	${MKDIR} ${CONFIGDIR}/aliases
+	${MKDIR} ${DATADIR}/networks
+	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${RUNDIR}/tmp
+	${TOUCH} ${CONFIGDIR}/ircd.motd
+	${TOUCH} ${CONFIGDIR}/ircd.rules
+	${INSTALL_DATA} ${WRKSRC}/badwords.*.conf ${CONFIGDIR}
+	${INSTALL_DATA} ${WRKSRC}/help.conf ${CONFIGDIR}
+	${INSTALL_DATA} ${WRKSRC}/spamfilter.conf ${CONFIGDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${CONFIGDIR}/unrealircd.conf
+	${INSTALL_DATA} ${WRKSRC}/aliases/*.conf ${CONFIGDIR}/aliases
+	${INSTALL_DATA} ${WRKSRC}/networks/*.network ${DATADIR}/networks
+	${INSTALL_DATA} ${WRKSRC}/networks/networks.ndx ${DATADIR}/networks
+	${INSTALL_SCRIPT} ${WRKSRC}/networks/makenet ${DATADIR}/networks
+	${INSTALL} ${WRKSRC}/src/modules/*.so ${MODULESDIR}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 
 post-install:
 .if defined(WITH_SQLMOD)
-	@${CP} ${WRKSRC}/SQLMod/sample.conf ${PREFIX}/Unreal/m_sqlmod.conf
-	@${CP} ${WRKSRC}/SQLMod/Changes ${PREFIX}/Unreal/doc/Changes.sqlmod
-	@${CP} ${WRKSRC}/SQLMod/README ${PREFIX}/Unreal/doc/README.sqlmod
-	@${CP} ${WRKSRC}/SQLMod/LICENSE ${PREFIX}/Unreal/doc/LICENSE.sqlmod
-	@${INSTALL} ${WRKSRC}/src/modules/m_sqlmod.so ${PREFIX}/Unreal/modules/m_sqlmod.so
+	@${CP} ${WRKSRC}/SQLMod/sample.conf ${CONFIGDIR}/m_sqlmod.conf
+	@${CP} ${WRKSRC}/SQLMod/Changes ${DOCSDIR}/Changes.sqlmod
+	@${CP} ${WRKSRC}/SQLMod/README ${DOCSDIR}/README.sqlmod
+	@${CP} ${WRKSRC}/SQLMod/LICENSE ${DOCSDIR}/LICENSE.sqlmod
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -Nur /usr/ports/irc/unreal/files/patch-config.h unreal/files/patch-config.h
--- /usr/ports/irc/unreal/files/patch-config.h	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-config.h	Mon Feb  7 04:11:47 2005
@@ -0,0 +1,29 @@
+--- include/config.h	Wed Oct 27 20:45:17 2004
++++ include/config.h	Mon Feb  7 02:51:37 2005
+@@ -245,16 +245,16 @@
+  * these are only the recommened names and paths. Change as needed.
+  * You must define these to something, even if you don't really want them.
+  */
+-#define	CPATH		"unrealircd.conf"	/* server configuration file */
+-#define	MPATH		"ircd.motd"	/* server MOTD file */
+-#define SMPATH          "ircd.smotd"    /* short MOTD file */
+-#define RPATH   	"ircd.rules"	/* server rules file */
+-#define OPATH   	"oper.motd"	/* Operators MOTD file */
+-#define	LPATH		"debug.log"	/* Where the debug file lives, if DEBUGMODE */
+-#define	PPATH		"ircd.pid"	/* file for server pid */
+-#define VPATH		"ircd.svsmotd"	/* Services MOTD append. */
+-#define BPATH		"bot.motd"	/* Bot MOTD */
+-#define IRCDTUNE 	"ircd.tune"	/* tuning .. */
++#define	CPATH		"/usr/local/etc/Unreal/unrealircd.conf"	/* server configuration file */
++#define	MPATH		"/usr/local/etc/Unreal/ircd.motd"	/* server MOTD file */
++#define SMPATH          "/usr/local/etc/Unreal/ircd.smotd"    /* short MOTD file */
++#define RPATH   	"/usr/local/etc/Unreal/ircd.rules"	/* server rules file */
++#define OPATH   	"/usr/local/etc/Unreal/oper.motd"	/* Operators MOTD file */
++#define	LPATH		"/var/log/ircd/debug.log"	/* Where the debug file lives, if DEBUGMODE */
++#define	PPATH		"/var/run/ircd/ircd.pid"	/* file for server pid */
++#define VPATH		"/usr/local/etc/Unreal/ircd.svsmotd"	/* Services MOTD append. */
++#define BPATH		"/usr/local/etc/Unreal/bot.motd"	/* Bot MOTD */
++#define IRCDTUNE 	"/var/run/ircd/ircd.tune"	/* tuning .. */
+ 
+ /* CHROOTDIR
+  *
diff -Nur /usr/ports/irc/unreal/files/patch-example.conf unreal/files/patch-example.conf
--- /usr/ports/irc/unreal/files/patch-example.conf	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-example.conf	Mon Feb  7 04:33:31 2005
@@ -0,0 +1,34 @@
+--- doc/example.conf	Wed Oct 27 20:45:03 2004
++++ doc/example.conf	Mon Feb  7 03:58:38 2005
+@@ -31,8 +31,8 @@
+  */
+ 
+ /* FOR *NIX, uncomment the following 2lines: */
+-//loadmodule "src/modules/commands.so";
+-//loadmodule "src/modules/cloak.so";
++//loadmodule "/usr/local/lib/Unreal/commands.so";
++//loadmodule "/usr/local/lib/Unreal/cloak.so";
+ 
+ /* FOR Windows, uncomment the following 2 lines: */
+ //loadmodule "modules/commands.dll";
+@@ -374,7 +374,7 @@
+  * };
+  */
+ 
+-log "ircd.log" {
++log "/var/log/ircd.log" {
+ 	/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the 
+ 	   same log */
+ 	maxsize 2097152;
+@@ -520,8 +520,8 @@
+ 
+ tld {
+ 	mask *@*.fr;
+-	motd "ircd.motd.fr";
+-	rules "ircd.rules.fr";
++	motd "ircd.motd";
++	rules "ircd.rules";
+ };
+ 
+ /* note: you can just delete the example block above,
+
diff -Nur /usr/ports/irc/unreal/files/patch-ircd.c unreal/files/patch-ircd.c
--- /usr/ports/irc/unreal/files/patch-ircd.c	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-ircd.c	Mon Feb  7 04:21:18 2005
@@ -0,0 +1,14 @@
+--- src/ircd.c	Wed Oct 27 20:45:26 2004
++++ src/ircd.c	Mon Feb  7 04:19:55 2005
+@@ -1182,9 +1182,9 @@
+ 	}
+ #endif
+ #ifndef _WIN32
+-	mkdir("tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
++	mkdir("/var/run/ircd/tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
+ #else
+-	mkdir("tmp");
++	mkdir("/var/run/ircd/tmp");
+ #endif
+ #ifndef _WIN32
+ 	/*
diff -Nur /usr/ports/irc/unreal/files/patch-makenet unreal/files/patch-makenet
--- /usr/ports/irc/unreal/files/patch-makenet	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-makenet	Mon Feb  7 04:24:39 2005
@@ -0,0 +1,17 @@
+--- networks/makenet	Sun Apr 25 01:19:28 2004
++++ networks/makenet	Mon Feb  7 04:24:00 2005
+@@ -241,10 +241,10 @@
+ __EOF__
+ 
+ echo ""
+-echo "" >> ../unrealircd.conf
+-echo "// Added by makenet $DATE" >> ../unrealircd.conf
+-echo "include \"networks/$FILE\";" >> ../unrealircd.conf
+-echo "All done. I have added \"include \"networks/$FILE\"; to your unrealircd.conf"
++echo "" >> /usr/local/etc/Unreal/unrealircd.conf
++echo "// Added by makenet $DATE" >> /usr/local/etc/Unreal/unrealircd.conf
++echo "include \"/usr/local/share/Unreal/networks/$FILE\";" >> /usr/local/etc/Unreal/unrealircd.conf
++echo "All done. I have added \"include \"/usr/local/share/Unreal/networks/$FILE\"; to your unrealircd.conf"
+ echo "You might want to edit it if you have done makenet before"
+ echo "Thank you for choosing UnrealIRCd"
+ exit
diff -Nur /usr/ports/irc/unreal/files/patch-modules.c unreal/files/patch-modules.c
--- /usr/ports/irc/unreal/files/patch-modules.c	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-modules.c	Mon Feb  7 04:13:20 2005
@@ -0,0 +1,53 @@
+--- src/modules.c	Wed Oct 27 20:45:27 2004
++++ src/modules.c	Mon Feb  7 04:01:47 2005
+@@ -90,12 +90,12 @@
+ {
+ 	char tempbuf[PATH_MAX+1];
+ #ifndef _WIN32
+-	DIR *fd = opendir("tmp");
++	DIR *fd = opendir("/var/run/ircd");
+ 	struct dirent *dir;
+ 
+ 	if (!fd) /* Ouch.. this is NOT good!! */
+ 	{
+-		config_error("Unable to open 'tmp' directory: %s, please create one with the appropriate permissions",
++		config_error("Unable to open '/var/run/ircd' directory: %s, please create one with the appropriate permissions",
+ 			strerror(errno));
+ 		if (!loop.ircd_booted)
+ 			exit(7);
+@@ -106,7 +106,7 @@
+ 	{
+ 		if (!strcmp(dir->d_name, ".") || !strcmp(dir->d_name, ".."))
+ 			continue;
+-		strcpy(tempbuf, "tmp/");
++		strcpy(tempbuf, "/var/run/ircd/tmp/");
+ 		strcat(tempbuf, dir->d_name);
+ 		remove(tempbuf);
+ 	}
+@@ -118,7 +118,7 @@
+ 	{
+ 		if (strcmp(hData.cFileName, ".") || strcmp(hData.cFileName, ".."))
+ 		{
+-			strcpy(tempbuf, "tmp/");
++			strcpy(tempbuf, "/var/run/ircd/tmp/");
+ 			strcat(tempbuf, hData.cFileName);
+ 			remove(tempbuf);
+ 		}
+@@ -127,7 +127,7 @@
+ 	{
+ 		if (!strcmp(hData.cFileName, ".") || !strcmp(hData.cFileName, ".."))
+ 			continue;
+-		strcpy(tempbuf, "tmp/");
++		strcpy(tempbuf, "/var/run/ircd/tmp/");
+ 		strcat(tempbuf, hData.cFileName);
+ 		remove(tempbuf);
+ 	}
+@@ -200,7 +200,7 @@
+ 	path = path_;
+ 
+ 	
+-	tmppath = unreal_mktemp("tmp", unreal_getfilename(path));
++	tmppath = unreal_mktemp("/var/run/ircd/tmp", unreal_getfilename(path));
+ 	if (!tmppath)
+ 		return "Unable to create temporary file!";
+ 	if(!strchr(path, '/'))
diff -Nur /usr/ports/irc/unreal/files/patch-s_conf.c unreal/files/patch-s_conf.c
--- /usr/ports/irc/unreal/files/patch-s_conf.c	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-s_conf.c	Mon Feb  7 04:32:24 2005
@@ -0,0 +1,11 @@
+--- src/s_conf.c	Wed Oct 27 20:45:30 2004
++++ src/s_conf.c	Mon Feb  7 04:30:46 2005
+@@ -7753,7 +7753,7 @@
+ 		{
+ 			char *urlfile = url_getfilename(url);
+ 			char *file = unreal_getfilename(urlfile);
+-			char *tmp = unreal_mktemp("tmp", file);
++			char *tmp = unreal_mktemp("/var/run/ircd/tmp", file);
+ 			unreal_copyfile(inc->file, tmp);
+ 			add_remote_include(tmp, url, 0, NULL);
+ 			free(urlfile);
diff -Nur /usr/ports/irc/unreal/files/patch-url.c unreal/files/patch-url.c
--- /usr/ports/irc/unreal/files/patch-url.c	Thu Jan  1 01:00:00 1970
+++ unreal/files/patch-url.c	Mon Feb  7 04:32:25 2005
@@ -0,0 +1,20 @@
+--- src/url.c	Sat Jul  3 21:04:31 2004
++++ src/url.c	Mon Feb  7 04:31:06 2005
+@@ -141,7 +141,7 @@
+ 	CURLcode res;
+ 	char *file = url_getfilename(url);
+ 	char *filename = unreal_getfilename(file);
+-	char *tmp = unreal_mktemp("tmp", filename ? filename : "download.conf");
++	char *tmp = unreal_mktemp("/var/run/ircd/tmp", filename ? filename : "download.conf");
+ 	FILE *fd;
+ 
+ 
+@@ -236,7 +236,7 @@
+ 	{
+ 		char *file = url_getfilename(url);
+ 		char *filename = unreal_getfilename(file);
+-        	char *tmp = unreal_mktemp("tmp", filename ? filename : "download.conf");
++        	char *tmp = unreal_mktemp("/var/run/ircd/tmp", filename ? filename : "download.conf");
+ 		FileHandle *handle = malloc(sizeof(FileHandle));
+ 		handle->fd = fopen(tmp, "wb");
+ 		if (!handle->fd)
diff -Nur /usr/ports/irc/unreal/pkg-plist unreal/pkg-plist
--- /usr/ports/irc/unreal/pkg-plist	Thu Jul 22 04:01:55 2004
+++ unreal/pkg-plist	Fri Feb 18 14:33:15 2005
@@ -1,154 +1,156 @@
-Unreal/ircd
-Unreal/networks/awesomechristians.network
-Unreal/networks/axenet.network
-Unreal/networks/bunker7.network
-Unreal/networks/burnnet.network
-Unreal/networks/cabonet.network
-Unreal/networks/chatcrap.network
-Unreal/networks/chatuniverse.network
-Unreal/networks/ctcp.network
-Unreal/networks/darkkaos.network
-Unreal/networks/digitalirc.network
-Unreal/networks/discussioni.network
-Unreal/networks/dragonwings.network
-Unreal/networks/gamescafe.network
-Unreal/networks/german-elite.network
-Unreal/networks/german-global-irc.network
-Unreal/networks/global-irc.network
-Unreal/networks/globalchat.network
-Unreal/networks/icechat.network
-Unreal/networks/infinity.network
-Unreal/networks/ircsystems.network
-Unreal/networks/isno.network
-Unreal/networks/l33t-irc.network
-Unreal/networks/lcirc.network
-Unreal/networks/outsiderz.network
-Unreal/networks/phazenet.network
-Unreal/networks/stormdancing.network
-Unreal/networks/template.network
-Unreal/networks/thainet.network
-Unreal/networks/unitedirc-org.network
-Unreal/networks/unreal-test.network
-Unreal/networks/wazzza.network
-Unreal/networks/x-irc.network
-Unreal/networks/zirc.network
-Unreal/networks/makenet
-Unreal/networks/networks.ndx
-Unreal/doc/Authors
-Unreal/doc/coding-guidelines
-Unreal/doc/example.conf
-Unreal/doc/example.settings
-Unreal/doc/tao.of.irc
-Unreal/doc/unreal32docs.html
-Unreal/aliases/aliases.conf
-Unreal/aliases/anope.conf 
-Unreal/aliases/auspice.conf
-Unreal/aliases/cygnus.conf
-Unreal/aliases/epona.conf
-Unreal/aliases/generic.conf
-Unreal/aliases/genericstats.conf
-Unreal/aliases/ircservices.conf
-Unreal/aliases/operstats.conf
-Unreal/unrealircd.conf
-Unreal/badwords.channel.conf
-Unreal/badwords.message.conf
-Unreal/badwords.quit.conf
-Unreal/help.conf
-Unreal/LICENSE
-Unreal/Donation
-Unreal/unreal
-Unreal/modules/cloak.so
-Unreal/modules/commands.so
-Unreal/modules/m_addline.so
-Unreal/modules/m_addomotd.so   
-Unreal/modules/m_admin.so
-Unreal/modules/m_adminchat.so   
-Unreal/modules/m_akill.so
-Unreal/modules/m_away.so
-Unreal/modules/m_chatops.so
-Unreal/modules/m_chghost.so
-Unreal/modules/m_chgident.so
-Unreal/modules/m_chgname.so
-Unreal/modules/m_close.so
-Unreal/modules/m_connect.so
-Unreal/modules/m_cycle.so
-Unreal/modules/m_dccallow.so
-Unreal/modules/m_dccdeny.so
-Unreal/modules/m_eos.so
-Unreal/modules/m_globops.so
-Unreal/modules/m_guest.so
-Unreal/modules/m_help.so
-Unreal/modules/m_htm.so
-Unreal/modules/m_invite.so
-Unreal/modules/m_ison.so
-Unreal/modules/m_kick.so
-Unreal/modules/m_kill.so
-Unreal/modules/m_knock.so
-Unreal/modules/m_lag.so
-Unreal/modules/m_links.so
-Unreal/modules/m_list.so
-Unreal/modules/m_locops.so
-Unreal/modules/m_map.so
-Unreal/modules/m_message.so  
-Unreal/modules/m_mkpasswd.so
-Unreal/modules/m_nachat.so
-Unreal/modules/m_netinfo.so 
-Unreal/modules/m_oper.so
-Unreal/modules/m_pass.so
-Unreal/modules/m_pingpong.so
-Unreal/modules/m_protoctl.so
-Unreal/modules/m_quit.so
-Unreal/modules/m_rakill.so  
-Unreal/modules/m_rping.so  
-Unreal/modules/m_rules.so 
-Unreal/modules/m_sajoin.so 
-Unreal/modules/m_samode.so
-Unreal/modules/m_sapart.so
-Unreal/modules/m_sdesc.so  
-Unreal/modules/m_sendsno.so
-Unreal/modules/m_sendumode.so  
-Unreal/modules/m_server.so   
-Unreal/modules/m_sethost.so
-Unreal/modules/m_setident.so
-Unreal/modules/m_setname.so 
-Unreal/modules/m_sjoin.so
-Unreal/modules/m_silence.so
-Unreal/modules/m_sqline.so
-Unreal/modules/m_squit.so
-Unreal/modules/m_stats.so
-Unreal/modules/m_svsfline.so
-Unreal/modules/m_svsjoin.so
-Unreal/modules/m_svskill.so   
-Unreal/modules/m_svsmode.so
-Unreal/modules/m_svsmotd.so   
-Unreal/modules/m_svsnick.so
-Unreal/modules/m_svsnline.so
-Unreal/modules/m_svsnoop.so
-Unreal/modules/m_svso.so
-Unreal/modules/m_svspart.so
-Unreal/modules/m_svssilence.so
-Unreal/modules/m_svssno.so
-Unreal/modules/m_svswatch.so
-Unreal/modules/m_swhois.so
-Unreal/modules/m_time.so
-Unreal/modules/m_tkl.so
-Unreal/modules/m_topic.so
-Unreal/modules/m_trace.so
-Unreal/modules/m_tsctl.so
-Unreal/modules/m_umode2.so
-Unreal/modules/m_undccdeny.so
-Unreal/modules/m_unkline.so
-Unreal/modules/m_unsqline.so
-Unreal/modules/m_unzline.so
-Unreal/modules/m_userhost.so
-Unreal/modules/m_vhost.so
-Unreal/modules/m_wallops.so
-Unreal/modules/m_who.so
-Unreal/modules/m_whois.so
-Unreal/modules/m_whowas.so
-Unreal/modules/oldcloak.so
-@dirrm Unreal/networks
-@dirrm Unreal/modules
-@dirrm Unreal/doc
-@dirrm Unreal/aliases
-@dirrm Unreal
+libexec/ircd
+etc/rc.d/unrealircd.sh
+%%DATADIR%%/networks/awesomechristians.network
+%%DATADIR%%/networks/axenet.network
+%%DATADIR%%/networks/bunker7.network
+%%DATADIR%%/networks/burnnet.network
+%%DATADIR%%/networks/cabonet.network
+%%DATADIR%%/networks/chatcrap.network
+%%DATADIR%%/networks/chatuniverse.network
+%%DATADIR%%/networks/ctcp.network
+%%DATADIR%%/networks/darkkaos.network
+%%DATADIR%%/networks/digitalirc.network
+%%DATADIR%%/networks/discussioni.network
+%%DATADIR%%/networks/dragonwings.network
+%%DATADIR%%/networks/gamescafe.network
+%%DATADIR%%/networks/german-elite.network
+%%DATADIR%%/networks/german-global-irc.network
+%%DATADIR%%/networks/global-irc.network
+%%DATADIR%%/networks/globalchat.network
+%%DATADIR%%/networks/icechat.network
+%%DATADIR%%/networks/infinity.network
+%%DATADIR%%/networks/ircsystems.network
+%%DATADIR%%/networks/isno.network
+%%DATADIR%%/networks/l33t-irc.network
+%%DATADIR%%/networks/lcirc.network
+%%DATADIR%%/networks/outsiderz.network
+%%DATADIR%%/networks/phazenet.network
+%%DATADIR%%/networks/stormdancing.network
+%%DATADIR%%/networks/template.network
+%%DATADIR%%/networks/thainet.network
+%%DATADIR%%/networks/unitedirc-org.network
+%%DATADIR%%/networks/unreal-test.network
+%%DATADIR%%/networks/wazzza.network
+%%DATADIR%%/networks/x-irc.network
+%%DATADIR%%/networks/zirc.network
+%%DATADIR%%/networks/makenet
+%%DATADIR%%/networks/networks.ndx
+etc/Unreal/aliases/aliases.conf
+etc/Unreal/aliases/anope.conf 
+etc/Unreal/aliases/auspice.conf
+etc/Unreal/aliases/cygnus.conf
+etc/Unreal/aliases/epona.conf
+etc/Unreal/aliases/generic.conf
+etc/Unreal/aliases/genericstats.conf
+etc/Unreal/aliases/ircservices.conf
+etc/Unreal/aliases/operstats.conf
+etc/Unreal/unrealircd.conf
+etc/Unreal/badwords.channel.conf
+etc/Unreal/badwords.message.conf
+etc/Unreal/badwords.quit.conf
+etc/Unreal/help.conf
+etc/Unreal/ircd.motd
+etc/Unreal/ircd.rules
+etc/Unreal/spamfilter.conf
+lib/Unreal/cloak.so
+lib/Unreal/commands.so
+lib/Unreal/m_addline.so
+lib/Unreal/m_addomotd.so   
+lib/Unreal/m_admin.so
+lib/Unreal/m_adminchat.so   
+lib/Unreal/m_akill.so
+lib/Unreal/m_away.so
+lib/Unreal/m_chatops.so
+lib/Unreal/m_chghost.so
+lib/Unreal/m_chgident.so
+lib/Unreal/m_chgname.so
+lib/Unreal/m_close.so
+lib/Unreal/m_connect.so
+lib/Unreal/m_cycle.so
+lib/Unreal/m_dccallow.so
+lib/Unreal/m_dccdeny.so
+lib/Unreal/m_eos.so
+lib/Unreal/m_globops.so
+lib/Unreal/m_guest.so
+lib/Unreal/m_help.so
+lib/Unreal/m_htm.so
+lib/Unreal/m_invite.so
+lib/Unreal/m_ison.so
+lib/Unreal/m_kick.so
+lib/Unreal/m_kill.so
+lib/Unreal/m_knock.so
+lib/Unreal/m_lag.so
+lib/Unreal/m_links.so
+lib/Unreal/m_list.so
+lib/Unreal/m_locops.so
+lib/Unreal/m_map.so
+lib/Unreal/m_message.so  
+lib/Unreal/m_mkpasswd.so
+lib/Unreal/m_nachat.so
+lib/Unreal/m_netinfo.so 
+lib/Unreal/m_oper.so
+lib/Unreal/m_pass.so
+lib/Unreal/m_pingpong.so
+lib/Unreal/m_protoctl.so
+lib/Unreal/m_quit.so
+lib/Unreal/m_rakill.so  
+lib/Unreal/m_rping.so  
+lib/Unreal/m_rules.so 
+lib/Unreal/m_sajoin.so 
+lib/Unreal/m_samode.so
+lib/Unreal/m_sapart.so
+lib/Unreal/m_sdesc.so  
+lib/Unreal/m_sendsno.so
+lib/Unreal/m_sendumode.so  
+lib/Unreal/m_server.so   
+lib/Unreal/m_sethost.so
+lib/Unreal/m_setident.so
+lib/Unreal/m_setname.so 
+lib/Unreal/m_sjoin.so
+lib/Unreal/m_silence.so
+lib/Unreal/m_sqline.so
+lib/Unreal/m_squit.so
+lib/Unreal/m_stats.so
+lib/Unreal/m_svsfline.so
+lib/Unreal/m_svsjoin.so
+lib/Unreal/m_svskill.so
+lib/Unreal/m_svsmode.so
+lib/Unreal/m_svsmotd.so   
+lib/Unreal/m_svsnick.so
+lib/Unreal/m_svsnline.so
+lib/Unreal/m_svsnoop.so
+lib/Unreal/m_svso.so
+lib/Unreal/m_svspart.so
+lib/Unreal/m_svssilence.so
+lib/Unreal/m_svssno.so
+lib/Unreal/m_svswatch.so
+lib/Unreal/m_swhois.so
+lib/Unreal/m_time.so
+lib/Unreal/m_tkl.so
+lib/Unreal/m_topic.so
+lib/Unreal/m_trace.so
+lib/Unreal/m_tsctl.so
+lib/Unreal/m_umode2.so
+lib/Unreal/m_undccdeny.so
+lib/Unreal/m_unkline.so
+lib/Unreal/m_unsqline.so
+lib/Unreal/m_unzline.so
+lib/Unreal/m_userhost.so
+lib/Unreal/m_vhost.so
+lib/Unreal/m_wallops.so
+lib/Unreal/m_who.so
+lib/Unreal/m_whois.so
+lib/Unreal/m_whowas.so
+lib/Unreal/oldcloak.so
+%%DOCSDIR%%/Authors
+%%DOCSDIR%%/coding-guidelines
+%%DOCSDIR%%/example.conf
+%%DOCSDIR%%/example.settings
+%%DOCSDIR%%/tao.of.irc
+%%DOCSDIR%%/unreal32docs.html
+@dirrm %%DATADIR%%/networks
+@dirrm %%DATADIR%%
+@dirrm lib/Unreal
+@dirrm etc/Unreal/aliases
+@dirrm etc/Unreal
+
diff -Nur /usr/ports/irc/unreal/scripts/unrealircd.sh unreal/scripts/unrealircd.sh
--- /usr/ports/irc/unreal/scripts/unrealircd.sh	Thu Jan  1 01:00:00 1970
+++ unreal/scripts/unrealircd.sh	Mon Feb  7 04:56:06 2005
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: unrealircd
+# REQUIRE: NETWORKING SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following line to /etc/rc.conf to enable Unreal IRCd:
+# unrealircd_enable (bool):	Set to "NO" by default.
+#				Set it to "YES" to enable Unreal IRCd
+#
+
+. /etc/rc.subr
+
+name="unrealircd"
+rcvar=`set_rcvar`
+
+command="/usr/local/libexec/ircd"
+pidfile="/var/run/ircd/ircd.pid"
+
+[ -z "$unrealircd_enable" ]	&& unrealircd_enable="NO"
+
+required_dirs="/var/run/ircd /var/run/ircd/tmp"
+required_files="/usr/local/etc/Unreal/unrealircd.conf"
+
+load_rc_config $name
+run_rc_command "$1"
