ports/108835: [UPDATE] irc/tr-ircd 5.1.5 -> 5.7.3

Martin Matuska martin at matuska.org
Tue Feb 6 15:40:16 UTC 2007


>Number:         108835
>Category:       ports
>Synopsis:       [UPDATE] irc/tr-ircd 5.1.5 -> 5.7.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 15:40:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD 6.2-RELEASE i386 and amd64
>Description:
Update of irc/tr-ircd 5.1.5 -> 5.7.3

This is a massive rewrite of the port.
- no more run as root, uses own user and group by default
- RCng startup script (trircd)
- fixed build for amd64
- installs bin/tr-ircd instead of bin/ircd 
  (conflict with irc/ircd-hybrid, irc/ptlink-ircd & co.)
- does not install bin/md5sum (we have our md5)
  (conflict with archivers/dpkg and not necessary)
- run and log directories can be defined via
  TRIRCD_RUNDIR and TRIRCD_LOGDIR
- configuration directory via TRIRCD_CONFDIR 
  (can be specified on runtime as well)
- user and group definable via TRIRCD_USER TRIRCD_GROUP

As there is no maintainer,
I would like to take maintainership of this port.

Tested with portlint & tinderbox.

Tinderbox log:
http://tinderbox.vx.sk/logs/6.2-FreeBSD-amd64/tr-ircd-5.7.3.log

SVN tree:
http://www.matuska.org/martin/cgi/viewvc.cgi/ports/irc/tr-ircd/?pathrev=28

.tar.gz:
http://www.matuska.org/martin/freebsd/ports/patches/irc/irc-trircd.tar.gz

>How-To-Repeat:
>Fix:
diff -Nbur irc/tr-ircd.orig/Makefile irc/tr-ircd/Makefile
--- irc/tr-ircd.orig/Makefile	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/Makefile	Tue Feb  6 16:12:58 2007
@@ -6,58 +6,112 @@
 #
 
 PORTNAME=	tr-ircd
-PORTVERSION=	5.1.7
-PORTREVISION=	1
+PORTVERSION=	5.7.3
 CATEGORIES=	irc ipv6
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 DISTNAME=	${PORTNAME:S/-//}-release-${PORTVERSION}-r
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	martin at matuska.org
 COMMENT=	An irc daeemon based on Bahamut and hybrid-7
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--localstatedir=/var \
-		--libdir=${PREFIX}/lib/tr-ircd \
-		--includedir=${PREFIX}/include/tr-ircd \
-		--enable-kqueue \
-		--enable-root \
-		--with-fakehost-postfix=COM
-
-MAN1=		md5sum.1
-MAN5=		ircd.conf.5
-MAN8=		ircd.8
+
+TRIRCD_MAXCLIENTS?=	128
+
+TRIRCD_USER?=	trircd
+TRIRCD_GROUP?=	trircd
+TRIRCD_RUNDIR?=	/var/run/tr-ircd
+TRIRCD_LOGDIR?=	/var/log/tr-ircd
+TRIRCD_CONFDIR?= ${TARGETDIR}/etc/tr-ircd
+TRIRCD_LIBDIR=	${TARGETDIR}/lib/tr-ircd
+TRIRCD_INCLUDEDIR= ${TARGETDIR}/include/tr-ircd
+
+CONFIGURE_ARGS=	--prefix=${TARGETDIR} \
+		--localstatedir=${TRIRCD_RUNDIR} \
+		--sysconfdir=${TRIRCD_CONFDIR} \
+		--libdir=${TRIRCD_LIBDIR} \
+		--includedir=${TRIRCD_INCLUDEDIR} \
+		--datadir=${DATADIR} \
+		--enable-network-loop=kqueue \
+		--with-fakehost-postfix=COM \
+		--with-maxclients=${TRIRCD_MAXCLIENTS}
+
+CONFIGURE_ENV+=	MD5SUMS="\"${MD5} -r\""
+
+USE_RC_SUBR=	trircd
+
+SUB_LIST+=	TRIRCD_USER="${TRIRCD_USER}" TRIRCD_GROUP="${TRIRCD_GROUP}" \
+		TRIRCD_RUNDIR="${TRIRCD_RUNDIR}" TRIRCD_LOGDIR="${TRIRCD_LOGDIR}" \
+		TRIRCD_CONFDIR="${TRIRCD_CONFDIR}"
+
+SUB_FILES+=	pkg-install pkg-deinstall pkg-message
+PKGINSTALL=	${WRKDIR}/pkg-install
+PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
+.if !defined(NO_INSTALL_MANPAGES)
+MAN8=		tr-ircd.8
+.endif
+
+DOCS=		AUTHORS ChangeLog INSTALL LICENSE README.FIRST README.HTTPD \
+		README.OPM RELNOTES TODO
 
 .if !defined(WITHOUT_SSL)
 USE_OPENSSL=	yes
 CONFIGURE_ARGS+=--enable-openssl=${OPENSSLBASE}
 .endif
 
-.if defined(SMALL_NET)
-CONFIGURE_ARGS+=--enable-small-nets
-.endif
-
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700019
-BROKEN=		Does not compile on FreeBSD >= 7.0
+PW?=		/usr/sbin/pw
+SUB_LIST+=	MKDIR="${MKDIR}" PW="${PW}" CHMOD="${CHMOD}" CHOWN="${CHOWN}"
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+=	-fPIC
 .endif
 
 .if ${OSVERSION} < 500000
 USE_GCC=	3.4 # Needs va_copy
 .endif
 
-.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6)
-CONFIGURE_ARGS+=--enable-ipv6
-.endif
-
 post-patch:
-	${REINPLACE_CMD} -e "s,-O2,${CFLAGS}," ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s,-O2,${CFLAGS}," ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s, ircpasswd,tr-ircpasswd," \
+		-e "s,/home/ircd/lib,${TRIRCD_LIBDIR}," \
+		-e "s,/home/ircd/ircd5/lib/,${TRIRCD_LIBDIR}," \
+		-e "s,/home/ircd/ircd5/etc/,${TRIRCD_CONFDIR}," \
+		-e "s,/home/ircd/var/run/tr-ircd,${TRIRCD_RUNDIR}," \
+		${WRKSRC}/doc/configuration/example.conf
+	@${REINPLACE_CMD} -e "s, at localstatedir@/lib/tr-ircd,${TRIRCD_RUNDIR}," \
+		${WRKSRC}/tools/irandom.sh.in ${WRKSRC}/tools/isslconfig.sh.in
+	@${REINPLACE_CMD} -e "s, at bindir@,${DATADIR}/tools," ${WRKSRC}/tools/Makefile.in
+
+post-configure:
+	@${REINPLACE_CMD} -e "s,/var/log/tr-ircd,${TRIRCD_LOGDIR}," ${WRKSRC}/include/ircpath.h
+
+pre-install:
+	@${SH} ${PKGINSTALL}
 
 post-install:
