summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-12-17 02:39:22 +0000
committerChuck Short <zul@gentoo.org>2003-12-17 02:39:22 +0000
commit66ab362b63f9585630ac288e63afacc8b9ac0fb8 (patch)
tree24db7c4de3569665f332955210bda2a447a9d2cb /net-irc/ircd-hybrid/files
parentInitial version, closes bug #10275 (diff)
downloadhistorical-66ab362b63f9585630ac288e63afacc8b9ac0fb8.tar.gz
historical-66ab362b63f9585630ac288e63afacc8b9ac0fb8.tar.bz2
historical-66ab362b63f9585630ac288e63afacc8b9ac0fb8.zip
Initial version, closes bug #10275
Diffstat (limited to 'net-irc/ircd-hybrid/files')
-rw-r--r--net-irc/ircd-hybrid/files/conf.d_ircd9
-rw-r--r--net-irc/ircd-hybrid/files/config-ipv4.diff56
-rw-r--r--net-irc/ircd-hybrid/files/config-ipv6.diff56
-rw-r--r--net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.01
-rw-r--r--net-irc/ircd-hybrid/files/init.d_ircd49
-rw-r--r--net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff78
6 files changed, 249 insertions, 0 deletions
diff --git a/net-irc/ircd-hybrid/files/conf.d_ircd b/net-irc/ircd-hybrid/files/conf.d_ircd
new file mode 100644
index 000000000000..7d7b9a44c336
--- /dev/null
+++ b/net-irc/ircd-hybrid/files/conf.d_ircd
@@ -0,0 +1,9 @@
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/files/conf.d_ircd,v 1.1 2003/12/17 02:37:45 zul Exp $
+
+# Config file for /etc/init.d/ircd
+
+# See options in ircd(8). Set {IPV4,IPV6}_OPTS="no" if you don't want the
+# respective ircd-{ipv4,ipv6} daemon to be started.
+IPV4_OPTS=""
+IPV6_OPTS=""
diff --git a/net-irc/ircd-hybrid/files/config-ipv4.diff b/net-irc/ircd-hybrid/files/config-ipv4.diff
new file mode 100644
index 000000000000..227b44647b10
--- /dev/null
+++ b/net-irc/ircd-hybrid/files/config-ipv4.diff
@@ -0,0 +1,56 @@
+136,138c136,138
+< #define BINPATH IRCD_PREFIX "/bin/"
+< #define MODPATH IRCD_PREFIX "/modules/"
+< #define AUTOMODPATH IRCD_PREFIX "/modules/autoload/"
+---
+> #define BINPATH "/usr/sbin/"
+> #define MODPATH "/usr/lib/ircd-hybrid-7/ipv4/"
+> #define AUTOMODPATH MODPATH "/autoload/"
+140,141c140,141
+< #define ETCPATH IRCD_PREFIX "/etc"
+< #define LOGPATH IRCD_PREFIX "/logs"
+---
+> #define ETCPATH "/etc/ircd"
+> #define LOGPATH "/var/log/ircd"
+146c146
+< #define SPATH BINPATH "/ircd" /* ircd executable */
+---
+> #define SPATH BINPATH "/ircd-ipv4" /* ircd executable */
+148,157c148,157
+< #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
+< #define KPATH ETCPATH "/kline.conf" /* kline file */
+< #define DLPATH ETCPATH "/dline.conf" /* dline file */
+< #define GPATH LOGPATH "/gline.log" /* gline logfile */
+< #define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */
+< #define MPATH ETCPATH "/ircd.motd" /* MOTD file */
+< #define LPATH LOGPATH "/ircd.log" /* ircd logfile */
+< #define PPATH ETCPATH "/ircd.pid" /* pid file */
+< #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
+< #define LIPATH ETCPATH "/links.txt" /* cached links file */
+---
+> #define CPATH ETCPATH "/ircd-ipv4.conf" /* ircd.conf file */
+> #define KPATH ETCPATH "/kline-ipv4.conf" /* kline file */
+> #define DLPATH ETCPATH "/dline-ipv4.conf" /* dline file */
+> #define GPATH LOGPATH "/gline-ipv4.log" /* gline logfile */
+> #define RPATH ETCPATH "/ircd-ipv4.rsa" /* ircd rsa private keyfile */
+> #define MPATH ETCPATH "/ircd-ipv4.motd" /* MOTD file */
+> #define LPATH LOGPATH "/ircd-ipv4.log" /* ircd logfile */
+> #define PPATH "/var/run/ircd/ircd-ipv4.pid" /* pid file */
+> #define OPATH ETCPATH "/opers-ipv4.motd" /* oper MOTD file */
+> #define LIPATH ETCPATH "/links-ipv4.txt" /* cached links file */
+214c214
+< #undef USE_SYSLOG
+---
+> #define USE_SYSLOG
+221,225c221,225
+< #undef SYSLOG_KILL /* log all operator kills to syslog */
+< #undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
+< #undef SYSLOG_CONNECT /* log remote connect messages for other all servs */
+< #undef SYSLOG_USERS /* send userlog stuff to syslog */
+< #undef SYSLOG_OPER /* log all users who successfully become an Op */
+---
+> #define SYSLOG_KILL /* log all operator kills to syslog */
+> #define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
+> #define SYSLOG_CONNECT /* log remote connect messages for other all servs */
+> #define SYSLOG_USERS /* send userlog stuff to syslog */
+> #define SYSLOG_OPER /* log all users who successfully become an Op */
diff --git a/net-irc/ircd-hybrid/files/config-ipv6.diff b/net-irc/ircd-hybrid/files/config-ipv6.diff
new file mode 100644
index 000000000000..7303800a2a6a
--- /dev/null
+++ b/net-irc/ircd-hybrid/files/config-ipv6.diff
@@ -0,0 +1,56 @@
+136,138c136,138
+< #define BINPATH IRCD_PREFIX "/bin/"
+< #define MODPATH IRCD_PREFIX "/modules/"
+< #define AUTOMODPATH IRCD_PREFIX "/modules/autoload/"
+---
+> #define BINPATH "/usr/sbin/"
+> #define MODPATH "/usr/lib/ircd-hybrid-7/ipv6/"
+> #define AUTOMODPATH MODPATH "/autoload/"
+140,141c140,141
+< #define ETCPATH IRCD_PREFIX "/etc"
+< #define LOGPATH IRCD_PREFIX "/logs"
+---
+> #define ETCPATH "/etc/ircd"
+> #define LOGPATH "/var/log/ircd"
+146c146
+< #define SPATH BINPATH "/ircd" /* ircd executable */
+---
+> #define SPATH BINPATH "/ircd-ipv6" /* ircd executable */
+148,157c148,157
+< #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
+< #define KPATH ETCPATH "/kline.conf" /* kline file */
+< #define DLPATH ETCPATH "/dline.conf" /* dline file */
+< #define GPATH LOGPATH "/gline.log" /* gline logfile */
+< #define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */
+< #define MPATH ETCPATH "/ircd.motd" /* MOTD file */
+< #define LPATH LOGPATH "/ircd.log" /* ircd logfile */
+< #define PPATH ETCPATH "/ircd.pid" /* pid file */
+< #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
+< #define LIPATH ETCPATH "/links.txt" /* cached links file */
+---
+> #define CPATH ETCPATH "/ircd-ipv6.conf" /* ircd.conf file */
+> #define KPATH ETCPATH "/kline-ipv6.conf" /* kline file */
+> #define DLPATH ETCPATH "/dline-ipv6.conf" /* dline file */
+> #define GPATH LOGPATH "/gline-ipv6.log" /* gline logfile */
+> #define RPATH ETCPATH "/ircd-ipv6.rsa" /* ircd rsa private keyfile */
+> #define MPATH ETCPATH "/ircd-ipv6.motd" /* MOTD file */
+> #define LPATH LOGPATH "/ircd-ipv6.log" /* ircd logfile */
+> #define PPATH "/var/run/ircd/ircd-ipv6.pid" /* pid file */
+> #define OPATH ETCPATH "/opers-ipv6.motd" /* oper MOTD file */
+> #define LIPATH ETCPATH "/links-ipv6.txt" /* cached links file */
+214c214
+< #undef USE_SYSLOG
+---
+> #define USE_SYSLOG
+221,225c221,225
+< #undef SYSLOG_KILL /* log all operator kills to syslog */
+< #undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
+< #undef SYSLOG_CONNECT /* log remote connect messages for other all servs */
+< #undef SYSLOG_USERS /* send userlog stuff to syslog */
+< #undef SYSLOG_OPER /* log all users who successfully become an Op */
+---
+> #define SYSLOG_KILL /* log all operator kills to syslog */
+> #define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
+> #define SYSLOG_CONNECT /* log remote connect messages for other all servs */
+> #define SYSLOG_USERS /* send userlog stuff to syslog */
+> #define SYSLOG_OPER /* log all users who successfully become an Op */
diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0
new file mode 100644
index 000000000000..6b3db2d0d21d
--- /dev/null
+++ b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0
@@ -0,0 +1 @@
+MD5 bee69c994c70fb29a711614150587cd4 ircd-hybrid-7.0.tgz 1412385
diff --git a/net-irc/ircd-hybrid/files/init.d_ircd b/net-irc/ircd-hybrid/files/init.d_ircd
new file mode 100644
index 000000000000..301a02f89bed
--- /dev/null
+++ b/net-irc/ircd-hybrid/files/init.d_ircd
@@ -0,0 +1,49 @@
+#!/sbin/runscript
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/files/init.d_ircd,v 1.1 2003/12/17 02:37:45 zul Exp $
+
+depend()
+{
+ need net
+}
+
+start()
+{
+ if [ "${IPV4_OPTS}" != "no" ]; then
+ ebegin "Starting IRCd-Hybrid7 IPv4 daemon"
+ start-stop-daemon --start --quiet --background --chuid ircd --exec \
+\
+ /usr/sbin/ircd-ipv4 -- ${IPV4_OPTS}
+
+ eend $?
+ fi
+
+ if [ -x "/usr/sbin/ircd-ipv6" -a "${IPV6_OPTS}" != "no" ]; then
+ ebegin "Starting IRCd-Hybrid7 IPv6 daemon"
+ start-stop-daemon --start --quiet --background --chuid ircd --exec \
+\
+ /usr/sbin/ircd-ipv6 -- ${IPV6_OPTS}
+
+ eend $?
+ fi
+}
+
+stop()
+{
+ local ipv4pid="/var/run/ircd/ircd-ipv4.pid"
+ local ipv6pid="/var/run/ircd/ircd-ipv6.pid"
+
+ if [ -r "${ipv4pid}" ]; then
+ ebegin "Stopping IRCd-Hybrid7 IPv4 daemon"
+ start-stop-daemon --stop --quiet --pidfile="${ipv4pid}"
+ eend $?
+ rm -f "${ipv4pid}"
+ fi
+
+ if [ -r "${ipv6pid}" ]; then
+ ebegin "Stopping IRCd-Hybrid7 IPv6 daemon"
+ start-stop-daemon --stop --quiet --pidfile="${ipv6pid}"
+ eend $?
+ rm -f "${ipv6pid}"
+ fi
+}
diff --git a/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff b/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff
new file mode 100644
index 000000000000..d3f963027493
--- /dev/null
+++ b/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff
@@ -0,0 +1,78 @@
+diff -Naur ircd-hybrid-7.0.orig/help/Makefile.in ircd-hybrid-7.0/help/Makefile.in
+--- ircd-hybrid-7.0.orig/help/Makefile.in 2002-02-02 16:01:13.000000000 +0000
++++ ircd-hybrid-7.0/help/Makefile.in 2003-10-10 20:46:34.000000000 +0000
+@@ -80,10 +80,6 @@
+ $(INSTALL_DATA) $$help $(uhelpdir); \
+ fi \
+ done
+- @for link in $(SYMLINKS); do \
+- rm -f $(uhelpdir)/$$link; \
+- ln -s $(ohelpdir)/$$link $(uhelpdir); \
+- done
+
+
+ distclean:
+diff -Naur ircd-hybrid-7.0.orig/include/Makefile.in ircd-hybrid-7.0/include/Makefile.in
+--- ircd-hybrid-7.0.orig/include/Makefile.in 2002-04-29 22:30:24.000000000 +0000
++++ ircd-hybrid-7.0/include/Makefile.in 2003-10-10 20:46:34.000000000 +0000
+@@ -10,6 +10,7 @@
+ exec_prefix= @exec_prefix@
+ bindir= @bindir@
+ sysconfdir= @sysconfdir@
++includedir= @includedir@
+
+ all:
+ build:
+@@ -19,13 +20,12 @@
+
+ install:
+ @echo installing header files...
+- -@if test ! -d $(prefix)/include; then \
+- echo "mkdir $(prefix)/include"; \
+- mkdir $(prefix)/include; \
+- mkdir $(prefix)/include/ircd-hybrid-7; \
++ -@if test ! -d $(includedir); then \
++ echo "mkdir -p $(includedir)"; \
++ mkdir -p $(includedir); \
+ fi
+ @for header in *.h; do \
+- ${INSTALL_DATA} $$header $(prefix)/include/ircd-hybrid-7; \
++ ${INSTALL_DATA} $$header $(includedir); \
+ done
+
+ distclean:
+diff -Naur ircd-hybrid-7.0.orig/src/Makefile.in ircd-hybrid-7.0/src/Makefile.in
+--- ircd-hybrid-7.0.orig/src/Makefile.in 2003-05-29 03:02:15.000000000 +0000
++++ ircd-hybrid-7.0/src/Makefile.in 2003-10-10 20:46:34.000000000 +0000
+@@ -140,10 +140,6 @@
+ echo "mkdir $(sysconfdir)"; \
+ mkdir $(sysconfdir); \
+ fi
+- -@if test ! -d $(localstatedir)/logs; then \
+- echo "mkdir $(localstatedir)/logs"; \
+- mkdir $(localstatedir)/logs; \
+- fi
+
+ install: install-mkdirs build
+ @for i in $(PROGS); do \
+diff -Naur ircd-hybrid-7.0.orig/tools/Makefile.in ircd-hybrid-7.0/tools/Makefile.in
+--- ircd-hybrid-7.0.orig/tools/Makefile.in 2002-07-11 23:40:27.000000000 +0000
++++ ircd-hybrid-7.0/tools/Makefile.in 2003-10-10 20:46:34.000000000 +0000
+@@ -129,10 +129,6 @@
+ echo "mkdir $(sysconfdir)"; \
+ mkdir $(sysconfdir); \
+ fi
+- -@if test ! -d $(localstatedir)/logs; then \
+- echo "mkdir $(localstatedir)/logs"; \
+- mkdir $(localstatedir)/logs; \
+- fi
+
+ install: install-mkdirs build
+ @for i in $(PROGS); do \
+@@ -144,6 +140,4 @@
+ $(INSTALL_BIN) $$i $(bindir); \
+ done; \
+ $(RM) -f $(bindir)/vimotd $(bindir)/viklines; \
+- $(LN) $(bindir)/viconf $(bindir)/vimotd; \
+- $(LN) $(bindir)/viconf $(bindir)/viklines
+