diff options
Diffstat (limited to 'irc/tr-ircd/files')
-rw-r--r-- | irc/tr-ircd/files/patch-configure | 11 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-doc::Makefile.in | 12 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-help::Makefile.in | 13 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-include::capabflag.h | 10 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-include::config.h | 27 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-include::memory.h | 15 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-src::Makefile.in | 10 | ||||
-rw-r--r-- | irc/tr-ircd/files/tr-ircd.sh | 20 |
8 files changed, 118 insertions, 0 deletions
diff --git a/irc/tr-ircd/files/patch-configure b/irc/tr-ircd/files/patch-configure new file mode 100644 index 000000000000..36fe023e5742 --- /dev/null +++ b/irc/tr-ircd/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sun May 19 11:10:35 2002 ++++ configure Sun May 19 11:10:57 2002 +@@ -2457,7 +2457,7 @@ + ;; + esac + fi +-MD5SUMS=$ac_cv_path_MD5SUMS ++MD5SUMS=../md5/$ac_cv_path_MD5SUMS + + if test -n "$MD5SUMS"; then + echo "$as_me:2463: result: $MD5SUMS" >&5 diff --git a/irc/tr-ircd/files/patch-doc::Makefile.in b/irc/tr-ircd/files/patch-doc::Makefile.in new file mode 100644 index 000000000000..9044c8048b79 --- /dev/null +++ b/irc/tr-ircd/files/patch-doc::Makefile.in @@ -0,0 +1,12 @@ +--- doc/Makefile.in.orig Sun May 5 11:01:56 2002 ++++ doc/Makefile.in Sun May 5 11:03:18 2002 +@@ -60,7 +60,8 @@ + install: build + @echo "Installing config files" + $(INSTALL) -d ${sysconfdir} +- ${INSTALL} $(CONFS) $(DEFAULTCONFS) ${sysconfdir} ++ ${INSTALL} $(CONFS) ${sysconfdir}/ircd.conf.sample ++ ${INSTALL} $(DEFAULTCONFS) ${sysconfdir} + touch ${sysconfdir}/kline.conf + @echo "Installing manpages" + $(INSTALL) -d ${mandir} diff --git a/irc/tr-ircd/files/patch-help::Makefile.in b/irc/tr-ircd/files/patch-help::Makefile.in new file mode 100644 index 000000000000..f261abd4ced8 --- /dev/null +++ b/irc/tr-ircd/files/patch-help::Makefile.in @@ -0,0 +1,13 @@ +--- help/Makefile.in.orig Sat May 18 17:36:29 2002 ++++ help/Makefile.in Sun May 19 11:13:10 2002 +@@ -51,8 +51,8 @@ + + install: + @echo "Installing help files" +- @${RM} -rf ${prefix}/help/en_us +- @${CP} -dpR en_us ${prefix}/help/ ++ @mkdir -p ${prefix}/share/tr-ircd/help ++ @${CP} -pR en_us ${prefix}/share/tr-ircd/help/ + + makesums: + @echo "Creating .md5sums..." diff --git a/irc/tr-ircd/files/patch-include::capabflag.h b/irc/tr-ircd/files/patch-include::capabflag.h new file mode 100644 index 000000000000..4e9f97f880b3 --- /dev/null +++ b/irc/tr-ircd/files/patch-include::capabflag.h @@ -0,0 +1,10 @@ +--- include/capabflag.h.orig Sat May 4 15:31:48 2002 ++++ include/capabflag.h Sat May 4 15:32:07 2002 +@@ -396,6 +396,7 @@ + * defined debugging levels + */ + #define LOG_FATAL 0 ++#define LOG_CRIT 0 + #define LOG_ERROR 1 /* report_error() and other errors that + * are found */ + #define LOG_NOTICE 2 diff --git a/irc/tr-ircd/files/patch-include::config.h b/irc/tr-ircd/files/patch-include::config.h new file mode 100644 index 000000000000..937dbe5dacad --- /dev/null +++ b/irc/tr-ircd/files/patch-include::config.h @@ -0,0 +1,27 @@ +--- include/config.h.orig Sat May 4 15:57:33 2002 ++++ include/config.h Sat May 4 15:59:21 2002 +@@ -33,12 +33,12 @@ + #define KLINEFILE IRCD_PREFIX "/etc/kline.conf" + #define MOTD IRCD_PREFIX "/etc/ircd.motd" + #define SHORTMOTD IRCD_PREFIX "/etc/ircd.smotd" +-#define LOGFILE IRCD_PREFIX "/etc/ircd.log" ++#define LOGFILE "/var/log/ircd.log" + #define LINKSFILE IRCD_PREFIX "/etc/ircd.links" + +-#define IRCD_PIDFILE IRCD_PREFIX "/tmp/ircd.pid" ++#define IRCD_PIDFILE "/var/run/ircd.pid" + +-#define HELPPATH IRCD_PREFIX "/help/en_us" ++#define HELPPATH IRCD_PREFIX "/share/tr-ircd/help/en_us" + + /* + * LOCKFILE - Exclusive use of ircd.conf and kline.conf during writes +@@ -51,7 +51,7 @@ + * minutes have elapsed. + */ + +-#define LOCKFILE IRCD_PREFIX "/tmp/ircd.conf.lock" ++#define LOCKFILE "/tmp/ircd.conf.lock" + + #define USE_FAKEHOST + diff --git a/irc/tr-ircd/files/patch-include::memory.h b/irc/tr-ircd/files/patch-include::memory.h new file mode 100644 index 000000000000..6fd6408a49d5 --- /dev/null +++ b/irc/tr-ircd/files/patch-include::memory.h @@ -0,0 +1,15 @@ +--- include/memory.h.orig Sun May 19 11:25:19 2002 ++++ include/memory.h Sun May 19 11:25:32 2002 +@@ -17,12 +17,6 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#ifndef HAVE_STDINT_H +-#ifndef HAVE_UINTPTR_T +-typedef unsigned long uintptr_t; +-#endif +-#endif +- + #define MyFree(x) if ((x) != NULL) free(x) + + extern char *MyMalloc(size_t); diff --git a/irc/tr-ircd/files/patch-src::Makefile.in b/irc/tr-ircd/files/patch-src::Makefile.in new file mode 100644 index 000000000000..0b8b57da2d72 --- /dev/null +++ b/irc/tr-ircd/files/patch-src::Makefile.in @@ -0,0 +1,10 @@ +--- src/Makefile.in.orig Sat May 4 16:20:36 2002 ++++ src/Makefile.in Sat May 4 16:22:57 2002 +@@ -88,7 +88,6 @@ + install: + @echo "Installing ircd" + $(INSTALL) -d ${bindir} +- $(INSTALL) -d ${prefix}/tmp + $(INSTALL) $(PROGS) ${bindir} + + makesums: diff --git a/irc/tr-ircd/files/tr-ircd.sh b/irc/tr-ircd/files/tr-ircd.sh new file mode 100644 index 000000000000..9fc9fcf027d0 --- /dev/null +++ b/irc/tr-ircd/files/tr-ircd.sh @@ -0,0 +1,20 @@ +#!/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 |