-	@${ECHO} "Installing ${PREFIX}/etc/rc.d/tr-ircd.sh.sample startup file."
-	@${INSTALL_SCRIPT} ${FILESDIR}/tr-ircd.sh \
-		${PREFIX}/etc/rc.d/tr-ircd.sh.sample
+	@${MKDIR} ${TRIRCD_CONFDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/configuration/example.conf ${TRIRCD_CONFDIR}/ircd.conf.sample
+	@${INSTALL_DATA} ${WRKSRC}/doc/configuration/example-ihttpd.conf ${TRIRCD_CONFDIR}/ihttpd.conf.sample
+	@${INSTALL_DATA} ${WRKSRC}/doc/configuration/example-maskfile.conf ${TRIRCD_CONFDIR}/maskfile.conf.sample
+	@${INSTALL_DATA} ${WRKSRC}/doc/configuration/example-socks.conf ${TRIRCD_CONFDIR}/socks.conf.sample
+	@${INSTALL_DATA} ${WRKSRC}/doc/configuration/ircdssl.conf ${TRIRCD_CONFDIR}/ircdssl.conf.sample
+	@${INSTALL_DATA} ${WRKSRC}/doc/configuration/ircd.motd ${TRIRCD_CONFDIR}/ircd.motd.sample
+	@${MKDIR} ${TRIRCD_RUNDIR}
+.if !defined(NO_INSTALL_MANPAGES)
+	@${INSTALL_MAN} ${WRKSRC}/doc/man/ircd.8 ${MANPREFIX}/man/man8/tr-ircd.8
+.endif
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
+.endfor
+.endif
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
diff -Nbur irc/tr-ircd.orig/distinfo irc/tr-ircd/distinfo
--- irc/tr-ircd.orig/distinfo	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/distinfo	Tue Feb  6 13:35:14 2007
@@ -1,3 +1,3 @@
-MD5 (trircd-release-5.1.7-r.tar.gz) = 3b4839b40dede6ed0e86cd99a075e930
-SHA256 (trircd-release-5.1.7-r.tar.gz) = b6682e50aa15babf76366969361bfcd11470643ec867409233509880386d0cfb
-SIZE (trircd-release-5.1.7-r.tar.gz) = 754395
+MD5 (trircd-release-5.7.3-r.tar.gz) = 88a24465665ece55c249cba1ea3fa077
+SHA256 (trircd-release-5.7.3-r.tar.gz) = b984609431f51f2a275f1b5160f6a289fd0c5b2fe0829e77264a010523ca08aa
+SIZE (trircd-release-5.7.3-r.tar.gz) = 1085507
diff -Nbur irc/tr-ircd.orig/files/patch-Makefile.in irc/tr-ircd/files/patch-Makefile.in
--- irc/tr-ircd.orig/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-Makefile.in	Tue Feb  6 14:57:38 2007
@@ -0,0 +1,21 @@
+--- Makefile.in.orig	Tue Feb  6 13:56:27 2007
++++ Makefile.in	Tue Feb  6 13:57:25 2007
+@@ -126,18 +126,6 @@
+ 		echo "install ==> $$i";\
+ 		${MAKE} -C $$i install ;\
+ 	done
+-	@${bindir}/irandom.sh
+-	@echo "***********************************************"
+-	@echo "Please do not forget to check your example.conf"
+-	@echo "When creating ircd.conf configuration file"
+-	@echo "***********************************************"
+-	@echo "If you have enabled the SSL option, you would"
+-	@echo "Need creating an SSL Certificate. Please check"
+-	@echo "out the ircdssl.conf for this."
+-	@echo "The certificate can be created with the"
+-	@echo "isslconfig.sh utility provided"
+-	@echo "***********************************************"
+-	@echo "Finished Installation"
+ 
+ uninstall_begin:
+ 	@echo "Removing binaries"
diff -Nbur irc/tr-ircd.orig/files/patch-autoconf-ircpathgen irc/tr-ircd/files/patch-autoconf-ircpathgen
--- irc/tr-ircd.orig/files/patch-autoconf-ircpathgen	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-autoconf-ircpathgen	Tue Feb  6 16:10:02 2007
@@ -0,0 +1,7 @@
+--- autoconf/ircpathgen.orig	Tue Apr 29 15:52:16 2003
++++ autoconf/ircpathgen	Tue Feb  6 15:09:50 2007
+@@ -87,3 +87,4 @@
+ echo "#define IRCD_PREFIX_VAR \"$localstatedir\"" >> $1/include/ircpath.h
+ echo "#define IRCD_PREFIX_LIB \"$libdir\"" >> $1/include/ircpath.h
+ echo "#define IRCD_PREFIX_DOC \"$datadir\"" >> $1/include/ircpath.h
++echo "#define IRCD_PREFIX_LOG \"/var/log/tr-ircd\"" >> $1/include/ircpath.h
diff -Nbur irc/tr-ircd.orig/files/patch-configure irc/tr-ircd/files/patch-configure
--- irc/tr-ircd.orig/files/patch-configure	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/patch-configure	Tue Feb  6 14:29:09 2007
@@ -1,11 +1,20 @@
---- configure.orig	Sat Oct 26 10:25:29 2002
-+++ configure	Sat Oct 26 10:26:46 2002
-@@ -3129,7 +3129,7 @@
+--- configure.orig	Tue Jan 18 17:06:36 2005
++++ configure	Tue Feb  6 13:28:59 2007
+@@ -2688,7 +2688,7 @@
+ 		echo "$as_me:$LINENO: result: Detected FreeBSD: -pthread" >&5
+ echo "${ECHO_T}Detected FreeBSD: -pthread" >&6
+ 		IRC_CFLAGS="$IRC_CFLAGS -pthread"
+-                PROG_IRCD="ircd"
++                PROG_IRCD="tr-ircd"
+                 PROG_MD5SUM="md5sum"
+                 PROG_TOOLS="ircpasswd"
    ;;
- esac
- fi
--MD5SUMS=$ac_cv_path_MD5SUMS
-+MD5SUMS=../md5/$ac_cv_path_MD5SUMS
+@@ -3665,7 +3665,7 @@
  
- if test -n "$MD5SUMS"; then
-   echo "$as_me:$LINENO: result: $MD5SUMS" >&5
+ 
+ INSTALL="$PWD/autoconf/install-sh -c"
+-INSTALL_PROGRAM="$INSTALL -m 4755"
++INSTALL_PROGRAM="$INSTALL -m 0755"
+ INSTALL_DATA="$INSTALL -m 0644"
+ 
+ make_is_gmake=0
diff -Nbur irc/tr-ircd.orig/files/patch-doc-Makefile.in irc/tr-ircd/files/patch-doc-Makefile.in
--- irc/tr-ircd.orig/files/patch-doc-Makefile.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-doc-Makefile.in	Tue Feb  6 14:00:41 2007
@@ -0,0 +1,24 @@
+--- doc/Makefile.in.orig	Tue Feb  6 12:59:57 2007
++++ doc/Makefile.in	Tue Feb  6 13:00:29 2007
+@@ -56,15 +56,21 @@
+ clean:
+ 
+ install: build
++
++install-conf: build
+ 	@echo "Installing config files"
+ 	$(INSTALL) -d ${sysconfdir}
+ 	${INSTALL} $(DEFAULTCONFS) ${sysconfdir}
+ 	@touch ${sysconfdir}/kline.conf
++
++install-man: build
+ 	@echo "Installing manpages"
+ 	$(INSTALL) -d ${mandir}        
+ 	$(INSTALL) -d ${md5mandir}
+ 	$(INSTALL_DATA) man/$(MANPAGE) ${mandir}
+ 	$(INSTALL_DATA) man/$(MD5MANPAGE) ${md5mandir}
++
++install-doc: build
+ 	@echo "Installing documentation"
+ 	$(INSTALL) -d ${datadir}/doc
+ 	$(INSTALL_DATA) $(DOCUMENTATION) ${datadir}/doc/
diff -Nbur irc/tr-ircd.orig/files/patch-doc::Makefile.in irc/tr-ircd/files/patch-doc::Makefile.in
--- irc/tr-ircd.orig/files/patch-doc::Makefile.in	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/patch-doc::Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,15 +0,0 @@
---- doc/Makefile.in.orig	Sat Oct 26 10:10:17 2002
-+++ doc/Makefile.in	Sat Oct 26 10:11:51 2002
-@@ -77,9 +77,9 @@
- 	$(INSTALL_DATA) $(CONFMANPAGE) ${confmandir}
- 	$(INSTALL_DATA) $(MD5MANPAGE) ${md5mandir}
- 	@echo "Installing documentation"
--	$(INSTALL) -d ${datadir}
--	$(INSTALL_DATA) $(DOCUMENTATION) ${datadir}
--	$(INSTALL_DATA) $(CONFS) ${datadir}	
-+	$(INSTALL) -d ${datadir}/doc/tr-ircd
-+	$(INSTALL_DATA) $(DOCUMENTATION) ${datadir}/doc/tr-ircd
-+	$(INSTALL_DATA) $(CONFS) ${datadir}/doc/tr-ircd	
- 
- uninstall:
- 	@echo "Removing manpages"
diff -Nbur irc/tr-ircd.orig/files/patch-help::Makefile.in irc/tr-ircd/files/patch-help::Makefile.in
--- irc/tr-ircd.orig/files/patch-help::Makefile.in	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/patch-help::Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,13 +0,0 @@
---- help/Makefile.in.orig	Sat Oct 26 10:12:16 2002
-+++ help/Makefile.in	Sat Oct 26 10:13:01 2002
-@@ -53,8 +53,8 @@
- 
- install:
- 	@echo "Installing help files"
--	$(INSTALL) -d ${datadir}/help
--	${CP} -R en_us ${datadir}/help/
-+	$(INSTALL) -d ${datadir}/tr-ircd/help
-+	${CP} -R en_us ${datadir}/tr-ircd/help/
- 
- uninstall:
- 	@echo "Removing help files"
diff -Nbur irc/tr-ircd.orig/files/patch-include-config.h irc/tr-ircd/files/patch-include-config.h
--- irc/tr-ircd.orig/files/patch-include-config.h	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-include-config.h	Tue Feb  6 16:09:09 2007
@@ -0,0 +1,26 @@
+--- include/config.h.orig	Tue Jul  1 11:01:18 2003
++++ include/config.h	Tue Feb  6 15:08:49 2007
+@@ -36,10 +36,10 @@
+ #define SSL_CERTIFICATE	IRCD_PREFIX_ETC	"/ircd.cert"
+ #define SSL_KEY		IRCD_PREFIX_ETC	"/ircd.key"
+ 
+-#define RANDFILE	IRCD_PREFIX_VAR "/lib/" BASENAME "/ircd.rand"	/* used to make openssl keygen faster */
+-#define ENTROPYFILE	IRCD_PREFIX_VAR "/lib/" BASENAME "/ircd.entropy"
+-#define LINKSFILE       IRCD_PREFIX_VAR "/lib/" BASENAME "/ircd.links"
+-#define IRCD_PIDFILE    IRCD_PREFIX_VAR "/run/" BASENAME "/ircd.pid"
++#define RANDFILE	IRCD_PREFIX_VAR "/ircd.rand"	/* used to make openssl keygen faster */
++#define ENTROPYFILE	IRCD_PREFIX_VAR "/ircd.entropy"
++#define LINKSFILE       IRCD_PREFIX_VAR "/ircd.links"
++#define IRCD_PIDFILE    IRCD_PREFIX_VAR "/ircd.pid"
+ 
+ #define MODPATH 	IRCD_PREFIX_LIB "/modules"
+ #define LANGPATH 	IRCD_PREFIX_LIB "/languages"
+@@ -47,7 +47,7 @@
+ #define CONTRIBPATH	IRCD_PREFIC_LIB "/contrib"
+ #define TOOLMODPATH	IRCD_PREFIX_LIB "/tools"
+ 
+-#define HELPPATH	IRCD_PREFIX_DOC "/help"
++#define HELPPATH	IRCD_PREFIX_DOC "/" BASENAME "/help"
+ 
+ #define CLIENTS_PREALLOCATE     2048
+ #define CHANNELS_PREALLOCATE    2048
diff -Nbur irc/tr-ircd.orig/files/patch-include-logtype.h irc/tr-ircd/files/patch-include-logtype.h
--- irc/tr-ircd.orig/files/patch-include-logtype.h	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-include-logtype.h	Tue Feb  6 15:50:16 2007
@@ -0,0 +1,25 @@
+--- include/logtype.h.orig	Tue Feb  6 14:48:29 2007
++++ include/logtype.h	Tue Feb  6 14:49:21 2007
+@@ -34,14 +34,14 @@
+ #define LOG_PROXYLOG	0x40	/* Element is logged to the proxy logfile */
+ #define LOG_HTTPLOG	0x80	/* Element is logged to the http logfile */
+ 
+-#define LOG_FN_LOGFILE	IRCD_PREFIX_VAR "/log/" BASENAME "/events.log"
+-#define LOG_FN_IRCLOG	IRCD_PREFIX_VAR "/log/" BASENAME "/ircd.log"
+-#define LOG_FN_DEBUGLOG	IRCD_PREFIX_VAR "/log/" BASENAME "/debug.log"
+-#define LOG_FN_ERRORLOG	IRCD_PREFIX_VAR "/log/" BASENAME "/error.log"
+-#define LOG_FN_STDERR	IRCD_PREFIX_VAR "/log/" BASENAME "/stderr.log"
+-#define LOG_FN_STDOUT	IRCD_PREFIX_VAR "/log/" BASENAME "/stdout.log"
+-#define LOG_FN_PROXY	IRCD_PREFIX_VAR "/log/" BASENAME "/proxy.log"
+-#define LOG_FN_HTTPD	IRCD_PREFIX_VAR "/log/" BASENAME "/httpd.log"
++#define LOG_FN_LOGFILE	IRCD_PREFIX_LOG "/events.log"
++#define LOG_FN_IRCLOG	IRCD_PREFIX_LOG "/ircd.log"
++#define LOG_FN_DEBUGLOG	IRCD_PREFIX_LOG "/debug.log"
++#define LOG_FN_ERRORLOG	IRCD_PREFIX_LOG "/error.log"
++#define LOG_FN_STDERR	IRCD_PREFIX_LOG "/stderr.log"
++#define LOG_FN_STDOUT	IRCD_PREFIX_LOG "/stdout.log"
++#define LOG_FN_PROXY	IRCD_PREFIX_LOG "/proxy.log"
++#define LOG_FN_HTTPD	IRCD_PREFIX_LOG "/httpd.log"
+ 
+ #define LOG_FATAL	-2	/* Element is to be logged always */
+ #define LOG_ERROR	-1	/* Element has error level logging */
diff -Nbur irc/tr-ircd.orig/files/patch-include::config.h irc/tr-ircd/files/patch-include::config.h
--- irc/tr-ircd.orig/files/patch-include::config.h	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/patch-include::config.h	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- include/config.h.orig	Sat Oct 26 10:03:41 2002
-+++ include/config.h	Sat Oct 26 10:13:43 2002
-@@ -38,11 +38,11 @@
- #define LANGPATH 	IRCD_PREFIX_LIB "/languages"
- #define CHANMODEPATH 	IRCD_PREFIX_LIB "/chanmodes"
- 
--#define LOGFILE		IRCD_PREFIX_VAR "/logfiles/ircd.log"
--#define IRCD_PIDFILE    IRCD_PREFIX_VAR "/ircd.pid"
--#define LINKSFILE       IRCD_PREFIX_VAR "/ircd.links"
-+#define LOGFILE		IRCD_PREFIX_VAR "/log/ircd.log"
-+#define IRCD_PIDFILE    IRCD_PREFIX_VAR "/run/ircd.pid"
-+#define LINKSFILE       IRCD_PREFIX_VAR "/run/ircd.links"
- 
--#define HELPPATH	IRCD_PREFIX_DOC "/help/en_us"
-+#define HELPPATH	IRCD_PREFIX_DOC "/tr-ircd/help/en_us"
- 
- #define USE_FAKEHOST 1
- 
diff -Nbur irc/tr-ircd.orig/files/patch-ircsprintf.c irc/tr-ircd/files/patch-ircsprintf.c
--- irc/tr-ircd.orig/files/patch-ircsprintf.c	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/patch-ircsprintf.c	Thu Jan  1 01:00:00 1970
@@ -1,12 +0,0 @@
---- src/ircsprintf.c.orig	Sat Aug 21 13:36:50 2004
-+++ src/ircsprintf.c	Sat Aug 21 13:37:15 2004
-@@ -316,7 +316,8 @@
-     const char *format = pattern;
-     char *buf = str;
-     int len = 0;
--    va_list ap = vl;
-+    va_list ap;
-+    va_copy(ap,vl);
- 
-     while (*format) {
- 	switch (*format) {
diff -Nbur irc/tr-ircd.orig/files/patch-lib-md5-Makefile.in irc/tr-ircd/files/patch-lib-md5-Makefile.in
--- irc/tr-ircd.orig/files/patch-lib-md5-Makefile.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-lib-md5-Makefile.in	Tue Feb  6 14:08:06 2007
@@ -0,0 +1,11 @@
+--- lib/md5/Makefile.in.orig	Tue Feb  6 13:07:31 2007
++++ lib/md5/Makefile.in	Tue Feb  6 13:07:47 2007
+@@ -53,6 +53,8 @@
+ depend:
+ 
+ install:
++
++install-md5:
+ 	@echo "Installing md5 utilities"
+ 	$(INSTALL) -d ${libexecdir}
+ 	$(INSTALL) $(PROGS) ${libexecdir}
diff -Nbur irc/tr-ircd.orig/files/patch-newconf-Makefile.in irc/tr-ircd/files/patch-newconf-Makefile.in
--- irc/tr-ircd.orig/files/patch-newconf-Makefile.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-newconf-Makefile.in	Tue Feb  6 13:55:59 2007
@@ -0,0 +1,11 @@
+--- newconf/Makefile.in.orig	Tue Feb  6 12:54:59 2007
++++ newconf/Makefile.in	Tue Feb  6 12:55:16 2007
+@@ -71,7 +71,7 @@
+ .l.c:
+ 	${LEX} -i -o$@ -P`echo "$@" | awk -F_ {'print $$1'}` $<
+ .y.c:
+-	${YACC} -d $< -o $@ -p `echo "$@" | awk -F_ {'print $$1'}`
++	${YACC} -d -o $@ -p `echo "$@" | awk -F_ {'print $$1'}` $<
+ 
+ .c.o:
+ 	${CC} ${CFLAGS} $(INCLUDES) -I. -c $< -o $@
diff -Nbur irc/tr-ircd.orig/files/patch-src-Makefile.in irc/tr-ircd/files/patch-src-Makefile.in
--- irc/tr-ircd.orig/files/patch-src-Makefile.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-src-Makefile.in	Tue Feb  6 16:11:23 2007
@@ -0,0 +1,48 @@
+--- src/Makefile.in.orig	Mon Jun  2 14:42:19 2003
++++ src/Makefile.in	Tue Feb  6 15:10:58 2007
+@@ -61,7 +61,7 @@
+ 
+ OBJECTS = $(SOURCES:.c=.o) version.o
+ 
+-all: ircd
++all: $(IRCD_EXE)
+ 
+ build: all
+ 
+@@ -117,7 +117,7 @@
+ 	fi
+ 	$(CC) $(CFLAGS) $(INCLUDES) -c static.c -o static.o
+ 
+-ircd: $(OBJECTS)
++$(IRCD_EXE): $(OBJECTS)
+ 	${MAKE} static-objects
+ 	${MAKE} -C ../lib/zlib -f Makefile.tr-ircd build
+ 	${MAKE} -C interproc build
+@@ -127,24 +127,21 @@
+ 	if test -n "`grep "STATIC_MODULES\ 1" ../include/setup.h`" ; then \
+ 		if test -n "`grep "USE_OPM\ 1" ../include/setup.h`" ; then \
+ 			${MAKE} -C proxymon build ; \
+-			$(CC) ${LDFLAGS} ${BITFLAGS} -o ircd $(OBJECTS) static.o httpd/httpd.so proxymon/proxymon.so $(IRCDLIBS) ; \
++			$(CC) ${LDFLAGS} ${BITFLAGS} -o $(IRCD_EXE) $(OBJECTS) static.o httpd/httpd.so proxymon/proxymon.so $(IRCDLIBS) ; \
+ 		else \
+-			$(CC) ${LDFLAGS} ${BITFLAGS} -o ircd $(OBJECTS) static.o httpd/httpd.so $(IRCDLIBS) ; \
++			$(CC) ${LDFLAGS} ${BITFLAGS} -o $(IRCD_EXE) $(OBJECTS) static.o httpd/httpd.so $(IRCDLIBS) ; \
+ 		fi \
+ 	else \
+ 		if test -n "`grep "USE_OPM\ 1" ../include/setup.h`" ; then \
+ 			${MAKE} -C proxymon build ; \
+ 		fi ; \
+-		$(CC) ${LDFLAGS} ${BITFLAGS} -o ircd $(OBJECTS) static.o $(IRCDLIBS) ; \
++		$(CC) ${LDFLAGS} ${BITFLAGS} -o $(IRCD_EXE) $(OBJECTS) static.o $(IRCDLIBS) ; \
+ 	fi
+ 	$(MV) version.c version.c.last
+ 
+ install:
+ 	@echo "Installing ircd"	
+ 	$(INSTALL) -d ${bindir}
+-	$(INSTALL) -d ${localstatedir}/log/$(BN1)$(BN2)$(BN3)
+-	$(INSTALL) -d ${localstatedir}/run/$(BN1)$(BN2)$(BN3)
+-	$(INSTALL) -d ${localstatedir}/lib/$(BN1)$(BN2)$(BN3)
+ 	$(INSTALL_BIN) $(PROGS) ${bindir}
+ 	if test -z "`grep "STATIC_MODULES\ 1" ../include/setup.h`" ; then \
+ 		if test -n "`grep "USE_OPM\ 1" ../include/setup.h`" ; then \
diff -Nbur irc/tr-ircd.orig/files/patch-src-ircsprintf.c irc/tr-ircd/files/patch-src-ircsprintf.c
--- irc/tr-ircd.orig/files/patch-src-ircsprintf.c	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/patch-src-ircsprintf.c	Tue Feb  6 13:54:36 2007
@@ -0,0 +1,12 @@
+--- src/ircsprintf.c.orig	Tue Feb  6 12:54:02 2007
++++ src/ircsprintf.c	Tue Feb  6 12:54:20 2007
+@@ -336,7 +336,8 @@
+     const char *format = pattern;
+     char *buf = str;
+     int len = 0;
+-    va_list ap = vl;
++    va_list ap;
++    va_copy(ap,vl);
+ 
+     while (*format) {
+ 	switch (*format) {
diff -Nbur irc/tr-ircd.orig/files/patch-wordfilter-Makefile.in irc/tr-ircd/files/patch-wordfilter-Makefile.in
--- irc/tr-ircd.orig/files/patch-wordfilter-Makefile.in	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/patch-wordfilter-Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- contrib/wordfilter/Makefile.in.orig	Sat Aug 21 13:34:23 2004
-+++ contrib/wordfilter/Makefile.in	Sat Aug 21 13:34:39 2004
-@@ -16,7 +16,7 @@
- RANLIB          = @RANLIB@
- MD5SUMS         = @MD5SUMS@
- LEXLIB          = @LEXLIB@
--CFLAGS          = @IRC_CFLAGS@ -DBASENAME=\"$(BN1)$(BN2)$(BN3)\" -DIRCD_PREFIX=\"@prefix@\"
-+CFLAGS          = @IRC_CFLAGS@ -DBASENAME=\"$(BN1)$(BN2)$(BN3)\" -DIRCD_PREFIX=\"@prefix@\" -fPIC
- LDFLAGS         = @LDFLAGS@
- MKDEP           = @MKDEP@ -DBASENAME=\"$(BN1)$(BN2)$(BN3)\" -DIRCD_PREFIX=\"@prefix@\"
- MV              = @MV@
diff -Nbur irc/tr-ircd.orig/files/pkg-deinstall.in irc/tr-ircd/files/pkg-deinstall.in
--- irc/tr-ircd.orig/files/pkg-deinstall.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/pkg-deinstall.in	Tue Feb  6 13:31:17 2007
@@ -0,0 +1,22 @@
+#! /bin/sh
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+	exit 0
+fi
+
+TRIRCD_USER="%%TRIRCD_USER%%"
+TRIRCD_GROUP="%%TRIRCD_GROUP%%"
+TRIRCD_RUNDIR="%%TRIRCD_RUNDIR%%"
+TRIRCD_LOGDIR="%%TRIRCD_LOGDIR%%"
+PW="%%PW%%"
+
+if pw usershow "${TRIRCD_USER}" 2>/dev/null 1>&2; then
+	echo "This port may have created the user: ${TRIRCD_USER}" 
+	echo "To delete this user, use '${PW} userdel \"${TRIRCD_USER}\"'"
+fi
+if pw usershow "${TRIRCD_GROUP}" 2>/dev/null 1>&2; then
+	echo "This port may have created the group: ${TRIRCD_GROUP}"
+	echo "To delete this group, use '${PW} groupdel \"${TRIRCD_GROUP}\"'"
+fi
+	echo "You may need to remove ${TRIRCD_RUNDIR} and ${TRIRCD_LOGDIR} manually."
+exit 0
diff -Nbur irc/tr-ircd.orig/files/pkg-install.in irc/tr-ircd/files/pkg-install.in
--- irc/tr-ircd.orig/files/pkg-install.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/pkg-install.in	Tue Feb  6 15:35:08 2007
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+TRIRCD_USER="%%TRIRCD_USER%%"
+TRIRCD_GROUP="%%TRIRCD_GROUP%%"
+TRIRCD_RUNDIR="%%TRIRCD_RUNDIR%%"
+TRIRCD_LOGDIR="%%TRIRCD_LOGDIR%%"
+TRIRCD_CONFDIR="%%TRIRCD_CONFDIR%%"
+
+MKDIR="%%MKDIR%%"
+PW="%%PW%%"
+
+if ! ${PW} groupshow "${TRIRCD_GROUP}" 2>/dev/null 1>&2; then
+        if pw groupadd ${TRIRCD_GROUP}; then
+                echo "Added group \"${TRIRCD_GROUP}\"."
+        else
+                echo "Adding group \"${TRIRCD_GROUP}\" failed..."
+                exit 1
+        fi
+else
+	echo "You already have a group \"${TRIRCD_GROUP}\"."
+fi
+
+if ! ${PW} usershow "${TRIRCD_USER}" 2>/dev/null 1>&2; then
+        if pw useradd ${TRIRCD_USER} -g ${TRIRCD_GROUP} -h - \
+                -s "/usr/sbin/nologin" -d "%%TRIRCD_CONFDIR%%" \
+                -c "TR-IRCD pseudo-user"; \
+        then
+                echo "Added user \"${TRIRCD_USER}\"."
+        else
+                echo "Adding user \"${TRIRCD_USER}\" failed..."
+                exit 1
+        fi
+else
+	echo "You already have a user \"${TRIRCD_USER}\"."
+fi
diff -Nbur irc/tr-ircd.orig/files/pkg-message.in irc/tr-ircd/files/pkg-message.in
--- irc/tr-ircd.orig/files/pkg-message.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/pkg-message.in	Tue Feb  6 13:33:36 2007
@@ -0,0 +1,22 @@
+************************************************************************
+
+Congratulations, 
+you have installed the tr-ircd irc server.
+
+You can find example configuration files in the configuration directory: 
+%%TRIRCD_CONFDIR%%
+
+Please copy ircd.conf.sample to ircd.conf and edit to suit your needs.
+
+You might need to create the following additional files in the 
+configuration directory: kline.conf gline.conf
+
+Tool for generating IRC password hashes:
+%%DATADIR%%/tools/ircpasswd
+
+If you want SSL enabled, you might need to create a SSL Certificate. 
+Please check out "ircdssl.conf.sample" in the configuration directory.
+The certificate can be created with the following script:
+%%DATADIR%%/tools/isslconfig.sh
+
+************************************************************************
diff -Nbur irc/tr-ircd.orig/files/tr-ircd.sh irc/tr-ircd/files/tr-ircd.sh
--- irc/tr-ircd.orig/files/tr-ircd.sh	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/files/tr-ircd.sh	Thu Jan  1 01:00:00 1970
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
-    echo "$0: Cannot determine the PREFIX" >&2
-    exit 1
-fi
-
-case "$1" in
-start)
-	[ -x ${PREFIX}/bin/ircd ] && ${PREFIX}/bin/ircd > /dev/null && echo -n ' tr-ircd'
-	;;
-stop)
-	[ -r /var/run/ircd.pid ] && kill `cat /var/run/ircd.pid` && rm /var/run/ircd.pid && echo -n ' tr-ircd' 
-	;;
-*)
-	echo "Usage: `basename $0` {start|stop}" >&2
-	;;
-esac
-
-exit 0
diff -Nbur irc/tr-ircd.orig/files/trircd.in irc/tr-ircd/files/trircd.in
--- irc/tr-ircd.orig/files/trircd.in	Thu Jan  1 01:00:00 1970
+++ irc/tr-ircd/files/trircd.in	Tue Feb  6 15:35:36 2007
@@ -0,0 +1,51 @@
+#! /bin/sh
+#
+# PROVIDE: trircd
+# REQUIRE: DAEMON NETWORKING SERVERS
+#
+# Add the following line to /etc/rc.conf to enable trircd:
+#
+# trircd_enable="YES"
+#
+# Tweakable parameters for users to override in rc.conf
+
+. "%%RC_SUBR%%"
+
+name=trircd
+
+load_rc_config ${name}
+: ${trircd_enable="NO"}
+: ${trircd_user="%%TRIRCD_USER%%"}
+: ${trircd_group="%%TRIRCD_GROUP%%"}
+: ${trircd_confdir=%%TRIRCD_CONFDIR%%}
+: ${trircd_conf=${trircd_confdir}/ircd.conf}
+: ${trircd_pidfile=%%TRIRCD_RUNDIR%%/ircd.pid}
+: ${trircd_flags="-d ${trircd_confdir} -c ${trircd_conf} >/dev/null 2>&1"}
+
+rcvar=`set_rcvar`
+command=%%PREFIX%%/bin/tr-ircd
+pidfile=${trircd_pidfile}
+required_files="${trircd_conf}"
+start_precmd="start_precmd"
+
+irandom=%%DATADIR%%/tools/irandom.sh
+trircd_rundir=%%TRIRCD_RUNDIR%%
+trircd_logdir=%%TRIRCD_LOGDIR%%
+trircd_randfile=${trircd_rundir}/ircd.rand
+
+start_precmd()
+{
+	[ -d "${trircd_logdir}" ] || {
+		%%MKDIR%% ${trircd_logdir}
+		%%CHOWN%% ${trircd_user}:${trircd_group} ${trircd_logdir}
+		%%CHMOD%% 770 ${trircd_logdir}
+	}
+	[ -d "${trircd_rundir}" ] || {
+		%%MKDIR%% ${trircd_rundir}
+		%%CHOWN%% ${trircd_user}:${trircd_group} ${trircd_rundir}
+		%%CHMOD%% 770 ${trircd_rundir}
+	}
+	[ -f "${trircd_randfile}" ] || ${irandom}
+}
+
+run_rc_command "$1"
diff -Nbur irc/tr-ircd.orig/pkg-descr irc/tr-ircd/pkg-descr
--- irc/tr-ircd.orig/pkg-descr	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/pkg-descr	Tue Feb  6 13:36:16 2007
@@ -4,3 +4,6 @@
 
 - Alex Dupre
 ale at FreeBSD.org
+
+- Martin Matuska
+martin at matuska.org
diff -Nbur irc/tr-ircd.orig/pkg-plist irc/tr-ircd/pkg-plist
--- irc/tr-ircd.orig/pkg-plist	Tue Feb  6 00:05:52 2007
+++ irc/tr-ircd/pkg-plist	Tue Feb  6 15:03:42 2007
@@ -1,8 +1,10 @@
-bin/converter.sh
 bin/tr-ircd
-bin/tr-ircpasswd
-etc/tr-ircd/ircd.motd
-etc/tr-ircd/kline.conf
+etc/tr-ircd/ircd.motd.sample
+etc/tr-ircd/ircdssl.conf.sample
+etc/tr-ircd/ircd.conf.sample
+etc/tr-ircd/ihttpd.conf.sample
+etc/tr-ircd/maskfile.conf.sample
+etc/tr-ircd/socks.conf.sample
 include/tr-ircd/blalloc.h
 include/tr-ircd/capabflag.h
 include/tr-ircd/chanmode.h
@@ -20,10 +22,8 @@
 include/tr-ircd/event.h
 include/tr-ircd/fd.h
 include/tr-ircd/fileio.h
-include/tr-ircd/find.h
 include/tr-ircd/floodspam.h
 include/tr-ircd/h.h
-include/tr-ircd/hash.h
 include/tr-ircd/hook.h
 include/tr-ircd/hostmask.h
 include/tr-ircd/identity.h
@@ -33,18 +33,21 @@
 include/tr-ircd/language.h
 include/tr-ircd/linebuf.h
 include/tr-ircd/listener.h
+include/tr-ircd/logtype.h
+include/tr-ircd/maskitem.h
 include/tr-ircd/memory.h
-include/tr-ircd/modulelist.h
 include/tr-ircd/modules.h
 include/tr-ircd/motditem.h
 include/tr-ircd/msg.h
 include/tr-ircd/msgtok1.h
 include/tr-ircd/numeric.h
+include/tr-ircd/optparse.h
 include/tr-ircd/packet.h
 include/tr-ircd/parse.h
 include/tr-ircd/patchlevel.h
 include/tr-ircd/protocol.h
 include/tr-ircd/protodef.h
+include/tr-ircd/proxy.h
 include/tr-ircd/queue.h
 include/tr-ircd/resnew.h
 include/tr-ircd/s_auth.h
@@ -59,6 +62,7 @@
 include/tr-ircd/sysvar.h
 include/tr-ircd/throttle.h
 include/tr-ircd/tools.h
+include/tr-ircd/usermode.h
 include/tr-ircd/zlink.h
 lib/tr-ircd/chanmodes/cm_ban.so
 lib/tr-ircd/chanmodes/cm_chanban.so
@@ -67,15 +71,19 @@
 lib/tr-ircd/chanmodes/cm_flood.so
 lib/tr-ircd/chanmodes/cm_halfops.so
 lib/tr-ircd/chanmodes/cm_invites.so
+lib/tr-ircd/chanmodes/cm_joindelay.so
 lib/tr-ircd/chanmodes/cm_key.so
 lib/tr-ircd/chanmodes/cm_limit.so
+lib/tr-ircd/chanmodes/cm_link.so
 lib/tr-ircd/chanmodes/cm_modhost.so
 lib/tr-ircd/chanmodes/cm_owner.so
 lib/tr-ircd/chanmodes/cm_protect.so
 lib/tr-ircd/chanmodes/cm_singles.so
 lib/tr-ircd/chanmodes/cm_voice.so
 lib/tr-ircd/contrib/m_admins.so
+lib/tr-ircd/contrib/m_ewhois.so
 lib/tr-ircd/contrib/m_locops.so
+lib/tr-ircd/contrib/m_restart.so
 lib/tr-ircd/contrib/m_rnotice.so
 lib/tr-ircd/contrib/m_sadmins.so
 lib/tr-ircd/contrib/m_topic.so
@@ -83,7 +91,10 @@
 lib/tr-ircd/contrib/wordfilter.so
 lib/tr-ircd/languages/lang_eng_funny.so
 lib/tr-ircd/languages/lang_eng_old.so
+lib/tr-ircd/languages/lang_greek.so
+lib/tr-ircd/languages/lang_greeklish.so
 lib/tr-ircd/languages/lang_turkish.so
+lib/tr-ircd/modules/m_accept.so
 lib/tr-ircd/modules/m_admin.so
 lib/tr-ircd/modules/m_akill.so
 lib/tr-ircd/modules/m_away.so
@@ -91,13 +102,13 @@
 lib/tr-ircd/modules/m_capab.so
 lib/tr-ircd/modules/m_close.so
 lib/tr-ircd/modules/m_connect.so
+lib/tr-ircd/modules/m_core.so
 lib/tr-ircd/modules/m_dccallow.so
 lib/tr-ircd/modules/m_die.so
 lib/tr-ircd/modules/m_display.so
 lib/tr-ircd/modules/m_dkey.so
 lib/tr-ircd/modules/m_error.so
 lib/tr-ircd/modules/m_exclude.so
-lib/tr-ircd/modules/m_fakeip.so
 lib/tr-ircd/modules/m_globops.so
 lib/tr-ircd/modules/m_gnotice.so
 lib/tr-ircd/modules/m_goper.so
@@ -112,6 +123,7 @@
 lib/tr-ircd/modules/m_kick.so
 lib/tr-ircd/modules/m_kill.so
 lib/tr-ircd/modules/m_kline.so
+lib/tr-ircd/modules/m_knock.so
 lib/tr-ircd/modules/m_links.so
 lib/tr-ircd/modules/m_list.so
 lib/tr-ircd/modules/m_lusers.so
@@ -124,7 +136,11 @@
 lib/tr-ircd/modules/m_names.so
 lib/tr-ircd/modules/m_nick.so
 lib/tr-ircd/modules/m_oper.so
-lib/tr-ircd/modules/m_operdo.so
+lib/tr-ircd/modules/m_operdo_help.so
+lib/tr-ircd/modules/m_operdo_join.so
+lib/tr-ircd/modules/m_operdo_kick.so
+lib/tr-ircd/modules/m_operdo_mode.so
+lib/tr-ircd/modules/m_operdo_topic.so
 lib/tr-ircd/modules/m_part.so
 lib/tr-ircd/modules/m_pass.so
 lib/tr-ircd/modules/m_ping.so
@@ -133,8 +149,8 @@
 lib/tr-ircd/modules/m_quit.so
 lib/tr-ircd/modules/m_rakill.so
 lib/tr-ircd/modules/m_rehash.so
-lib/tr-ircd/modules/m_restart.so
 lib/tr-ircd/modules/m_rexclude.so
+lib/tr-ircd/modules/m_rexcom.so
 lib/tr-ircd/modules/m_rping.so
 lib/tr-ircd/modules/m_samode.so
 lib/tr-ircd/modules/m_server.so
@@ -161,6 +177,7 @@
 lib/tr-ircd/modules/m_time.so
 lib/tr-ircd/modules/m_topic.so
 lib/tr-ircd/modules/m_trace.so
+lib/tr-ircd/modules/m_ucheck.so
 lib/tr-ircd/modules/m_unjupiter.so
 lib/tr-ircd/modules/m_unkline.so
 lib/tr-ircd/modules/m_unsgline.so
@@ -176,129 +193,231 @@
 lib/tr-ircd/modules/m_who.so
 lib/tr-ircd/modules/m_whois.so
 lib/tr-ircd/modules/m_whowas.so
-lib/tr-ircd/protocol/compat.so
-lib/tr-ircd/protocol/halcyon.so
+lib/tr-ircd/modules/r_gecos.so
+lib/tr-ircd/modules/r_jupiter.so
+lib/tr-ircd/modules/r_kline.so
+lib/tr-ircd/modules/r_quarantine.so
 lib/tr-ircd/protocol/native.so
-lib/tr-ircd/protocol/pelennor.so
-share/tr-ircd/help/en_us/admin
-share/tr-ircd/help/en_us/akill
-share/tr-ircd/help/en_us/away
-share/tr-ircd/help/en_us/burst
-share/tr-ircd/help/en_us/capab
-share/tr-ircd/help/en_us/channelmodes
-share/tr-ircd/help/en_us/close
-share/tr-ircd/help/en_us/connect
-share/tr-ircd/help/en_us/dccallow
-share/tr-ircd/help/en_us/die
-share/tr-ircd/help/en_us/display
-share/tr-ircd/help/en_us/dkey
-share/tr-ircd/help/en_us/error
-share/tr-ircd/help/en_us/exclude
-share/tr-ircd/help/en_us/gline
-share/tr-ircd/help/en_us/globops
-share/tr-ircd/help/en_us/gnotice
-share/tr-ircd/help/en_us/goper
-share/tr-ircd/help/en_us/hash
-share/tr-ircd/help/en_us/help
-share/tr-ircd/help/en_us/index
-share/tr-ircd/help/en_us/info
-share/tr-ircd/help/en_us/invite
-share/tr-ircd/help/en_us/ircops
-share/tr-ircd/help/en_us/ison
-share/tr-ircd/help/en_us/join
-share/tr-ircd/help/en_us/jupiter
-share/tr-ircd/help/en_us/kick
-share/tr-ircd/help/en_us/kill
-share/tr-ircd/help/en_us/kline
-share/tr-ircd/help/en_us/links
-share/tr-ircd/help/en_us/list
-share/tr-ircd/help/en_us/lusers
-share/tr-ircd/help/en_us/map
-share/tr-ircd/help/en_us/mkpasswd
-share/tr-ircd/help/en_us/mode
-share/tr-ircd/help/en_us/modules
-share/tr-ircd/help/en_us/motd
-share/tr-ircd/help/en_us/myid
-share/tr-ircd/help/en_us/names
-share/tr-ircd/help/en_us/netset
-share/tr-ircd/help/en_us/nick
-share/tr-ircd/help/en_us/notice
-share/tr-ircd/help/en_us/oper
-share/tr-ircd/help/en_us/operdo
-share/tr-ircd/help/en_us/part
-share/tr-ircd/help/en_us/pass
-share/tr-ircd/help/en_us/ping
-share/tr-ircd/help/en_us/pong
-share/tr-ircd/help/en_us/privmsg
-share/tr-ircd/help/en_us/quit
-share/tr-ircd/help/en_us/rakill
-share/tr-ircd/help/en_us/rehash
-share/tr-ircd/help/en_us/restart
-share/tr-ircd/help/en_us/rexclude
-share/tr-ircd/help/en_us/samode
-share/tr-ircd/help/en_us/server
-share/tr-ircd/help/en_us/service
-share/tr-ircd/help/en_us/services
-share/tr-ircd/help/en_us/servlist
-share/tr-ircd/help/en_us/servset
-share/tr-ircd/help/en_us/set
-share/tr-ircd/help/en_us/setlang
-share/tr-ircd/help/en_us/sgline
-share/tr-ircd/help/en_us/silence
-share/tr-ircd/help/en_us/sjoin
-share/tr-ircd/help/en_us/sqline
-share/tr-ircd/help/en_us/squery
-share/tr-ircd/help/en_us/squit
-share/tr-ircd/help/en_us/stats
-share/tr-ircd/help/en_us/svinfo
-share/tr-ircd/help/en_us/svsjoin
-share/tr-ircd/help/en_us/svskill
-share/tr-ircd/help/en_us/svsmode
-share/tr-ircd/help/en_us/svsnick
-share/tr-ircd/help/en_us/svsnoop
-share/tr-ircd/help/en_us/szline
-share/tr-ircd/help/en_us/time
-share/tr-ircd/help/en_us/topic
-share/tr-ircd/help/en_us/trace
-share/tr-ircd/help/en_us/ungline
-share/tr-ircd/help/en_us/unjupiter
-share/tr-ircd/help/en_us/unkline
-share/tr-ircd/help/en_us/unsgline
-share/tr-ircd/help/en_us/unsqline
-share/tr-ircd/help/en_us/unszline
-share/tr-ircd/help/en_us/user
-share/tr-ircd/help/en_us/userhost
-share/tr-ircd/help/en_us/userip
-share/tr-ircd/help/en_us/usermodes
-share/tr-ircd/help/en_us/users
-share/tr-ircd/help/en_us/version
-share/tr-ircd/help/en_us/wallops
-share/tr-ircd/help/en_us/watch
-share/tr-ircd/help/en_us/who
-share/tr-ircd/help/en_us/whois
-share/tr-ircd/help/en_us/whowas
+lib/tr-ircd/tools/httpd.so
+%%DATADIR%%/help/en_us/admin
+%%DATADIR%%/help/en_us/accept
+%%DATADIR%%/help/en_us/akill
+%%DATADIR%%/help/en_us/away
+%%DATADIR%%/help/en_us/burst
+%%DATADIR%%/help/en_us/capab
+%%DATADIR%%/help/en_us/channelmodes
+%%DATADIR%%/help/en_us/close
+%%DATADIR%%/help/en_us/connect
+%%DATADIR%%/help/en_us/dccallow
+%%DATADIR%%/help/en_us/die
+%%DATADIR%%/help/en_us/display
+%%DATADIR%%/help/en_us/dkey
+%%DATADIR%%/help/en_us/error
+%%DATADIR%%/help/en_us/exclude
+%%DATADIR%%/help/en_us/gline
+%%DATADIR%%/help/en_us/globops
+%%DATADIR%%/help/en_us/gnotice
+%%DATADIR%%/help/en_us/goper
+%%DATADIR%%/help/en_us/hash
+%%DATADIR%%/help/en_us/help
+%%DATADIR%%/help/en_us/index
+%%DATADIR%%/help/en_us/info
+%%DATADIR%%/help/en_us/invite
+%%DATADIR%%/help/en_us/ircops
+%%DATADIR%%/help/en_us/ison
+%%DATADIR%%/help/en_us/join
+%%DATADIR%%/help/en_us/jupiter
+%%DATADIR%%/help/en_us/kick
+%%DATADIR%%/help/en_us/kill
+%%DATADIR%%/help/en_us/kline
+%%DATADIR%%/help/en_us/links
+%%DATADIR%%/help/en_us/list
+%%DATADIR%%/help/en_us/localchans
+%%DATADIR%%/help/en_us/lusers
+%%DATADIR%%/help/en_us/map
+%%DATADIR%%/help/en_us/mkpasswd
+%%DATADIR%%/help/en_us/mode
+%%DATADIR%%/help/en_us/modules
+%%DATADIR%%/help/en_us/motd
+%%DATADIR%%/help/en_us/myid
+%%DATADIR%%/help/en_us/names
+%%DATADIR%%/help/en_us/netset
+%%DATADIR%%/help/en_us/nick
+%%DATADIR%%/help/en_us/notice
+%%DATADIR%%/help/en_us/oper
+%%DATADIR%%/help/en_us/operdo
+%%DATADIR%%/help/en_us/part
+%%DATADIR%%/help/en_us/pass
+%%DATADIR%%/help/en_us/ping
+%%DATADIR%%/help/en_us/pong
+%%DATADIR%%/help/en_us/privmsg
+%%DATADIR%%/help/en_us/quit
+%%DATADIR%%/help/en_us/rakill
+%%DATADIR%%/help/en_us/rehash
+%%DATADIR%%/help/en_us/restart
+%%DATADIR%%/help/en_us/rexclude
+%%DATADIR%%/help/en_us/rexcom
+%%DATADIR%%/help/en_us/samode
+%%DATADIR%%/help/en_us/server
+%%DATADIR%%/help/en_us/service
+%%DATADIR%%/help/en_us/services
+%%DATADIR%%/help/en_us/servlist
+%%DATADIR%%/help/en_us/servset
+%%DATADIR%%/help/en_us/set
+%%DATADIR%%/help/en_us/setlang
+%%DATADIR%%/help/en_us/sgline
+%%DATADIR%%/help/en_us/silence
+%%DATADIR%%/help/en_us/sjoin
+%%DATADIR%%/help/en_us/sqline
+%%DATADIR%%/help/en_us/squery
+%%DATADIR%%/help/en_us/squit
+%%DATADIR%%/help/en_us/stats
+%%DATADIR%%/help/en_us/svinfo
+%%DATADIR%%/help/en_us/svsjoin
+%%DATADIR%%/help/en_us/svskill
+%%DATADIR%%/help/en_us/svsmode
+%%DATADIR%%/help/en_us/svsnick
+%%DATADIR%%/help/en_us/svsnoop
+%%DATADIR%%/help/en_us/szline
+%%DATADIR%%/help/en_us/time
+%%DATADIR%%/help/en_us/topic
+%%DATADIR%%/help/en_us/trace
+%%DATADIR%%/help/en_us/ungline
+%%DATADIR%%/help/en_us/unjupiter
+%%DATADIR%%/help/en_us/unkline
+%%DATADIR%%/help/en_us/unsgline
+%%DATADIR%%/help/en_us/unsqline
+%%DATADIR%%/help/en_us/unszline
+%%DATADIR%%/help/en_us/user
+%%DATADIR%%/help/en_us/userhost
+%%DATADIR%%/help/en_us/userip
+%%DATADIR%%/help/en_us/usermodes
+%%DATADIR%%/help/en_us/users
+%%DATADIR%%/help/en_us/version
+%%DATADIR%%/help/en_us/wallops
+%%DATADIR%%/help/en_us/watch
+%%DATADIR%%/help/en_us/who
+%%DATADIR%%/help/en_us/whois
+%%DATADIR%%/help/en_us/whowas
+%%DATADIR%%/help/tr/admin
+%%DATADIR%%/help/tr/accept
+%%DATADIR%%/help/tr/akill
+%%DATADIR%%/help/tr/away
+%%DATADIR%%/help/tr/burst
+%%DATADIR%%/help/tr/capab
+%%DATADIR%%/help/tr/channelmodes
+%%DATADIR%%/help/tr/close
+%%DATADIR%%/help/tr/connect
+%%DATADIR%%/help/tr/dccallow
+%%DATADIR%%/help/tr/die
+%%DATADIR%%/help/tr/dkey
+%%DATADIR%%/help/tr/error
+%%DATADIR%%/help/tr/exclude
+%%DATADIR%%/help/tr/gline
+%%DATADIR%%/help/tr/globops
+%%DATADIR%%/help/tr/gnotice
+%%DATADIR%%/help/tr/goper
+%%DATADIR%%/help/tr/hash
+%%DATADIR%%/help/tr/help
+%%DATADIR%%/help/tr/index
+%%DATADIR%%/help/tr/info
+%%DATADIR%%/help/tr/invite
+%%DATADIR%%/help/tr/ircops
+%%DATADIR%%/help/tr/ison
+%%DATADIR%%/help/tr/join
+%%DATADIR%%/help/tr/jupiter
+%%DATADIR%%/help/tr/kick
+%%DATADIR%%/help/tr/kill
+%%DATADIR%%/help/tr/kline
+%%DATADIR%%/help/tr/links
+%%DATADIR%%/help/tr/list
+%%DATADIR%%/help/tr/localchans
+%%DATADIR%%/help/tr/lusers
+%%DATADIR%%/help/tr/map
+%%DATADIR%%/help/tr/mkpasswd
+%%DATADIR%%/help/tr/mode
+%%DATADIR%%/help/tr/modules
+%%DATADIR%%/help/tr/motd
+%%DATADIR%%/help/tr/myid
+%%DATADIR%%/help/tr/names
+%%DATADIR%%/help/tr/nick
+%%DATADIR%%/help/tr/notice
+%%DATADIR%%/help/tr/oper
+%%DATADIR%%/help/tr/operdo
+%%DATADIR%%/help/tr/part
+%%DATADIR%%/help/tr/pass
+%%DATADIR%%/help/tr/ping
+%%DATADIR%%/help/tr/pong
+%%DATADIR%%/help/tr/privmsg
+%%DATADIR%%/help/tr/quit
+%%DATADIR%%/help/tr/rakill
+%%DATADIR%%/help/tr/rehash
+%%DATADIR%%/help/tr/restart
+%%DATADIR%%/help/tr/rexclude
+%%DATADIR%%/help/tr/samode
+%%DATADIR%%/help/tr/server
+%%DATADIR%%/help/tr/service
+%%DATADIR%%/help/tr/services
+%%DATADIR%%/help/tr/servlist
+%%DATADIR%%/help/tr/setlang
+%%DATADIR%%/help/tr/sgline
+%%DATADIR%%/help/tr/silence
+%%DATADIR%%/help/tr/sjoin
+%%DATADIR%%/help/tr/sqline
+%%DATADIR%%/help/tr/squery
+%%DATADIR%%/help/tr/squit
+%%DATADIR%%/help/tr/stats
+%%DATADIR%%/help/tr/svsjoin
+%%DATADIR%%/help/tr/svskill
+%%DATADIR%%/help/tr/svsmode
+%%DATADIR%%/help/tr/svsnick
+%%DATADIR%%/help/tr/svsnoop
+%%DATADIR%%/help/tr/szline
+%%DATADIR%%/help/tr/time
+%%DATADIR%%/help/tr/topic
+%%DATADIR%%/help/tr/trace
+%%DATADIR%%/help/tr/ungline
+%%DATADIR%%/help/tr/unjupiter
+%%DATADIR%%/help/tr/unkline
+%%DATADIR%%/help/tr/unsgline
+%%DATADIR%%/help/tr/unsqline
+%%DATADIR%%/help/tr/unszline
+%%DATADIR%%/help/tr/user
+%%DATADIR%%/help/tr/userhost
+%%DATADIR%%/help/tr/userip
+%%DATADIR%%/help/tr/usermodes
+%%DATADIR%%/help/tr/users
+%%DATADIR%%/help/tr/version
+%%DATADIR%%/help/tr/wallops
+%%DATADIR%%/help/tr/watch
+%%DATADIR%%/help/tr/who
+%%DATADIR%%/help/tr/whois
+%%DATADIR%%/help/tr/whowas
+%%DATADIR%%/tools/irandom.sh
+%%DATADIR%%/tools/ircpasswd
+%%DATADIR%%/tools/isslconfig.sh
+%%DATADIR%%/tools/iupdt.sh
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/Changes
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/Manual
-%%PORTDOCS%%%%DOCSDIR%%/Operators
-%%PORTDOCS%%%%DOCSDIR%%/README.TSora
-%%PORTDOCS%%%%DOCSDIR%%/README.small_nets
-%%PORTDOCS%%%%DOCSDIR%%/TR-Ircd-Team
-%%PORTDOCS%%%%DOCSDIR%%/example.conf
-%%PORTDOCS%%%%DOCSDIR%%/operguide.txt
-%%PORTDOCS%%%%DOCSDIR%%/opermyth.txt
-%%PORTDOCS%%%%DOCSDIR%%/opers.txt
-%%PORTDOCS%%%%DOCSDIR%%/serverhide.txt
- at dirrm %%PORTDOCS%%%%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/README.FIRST
+%%PORTDOCS%%%%DOCSDIR%%/README.HTTPD
+%%PORTDOCS%%%%DOCSDIR%%/README.OPM
+%%PORTDOCS%%%%DOCSDIR%%/RELNOTES
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%
+ at dirrm %%DATADIR%%/help/en_us
+ at dirrm %%DATADIR%%/help/tr
+ at dirrm %%DATADIR%%/help
+ at dirrm %%DATADIR%%/tools
+ at dirrm %%DATADIR%%
 @dirrm include/tr-ircd
 @dirrm lib/tr-ircd/chanmodes
 @dirrm lib/tr-ircd/contrib
 @dirrm lib/tr-ircd/languages
 @dirrm lib/tr-ircd/modules
 @dirrm lib/tr-ircd/protocol
+ at dirrm lib/tr-ircd/tools
 @dirrm lib/tr-ircd
- at dirrm share/tr-ircd/help/en_us
- at dirrm share/tr-ircd/help
- at dirrm share/tr-ircd
+ at dirrmtry etc/tr-ircd
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list