aboutsummaryrefslogtreecommitdiffstats
path: root/russian/ircd-hybrid-ru/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-15 16:30:40 +0800
committerkrion <krion@FreeBSD.org>2003-12-15 16:30:40 +0800
commit5e9a7101525319d57c18f72a59e7a95aab7ac60a (patch)
tree4b1fa2a3feae782cc50140d70d045b768cc93fcc /russian/ircd-hybrid-ru/files
parent82a33f9cd322c6c43f9dca63133dd5e50238fa53 (diff)
downloadfreebsd-ports-gnome-5e9a7101525319d57c18f72a59e7a95aab7ac60a.tar.gz
freebsd-ports-gnome-5e9a7101525319d57c18f72a59e7a95aab7ac60a.tar.zst
freebsd-ports-gnome-5e9a7101525319d57c18f72a59e7a95aab7ac60a.zip
Add ircd-hybrid-ru 7.1,
ircd-hybrid-ru is russian version of well known hybrid IRC server with plently number of features. it can handle russian channel names, nicknames and harset recoding PR: 60244 Submitted by: Evgueni V. Gavrilov <aquatique@rusunix.org>
Diffstat (limited to 'russian/ircd-hybrid-ru/files')
-rw-r--r--russian/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample23
-rw-r--r--russian/ircd-hybrid-ru/files/patch-configure11
-rw-r--r--russian/ircd-hybrid-ru/files/patch-defaults.h15
-rw-r--r--russian/ircd-hybrid-ru/files/patch-etc-Makefile.in11
-rw-r--r--russian/ircd-hybrid-ru/files/patch-modules-Makefile.in11
-rw-r--r--russian/ircd-hybrid-ru/files/patch-src-Makefile.in11
6 files changed, 82 insertions, 0 deletions
diff --git a/russian/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample b/russian/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample
new file mode 100644
index 000000000000..f62cb23e9862
--- /dev/null
+++ b/russian/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+PREFIX=$(expr $0 : "\(/.*/\)etc/rc\.d/$(basename $0)\$")
+
+IRCD=${PREFIX}bin/ircd
+
+case "$1" in
+start)
+ if [ -x $IRCD ]; then
+ su ircdru -c $IRCD >/dev/null 2>&1
+ echo -n ' ircd-hybrid-ru'
+ fi
+ ;;
+stop)
+ kill `cat ${PREFIX}/etc/ircd-hybrid-ru/ircd.pid` >/dev/null 2>&1
+ echo -n ' ircd'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/russian/ircd-hybrid-ru/files/patch-configure b/russian/ircd-hybrid-ru/files/patch-configure
new file mode 100644
index 000000000000..1da7b9f5f2e6
--- /dev/null
+++ b/russian/ircd-hybrid-ru/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Thu Oct 9 17:38:48 2003
++++ configure Sun Dec 14 14:35:48 2003
+@@ -1944,7 +1944,7 @@
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_prog_cc_g=yes
++ ac_cv_prog_cc_g=no
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
diff --git a/russian/ircd-hybrid-ru/files/patch-defaults.h b/russian/ircd-hybrid-ru/files/patch-defaults.h
new file mode 100644
index 000000000000..70eb87ddefcb
--- /dev/null
+++ b/russian/ircd-hybrid-ru/files/patch-defaults.h
@@ -0,0 +1,15 @@
+--- include/defaults.h.orig Sun Oct 5 02:31:17 2003
++++ include/defaults.h Sun Dec 14 16:29:00 2003
+@@ -49,9 +49,9 @@
+ #define DPATH IRCD_PREFIX
+ #define BINPATH IRCD_PREFIX "/bin/"
+ #define MSGPATH IRCD_PREFIX "/messages/"
+-#define ETCPATH IRCD_PREFIX "/etc"
+-#define LOGPATH IRCD_PREFIX "/logs"
+-#define MODPATH IRCD_PREFIX "/modules/"
++#define ETCPATH IRCD_PREFIX "/etc/ircd-hybrid-ru"
++#define LOGPATH "/var/log/ircd-hybrid-ru"
++#define MODPATH IRCD_PREFIX "/lib/ircd-hybrid-ru-modules/"
+
+ /* files */
+ #define SPATH BINPATH "/ircd" /* ircd executable */
diff --git a/russian/ircd-hybrid-ru/files/patch-etc-Makefile.in b/russian/ircd-hybrid-ru/files/patch-etc-Makefile.in
new file mode 100644
index 000000000000..873c8b2be553
--- /dev/null
+++ b/russian/ircd-hybrid-ru/files/patch-etc-Makefile.in
@@ -0,0 +1,11 @@
+--- etc/Makefile.in.orig Sun Dec 14 14:56:56 2003
++++ etc/Makefile.in Sun Dec 14 14:57:51 2003
+@@ -27,6 +27,8 @@
+ echo $(INSTALL_DATA) $$i $(sysconfdir); \
+ $(INSTALL_DATA) $$i $(sysconfdir); \
+ done
++ mkdir -p $(sysconfdir)/codepage; \
++ $(INSTALL_DATA) codepage/* $(sysconfdir)/codepage/
+
+ @echo "Note: more example configuration files can be found in this directory (etc/)."
+
diff --git a/russian/ircd-hybrid-ru/files/patch-modules-Makefile.in b/russian/ircd-hybrid-ru/files/patch-modules-Makefile.in
new file mode 100644
index 000000000000..8c21fc46e83b
--- /dev/null
+++ b/russian/ircd-hybrid-ru/files/patch-modules-Makefile.in
@@ -0,0 +1,11 @@
+--- modules/Makefile.in.orig Sun Dec 14 15:13:18 2003
++++ modules/Makefile.in Sun Dec 14 15:13:52 2003
+@@ -23,7 +23,7 @@
+
+ prefix = $(DESTDIR)@prefix@
+ # Change this later! -- adrian
+-moduledir = ${prefix}/modules
++moduledir = ${prefix}/lib/ircd-hybrid-ru-modules
+ automoduledir = ${moduledir}/autoload
+
+ INCLUDES = -I../include $(SSL_INCLUDES)
diff --git a/russian/ircd-hybrid-ru/files/patch-src-Makefile.in b/russian/ircd-hybrid-ru/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..d10f7a029b79
--- /dev/null
+++ b/russian/ircd-hybrid-ru/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sun Dec 14 14:44:19 2003
++++ src/Makefile.in Sun Dec 14 14:44:37 2003
+@@ -128,7 +128,7 @@
+
+ install-mkdirs:
+ mkdir -p $(prefix) $(exec_prefix) $(bindir) $(sysconfdir) \
+- $(localstatedir)/logs
++ /var/log/ircd-hybrid-ru
+
+ install: install-mkdirs build
+ @for i in $(PROGS); do \