aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2013-09-28 03:47:16 +0800
committerfeld <feld@FreeBSD.org>2013-09-28 03:47:16 +0800
commita82c4f578b005a0b7704de4a850828b0c0020c9b (patch)
tree67d946c70314e128e723e2bd204e5b1fa793a1a9 /irc
parentda6cbee1b429fccf9f25e265aa5dc369e83400c5 (diff)
downloadfreebsd-ports-gnome-a82c4f578b005a0b7704de4a850828b0c0020c9b.tar.gz
freebsd-ports-gnome-a82c4f578b005a0b7704de4a850828b0c0020c9b.tar.zst
freebsd-ports-gnome-a82c4f578b005a0b7704de4a850828b0c0020c9b.zip
- Update to 3.2.10.1
- rc script cleanup PR: ports/177506 Submitted by: JR Aquino <tanawts@gmail.com> Approved by: crees (mentor)
Diffstat (limited to 'irc')
-rw-r--r--irc/unreal/Makefile19
-rw-r--r--irc/unreal/distinfo4
-rw-r--r--irc/unreal/files/patch-url.c10
-rw-r--r--irc/unreal/files/unrealircd.in20
-rw-r--r--irc/unreal/pkg-plist187
5 files changed, 105 insertions, 135 deletions
diff --git a/irc/unreal/Makefile b/irc/unreal/Makefile
index 421ea4405485..7a0a00aa7313 100644
--- a/irc/unreal/Makefile
+++ b/irc/unreal/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Unreal
-PORTVERSION= 3.2.9
-PORTREVISION= 2
+PORTVERSION= 3.2.10.1
CATEGORIES= irc ipv6
MASTER_SITES= http://www.unrealircd.com/downloads/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -16,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= cares:${PORTSDIR}/dns/c-ares
-WRKSRC= ${WRKDIR}/${DISTNAME:R}
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
MODULESDIR= ${PREFIX}/lib/${PORTNAME}
CONFIGDIR= ${PREFIX}/etc/${PORTNAME}
@@ -30,6 +29,8 @@ USERS= ircd
GROUPS= ircd
SUB_LIST+= RUNDIR=${RUNDIR}
+SUB_LIST+= USERS=${USERS}
+SUB_LIST+= GROUPS=${GROUPS}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -101,9 +102,9 @@ SQLMOD= ${PORTNAME}/SQLMod.tar.gz
USE_MYSQL= yes
WITH_SQLMOD= yes
MAKE_ARGS= all custommodule MODULEFILE=m_sqlmod
-PLIST_FILES+= etc/Unreal/m_sqlmod.conf lib/Unreal/m_sqlmod.so \
- Unreal/doc/Changes.sqlmod Unreal/doc/README.sqlmod \
- Unreal/doc/LICENSE.sqlmod
+PLIST_SUB+= SQLMOD=""
+.else
+PLIST_SUB+= SQLMOD="@comment "
.endif
post-extract:
@@ -121,7 +122,6 @@ post-patch:
-e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/include/config.h
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
-e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/doc/example.conf
- @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/networks/makenet
@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/ircd.c
@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/modules.c
@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/s_conf.c
@@ -136,20 +136,15 @@ do-install:
${MKDIR} ${CONFIGDIR} || true
${MKDIR} ${CONFIGDIR}/aliases || true
${MKDIR} ${EXAMPLESDIR}/aliases
- ${MKDIR} ${DATADIR}/networks
${MKDIR} ${RUNDIR}/tmp
${MKDIR} ${LOGDIR}
${TOUCH} ${CONFIGDIR}/ircd.motd
${TOUCH} ${CONFIGDIR}/ircd.rules
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/badwords.*.conf ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/help.conf ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/spamfilter.conf ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${EXAMPLESDIR}/unrealircd.conf
${INSTALL_DATA} ${WRKSRC}/aliases/*.conf ${EXAMPLESDIR}/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}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
diff --git a/irc/unreal/distinfo b/irc/unreal/distinfo
index bea8265c90c7..91e642610107 100644
--- a/irc/unreal/distinfo
+++ b/irc/unreal/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Unreal3.2.9.tar.gz) = 3f581a331825d9179f5367ea6367dd0dc71c7ba615ac3c0134332086bee0e1d8
-SIZE (Unreal3.2.9.tar.gz) = 3064571
+SHA256 (Unreal3.2.10.1.tar.gz) = 79843002413a42deabed7d1471abc15944c94d3a41f02fcebc3601e50d282036
+SIZE (Unreal3.2.10.1.tar.gz) = 3135615
diff --git a/irc/unreal/files/patch-url.c b/irc/unreal/files/patch-url.c
index ddc4f1fa46d2..dfa3a6a4ba31 100644
--- a/irc/unreal/files/patch-url.c
+++ b/irc/unreal/files/patch-url.c
@@ -1,6 +1,6 @@
---- src/url.c Sat Jul 3 21:04:31 2004
-+++ src/url.c Mon Feb 7 04:31:06 2005
-@@ -141,7 +141,7 @@
+--- src/url.c 2012-12-28 08:04:54.000000000 -0800
++++ src/url.c 2012-12-31 18:03:14.000000000 -0800
+@@ -171,7 +171,7 @@
CURLcode res;
char *file = url_getfilename(url);
char *filename = unreal_getfilename(file);
@@ -9,12 +9,12 @@
FILE *fd;
-@@ -236,7 +236,7 @@
+@@ -356,7 +356,7 @@
{
char *file = url_getfilename(url);
char *filename = unreal_getfilename(file);
- char *tmp = unreal_mktemp("tmp", filename ? filename : "download.conf");
+ char *tmp = unreal_mktemp("%%RUNDIR%%/tmp", filename ? filename : "download.conf");
- FileHandle *handle = malloc(sizeof(FileHandle));
+ FileHandle *handle = MyMallocEx(sizeof(FileHandle));
handle->fd = fopen(tmp, "wb");
if (!handle->fd)
diff --git a/irc/unreal/files/unrealircd.in b/irc/unreal/files/unrealircd.in
index 9781f577850d..43d87290a984 100644
--- a/irc/unreal/files/unrealircd.in
+++ b/irc/unreal/files/unrealircd.in
@@ -16,16 +16,24 @@
. /etc/rc.subr
-name="unrealircd"
+name=unrealircd
rcvar=unrealircd_enable
+load_rc_config $name
-command="%%PREFIX%%/libexec/ircd"
-pidfile="%%RUNDIR%%/ircd.pid"
+: ${unrealircd_enable:=NO}
-[ -z "$unrealircd_enable" ] && unrealircd_enable="NO"
+command=%%PREFIX%%/libexec/ircd
+pidfile=%%RUNDIR%%/ircd.pid
+start_precmd=unreal_prestart
-required_dirs="%%RUNDIR%% %%RUNDIR%%/tmp"
required_files="%%PREFIX%%/etc/Unreal/unrealircd.conf"
-load_rc_config $name
+unreal_prestart()
+{
+ if [ ! -d ${pidfile%/*} ]; then
+ install -d -o %%USERS%% -g %%GROUPS%% ${pidfile%/*}
+ install -d -o %%USERS%% -g %%GROUPS%% ${pidfile%/*}/tmp
+ fi
+}
+
run_rc_command "$1"
diff --git a/irc/unreal/pkg-plist b/irc/unreal/pkg-plist
index bc428b2e5f49..72d9a91b2995 100644
--- a/irc/unreal/pkg-plist
+++ b/irc/unreal/pkg-plist
@@ -1,92 +1,5 @@
-@exec mkdir -p %D/etc/Unreal 2> /dev/null
-@exec mkdir -p %D/etc/Unreal/aliases 2> /dev/null
-@unexec if cmp -s %D/etc/Unreal/aliases/aliases.conf %D/%%EXAMPLESDIR%%/aliases/aliases.conf; then rm -f %D/etc/Unreal/aliases/aliases.conf; fi
-%%EXAMPLESDIR%%/aliases/aliases.conf
-@exec [ -f %D/etc/Unreal/aliases/aliases.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/aliases.conf %D/etc/Unreal/aliases/aliases.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/atheme.conf %D/%%EXAMPLESDIR%%/aliases/atheme.conf; then rm -f %D/etc/Unreal/aliases/atheme.conf; fi
-%%EXAMPLESDIR%%/aliases/atheme.conf
-@exec [ -f %D/etc/Unreal/aliases/atheme.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/atheme.conf %D/etc/Unreal/aliases/atheme.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/anope.conf %D/%%EXAMPLESDIR%%/aliases/anope.conf; then rm -f %D/etc/Unreal/aliases/anope.conf; fi
-%%EXAMPLESDIR%%/aliases/anope.conf
-@exec [ -f %D/etc/Unreal/aliases/anope.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/anope.conf %D/etc/Unreal/aliases/anope.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/auspice.conf %D/%%EXAMPLESDIR%%/aliases/auspice.conf; then rm -f %D/etc/Unreal/aliases/auspice.conf; fi
-%%EXAMPLESDIR%%/aliases/auspice.conf
-@exec [ -f %D/etc/Unreal/aliases/aliases.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/aliases.conf %D/etc/Unreal/aliases/aliases.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/cygnus.conf %D/%%EXAMPLESDIR%%/aliases/cygnus.conf; then rm -f %D/etc/Unreal/aliases/cygnus.conf; fi
-%%EXAMPLESDIR%%/aliases/cygnus.conf
-@exec [ -f %D/etc/Unreal/aliases/cygnus.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/cygnus.conf %D/etc/Unreal/aliases/cygnus.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/epona.conf %D/%%EXAMPLESDIR%%/aliases/epona.conf; then rm -f %D/etc/Unreal/aliases/epona.conf; fi
-%%EXAMPLESDIR%%/aliases/epona.conf
-@exec [ -f %D/etc/Unreal/aliases/epona.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/epona.conf %D/etc/Unreal/aliases/epona.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/generic.conf %D/%%EXAMPLESDIR%%/aliases/generic.conf; then rm -f %D/etc/Unreal/aliases/generic.conf; fi
-%%EXAMPLESDIR%%/aliases/generic.conf
-@exec [ -f %D/etc/Unreal/aliases/generic.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/generic.conf %D/etc/Unreal/aliases/generic.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/genericstats.conf %D/%%EXAMPLESDIR%%/aliases/genericstats.conf; then rm -f %D/etc/Unreal/aliases/genericstats.conf; fi
-%%EXAMPLESDIR%%/aliases/genericstats.conf
-@exec [ -f %D/etc/Unreal/aliases/genericstats.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/genericstats.conf %D/etc/Unreal/aliases/genericstats.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/ircservices.conf %D/%%EXAMPLESDIR%%/aliases/ircservices.conf; then rm -f %D/etc/Unreal/aliases/ircservices.conf; fi
-%%EXAMPLESDIR%%/aliases/ircservices.conf
-@exec [ -f %D/etc/Unreal/aliases/ircservices.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/ircservices.conf %D/etc/Unreal/aliases/ircservices.conf
-@unexec if cmp -s %D/etc/Unreal/aliases/operstats.conf %D/%%EXAMPLESDIR%%/aliases/operstats.conf; then rm -f %D/etc/Unreal/aliases/operstats.conf; fi
-%%EXAMPLESDIR%%/aliases/operstats.conf
-@exec [ -f %D/etc/Unreal/aliases/operstats.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/operstats.conf %D/etc/Unreal/aliases/operstats.conf
-@unexec if cmp -s %D/etc/Unreal/badwords.channel.conf %D/%%EXAMPLESDIR%%/badwords.channel.conf; then rm -f %D/etc/Unreal/badwords.channel.conf; fi
-%%EXAMPLESDIR%%/badwords.channel.conf
-@exec [ -f %D/etc/Unreal/badwords.channel.conf ] || cp %D/%%EXAMPLESDIR%%/badwords.channel.conf %D/etc/Unreal/badwords.channel.conf
-@unexec if cmp -s %D/etc/Unreal/badwords.message.conf %D/%%EXAMPLESDIR%%/badwords.message.conf; then rm -f %D/etc/Unreal/badwords.message.conf; fi
-%%EXAMPLESDIR%%/badwords.message.conf
-@exec [ -f %D/etc/Unreal/badwords.message.conf ] || cp %D/%%EXAMPLESDIR%%/badwords.message.conf %D/etc/Unreal/badwords.message.conf
-@unexec if cmp -s %D/etc/Unreal/badwords.quit.conf %D/%%EXAMPLESDIR%%/badwords.quit.conf; then rm -f %D/etc/Unreal/badwords.quit.conf; fi
-%%EXAMPLESDIR%%/badwords.quit.conf
-@exec [ -f %D/etc/Unreal/badwords.quit.conf ] || cp %D/%%EXAMPLESDIR%%/badwords.quit.conf %D/etc/Unreal/badwords.quit.conf
-@unexec if cmp -s %D/etc/Unreal/help.conf %D/%%EXAMPLESDIR%%/help.conf; then rm -f %D/etc/Unreal/help.conf; fi
-%%EXAMPLESDIR%%/help.conf
-@exec [ -f %D/etc/Unreal/help.conf ] || cp %D/%%EXAMPLESDIR%%/help.conf %D/etc/Unreal/help.conf
-@unexec if cmp -s %D/etc/Unreal/spamfilter.conf %D/%%EXAMPLESDIR%%/spamfilter.conf; then rm -f %D/etc/Unreal/spamfilter.conf; fi
-%%EXAMPLESDIR%%/spamfilter.conf
-@exec [ -f %D/etc/Unreal/spamfilter.conf ] || cp %D/%%EXAMPLESDIR%%/spamfilter.conf %D/etc/Unreal/spamfilter.conf
-@unexec if cmp -s %D/etc/Unreal/unrealircd.conf %D/%%EXAMPLESDIR%%/unrealircd.conf; then rm -f %D/etc/Unreal/unrealircd.conf; fi
-%%EXAMPLESDIR%%/unrealircd.conf
-@exec [ -f %D/etc/Unreal/unrealircd.conf ] || cp %D/%%EXAMPLESDIR%%/unrealircd.conf %D/etc/Unreal/unrealircd.conf
-etc/Unreal/ircd.motd
-etc/Unreal/ircd.rules
-libexec/ircd
-%%DATADIR%%/LICENSE
-%%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
+%%ETCDIR%%/ircd.motd
+%%ETCDIR%%/ircd.rules
lib/Unreal/cloak.so
lib/Unreal/commands.so
lib/Unreal/m_addline.so
@@ -97,6 +10,7 @@ lib/Unreal/m_adminchat.so
lib/Unreal/m_akill.so
lib/Unreal/m_away.so
lib/Unreal/m_botmotd.so
+lib/Unreal/m_cap.so
lib/Unreal/m_chatops.so
lib/Unreal/m_chghost.so
lib/Unreal/m_chgident.so
@@ -112,8 +26,8 @@ lib/Unreal/m_guest.so
lib/Unreal/m_help.so
lib/Unreal/m_htm.so
lib/Unreal/m_invite.so
-lib/Unreal/m_issecure.so
lib/Unreal/m_ison.so
+lib/Unreal/m_issecure.so
lib/Unreal/m_join.so
lib/Unreal/m_kick.so
lib/Unreal/m_kill.so
@@ -146,6 +60,7 @@ lib/Unreal/m_rules.so
lib/Unreal/m_sajoin.so
lib/Unreal/m_samode.so
lib/Unreal/m_sapart.so
+lib/Unreal/m_sasl.so
lib/Unreal/m_sdesc.so
lib/Unreal/m_sendsno.so
lib/Unreal/m_sendumode.so
@@ -153,8 +68,8 @@ 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_sjoin.so
lib/Unreal/m_sqline.so
lib/Unreal/m_squit.so
lib/Unreal/m_starttls.so
@@ -167,11 +82,11 @@ lib/Unreal/m_svsmode.so
lib/Unreal/m_svsmotd.so
lib/Unreal/m_svsnick.so
lib/Unreal/m_svsnline.so
+lib/Unreal/m_svsnolag.so
lib/Unreal/m_svsnoop.so
lib/Unreal/m_svso.so
lib/Unreal/m_svspart.so
lib/Unreal/m_svssilence.so
-lib/Unreal/m_svsnolag.so
lib/Unreal/m_svssno.so
lib/Unreal/m_svswatch.so
lib/Unreal/m_swhois.so
@@ -194,23 +109,75 @@ lib/Unreal/m_watch.so
lib/Unreal/m_who.so
lib/Unreal/m_whois.so
lib/Unreal/m_whowas.so
-%%PORTDOCS%%%%DOCSDIR%%/Donation
-%%PORTDOCS%%%%DOCSDIR%%/Authors
-%%PORTDOCS%%%%DOCSDIR%%/coding-guidelines
-%%PORTDOCS%%%%DOCSDIR%%/example.conf
-%%PORTDOCS%%%%DOCSDIR%%/tao.of.irc
-%%PORTDOCS%%%%DOCSDIR%%/translations.txt
-%%PORTDOCS%%%%DOCSDIR%%/unreal32docs.html
-%%PORTDOCS%%%%DOCSDIR%%/005.txt
-%%PORTDOCS%%%%DOCSDIR%%/base64.txt
-%%PORTDOCS%%%%DOCSDIR%%/protoctl.txt
-%%PORTDOCS%%%%DOCSDIR%%/token.txt
-%%PORTDOCS%%%%DOCSDIR%%/vl.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%/networks
-@dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%/aliases
+libexec/ircd
+%%DOCSDIR%%/005.txt
+%%DOCSDIR%%/Authors
+%%DOCSDIR%%/Donation
+%%DOCSDIR%%/base64.txt
+%%DOCSDIR%%/coding-guidelines
+%%DOCSDIR%%/example.conf
+%%DOCSDIR%%/protoctl.txt
+%%DOCSDIR%%/tao.of.irc
+%%DOCSDIR%%/token.txt
+%%DOCSDIR%%/translations.txt
+%%DOCSDIR%%/unreal32docs.html
+%%DOCSDIR%%/vl.txt
+%%EXAMPLESDIR%%/aliases/aliases.conf
+%%EXAMPLESDIR%%/aliases/anope.conf
+%%EXAMPLESDIR%%/aliases/atheme.conf
+%%EXAMPLESDIR%%/aliases/auspice.conf
+%%EXAMPLESDIR%%/aliases/cygnus.conf
+%%EXAMPLESDIR%%/aliases/epona.conf
+%%EXAMPLESDIR%%/aliases/generic.conf
+%%EXAMPLESDIR%%/aliases/genericstats.conf
+%%EXAMPLESDIR%%/aliases/ircservices.conf
+%%EXAMPLESDIR%%/aliases/operstats.conf
+%%EXAMPLESDIR%%/badwords.channel.conf
+%%EXAMPLESDIR%%/badwords.message.conf
+%%EXAMPLESDIR%%/badwords.quit.conf
+%%EXAMPLESDIR%%/help.conf
+%%EXAMPLESDIR%%/spamfilter.conf
+%%EXAMPLESDIR%%/unrealircd.conf
+%%SQLMOD%%%%DOCSDIR%%/Changes.sqlmod
+%%SQLMOD%%%%DOCSDIR%%/LICENSE.sqlmod
+%%SQLMOD%%%%DOCSDIR%%/README.sqlmod
+%%SQLMOD%%%%ETCDIR%%/m_sqlmod.conf
+%%SQLMOD%%lib/Unreal/m_sqlmod.so
+@dirrm %%DOCSDIR%%
@dirrm %%EXAMPLESDIR%%
+@dirrm %%EXAMPLESDIR%%/aliases
@dirrm lib/Unreal
-@dirrmtry etc/Unreal/aliases
-@dirrmtry etc/Unreal
+@dirrmtry %%ETCDIR%%
+@dirrmtry %%ETCDIR%%/aliases
+@unexec if cmp -s %D/etc/Unreal/aliases/aliases.conf %D/%%EXAMPLESDIR%%/aliases/aliases.conf; then rm -f %D/etc/Unreal/aliases/aliases.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/aliases.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/aliases.conf %D/etc/Unreal/aliases/aliases.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/atheme.conf %D/%%EXAMPLESDIR%%/aliases/atheme.conf; then rm -f %D/etc/Unreal/aliases/atheme.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/atheme.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/atheme.conf %D/etc/Unreal/aliases/atheme.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/anope.conf %D/%%EXAMPLESDIR%%/aliases/anope.conf; then rm -f %D/etc/Unreal/aliases/anope.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/anope.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/anope.conf %D/etc/Unreal/aliases/anope.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/auspice.conf %D/%%EXAMPLESDIR%%/aliases/auspice.conf; then rm -f %D/etc/Unreal/aliases/auspice.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/aliases.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/aliases.conf %D/etc/Unreal/aliases/aliases.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/cygnus.conf %D/%%EXAMPLESDIR%%/aliases/cygnus.conf; then rm -f %D/etc/Unreal/aliases/cygnus.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/cygnus.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/cygnus.conf %D/etc/Unreal/aliases/cygnus.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/epona.conf %D/%%EXAMPLESDIR%%/aliases/epona.conf; then rm -f %D/etc/Unreal/aliases/epona.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/epona.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/epona.conf %D/etc/Unreal/aliases/epona.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/generic.conf %D/%%EXAMPLESDIR%%/aliases/generic.conf; then rm -f %D/etc/Unreal/aliases/generic.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/generic.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/generic.conf %D/etc/Unreal/aliases/generic.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/genericstats.conf %D/%%EXAMPLESDIR%%/aliases/genericstats.conf; then rm -f %D/etc/Unreal/aliases/genericstats.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/genericstats.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/genericstats.conf %D/etc/Unreal/aliases/genericstats.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/ircservices.conf %D/%%EXAMPLESDIR%%/aliases/ircservices.conf; then rm -f %D/etc/Unreal/aliases/ircservices.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/ircservices.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/ircservices.conf %D/etc/Unreal/aliases/ircservices.conf
+@unexec if cmp -s %D/etc/Unreal/aliases/operstats.conf %D/%%EXAMPLESDIR%%/aliases/operstats.conf; then rm -f %D/etc/Unreal/aliases/operstats.conf; fi
+@exec [ -f %D/etc/Unreal/aliases/operstats.conf ] || cp %D/%%EXAMPLESDIR%%/aliases/operstats.conf %D/etc/Unreal/aliases/operstats.conf
+@unexec if cmp -s %D/etc/Unreal/badwords.channel.conf %D/%%EXAMPLESDIR%%/badwords.channel.conf; then rm -f %D/etc/Unreal/badwords.channel.conf; fi
+@exec [ -f %D/etc/Unreal/badwords.channel.conf ] || cp %D/%%EXAMPLESDIR%%/badwords.channel.conf %D/etc/Unreal/badwords.channel.conf
+@unexec if cmp -s %D/etc/Unreal/badwords.message.conf %D/%%EXAMPLESDIR%%/badwords.message.conf; then rm -f %D/etc/Unreal/badwords.message.conf; fi
+@exec [ -f %D/etc/Unreal/badwords.message.conf ] || cp %D/%%EXAMPLESDIR%%/badwords.message.conf %D/etc/Unreal/badwords.message.conf
+@unexec if cmp -s %D/etc/Unreal/badwords.quit.conf %D/%%EXAMPLESDIR%%/badwords.quit.conf; then rm -f %D/etc/Unreal/badwords.quit.conf; fi
+@exec [ -f %D/etc/Unreal/badwords.quit.conf ] || cp %D/%%EXAMPLESDIR%%/badwords.quit.conf %D/etc/Unreal/badwords.quit.conf
+@unexec if cmp -s %D/etc/Unreal/help.conf %D/%%EXAMPLESDIR%%/help.conf; then rm -f %D/etc/Unreal/help.conf; fi
+@exec [ -f %D/etc/Unreal/help.conf ] || cp %D/%%EXAMPLESDIR%%/help.conf %D/etc/Unreal/help.conf
+@unexec if cmp -s %D/etc/Unreal/spamfilter.conf %D/%%EXAMPLESDIR%%/spamfilter.conf; then rm -f %D/etc/Unreal/spamfilter.conf; fi
+@exec [ -f %D/etc/Unreal/spamfilter.conf ] || cp %D/%%EXAMPLESDIR%%/spamfilter.conf %D/etc/Unreal/spamfilter.conf
+@unexec if cmp -s %D/etc/Unreal/unrealircd.conf %D/%%EXAMPLESDIR%%/unrealircd.conf; then rm -f %D/etc/Unreal/unrealircd.conf; fi
+@exec [ -f %D/etc/Unreal/unrealircd.conf ] || cp %D/%%EXAMPLESDIR%%/unrealircd.conf %D/etc/Unreal/unrealircd.conf