diff options
Diffstat (limited to 'irc/tr-ircd/files')
-rw-r--r-- | irc/tr-ircd/files/patch-Makefile.in | 21 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-autoconf-ircpathgen | 7 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-configure | 29 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-doc-Makefile.in | 24 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-include-config.h | 26 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-include-logtype.h | 25 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-lib-md5-Makefile.in | 11 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-lib-md5-getline.h | 16 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-newconf-Makefile.in | 11 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-src-Makefile.in | 48 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-src-ircsprintf.c | 12 | ||||
-rw-r--r-- | irc/tr-ircd/files/pkg-deinstall.in | 11 | ||||
-rw-r--r-- | irc/tr-ircd/files/pkg-message.in | 22 | ||||
-rw-r--r-- | irc/tr-ircd/files/trircd.in | 51 |
14 files changed, 0 insertions, 314 deletions
diff --git a/irc/tr-ircd/files/patch-Makefile.in b/irc/tr-ircd/files/patch-Makefile.in deleted file mode 100644 index f497a7c2d113..000000000000 --- a/irc/tr-ircd/files/patch-Makefile.in +++ /dev/null @@ -1,21 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-autoconf-ircpathgen b/irc/tr-ircd/files/patch-autoconf-ircpathgen deleted file mode 100644 index 91509ba1bd05..000000000000 --- a/irc/tr-ircd/files/patch-autoconf-ircpathgen +++ /dev/null @@ -1,7 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-configure b/irc/tr-ircd/files/patch-configure deleted file mode 100644 index 19982744e625..000000000000 --- a/irc/tr-ircd/files/patch-configure +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.orig Tue Jan 18 17:06:36 2005 -+++ configure Wed Feb 7 12:27:41 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" - ;; -@@ -3665,7 +3665,7 @@ - - - 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 -@@ -9865,7 +9865,7 @@ - #include <openssl/opensslv.h> - #include <stdlib.h> - int main(void) { -- if ( (OPENSSL_VERSION_NUMBER & 0x00906000) == 0x00906000) -+ if ( OPENSSL_VERSION_NUMBER >= 0x00906000 ) - { - exit(0); - } diff --git a/irc/tr-ircd/files/patch-doc-Makefile.in b/irc/tr-ircd/files/patch-doc-Makefile.in deleted file mode 100644 index 8148827122e9..000000000000 --- a/irc/tr-ircd/files/patch-doc-Makefile.in +++ /dev/null @@ -1,24 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-include-config.h b/irc/tr-ircd/files/patch-include-config.h deleted file mode 100644 index cc3f6287546c..000000000000 --- a/irc/tr-ircd/files/patch-include-config.h +++ /dev/null @@ -1,26 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-include-logtype.h b/irc/tr-ircd/files/patch-include-logtype.h deleted file mode 100644 index fc387d216802..000000000000 --- a/irc/tr-ircd/files/patch-include-logtype.h +++ /dev/null @@ -1,25 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-lib-md5-Makefile.in b/irc/tr-ircd/files/patch-lib-md5-Makefile.in deleted file mode 100644 index d14f22d8f1af..000000000000 --- a/irc/tr-ircd/files/patch-lib-md5-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-lib-md5-getline.h b/irc/tr-ircd/files/patch-lib-md5-getline.h deleted file mode 100644 index 093ce1af8b19..000000000000 --- a/irc/tr-ircd/files/patch-lib-md5-getline.h +++ /dev/null @@ -1,16 +0,0 @@ ---- lib/md5/getline.h.orig 2009-06-18 13:54:02.000000000 +0200 -+++ lib/md5/getline.h 2009-06-18 13:56:18.000000000 +0200 -@@ -34,8 +34,13 @@ - int - getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); - -+#if defined(__FreeBSD__) -+#include <osreldate.h> -+#if __FreeBSD_version < 800067 - int - getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); -+#endif -+#endif - - /* - * # endif diff --git a/irc/tr-ircd/files/patch-newconf-Makefile.in b/irc/tr-ircd/files/patch-newconf-Makefile.in deleted file mode 100644 index 51ac44063d53..000000000000 --- a/irc/tr-ircd/files/patch-newconf-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-src-Makefile.in b/irc/tr-ircd/files/patch-src-Makefile.in deleted file mode 100644 index a1d01abae990..000000000000 --- a/irc/tr-ircd/files/patch-src-Makefile.in +++ /dev/null @@ -1,48 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/patch-src-ircsprintf.c b/irc/tr-ircd/files/patch-src-ircsprintf.c deleted file mode 100644 index 0e1010ce38ef..000000000000 --- a/irc/tr-ircd/files/patch-src-ircsprintf.c +++ /dev/null @@ -1,12 +0,0 @@ ---- 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 --git a/irc/tr-ircd/files/pkg-deinstall.in b/irc/tr-ircd/files/pkg-deinstall.in deleted file mode 100644 index 4da1c1433c38..000000000000 --- a/irc/tr-ircd/files/pkg-deinstall.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -TRIRCD_RUNDIR="%%TRIRCD_RUNDIR%%" -TRIRCD_LOGDIR="%%TRIRCD_LOGDIR%%" - - echo "You may need to remove ${TRIRCD_RUNDIR} and ${TRIRCD_LOGDIR} manually." -exit 0 diff --git a/irc/tr-ircd/files/pkg-message.in b/irc/tr-ircd/files/pkg-message.in deleted file mode 100644 index 9a9f74257a10..000000000000 --- a/irc/tr-ircd/files/pkg-message.in +++ /dev/null @@ -1,22 +0,0 @@ -************************************************************************ - -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 --git a/irc/tr-ircd/files/trircd.in b/irc/tr-ircd/files/trircd.in deleted file mode 100644 index fc0c3a380ecc..000000000000 --- a/irc/tr-ircd/files/trircd.in +++ /dev/null @@ -1,51 +0,0 @@ -#! /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 - -. /etc/rc.subr - -name=trircd -rcvar=trircd_enable - -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"} - -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" |