diff options
40 files changed, 1468 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile index cc69c7c131d9..54bb94f9d493 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -24,6 +24,7 @@ SUBDIR += ircII SUBDIR += ircatlite SUBDIR += ircd-hybrid + SUBDIR += ircd-hybrid-ru SUBDIR += ircd-ru SUBDIR += irchat-pj-emacs20 SUBDIR += irchat-pj-emacs21 diff --git a/irc/ircd-hybrid-ru/Makefile b/irc/ircd-hybrid-ru/Makefile new file mode 100644 index 000000000000..82f99e30f55e --- /dev/null +++ b/irc/ircd-hybrid-ru/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: ircd-hybrid-ru +# Date Created: 2003.12.14 +# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org> +# +# $FreeBSD$ +# + +PORTNAME= ircd +PORTVERSION= 7.1 +CATEGORIES= irc russian +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://rusunix.org/pub/FreeBSD/distfles/ +MASTER_SITE_SUBDIR= ircd-hybrid-ru +PKGNAMESUFFIX= -hybrid-ru +DISTNAME= ircd-hybrid-ru-7.1rc2 + +MAINTAINER= aquatique@rusunix.org +COMMENT= Russian version of well known hybrid IRC server + +CONFLICTS= ircd* + +WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX} +USE_OPENSSL= yes +USE_BISON= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd-hybrid-ru + +MAN8= ircd.8 + +.if defined(WITH_SMALL_NET) +CONFIGURE_ARGS+=-enable-small-net +.endif + +.if defined(WITH_SYSLOG) +CONFIGURE_ARGS+=--enable-syslog=\"kill squit connect users oper\" +.endif + +.if defined(NICKLENGTH) +CONFIGURE_ARGS+=--with-nicklen=${NICKLENGTH} +.endif + +.if defined(TOPICLENGTH) +CONFIGURE_ARGS+=--with-topiclen=${TOPICLENGTH} +.endif + +.if defined(MAXCONN) +CONFIGURE_ARGS+=--with-maxconn=${MAXCONN} +.endif + +pre-extract: + @${ECHO_MSG} "* * * Build options for ircd-hybrid-ru * * *" + @${ECHO_MSG} "Issue make WITH_SMALL_NET=yes to build server optimized for small network" + @${ECHO_MSG} "Issue make WITH_SYSLOG=yes to enable logging via syslogd" + @${ECHO_MSG} "You can define maximum nick length. For example make NICKLENGTH=46 (default is 30)" + @${ECHO_MSG} "You can define maximum topic length. For example make TOPICLENGTH=254 (default is 120; maximum is 390)" + @${ECHO_MSG} "You can define maximum number of connections for ircd. For example make MAXCONN=512" + +pre-install: + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${REINPLACE_CMD} -e 's,etc/codepage,etc/ircd-hybrid-ru/codepage,' ${WRKSRC}/etc/example.conf + @${REINPLACE_CMD} -e 's,/ircd/modules,/lib/ircd-hybrid-ru-modules,' ${WRKSRC}/etc/example.conf + +post-install: + @${INSTALL_SCRIPT} -m 555 ${FILESDIR}/ircd-hybrid-ru.sh.sample ${PREFIX}/etc/rc.d + @${CHOWN} -R ircdru:ircdru ${PREFIX}/etc/ircd-hybrid-ru + @${CHOWN} -R ircdru:ircdru /var/log/ircd-hybrid-ru + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/RELNOTE* ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/server-version-info ${DOCSDIR} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/irc/ircd-hybrid-ru/distinfo b/irc/ircd-hybrid-ru/distinfo new file mode 100644 index 000000000000..a53a20bbd207 --- /dev/null +++ b/irc/ircd-hybrid-ru/distinfo @@ -0,0 +1 @@ +MD5 (ircd-hybrid-ru-7.1rc2.tar.gz) = 3f3b6311c55eb6d697285d6437ced084 diff --git a/irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample b/irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample new file mode 100644 index 000000000000..f62cb23e9862 --- /dev/null +++ b/irc/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/irc/ircd-hybrid-ru/files/patch-configure b/irc/ircd-hybrid-ru/files/patch-configure new file mode 100644 index 000000000000..1da7b9f5f2e6 --- /dev/null +++ b/irc/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/irc/ircd-hybrid-ru/files/patch-defaults.h b/irc/ircd-hybrid-ru/files/patch-defaults.h new file mode 100644 index 000000000000..70eb87ddefcb --- /dev/null +++ b/irc/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/irc/ircd-hybrid-ru/files/patch-etc-Makefile.in b/irc/ircd-hybrid-ru/files/patch-etc-Makefile.in new file mode 100644 index 000000000000..873c8b2be553 --- /dev/null +++ b/irc/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/irc/ircd-hybrid-ru/files/patch-modules-Makefile.in b/irc/ircd-hybrid-ru/files/patch-modules-Makefile.in new file mode 100644 index 000000000000..8c21fc46e83b --- /dev/null +++ b/irc/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/irc/ircd-hybrid-ru/files/patch-src-Makefile.in b/irc/ircd-hybrid-ru/files/patch-src-Makefile.in new file mode 100644 index 000000000000..d10f7a029b79 --- /dev/null +++ b/irc/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 \ diff --git a/irc/ircd-hybrid-ru/pkg-deinstall b/irc/ircd-hybrid-ru/pkg-deinstall new file mode 100644 index 000000000000..f0622b79251a --- /dev/null +++ b/irc/ircd-hybrid-ru/pkg-deinstall @@ -0,0 +1,54 @@ +#! /bin/sh + +ask() { + local question default answer + + question=$1 + default=$2 + if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then + read -p "${question} [${default}]? " answer + fi + echo ${answer:-${default}} +} + +yesno() { + local question default answer + + question=$1 + default=$2 + while :; do + answer=$(ask "${question}" "${default}") + case "${answer}" in + [Yy]*) return 0;; + [Nn]*) return 1;; + esac + echo "Please answer yes or no." + done +} + +delete_account() { + local u + + u=$1 + if yesno "Do you want me to remove user \"${u}\"" n; then + pw userdel -n ${u} + echo "Done." + fi +} + +case $2 in + +DEINSTALL) + if ps -axc | grep -qw ircd; then + if yesno "ircd is still running. Shall I stop it?" y; then + killall ircd + sleep 2 + else + echo "OK ... I hope you know what you are doing." + fi + fi + + delete_account ircdru + ;; + +esac diff --git a/irc/ircd-hybrid-ru/pkg-descr b/irc/ircd-hybrid-ru/pkg-descr new file mode 100644 index 000000000000..12da7a3b5069 --- /dev/null +++ b/irc/ircd-hybrid-ru/pkg-descr @@ -0,0 +1,7 @@ + ircd-hybrid-ru is russian version of well known hybrid IRC server + with plently number of features + + russian version can handle russian channel names, nicknames and + charset recoding + +WWW: http://hyb.net.ru/ diff --git a/irc/ircd-hybrid-ru/pkg-install b/irc/ircd-hybrid-ru/pkg-install new file mode 100644 index 000000000000..60e4cbea2d5b --- /dev/null +++ b/irc/ircd-hybrid-ru/pkg-install @@ -0,0 +1,68 @@ +#!/bin/sh + +# This script is a modified copy of the pkg-install script +# from the original ircd-hybrid port. + +if [ "x$2" != "xPRE-INSTALL" ]; then + exit 0; +fi + + +if ! which -s pw ; then + cat <<EOF +Your system does not include the "pw" utility. You should upgrade +to a newer version of FreeBSD. Without "pw" this script will not +run. +EOF + exit 1 +fi + +uid=6667 +user=ircdru +gid=$uid +group=$user +gecos="Russian hybrid IRC server" +shell="/bin/sh" +home="/nonexistent" + +echo "" +if pw groupshow $group 2> /dev/null ; then + echo "You already have a group \"$group\", so I will use it." +else + if pw groupshow $gid 2> /dev/null ; then + echo "You already have a gid \"$gid\". Please create a user \"$group\"" + echo "with a default group of \"$group\"." + exit 1 + fi + echo "You need a group \"$group\"." + if which -s pw ; then + pw groupadd $group -g $gid || exit + echo "Done." + else + echo "Please create it, and try again." + if ! pw usershow $user 2> /dev/null ; then + echo "While you're at it, please create a user \"$user\"" + echo 'too, with a default group of "$group".' + fi + exit 1 + fi +fi + +if pw usershow $user 2> /dev/null ; then + echo "You already have a user \"$user\", so I will use it." +else + if pw usershow $uid 2> /dev/null ; then + echo "You already have a uid \"$uid\". Please create a user \"$user\"" + echo "with a default group of \"$group\"." + exit 1 + fi + echo "You need a user \"$user\"." + if which -s pw; then + pw useradd $user -g $group -u $uid -h - -d $home \ + -s "$shell" -c "$gecos" || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi +fi diff --git a/irc/ircd-hybrid-ru/pkg-message b/irc/ircd-hybrid-ru/pkg-message new file mode 100644 index 000000000000..83c0ab174a7c --- /dev/null +++ b/irc/ircd-hybrid-ru/pkg-message @@ -0,0 +1,17 @@ + +---------------------------------------------------- + +ircd-hybrid-ru has been installed. + +This port create user ircdru and group ircdru + +You should now copy /usr/local/etc/ircd-hybrid-ru/example.conf + to /usr/local/etc/ircd-hybrid-ru/ircd.conf + and edit it to suit your needs. + +You may then start the server by running: + cd /usr/local/etc/rc.d/ && \ + cp ircd-hybrid-ru.sh.sample ircd-hybrid-ru.sh && \ + /usr/local/etc/rc.d/ircd-hybrid-ru.sh start + +---------------------------------------------------- diff --git a/irc/ircd-hybrid-ru/pkg-plist b/irc/ircd-hybrid-ru/pkg-plist new file mode 100644 index 000000000000..3472e9b442aa --- /dev/null +++ b/irc/ircd-hybrid-ru/pkg-plist @@ -0,0 +1,186 @@ +bin/ircd +bin/servlink +bin/viconf +bin/mkpasswd +bin/convertconf +bin/convertilines +bin/convertklines +bin/encspeed +bin/viklines +bin/vimotd +etc/rc.d/ircd-hybrid-ru.sh.sample +etc/ircd-hybrid-ru/example.conf +etc/ircd-hybrid-ru/codepage/cp866.tab +etc/ircd-hybrid-ru/codepage/iso8859-5.tab +etc/ircd-hybrid-ru/codepage/koi8.tab +etc/ircd-hybrid-ru/codepage/macintosh.tab +etc/ircd-hybrid-ru/codepage/translit.tab +etc/ircd-hybrid-ru/ircd.motd +etc/ircd-hybrid-ru/dline.conf +etc/ircd-hybrid-ru/kline.conf +etc/ircd-hybrid-ru/xline.conf +etc/ircd-hybrid-ru/nresv.conf +etc/ircd-hybrid-ru/cresv.conf +include/ircd-hybrid-7/balloc.h +include/ircd-hybrid-7/blalloc.h +include/ircd-hybrid-7/channel.h +include/ircd-hybrid-7/channel_mode.h +include/ircd-hybrid-7/client.h +include/ircd-hybrid-7/cluster.h +include/ircd-hybrid-7/common.h +include/ircd-hybrid-7/control.h +include/ircd-hybrid-7/dalloca.h +include/ircd-hybrid-7/dbuf.h +include/ircd-hybrid-7/defaults.h +include/ircd-hybrid-7/event.h +include/ircd-hybrid-7/fdlist.h +include/ircd-hybrid-7/fileio.h +include/ircd-hybrid-7/handlers.h +include/ircd-hybrid-7/hash.h +include/ircd-hybrid-7/hook.h +include/ircd-hybrid-7/hostmask.h +include/ircd-hybrid-7/inet_misc.h +include/ircd-hybrid-7/io.h +include/ircd-hybrid-7/irc_getaddrinfo.h +include/ircd-hybrid-7/irc_getnameinfo.h +include/ircd-hybrid-7/irc_res.h +include/ircd-hybrid-7/irc_reslib.h +include/ircd-hybrid-7/irc_string.h +include/ircd-hybrid-7/ircd.h +include/ircd-hybrid-7/ircd_defs.h +include/ircd-hybrid-7/ircd_getopt.h +include/ircd-hybrid-7/ircd_handler.h +include/ircd-hybrid-7/ircd_signal.h +include/ircd-hybrid-7/ircdauth.h +include/ircd-hybrid-7/list.h +include/ircd-hybrid-7/listener.h +include/ircd-hybrid-7/m_info.h +include/ircd-hybrid-7/memory.h +include/ircd-hybrid-7/modules.h +include/ircd-hybrid-7/motd.h +include/ircd-hybrid-7/msg.h +include/ircd-hybrid-7/numeric.h +include/ircd-hybrid-7/packet.h +include/ircd-hybrid-7/parse.h +include/ircd-hybrid-7/patchlevel.h +include/ircd-hybrid-7/restart.h +include/ircd-hybrid-7/resv.h +include/ircd-hybrid-7/rlimits.h +include/ircd-hybrid-7/rsa.h +include/ircd-hybrid-7/s_auth.h +include/ircd-hybrid-7/s_bsd.h +include/ircd-hybrid-7/s_conf.h +include/ircd-hybrid-7/s_debug.h +include/ircd-hybrid-7/s_gline.h +include/ircd-hybrid-7/s_log.h +include/ircd-hybrid-7/s_misc.h +include/ircd-hybrid-7/s_serv.h +include/ircd-hybrid-7/s_stats.h +include/ircd-hybrid-7/s_user.h +include/ircd-hybrid-7/send.h +include/ircd-hybrid-7/serno.h +include/ircd-hybrid-7/servlink.h +include/ircd-hybrid-7/setup.h +include/ircd-hybrid-7/sprintf_irc.h +include/ircd-hybrid-7/stdinc.h +include/ircd-hybrid-7/supported.h +include/ircd-hybrid-7/tools.h +include/ircd-hybrid-7/translate.h +include/ircd-hybrid-7/userhost.h +include/ircd-hybrid-7/whowas.h +lib/ircd-hybrid-ru-modules/autoload/m_accept.so +lib/ircd-hybrid-ru-modules/autoload/m_admin.so +lib/ircd-hybrid-ru-modules/autoload/m_away.so +lib/ircd-hybrid-ru-modules/autoload/m_capab.so +lib/ircd-hybrid-ru-modules/autoload/m_cburst.so +lib/ircd-hybrid-ru-modules/autoload/m_close.so +lib/ircd-hybrid-ru-modules/autoload/m_challenge.so +lib/ircd-hybrid-ru-modules/autoload/m_cryptlink.so +lib/ircd-hybrid-ru-modules/autoload/m_connect.so +lib/ircd-hybrid-ru-modules/autoload/m_dmem.so +lib/ircd-hybrid-ru-modules/autoload/m_drop.so +lib/ircd-hybrid-ru-modules/autoload/m_encap.so +lib/ircd-hybrid-ru-modules/autoload/m_eob.so +lib/ircd-hybrid-ru-modules/autoload/m_gline.so +lib/ircd-hybrid-ru-modules/autoload/m_info.so +lib/ircd-hybrid-ru-modules/autoload/m_invite.so +lib/ircd-hybrid-ru-modules/autoload/m_ison.so +lib/ircd-hybrid-ru-modules/autoload/m_kline.so +lib/ircd-hybrid-ru-modules/autoload/m_knock.so +lib/ircd-hybrid-ru-modules/autoload/m_links.so +lib/ircd-hybrid-ru-modules/autoload/m_list.so +lib/ircd-hybrid-ru-modules/autoload/m_lljoin.so +lib/ircd-hybrid-ru-modules/autoload/m_llnick.so +lib/ircd-hybrid-ru-modules/autoload/m_locops.so +lib/ircd-hybrid-ru-modules/autoload/m_lusers.so +lib/ircd-hybrid-ru-modules/autoload/m_map.so +lib/ircd-hybrid-ru-modules/autoload/m_motd.so +lib/ircd-hybrid-ru-modules/autoload/m_names.so +lib/ircd-hybrid-ru-modules/autoload/m_nburst.so +lib/ircd-hybrid-ru-modules/autoload/m_oper.so +lib/ircd-hybrid-ru-modules/autoload/m_operwall.so +lib/ircd-hybrid-ru-modules/autoload/m_ojoin.so +lib/ircd-hybrid-ru-modules/autoload/m_pass.so +lib/ircd-hybrid-ru-modules/autoload/m_ping.so +lib/ircd-hybrid-ru-modules/autoload/m_pong.so +lib/ircd-hybrid-ru-modules/autoload/m_post.so +lib/ircd-hybrid-ru-modules/autoload/m_rehash.so +lib/ircd-hybrid-ru-modules/autoload/m_restart.so +lib/ircd-hybrid-ru-modules/autoload/m_resv.so +lib/ircd-hybrid-ru-modules/autoload/m_set.so +lib/ircd-hybrid-ru-modules/autoload/m_stats.so +lib/ircd-hybrid-ru-modules/autoload/m_svinfo.so +lib/ircd-hybrid-ru-modules/autoload/m_svs.so +lib/ircd-hybrid-ru-modules/autoload/m_tburst.so +lib/ircd-hybrid-ru-modules/autoload/m_testline.so +lib/ircd-hybrid-ru-modules/autoload/m_time.so +lib/ircd-hybrid-ru-modules/autoload/m_topic.so +lib/ircd-hybrid-ru-modules/autoload/m_trace.so +lib/ircd-hybrid-ru-modules/autoload/m_user.so +lib/ircd-hybrid-ru-modules/autoload/m_userhost.so +lib/ircd-hybrid-ru-modules/autoload/m_users.so +lib/ircd-hybrid-ru-modules/autoload/m_version.so +lib/ircd-hybrid-ru-modules/autoload/m_wallops.so +lib/ircd-hybrid-ru-modules/autoload/m_who.so +lib/ircd-hybrid-ru-modules/autoload/m_whois.so +lib/ircd-hybrid-ru-modules/autoload/m_whowas.so +lib/ircd-hybrid-ru-modules/autoload/m_xline.so +lib/ircd-hybrid-ru-modules/m_die.so +lib/ircd-hybrid-ru-modules/m_join.so +lib/ircd-hybrid-ru-modules/m_kick.so +lib/ircd-hybrid-ru-modules/m_kill.so +lib/ircd-hybrid-ru-modules/m_message.so +lib/ircd-hybrid-ru-modules/m_mode.so +lib/ircd-hybrid-ru-modules/m_nick.so +lib/ircd-hybrid-ru-modules/m_part.so +lib/ircd-hybrid-ru-modules/m_quit.so +lib/ircd-hybrid-ru-modules/m_server.so +lib/ircd-hybrid-ru-modules/m_sjoin.so +lib/ircd-hybrid-ru-modules/m_squit.so +%%PORTDOCS%%%%DOCSDIR%%/RELNOTES +%%PORTDOCS%%%%DOCSDIR%%/RELNOTES.hybrid-ru +%%PORTDOCS%%%%DOCSDIR%%/CIDR.txt +%%PORTDOCS%%%%DOCSDIR%%/LazyLinks.txt +%%PORTDOCS%%%%DOCSDIR%%/challenge.txt +%%PORTDOCS%%%%DOCSDIR%%/channels.txt +%%PORTDOCS%%%%DOCSDIR%%/guidelines.txt +%%PORTDOCS%%%%DOCSDIR%%/index.txt +%%PORTDOCS%%%%DOCSDIR%%/kline.txt +%%PORTDOCS%%%%DOCSDIR%%/messages.txt +%%PORTDOCS%%%%DOCSDIR%%/modeg.txt +%%PORTDOCS%%%%DOCSDIR%%/modes.txt +%%PORTDOCS%%%%DOCSDIR%%/operguide.txt +%%PORTDOCS%%%%DOCSDIR%%/opermyth.txt +%%PORTDOCS%%%%DOCSDIR%%/resv.txt +%%PORTDOCS%%%%DOCSDIR%%/serverhide.txt +%%PORTDOCS%%%%DOCSDIR%%/whats-new.txt +%%PORTDOCS%%%%DOCSDIR%%/server-version-info +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm include/ircd-hybrid-7 +@dirrm lib/ircd-hybrid-ru-modules/autoload +@dirrm lib/ircd-hybrid-ru-modules +@exec mkdir -m 755 /var/log/ircd-hybrid-ru +@exec chown ircdru:ircdru /var/log/ircd-hybrid-ru +@unexec rmdir /var/log/ircd-hybrid-ru 2>/dev/null || true +@unexec rmdir %D/etc/ircd-hybrid-ru/codepage 2>/dev/null || true +@unexec rmdir %D/etc/ircd-hybrid-ru 2>/dev/null || true diff --git a/russian/ircd-hybrid-ru/Makefile b/russian/ircd-hybrid-ru/Makefile new file mode 100644 index 000000000000..82f99e30f55e --- /dev/null +++ b/russian/ircd-hybrid-ru/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: ircd-hybrid-ru +# Date Created: 2003.12.14 +# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org> +# +# $FreeBSD$ +# + +PORTNAME= ircd +PORTVERSION= 7.1 +CATEGORIES= irc russian +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://rusunix.org/pub/FreeBSD/distfles/ +MASTER_SITE_SUBDIR= ircd-hybrid-ru +PKGNAMESUFFIX= -hybrid-ru +DISTNAME= ircd-hybrid-ru-7.1rc2 + +MAINTAINER= aquatique@rusunix.org +COMMENT= Russian version of well known hybrid IRC server + +CONFLICTS= ircd* + +WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX} +USE_OPENSSL= yes +USE_BISON= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd-hybrid-ru + +MAN8= ircd.8 + +.if defined(WITH_SMALL_NET) +CONFIGURE_ARGS+=-enable-small-net +.endif + +.if defined(WITH_SYSLOG) +CONFIGURE_ARGS+=--enable-syslog=\"kill squit connect users oper\" +.endif + +.if defined(NICKLENGTH) +CONFIGURE_ARGS+=--with-nicklen=${NICKLENGTH} +.endif + +.if defined(TOPICLENGTH) +CONFIGURE_ARGS+=--with-topiclen=${TOPICLENGTH} +.endif + +.if defined(MAXCONN) +CONFIGURE_ARGS+=--with-maxconn=${MAXCONN} +.endif + +pre-extract: + @${ECHO_MSG} "* * * Build options for ircd-hybrid-ru * * *" + @${ECHO_MSG} "Issue make WITH_SMALL_NET=yes to build server optimized for small network" + @${ECHO_MSG} "Issue make WITH_SYSLOG=yes to enable logging via syslogd" + @${ECHO_MSG} "You can define maximum nick length. For example make NICKLENGTH=46 (default is 30)" + @${ECHO_MSG} "You can define maximum topic length. For example make TOPICLENGTH=254 (default is 120; maximum is 390)" + @${ECHO_MSG} "You can define maximum number of connections for ircd. For example make MAXCONN=512" + +pre-install: + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${REINPLACE_CMD} -e 's,etc/codepage,etc/ircd-hybrid-ru/codepage,' ${WRKSRC}/etc/example.conf + @${REINPLACE_CMD} -e 's,/ircd/modules,/lib/ircd-hybrid-ru-modules,' ${WRKSRC}/etc/example.conf + +post-install: + @${INSTALL_SCRIPT} -m 555 ${FILESDIR}/ircd-hybrid-ru.sh.sample ${PREFIX}/etc/rc.d + @${CHOWN} -R ircdru:ircdru ${PREFIX}/etc/ircd-hybrid-ru + @${CHOWN} -R ircdru:ircdru /var/log/ircd-hybrid-ru + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/RELNOTE* ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/server-version-info ${DOCSDIR} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/russian/ircd-hybrid-ru/distinfo b/russian/ircd-hybrid-ru/distinfo new file mode 100644 index 000000000000..a53a20bbd207 --- /dev/null +++ b/russian/ircd-hybrid-ru/distinfo @@ -0,0 +1 @@ +MD5 (ircd-hybrid-ru-7.1rc2.tar.gz) = 3f3b6311c55eb6d697285d6437ced084 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 \ diff --git a/russian/ircd-hybrid-ru/pkg-deinstall b/russian/ircd-hybrid-ru/pkg-deinstall new file mode 100644 index 000000000000..f0622b79251a --- /dev/null +++ b/russian/ircd-hybrid-ru/pkg-deinstall @@ -0,0 +1,54 @@ +#! /bin/sh + +ask() { + local question default answer + + question=$1 + default=$2 + if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then + read -p "${question} [${default}]? " answer + fi + echo ${answer:-${default}} +} + +yesno() { + local question default answer + + question=$1 + default=$2 + while :; do + answer=$(ask "${question}" "${default}") + case "${answer}" in + [Yy]*) return 0;; + [Nn]*) return 1;; + esac + echo "Please answer yes or no." + done +} + +delete_account() { + local u + + u=$1 + if yesno "Do you want me to remove user \"${u}\"" n; then + pw userdel -n ${u} + echo "Done." + fi +} + +case $2 in + +DEINSTALL) + if ps -axc | grep -qw ircd; then + if yesno "ircd is still running. Shall I stop it?" y; then + killall ircd + sleep 2 + else + echo "OK ... I hope you know what you are doing." + fi + fi + + delete_account ircdru + ;; + +esac diff --git a/russian/ircd-hybrid-ru/pkg-descr b/russian/ircd-hybrid-ru/pkg-descr new file mode 100644 index 000000000000..12da7a3b5069 --- /dev/null +++ b/russian/ircd-hybrid-ru/pkg-descr @@ -0,0 +1,7 @@ + ircd-hybrid-ru is russian version of well known hybrid IRC server + with plently number of features + + russian version can handle russian channel names, nicknames and + charset recoding + +WWW: http://hyb.net.ru/ diff --git a/russian/ircd-hybrid-ru/pkg-install b/russian/ircd-hybrid-ru/pkg-install new file mode 100644 index 000000000000..60e4cbea2d5b --- /dev/null +++ b/russian/ircd-hybrid-ru/pkg-install @@ -0,0 +1,68 @@ +#!/bin/sh + +# This script is a modified copy of the pkg-install script +# from the original ircd-hybrid port. + +if [ "x$2" != "xPRE-INSTALL" ]; then + exit 0; +fi + + +if ! which -s pw ; then + cat <<EOF +Your system does not include the "pw" utility. You should upgrade +to a newer version of FreeBSD. Without "pw" this script will not +run. +EOF + exit 1 +fi + +uid=6667 +user=ircdru +gid=$uid +group=$user +gecos="Russian hybrid IRC server" +shell="/bin/sh" +home="/nonexistent" + +echo "" +if pw groupshow $group 2> /dev/null ; then + echo "You already have a group \"$group\", so I will use it." +else + if pw groupshow $gid 2> /dev/null ; then + echo "You already have a gid \"$gid\". Please create a user \"$group\"" + echo "with a default group of \"$group\"." + exit 1 + fi + echo "You need a group \"$group\"." + if which -s pw ; then + pw groupadd $group -g $gid || exit + echo "Done." + else + echo "Please create it, and try again." + if ! pw usershow $user 2> /dev/null ; then + echo "While you're at it, please create a user \"$user\"" + echo 'too, with a default group of "$group".' + fi + exit 1 + fi +fi + +if pw usershow $user 2> /dev/null ; then + echo "You already have a user \"$user\", so I will use it." +else + if pw usershow $uid 2> /dev/null ; then + echo "You already have a uid \"$uid\". Please create a user \"$user\"" + echo "with a default group of \"$group\"." + exit 1 + fi + echo "You need a user \"$user\"." + if which -s pw; then + pw useradd $user -g $group -u $uid -h - -d $home \ + -s "$shell" -c "$gecos" || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi +fi diff --git a/russian/ircd-hybrid-ru/pkg-message b/russian/ircd-hybrid-ru/pkg-message new file mode 100644 index 000000000000..83c0ab174a7c --- /dev/null +++ b/russian/ircd-hybrid-ru/pkg-message @@ -0,0 +1,17 @@ + +---------------------------------------------------- + +ircd-hybrid-ru has been installed. + +This port create user ircdru and group ircdru + +You should now copy /usr/local/etc/ircd-hybrid-ru/example.conf + to /usr/local/etc/ircd-hybrid-ru/ircd.conf + and edit it to suit your needs. + +You may then start the server by running: + cd /usr/local/etc/rc.d/ && \ + cp ircd-hybrid-ru.sh.sample ircd-hybrid-ru.sh && \ + /usr/local/etc/rc.d/ircd-hybrid-ru.sh start + +---------------------------------------------------- diff --git a/russian/ircd-hybrid-ru/pkg-plist b/russian/ircd-hybrid-ru/pkg-plist new file mode 100644 index 000000000000..3472e9b442aa --- /dev/null +++ b/russian/ircd-hybrid-ru/pkg-plist @@ -0,0 +1,186 @@ +bin/ircd +bin/servlink +bin/viconf +bin/mkpasswd +bin/convertconf +bin/convertilines +bin/convertklines +bin/encspeed +bin/viklines +bin/vimotd +etc/rc.d/ircd-hybrid-ru.sh.sample +etc/ircd-hybrid-ru/example.conf +etc/ircd-hybrid-ru/codepage/cp866.tab +etc/ircd-hybrid-ru/codepage/iso8859-5.tab +etc/ircd-hybrid-ru/codepage/koi8.tab +etc/ircd-hybrid-ru/codepage/macintosh.tab +etc/ircd-hybrid-ru/codepage/translit.tab +etc/ircd-hybrid-ru/ircd.motd +etc/ircd-hybrid-ru/dline.conf +etc/ircd-hybrid-ru/kline.conf +etc/ircd-hybrid-ru/xline.conf +etc/ircd-hybrid-ru/nresv.conf +etc/ircd-hybrid-ru/cresv.conf +include/ircd-hybrid-7/balloc.h +include/ircd-hybrid-7/blalloc.h +include/ircd-hybrid-7/channel.h +include/ircd-hybrid-7/channel_mode.h +include/ircd-hybrid-7/client.h +include/ircd-hybrid-7/cluster.h +include/ircd-hybrid-7/common.h +include/ircd-hybrid-7/control.h +include/ircd-hybrid-7/dalloca.h +include/ircd-hybrid-7/dbuf.h +include/ircd-hybrid-7/defaults.h +include/ircd-hybrid-7/event.h +include/ircd-hybrid-7/fdlist.h +include/ircd-hybrid-7/fileio.h +include/ircd-hybrid-7/handlers.h +include/ircd-hybrid-7/hash.h +include/ircd-hybrid-7/hook.h +include/ircd-hybrid-7/hostmask.h +include/ircd-hybrid-7/inet_misc.h +include/ircd-hybrid-7/io.h +include/ircd-hybrid-7/irc_getaddrinfo.h +include/ircd-hybrid-7/irc_getnameinfo.h +include/ircd-hybrid-7/irc_res.h +include/ircd-hybrid-7/irc_reslib.h +include/ircd-hybrid-7/irc_string.h +include/ircd-hybrid-7/ircd.h +include/ircd-hybrid-7/ircd_defs.h +include/ircd-hybrid-7/ircd_getopt.h +include/ircd-hybrid-7/ircd_handler.h +include/ircd-hybrid-7/ircd_signal.h +include/ircd-hybrid-7/ircdauth.h +include/ircd-hybrid-7/list.h +include/ircd-hybrid-7/listener.h +include/ircd-hybrid-7/m_info.h +include/ircd-hybrid-7/memory.h +include/ircd-hybrid-7/modules.h +include/ircd-hybrid-7/motd.h +include/ircd-hybrid-7/msg.h +include/ircd-hybrid-7/numeric.h +include/ircd-hybrid-7/packet.h +include/ircd-hybrid-7/parse.h +include/ircd-hybrid-7/patchlevel.h +include/ircd-hybrid-7/restart.h +include/ircd-hybrid-7/resv.h +include/ircd-hybrid-7/rlimits.h +include/ircd-hybrid-7/rsa.h +include/ircd-hybrid-7/s_auth.h +include/ircd-hybrid-7/s_bsd.h +include/ircd-hybrid-7/s_conf.h +include/ircd-hybrid-7/s_debug.h +include/ircd-hybrid-7/s_gline.h +include/ircd-hybrid-7/s_log.h +include/ircd-hybrid-7/s_misc.h +include/ircd-hybrid-7/s_serv.h +include/ircd-hybrid-7/s_stats.h +include/ircd-hybrid-7/s_user.h +include/ircd-hybrid-7/send.h +include/ircd-hybrid-7/serno.h +include/ircd-hybrid-7/servlink.h +include/ircd-hybrid-7/setup.h +include/ircd-hybrid-7/sprintf_irc.h +include/ircd-hybrid-7/stdinc.h +include/ircd-hybrid-7/supported.h +include/ircd-hybrid-7/tools.h +include/ircd-hybrid-7/translate.h +include/ircd-hybrid-7/userhost.h +include/ircd-hybrid-7/whowas.h +lib/ircd-hybrid-ru-modules/autoload/m_accept.so +lib/ircd-hybrid-ru-modules/autoload/m_admin.so +lib/ircd-hybrid-ru-modules/autoload/m_away.so +lib/ircd-hybrid-ru-modules/autoload/m_capab.so +lib/ircd-hybrid-ru-modules/autoload/m_cburst.so +lib/ircd-hybrid-ru-modules/autoload/m_close.so +lib/ircd-hybrid-ru-modules/autoload/m_challenge.so +lib/ircd-hybrid-ru-modules/autoload/m_cryptlink.so +lib/ircd-hybrid-ru-modules/autoload/m_connect.so +lib/ircd-hybrid-ru-modules/autoload/m_dmem.so +lib/ircd-hybrid-ru-modules/autoload/m_drop.so +lib/ircd-hybrid-ru-modules/autoload/m_encap.so +lib/ircd-hybrid-ru-modules/autoload/m_eob.so +lib/ircd-hybrid-ru-modules/autoload/m_gline.so +lib/ircd-hybrid-ru-modules/autoload/m_info.so +lib/ircd-hybrid-ru-modules/autoload/m_invite.so +lib/ircd-hybrid-ru-modules/autoload/m_ison.so +lib/ircd-hybrid-ru-modules/autoload/m_kline.so +lib/ircd-hybrid-ru-modules/autoload/m_knock.so +lib/ircd-hybrid-ru-modules/autoload/m_links.so +lib/ircd-hybrid-ru-modules/autoload/m_list.so +lib/ircd-hybrid-ru-modules/autoload/m_lljoin.so +lib/ircd-hybrid-ru-modules/autoload/m_llnick.so +lib/ircd-hybrid-ru-modules/autoload/m_locops.so +lib/ircd-hybrid-ru-modules/autoload/m_lusers.so +lib/ircd-hybrid-ru-modules/autoload/m_map.so +lib/ircd-hybrid-ru-modules/autoload/m_motd.so +lib/ircd-hybrid-ru-modules/autoload/m_names.so +lib/ircd-hybrid-ru-modules/autoload/m_nburst.so +lib/ircd-hybrid-ru-modules/autoload/m_oper.so +lib/ircd-hybrid-ru-modules/autoload/m_operwall.so +lib/ircd-hybrid-ru-modules/autoload/m_ojoin.so +lib/ircd-hybrid-ru-modules/autoload/m_pass.so +lib/ircd-hybrid-ru-modules/autoload/m_ping.so +lib/ircd-hybrid-ru-modules/autoload/m_pong.so +lib/ircd-hybrid-ru-modules/autoload/m_post.so +lib/ircd-hybrid-ru-modules/autoload/m_rehash.so +lib/ircd-hybrid-ru-modules/autoload/m_restart.so +lib/ircd-hybrid-ru-modules/autoload/m_resv.so +lib/ircd-hybrid-ru-modules/autoload/m_set.so +lib/ircd-hybrid-ru-modules/autoload/m_stats.so +lib/ircd-hybrid-ru-modules/autoload/m_svinfo.so +lib/ircd-hybrid-ru-modules/autoload/m_svs.so +lib/ircd-hybrid-ru-modules/autoload/m_tburst.so +lib/ircd-hybrid-ru-modules/autoload/m_testline.so +lib/ircd-hybrid-ru-modules/autoload/m_time.so +lib/ircd-hybrid-ru-modules/autoload/m_topic.so +lib/ircd-hybrid-ru-modules/autoload/m_trace.so +lib/ircd-hybrid-ru-modules/autoload/m_user.so +lib/ircd-hybrid-ru-modules/autoload/m_userhost.so +lib/ircd-hybrid-ru-modules/autoload/m_users.so +lib/ircd-hybrid-ru-modules/autoload/m_version.so +lib/ircd-hybrid-ru-modules/autoload/m_wallops.so +lib/ircd-hybrid-ru-modules/autoload/m_who.so +lib/ircd-hybrid-ru-modules/autoload/m_whois.so +lib/ircd-hybrid-ru-modules/autoload/m_whowas.so +lib/ircd-hybrid-ru-modules/autoload/m_xline.so +lib/ircd-hybrid-ru-modules/m_die.so +lib/ircd-hybrid-ru-modules/m_join.so +lib/ircd-hybrid-ru-modules/m_kick.so +lib/ircd-hybrid-ru-modules/m_kill.so +lib/ircd-hybrid-ru-modules/m_message.so +lib/ircd-hybrid-ru-modules/m_mode.so +lib/ircd-hybrid-ru-modules/m_nick.so +lib/ircd-hybrid-ru-modules/m_part.so +lib/ircd-hybrid-ru-modules/m_quit.so +lib/ircd-hybrid-ru-modules/m_server.so +lib/ircd-hybrid-ru-modules/m_sjoin.so +lib/ircd-hybrid-ru-modules/m_squit.so +%%PORTDOCS%%%%DOCSDIR%%/RELNOTES +%%PORTDOCS%%%%DOCSDIR%%/RELNOTES.hybrid-ru +%%PORTDOCS%%%%DOCSDIR%%/CIDR.txt +%%PORTDOCS%%%%DOCSDIR%%/LazyLinks.txt +%%PORTDOCS%%%%DOCSDIR%%/challenge.txt +%%PORTDOCS%%%%DOCSDIR%%/channels.txt +%%PORTDOCS%%%%DOCSDIR%%/guidelines.txt +%%PORTDOCS%%%%DOCSDIR%%/index.txt +%%PORTDOCS%%%%DOCSDIR%%/kline.txt +%%PORTDOCS%%%%DOCSDIR%%/messages.txt +%%PORTDOCS%%%%DOCSDIR%%/modeg.txt +%%PORTDOCS%%%%DOCSDIR%%/modes.txt +%%PORTDOCS%%%%DOCSDIR%%/operguide.txt +%%PORTDOCS%%%%DOCSDIR%%/opermyth.txt +%%PORTDOCS%%%%DOCSDIR%%/resv.txt +%%PORTDOCS%%%%DOCSDIR%%/serverhide.txt +%%PORTDOCS%%%%DOCSDIR%%/whats-new.txt +%%PORTDOCS%%%%DOCSDIR%%/server-version-info +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm include/ircd-hybrid-7 +@dirrm lib/ircd-hybrid-ru-modules/autoload +@dirrm lib/ircd-hybrid-ru-modules +@exec mkdir -m 755 /var/log/ircd-hybrid-ru +@exec chown ircdru:ircdru /var/log/ircd-hybrid-ru +@unexec rmdir /var/log/ircd-hybrid-ru 2>/dev/null || true +@unexec rmdir %D/etc/ircd-hybrid-ru/codepage 2>/dev/null || true +@unexec rmdir %D/etc/ircd-hybrid-ru 2>/dev/null || true diff --git a/russian/ircd-hybrid/Makefile b/russian/ircd-hybrid/Makefile new file mode 100644 index 000000000000..82f99e30f55e --- /dev/null +++ b/russian/ircd-hybrid/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: ircd-hybrid-ru +# Date Created: 2003.12.14 +# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org> +# +# $FreeBSD$ +# + +PORTNAME= ircd +PORTVERSION= 7.1 +CATEGORIES= irc russian +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://rusunix.org/pub/FreeBSD/distfles/ +MASTER_SITE_SUBDIR= ircd-hybrid-ru +PKGNAMESUFFIX= -hybrid-ru +DISTNAME= ircd-hybrid-ru-7.1rc2 + +MAINTAINER= aquatique@rusunix.org +COMMENT= Russian version of well known hybrid IRC server + +CONFLICTS= ircd* + +WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX} +USE_OPENSSL= yes +USE_BISON= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd-hybrid-ru + +MAN8= ircd.8 + +.if defined(WITH_SMALL_NET) +CONFIGURE_ARGS+=-enable-small-net +.endif + +.if defined(WITH_SYSLOG) +CONFIGURE_ARGS+=--enable-syslog=\"kill squit connect users oper\" +.endif + +.if defined(NICKLENGTH) +CONFIGURE_ARGS+=--with-nicklen=${NICKLENGTH} +.endif + +.if defined(TOPICLENGTH) +CONFIGURE_ARGS+=--with-topiclen=${TOPICLENGTH} +.endif + +.if defined(MAXCONN) +CONFIGURE_ARGS+=--with-maxconn=${MAXCONN} +.endif + +pre-extract: + @${ECHO_MSG} "* * * Build options for ircd-hybrid-ru * * *" + @${ECHO_MSG} "Issue make WITH_SMALL_NET=yes to build server optimized for small network" + @${ECHO_MSG} "Issue make WITH_SYSLOG=yes to enable logging via syslogd" + @${ECHO_MSG} "You can define maximum nick length. For example make NICKLENGTH=46 (default is 30)" + @${ECHO_MSG} "You can define maximum topic length. For example make TOPICLENGTH=254 (default is 120; maximum is 390)" + @${ECHO_MSG} "You can define maximum number of connections for ircd. For example make MAXCONN=512" + +pre-install: + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${REINPLACE_CMD} -e 's,etc/codepage,etc/ircd-hybrid-ru/codepage,' ${WRKSRC}/etc/example.conf + @${REINPLACE_CMD} -e 's,/ircd/modules,/lib/ircd-hybrid-ru-modules,' ${WRKSRC}/etc/example.conf + +post-install: + @${INSTALL_SCRIPT} -m 555 ${FILESDIR}/ircd-hybrid-ru.sh.sample ${PREFIX}/etc/rc.d + @${CHOWN} -R ircdru:ircdru ${PREFIX}/etc/ircd-hybrid-ru + @${CHOWN} -R ircdru:ircdru /var/log/ircd-hybrid-ru + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/RELNOTE* ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/server-version-info ${DOCSDIR} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/russian/ircd-hybrid/distinfo b/russian/ircd-hybrid/distinfo new file mode 100644 index 000000000000..a53a20bbd207 --- /dev/null +++ b/russian/ircd-hybrid/distinfo @@ -0,0 +1 @@ +MD5 (ircd-hybrid-ru-7.1rc2.tar.gz) = 3f3b6311c55eb6d697285d6437ced084 diff --git a/russian/ircd-hybrid/files/ircd-hybrid-ru.sh.sample b/russian/ircd-hybrid/files/ircd-hybrid-ru.sh.sample new file mode 100644 index 000000000000..f62cb23e9862 --- /dev/null +++ b/russian/ircd-hybrid/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/files/patch-configure b/russian/ircd-hybrid/files/patch-configure new file mode 100644 index 000000000000..1da7b9f5f2e6 --- /dev/null +++ b/russian/ircd-hybrid/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/files/patch-defaults.h b/russian/ircd-hybrid/files/patch-defaults.h new file mode 100644 index 000000000000..70eb87ddefcb --- /dev/null +++ b/russian/ircd-hybrid/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/files/patch-etc-Makefile.in b/russian/ircd-hybrid/files/patch-etc-Makefile.in new file mode 100644 index 000000000000..873c8b2be553 --- /dev/null +++ b/russian/ircd-hybrid/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/files/patch-modules-Makefile.in b/russian/ircd-hybrid/files/patch-modules-Makefile.in new file mode 100644 index 000000000000..8c21fc46e83b --- /dev/null +++ b/russian/ircd-hybrid/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/files/patch-src-Makefile.in b/russian/ircd-hybrid/files/patch-src-Makefile.in new file mode 100644 index 000000000000..d10f7a029b79 --- /dev/null +++ b/russian/ircd-hybrid/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 \ diff --git a/russian/ircd-hybrid/pkg-deinstall b/russian/ircd-hybrid/pkg-deinstall new file mode 100644 index 000000000000..f0622b79251a --- /dev/null +++ b/russian/ircd-hybrid/pkg-deinstall @@ -0,0 +1,54 @@ +#! /bin/sh + +ask() { + local question default answer + + question=$1 + default=$2 + if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then + read -p "${question} [${default}]? " answer + fi + echo ${answer:-${default}} +} + +yesno() { + local question default answer + + question=$1 + default=$2 + while :; do + answer=$(ask "${question}" "${default}") + case "${answer}" in + [Yy]*) return 0;; + [Nn]*) return 1;; + esac + echo "Please answer yes or no." + done +} + +delete_account() { + local u + + u=$1 + if yesno "Do you want me to remove user \"${u}\"" n; then + pw userdel -n ${u} + echo "Done." + fi +} + +case $2 in + +DEINSTALL) + if ps -axc | grep -qw ircd; then + if yesno "ircd is still running. Shall I stop it?" y; then + killall ircd + sleep 2 + else + echo "OK ... I hope you know what you are doing." + fi + fi + + delete_account ircdru + ;; + +esac diff --git a/russian/ircd-hybrid/pkg-descr b/russian/ircd-hybrid/pkg-descr new file mode 100644 index 000000000000..12da7a3b5069 --- /dev/null +++ b/russian/ircd-hybrid/pkg-descr @@ -0,0 +1,7 @@ + ircd-hybrid-ru is russian version of well known hybrid IRC server + with plently number of features + + russian version can handle russian channel names, nicknames and + charset recoding + +WWW: http://hyb.net.ru/ diff --git a/russian/ircd-hybrid/pkg-install b/russian/ircd-hybrid/pkg-install new file mode 100644 index 000000000000..60e4cbea2d5b --- /dev/null +++ b/russian/ircd-hybrid/pkg-install @@ -0,0 +1,68 @@ +#!/bin/sh + +# This script is a modified copy of the pkg-install script +# from the original ircd-hybrid port. + +if [ "x$2" != "xPRE-INSTALL" ]; then + exit 0; +fi + + +if ! which -s pw ; then + cat <<EOF +Your system does not include the "pw" utility. You should upgrade +to a newer version of FreeBSD. Without "pw" this script will not +run. +EOF + exit 1 +fi + +uid=6667 +user=ircdru +gid=$uid +group=$user +gecos="Russian hybrid IRC server" +shell="/bin/sh" +home="/nonexistent" + +echo "" +if pw groupshow $group 2> /dev/null ; then + echo "You already have a group \"$group\", so I will use it." +else + if pw groupshow $gid 2> /dev/null ; then + echo "You already have a gid \"$gid\". Please create a user \"$group\"" + echo "with a default group of \"$group\"." + exit 1 + fi + echo "You need a group \"$group\"." + if which -s pw ; then + pw groupadd $group -g $gid || exit + echo "Done." + else + echo "Please create it, and try again." + if ! pw usershow $user 2> /dev/null ; then + echo "While you're at it, please create a user \"$user\"" + echo 'too, with a default group of "$group".' + fi + exit 1 + fi +fi + +if pw usershow $user 2> /dev/null ; then + echo "You already have a user \"$user\", so I will use it." +else + if pw usershow $uid 2> /dev/null ; then + echo "You already have a uid \"$uid\". Please create a user \"$user\"" + echo "with a default group of \"$group\"." + exit 1 + fi + echo "You need a user \"$user\"." + if which -s pw; then + pw useradd $user -g $group -u $uid -h - -d $home \ + -s "$shell" -c "$gecos" || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi +fi diff --git a/russian/ircd-hybrid/pkg-message b/russian/ircd-hybrid/pkg-message new file mode 100644 index 000000000000..83c0ab174a7c --- /dev/null +++ b/russian/ircd-hybrid/pkg-message @@ -0,0 +1,17 @@ + +---------------------------------------------------- + +ircd-hybrid-ru has been installed. + +This port create user ircdru and group ircdru + +You should now copy /usr/local/etc/ircd-hybrid-ru/example.conf + to /usr/local/etc/ircd-hybrid-ru/ircd.conf + and edit it to suit your needs. + +You may then start the server by running: + cd /usr/local/etc/rc.d/ && \ + cp ircd-hybrid-ru.sh.sample ircd-hybrid-ru.sh && \ + /usr/local/etc/rc.d/ircd-hybrid-ru.sh start + +---------------------------------------------------- diff --git a/russian/ircd-hybrid/pkg-plist b/russian/ircd-hybrid/pkg-plist new file mode 100644 index 000000000000..3472e9b442aa --- /dev/null +++ b/russian/ircd-hybrid/pkg-plist @@ -0,0 +1,186 @@ +bin/ircd +bin/servlink +bin/viconf +bin/mkpasswd +bin/convertconf +bin/convertilines +bin/convertklines +bin/encspeed +bin/viklines +bin/vimotd +etc/rc.d/ircd-hybrid-ru.sh.sample +etc/ircd-hybrid-ru/example.conf +etc/ircd-hybrid-ru/codepage/cp866.tab +etc/ircd-hybrid-ru/codepage/iso8859-5.tab +etc/ircd-hybrid-ru/codepage/koi8.tab +etc/ircd-hybrid-ru/codepage/macintosh.tab +etc/ircd-hybrid-ru/codepage/translit.tab +etc/ircd-hybrid-ru/ircd.motd +etc/ircd-hybrid-ru/dline.conf +etc/ircd-hybrid-ru/kline.conf +etc/ircd-hybrid-ru/xline.conf +etc/ircd-hybrid-ru/nresv.conf +etc/ircd-hybrid-ru/cresv.conf +include/ircd-hybrid-7/balloc.h +include/ircd-hybrid-7/blalloc.h +include/ircd-hybrid-7/channel.h +include/ircd-hybrid-7/channel_mode.h +include/ircd-hybrid-7/client.h +include/ircd-hybrid-7/cluster.h +include/ircd-hybrid-7/common.h +include/ircd-hybrid-7/control.h +include/ircd-hybrid-7/dalloca.h +include/ircd-hybrid-7/dbuf.h +include/ircd-hybrid-7/defaults.h +include/ircd-hybrid-7/event.h +include/ircd-hybrid-7/fdlist.h +include/ircd-hybrid-7/fileio.h +include/ircd-hybrid-7/handlers.h +include/ircd-hybrid-7/hash.h +include/ircd-hybrid-7/hook.h +include/ircd-hybrid-7/hostmask.h +include/ircd-hybrid-7/inet_misc.h +include/ircd-hybrid-7/io.h +include/ircd-hybrid-7/irc_getaddrinfo.h +include/ircd-hybrid-7/irc_getnameinfo.h +include/ircd-hybrid-7/irc_res.h +include/ircd-hybrid-7/irc_reslib.h +include/ircd-hybrid-7/irc_string.h +include/ircd-hybrid-7/ircd.h +include/ircd-hybrid-7/ircd_defs.h +include/ircd-hybrid-7/ircd_getopt.h +include/ircd-hybrid-7/ircd_handler.h +include/ircd-hybrid-7/ircd_signal.h +include/ircd-hybrid-7/ircdauth.h +include/ircd-hybrid-7/list.h +include/ircd-hybrid-7/listener.h +include/ircd-hybrid-7/m_info.h +include/ircd-hybrid-7/memory.h +include/ircd-hybrid-7/modules.h +include/ircd-hybrid-7/motd.h +include/ircd-hybrid-7/msg.h +include/ircd-hybrid-7/numeric.h +include/ircd-hybrid-7/packet.h +include/ircd-hybrid-7/parse.h +include/ircd-hybrid-7/patchlevel.h +include/ircd-hybrid-7/restart.h +include/ircd-hybrid-7/resv.h +include/ircd-hybrid-7/rlimits.h +include/ircd-hybrid-7/rsa.h +include/ircd-hybrid-7/s_auth.h +include/ircd-hybrid-7/s_bsd.h +include/ircd-hybrid-7/s_conf.h +include/ircd-hybrid-7/s_debug.h +include/ircd-hybrid-7/s_gline.h +include/ircd-hybrid-7/s_log.h +include/ircd-hybrid-7/s_misc.h +include/ircd-hybrid-7/s_serv.h +include/ircd-hybrid-7/s_stats.h +include/ircd-hybrid-7/s_user.h +include/ircd-hybrid-7/send.h +include/ircd-hybrid-7/serno.h +include/ircd-hybrid-7/servlink.h +include/ircd-hybrid-7/setup.h +include/ircd-hybrid-7/sprintf_irc.h +include/ircd-hybrid-7/stdinc.h +include/ircd-hybrid-7/supported.h +include/ircd-hybrid-7/tools.h +include/ircd-hybrid-7/translate.h +include/ircd-hybrid-7/userhost.h +include/ircd-hybrid-7/whowas.h +lib/ircd-hybrid-ru-modules/autoload/m_accept.so +lib/ircd-hybrid-ru-modules/autoload/m_admin.so +lib/ircd-hybrid-ru-modules/autoload/m_away.so +lib/ircd-hybrid-ru-modules/autoload/m_capab.so +lib/ircd-hybrid-ru-modules/autoload/m_cburst.so +lib/ircd-hybrid-ru-modules/autoload/m_close.so +lib/ircd-hybrid-ru-modules/autoload/m_challenge.so +lib/ircd-hybrid-ru-modules/autoload/m_cryptlink.so +lib/ircd-hybrid-ru-modules/autoload/m_connect.so +lib/ircd-hybrid-ru-modules/autoload/m_dmem.so +lib/ircd-hybrid-ru-modules/autoload/m_drop.so +lib/ircd-hybrid-ru-modules/autoload/m_encap.so +lib/ircd-hybrid-ru-modules/autoload/m_eob.so +lib/ircd-hybrid-ru-modules/autoload/m_gline.so +lib/ircd-hybrid-ru-modules/autoload/m_info.so +lib/ircd-hybrid-ru-modules/autoload/m_invite.so +lib/ircd-hybrid-ru-modules/autoload/m_ison.so +lib/ircd-hybrid-ru-modules/autoload/m_kline.so +lib/ircd-hybrid-ru-modules/autoload/m_knock.so +lib/ircd-hybrid-ru-modules/autoload/m_links.so +lib/ircd-hybrid-ru-modules/autoload/m_list.so +lib/ircd-hybrid-ru-modules/autoload/m_lljoin.so +lib/ircd-hybrid-ru-modules/autoload/m_llnick.so +lib/ircd-hybrid-ru-modules/autoload/m_locops.so +lib/ircd-hybrid-ru-modules/autoload/m_lusers.so +lib/ircd-hybrid-ru-modules/autoload/m_map.so +lib/ircd-hybrid-ru-modules/autoload/m_motd.so +lib/ircd-hybrid-ru-modules/autoload/m_names.so +lib/ircd-hybrid-ru-modules/autoload/m_nburst.so +lib/ircd-hybrid-ru-modules/autoload/m_oper.so +lib/ircd-hybrid-ru-modules/autoload/m_operwall.so +lib/ircd-hybrid-ru-modules/autoload/m_ojoin.so +lib/ircd-hybrid-ru-modules/autoload/m_pass.so +lib/ircd-hybrid-ru-modules/autoload/m_ping.so +lib/ircd-hybrid-ru-modules/autoload/m_pong.so +lib/ircd-hybrid-ru-modules/autoload/m_post.so +lib/ircd-hybrid-ru-modules/autoload/m_rehash.so +lib/ircd-hybrid-ru-modules/autoload/m_restart.so +lib/ircd-hybrid-ru-modules/autoload/m_resv.so +lib/ircd-hybrid-ru-modules/autoload/m_set.so +lib/ircd-hybrid-ru-modules/autoload/m_stats.so +lib/ircd-hybrid-ru-modules/autoload/m_svinfo.so +lib/ircd-hybrid-ru-modules/autoload/m_svs.so +lib/ircd-hybrid-ru-modules/autoload/m_tburst.so +lib/ircd-hybrid-ru-modules/autoload/m_testline.so +lib/ircd-hybrid-ru-modules/autoload/m_time.so +lib/ircd-hybrid-ru-modules/autoload/m_topic.so +lib/ircd-hybrid-ru-modules/autoload/m_trace.so +lib/ircd-hybrid-ru-modules/autoload/m_user.so +lib/ircd-hybrid-ru-modules/autoload/m_userhost.so +lib/ircd-hybrid-ru-modules/autoload/m_users.so +lib/ircd-hybrid-ru-modules/autoload/m_version.so +lib/ircd-hybrid-ru-modules/autoload/m_wallops.so +lib/ircd-hybrid-ru-modules/autoload/m_who.so +lib/ircd-hybrid-ru-modules/autoload/m_whois.so +lib/ircd-hybrid-ru-modules/autoload/m_whowas.so +lib/ircd-hybrid-ru-modules/autoload/m_xline.so +lib/ircd-hybrid-ru-modules/m_die.so +lib/ircd-hybrid-ru-modules/m_join.so +lib/ircd-hybrid-ru-modules/m_kick.so +lib/ircd-hybrid-ru-modules/m_kill.so +lib/ircd-hybrid-ru-modules/m_message.so +lib/ircd-hybrid-ru-modules/m_mode.so +lib/ircd-hybrid-ru-modules/m_nick.so +lib/ircd-hybrid-ru-modules/m_part.so +lib/ircd-hybrid-ru-modules/m_quit.so +lib/ircd-hybrid-ru-modules/m_server.so +lib/ircd-hybrid-ru-modules/m_sjoin.so +lib/ircd-hybrid-ru-modules/m_squit.so +%%PORTDOCS%%%%DOCSDIR%%/RELNOTES +%%PORTDOCS%%%%DOCSDIR%%/RELNOTES.hybrid-ru +%%PORTDOCS%%%%DOCSDIR%%/CIDR.txt +%%PORTDOCS%%%%DOCSDIR%%/LazyLinks.txt +%%PORTDOCS%%%%DOCSDIR%%/challenge.txt +%%PORTDOCS%%%%DOCSDIR%%/channels.txt +%%PORTDOCS%%%%DOCSDIR%%/guidelines.txt +%%PORTDOCS%%%%DOCSDIR%%/index.txt +%%PORTDOCS%%%%DOCSDIR%%/kline.txt +%%PORTDOCS%%%%DOCSDIR%%/messages.txt +%%PORTDOCS%%%%DOCSDIR%%/modeg.txt +%%PORTDOCS%%%%DOCSDIR%%/modes.txt +%%PORTDOCS%%%%DOCSDIR%%/operguide.txt +%%PORTDOCS%%%%DOCSDIR%%/opermyth.txt +%%PORTDOCS%%%%DOCSDIR%%/resv.txt +%%PORTDOCS%%%%DOCSDIR%%/serverhide.txt +%%PORTDOCS%%%%DOCSDIR%%/whats-new.txt +%%PORTDOCS%%%%DOCSDIR%%/server-version-info +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm include/ircd-hybrid-7 +@dirrm lib/ircd-hybrid-ru-modules/autoload +@dirrm lib/ircd-hybrid-ru-modules +@exec mkdir -m 755 /var/log/ircd-hybrid-ru +@exec chown ircdru:ircdru /var/log/ircd-hybrid-ru +@unexec rmdir /var/log/ircd-hybrid-ru 2>/dev/null || true +@unexec rmdir %D/etc/ircd-hybrid-ru/codepage 2>/dev/null || true +@unexec rmdir %D/etc/ircd-hybrid-ru 2>/dev/null || true |