Date: Mon, 15 Dec 2003 10:01:27 +0600 (OMST) From: <aquatique@rusunix.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60244: new port: irc/ircd-hybrid-ru Message-ID: <20031215040127.4730A1CCEF9@rusunix.org> Resent-Message-ID: <200312150410.hBF4A92r001330@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60244 >Category: ports >Synopsis: new port: irc/ircd-hybrid-ru >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 14 20:10:09 PST 2003 >Closed-Date: >Last-Modified: >Originator: Evgueni V. Gavrilov >Release: FreeBSD 4.9-RELEASE i386 >Organization: >Environment: System: FreeBSD rusunix.org 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Wed Oct 29 18:22:05 OMST 2003 root@rusunix.org:/usr/obj/usr/src/sys/NEWMONSTER i386 >Description: 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 >How-To-Repeat: patch < >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # irc/ircd-hybrid-ru # irc/ircd-hybrid-ru/files # irc/ircd-hybrid-ru/files/patch-defaults.h # irc/ircd-hybrid-ru/files/patch-etc-Makefile.in # irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample # irc/ircd-hybrid-ru/files/patch-configure # irc/ircd-hybrid-ru/files/patch-src-Makefile.in # irc/ircd-hybrid-ru/files/patch-modules-Makefile.in # irc/ircd-hybrid-ru/Makefile # irc/ircd-hybrid-ru/distinfo # irc/ircd-hybrid-ru/pkg-install # irc/ircd-hybrid-ru/pkg-message # irc/ircd-hybrid-ru/pkg-plist # irc/ircd-hybrid-ru/pkg-descr # irc/ircd-hybrid-ru/pkg-deinstall # echo c - irc/ircd-hybrid-ru mkdir -p irc/ircd-hybrid-ru > /dev/null 2>&1 echo c - irc/ircd-hybrid-ru/files mkdir -p irc/ircd-hybrid-ru/files > /dev/null 2>&1 echo x - irc/ircd-hybrid-ru/files/patch-defaults.h sed 's/^X//' >irc/ircd-hybrid-ru/files/patch-defaults.h << 'END-of-irc/ircd-hybrid-ru/files/patch-defaults.h' X--- include/defaults.h.orig Sun Oct 5 02:31:17 2003 X+++ include/defaults.h Sun Dec 14 16:29:00 2003 X@@ -49,9 +49,9 @@ X #define DPATH IRCD_PREFIX X #define BINPATH IRCD_PREFIX "/bin/" X #define MSGPATH IRCD_PREFIX "/messages/" X-#define ETCPATH IRCD_PREFIX "/etc" X-#define LOGPATH IRCD_PREFIX "/logs" X-#define MODPATH IRCD_PREFIX "/modules/" X+#define ETCPATH IRCD_PREFIX "/etc/ircd-hybrid-ru" X+#define LOGPATH "/var/log/ircd-hybrid-ru" X+#define MODPATH IRCD_PREFIX "/lib/ircd-hybrid-ru-modules/" X X /* files */ X #define SPATH BINPATH "/ircd" /* ircd executable */ END-of-irc/ircd-hybrid-ru/files/patch-defaults.h echo x - irc/ircd-hybrid-ru/files/patch-etc-Makefile.in sed 's/^X//' >irc/ircd-hybrid-ru/files/patch-etc-Makefile.in << 'END-of-irc/ircd-hybrid-ru/files/patch-etc-Makefile.in' X--- etc/Makefile.in.orig Sun Dec 14 14:56:56 2003 X+++ etc/Makefile.in Sun Dec 14 14:57:51 2003 X@@ -27,6 +27,8 @@ X echo $(INSTALL_DATA) $$i $(sysconfdir); \ X $(INSTALL_DATA) $$i $(sysconfdir); \ X done X+ mkdir -p $(sysconfdir)/codepage; \ X+ $(INSTALL_DATA) codepage/* $(sysconfdir)/codepage/ X X @echo "Note: more example configuration files can be found in this directory (etc/)." X END-of-irc/ircd-hybrid-ru/files/patch-etc-Makefile.in echo x - irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample sed 's/^X//' >irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample << 'END-of-irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample' X#!/bin/sh X XPREFIX=$(expr $0 : "\(/.*/\)etc/rc\.d/$(basename $0)\$") X XIRCD=${PREFIX}bin/ircd X Xcase "$1" in Xstart) X if [ -x $IRCD ]; then X su ircdru -c $IRCD >/dev/null 2>&1 X echo -n ' ircd-hybrid-ru' X fi X ;; Xstop) X kill `cat ${PREFIX}/etc/ircd-hybrid-ru/ircd.pid` >/dev/null 2>&1 X echo -n ' ircd' X ;; X*) X echo "Usage: `basename $0` {start|stop}" >&2 X ;; Xesac X Xexit 0 END-of-irc/ircd-hybrid-ru/files/ircd-hybrid-ru.sh.sample echo x - irc/ircd-hybrid-ru/files/patch-configure sed 's/^X//' >irc/ircd-hybrid-ru/files/patch-configure << 'END-of-irc/ircd-hybrid-ru/files/patch-configure' X--- configure.orig Thu Oct 9 17:38:48 2003 X+++ configure Sun Dec 14 14:35:48 2003 X@@ -1944,7 +1944,7 @@ X ac_status=$? X echo "$as_me:$LINENO: \$? = $ac_status" >&5 X (exit $ac_status); }; }; then X- ac_cv_prog_cc_g=yes X+ ac_cv_prog_cc_g=no X else X echo "$as_me: failed program was:" >&5 X sed 's/^/| /' conftest.$ac_ext >&5 END-of-irc/ircd-hybrid-ru/files/patch-configure echo x - irc/ircd-hybrid-ru/files/patch-src-Makefile.in sed 's/^X//' >irc/ircd-hybrid-ru/files/patch-src-Makefile.in << 'END-of-irc/ircd-hybrid-ru/files/patch-src-Makefile.in' X--- src/Makefile.in.orig Sun Dec 14 14:44:19 2003 X+++ src/Makefile.in Sun Dec 14 14:44:37 2003 X@@ -128,7 +128,7 @@ X X install-mkdirs: X mkdir -p $(prefix) $(exec_prefix) $(bindir) $(sysconfdir) \ X- $(localstatedir)/logs X+ /var/log/ircd-hybrid-ru X X install: install-mkdirs build X @for i in $(PROGS); do \ END-of-irc/ircd-hybrid-ru/files/patch-src-Makefile.in echo x - irc/ircd-hybrid-ru/files/patch-modules-Makefile.in sed 's/^X//' >irc/ircd-hybrid-ru/files/patch-modules-Makefile.in << 'END-of-irc/ircd-hybrid-ru/files/patch-modules-Makefile.in' X--- modules/Makefile.in.orig Sun Dec 14 15:13:18 2003 X+++ modules/Makefile.in Sun Dec 14 15:13:52 2003 X@@ -23,7 +23,7 @@ X X prefix = $(DESTDIR)@prefix@ X # Change this later! -- adrian X-moduledir = ${prefix}/modules X+moduledir = ${prefix}/lib/ircd-hybrid-ru-modules X automoduledir = ${moduledir}/autoload X X INCLUDES = -I../include $(SSL_INCLUDES) END-of-irc/ircd-hybrid-ru/files/patch-modules-Makefile.in echo x - irc/ircd-hybrid-ru/Makefile sed 's/^X//' >irc/ircd-hybrid-ru/Makefile << 'END-of-irc/ircd-hybrid-ru/Makefile' X# New ports collection makefile for: ircd-hybrid-ru X# Date Created: 2003.12.14 X# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org> X# X# $FreeBSD$ X# X XPORTNAME= ircd XPORTVERSION= 7.1 XCATEGORIES= russian irc XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ X ftp://rusunix.org/pub/FreeBSD/distfles/ XMASTER_SITE_SUBDIR= ircd-hybrid-ru XPKGNAMESUFFIX= -hybrid-ru XDISTNAME= ircd-hybrid-ru-7.1rc2 X XMAINTAINER= aquatique@rusunix.org XCOMMENT= Russian version of well known hybrid IRC server X XCONFLICTS= ircd* X XWRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX} XUSE_OPENSSL= yes XUSE_BISON= yes XUSE_REINPLACE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd-hybrid-ru X XMAN8= ircd.8 X X.if defined(WITH_SMALL_NET) XCONFIGURE_ARGS+=-enable-small-net X.endif X X.if defined(WITH_SYSLOG) XCONFIGURE_ARGS+=--enable-syslog=\"kill squit connect users oper\" X.endif X X.if defined(NICKLENGTH) XCONFIGURE_ARGS+=--with-nicklen=${NICKLENGTH} X.endif X X.if defined(TOPICLENGTH) XCONFIGURE_ARGS+=--with-topiclen=${TOPICLENGTH} X.endif X X.if defined(MAXCONN) XCONFIGURE_ARGS+=--with-maxconn=${MAXCONN} X.endif X Xpre-extract: X @${ECHO_MSG} "* * * Build options for ircd-hybrid-ru * * *" X @${ECHO_MSG} "Issue make WITH_SMALL_NET=yes to build server optimized for small network" X @${ECHO_MSG} "Issue make WITH_SYSLOG=yes to enable logging via syslogd" X @${ECHO_MSG} "You can define maximum nick length. For example make NICKLENGTH=46 (default is 30)" X @${ECHO_MSG} "You can define maximum topic length. For example make TOPICLENGTH=254 (default is 120; maximum is 390)" X @${ECHO_MSG} "You can define maximum number of connections for ircd. For example make MAXCONN=512" X Xpre-install: X @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X @${REINPLACE_CMD} -e 's,etc/codepage,etc/ircd-hybrid-ru/codepage,' ${WRKSRC}/etc/example.conf X @${REINPLACE_CMD} -e 's,/ircd/modules,/lib/ircd-hybrid-ru-modules,' ${WRKSRC}/etc/example.conf X Xpost-install: X @${INSTALL_SCRIPT} -m 555 ${FILESDIR}/ircd-hybrid-ru.sh.sample ${PREFIX}/etc/rc.d X @${CHOWN} -R ircdru:ircdru ${PREFIX}/etc/ircd-hybrid-ru X @${CHOWN} -R ircdru:ircdru /var/log/ircd-hybrid-ru X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/RELNOTE* ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/doc/server-version-info ${DOCSDIR} X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-irc/ircd-hybrid-ru/Makefile echo x - irc/ircd-hybrid-ru/distinfo sed 's/^X//' >irc/ircd-hybrid-ru/distinfo << 'END-of-irc/ircd-hybrid-ru/distinfo' XMD5 (ircd-hybrid-ru-7.1rc2.tar.gz) = 3f3b6311c55eb6d697285d6437ced084 END-of-irc/ircd-hybrid-ru/distinfo echo x - irc/ircd-hybrid-ru/pkg-install sed 's/^X//' >irc/ircd-hybrid-ru/pkg-install << 'END-of-irc/ircd-hybrid-ru/pkg-install' X#!/bin/sh X X# This script is a modified copy of the pkg-install script X# from the original ircd-hybrid port. X Xif [ "x$2" != "xPRE-INSTALL" ]; then X exit 0; Xfi X X Xif ! which -s pw ; then X cat <<EOF XYour system does not include the "pw" utility. You should upgrade Xto a newer version of FreeBSD. Without "pw" this script will not Xrun. XEOF X exit 1 Xfi X Xuid=6667 Xuser=ircdru Xgid=$uid Xgroup=$user Xgecos="Russian hybrid IRC server" Xshell="/bin/sh" Xhome="/nonexistent" X Xecho "" Xif pw groupshow $group 2> /dev/null ; then X echo "You already have a group \"$group\", so I will use it." Xelse X if pw groupshow $gid 2> /dev/null ; then X echo "You already have a gid \"$gid\". Please create a user \"$group\"" X echo "with a default group of \"$group\"." X exit 1 X fi X echo "You need a group \"$group\"." X if which -s pw ; then X pw groupadd $group -g $gid || exit X echo "Done." X else X echo "Please create it, and try again." X if ! pw usershow $user 2> /dev/null ; then X echo "While you're at it, please create a user \"$user\"" X echo 'too, with a default group of "$group".' X fi X exit 1 X fi Xfi X Xif pw usershow $user 2> /dev/null ; then X echo "You already have a user \"$user\", so I will use it." Xelse X if pw usershow $uid 2> /dev/null ; then X echo "You already have a uid \"$uid\". Please create a user \"$user\"" X echo "with a default group of \"$group\"." X exit 1 X fi X echo "You need a user \"$user\"." X if which -s pw; then X pw useradd $user -g $group -u $uid -h - -d $home \ X -s "$shell" -c "$gecos" || exit X echo "Done." X else X echo "Please create it, and try again." X exit 1 X fi Xfi END-of-irc/ircd-hybrid-ru/pkg-install echo x - irc/ircd-hybrid-ru/pkg-message sed 's/^X//' >irc/ircd-hybrid-ru/pkg-message << 'END-of-irc/ircd-hybrid-ru/pkg-message' X X---------------------------------------------------- X Xircd-hybrid-ru has been installed. X XThis port create user ircdru and group ircdru X XYou should now copy /usr/local/etc/ircd-hybrid-ru/example.conf X to /usr/local/etc/ircd-hybrid-ru/ircd.conf X and edit it to suit your needs. X XYou may then start the server by running: X cd /usr/local/etc/rc.d/ && \ X cp ircd-hybrid-ru.sh.sample ircd-hybrid-ru.sh && \ X /usr/local/etc/rc.d/ircd-hybrid-ru.sh start X X---------------------------------------------------- END-of-irc/ircd-hybrid-ru/pkg-message echo x - irc/ircd-hybrid-ru/pkg-plist sed 's/^X//' >irc/ircd-hybrid-ru/pkg-plist << 'END-of-irc/ircd-hybrid-ru/pkg-plist' Xbin/ircd Xbin/servlink Xbin/viconf Xbin/mkpasswd Xbin/convertconf Xbin/convertilines Xbin/convertklines Xbin/encspeed Xbin/viklines Xbin/vimotd Xetc/rc.d/ircd-hybrid-ru.sh.sample Xetc/ircd-hybrid-ru/example.conf Xetc/ircd-hybrid-ru/codepage/cp866.tab Xetc/ircd-hybrid-ru/codepage/iso8859-5.tab Xetc/ircd-hybrid-ru/codepage/koi8.tab Xetc/ircd-hybrid-ru/codepage/macintosh.tab Xetc/ircd-hybrid-ru/codepage/translit.tab Xetc/ircd-hybrid-ru/ircd.motd Xetc/ircd-hybrid-ru/dline.conf Xetc/ircd-hybrid-ru/kline.conf Xetc/ircd-hybrid-ru/xline.conf Xetc/ircd-hybrid-ru/nresv.conf Xetc/ircd-hybrid-ru/cresv.conf Xinclude/ircd-hybrid-7/balloc.h Xinclude/ircd-hybrid-7/blalloc.h Xinclude/ircd-hybrid-7/channel.h Xinclude/ircd-hybrid-7/channel_mode.h Xinclude/ircd-hybrid-7/client.h Xinclude/ircd-hybrid-7/cluster.h Xinclude/ircd-hybrid-7/common.h Xinclude/ircd-hybrid-7/control.h Xinclude/ircd-hybrid-7/dalloca.h Xinclude/ircd-hybrid-7/dbuf.h Xinclude/ircd-hybrid-7/defaults.h Xinclude/ircd-hybrid-7/event.h Xinclude/ircd-hybrid-7/fdlist.h Xinclude/ircd-hybrid-7/fileio.h Xinclude/ircd-hybrid-7/handlers.h Xinclude/ircd-hybrid-7/hash.h Xinclude/ircd-hybrid-7/hook.h Xinclude/ircd-hybrid-7/hostmask.h Xinclude/ircd-hybrid-7/inet_misc.h Xinclude/ircd-hybrid-7/io.h Xinclude/ircd-hybrid-7/irc_getaddrinfo.h Xinclude/ircd-hybrid-7/irc_getnameinfo.h Xinclude/ircd-hybrid-7/irc_res.h Xinclude/ircd-hybrid-7/irc_reslib.h Xinclude/ircd-hybrid-7/irc_string.h Xinclude/ircd-hybrid-7/ircd.h Xinclude/ircd-hybrid-7/ircd_defs.h Xinclude/ircd-hybrid-7/ircd_getopt.h Xinclude/ircd-hybrid-7/ircd_handler.h Xinclude/ircd-hybrid-7/ircd_signal.h Xinclude/ircd-hybrid-7/ircdauth.h Xinclude/ircd-hybrid-7/list.h Xinclude/ircd-hybrid-7/listener.h Xinclude/ircd-hybrid-7/m_info.h Xinclude/ircd-hybrid-7/memory.h Xinclude/ircd-hybrid-7/modules.h Xinclude/ircd-hybrid-7/motd.h Xinclude/ircd-hybrid-7/msg.h Xinclude/ircd-hybrid-7/numeric.h Xinclude/ircd-hybrid-7/packet.h Xinclude/ircd-hybrid-7/parse.h Xinclude/ircd-hybrid-7/patchlevel.h Xinclude/ircd-hybrid-7/restart.h Xinclude/ircd-hybrid-7/resv.h Xinclude/ircd-hybrid-7/rlimits.h Xinclude/ircd-hybrid-7/rsa.h Xinclude/ircd-hybrid-7/s_auth.h Xinclude/ircd-hybrid-7/s_bsd.h Xinclude/ircd-hybrid-7/s_conf.h Xinclude/ircd-hybrid-7/s_debug.h Xinclude/ircd-hybrid-7/s_gline.h Xinclude/ircd-hybrid-7/s_log.h Xinclude/ircd-hybrid-7/s_misc.h Xinclude/ircd-hybrid-7/s_serv.h Xinclude/ircd-hybrid-7/s_stats.h Xinclude/ircd-hybrid-7/s_user.h Xinclude/ircd-hybrid-7/send.h Xinclude/ircd-hybrid-7/serno.h Xinclude/ircd-hybrid-7/servlink.h Xinclude/ircd-hybrid-7/setup.h Xinclude/ircd-hybrid-7/sprintf_irc.h Xinclude/ircd-hybrid-7/stdinc.h Xinclude/ircd-hybrid-7/supported.h Xinclude/ircd-hybrid-7/tools.h Xinclude/ircd-hybrid-7/translate.h Xinclude/ircd-hybrid-7/userhost.h Xinclude/ircd-hybrid-7/whowas.h Xlib/ircd-hybrid-ru-modules/autoload/m_accept.so Xlib/ircd-hybrid-ru-modules/autoload/m_admin.so Xlib/ircd-hybrid-ru-modules/autoload/m_away.so Xlib/ircd-hybrid-ru-modules/autoload/m_capab.so Xlib/ircd-hybrid-ru-modules/autoload/m_cburst.so Xlib/ircd-hybrid-ru-modules/autoload/m_close.so Xlib/ircd-hybrid-ru-modules/autoload/m_challenge.so Xlib/ircd-hybrid-ru-modules/autoload/m_cryptlink.so Xlib/ircd-hybrid-ru-modules/autoload/m_connect.so Xlib/ircd-hybrid-ru-modules/autoload/m_dmem.so Xlib/ircd-hybrid-ru-modules/autoload/m_drop.so Xlib/ircd-hybrid-ru-modules/autoload/m_encap.so Xlib/ircd-hybrid-ru-modules/autoload/m_eob.so Xlib/ircd-hybrid-ru-modules/autoload/m_gline.so Xlib/ircd-hybrid-ru-modules/autoload/m_info.so Xlib/ircd-hybrid-ru-modules/autoload/m_invite.so Xlib/ircd-hybrid-ru-modules/autoload/m_ison.so Xlib/ircd-hybrid-ru-modules/autoload/m_kline.so Xlib/ircd-hybrid-ru-modules/autoload/m_knock.so Xlib/ircd-hybrid-ru-modules/autoload/m_links.so Xlib/ircd-hybrid-ru-modules/autoload/m_list.so Xlib/ircd-hybrid-ru-modules/autoload/m_lljoin.so Xlib/ircd-hybrid-ru-modules/autoload/m_llnick.so Xlib/ircd-hybrid-ru-modules/autoload/m_locops.so Xlib/ircd-hybrid-ru-modules/autoload/m_lusers.so Xlib/ircd-hybrid-ru-modules/autoload/m_map.so Xlib/ircd-hybrid-ru-modules/autoload/m_motd.so Xlib/ircd-hybrid-ru-modules/autoload/m_names.so Xlib/ircd-hybrid-ru-modules/autoload/m_nburst.so Xlib/ircd-hybrid-ru-modules/autoload/m_oper.so Xlib/ircd-hybrid-ru-modules/autoload/m_operwall.so Xlib/ircd-hybrid-ru-modules/autoload/m_ojoin.so Xlib/ircd-hybrid-ru-modules/autoload/m_pass.so Xlib/ircd-hybrid-ru-modules/autoload/m_ping.so Xlib/ircd-hybrid-ru-modules/autoload/m_pong.so Xlib/ircd-hybrid-ru-modules/autoload/m_post.so Xlib/ircd-hybrid-ru-modules/autoload/m_rehash.so Xlib/ircd-hybrid-ru-modules/autoload/m_restart.so Xlib/ircd-hybrid-ru-modules/autoload/m_resv.so Xlib/ircd-hybrid-ru-modules/autoload/m_set.so Xlib/ircd-hybrid-ru-modules/autoload/m_stats.so Xlib/ircd-hybrid-ru-modules/autoload/m_svinfo.so Xlib/ircd-hybrid-ru-modules/autoload/m_svs.so Xlib/ircd-hybrid-ru-modules/autoload/m_tburst.so Xlib/ircd-hybrid-ru-modules/autoload/m_testline.so Xlib/ircd-hybrid-ru-modules/autoload/m_time.so Xlib/ircd-hybrid-ru-modules/autoload/m_topic.so Xlib/ircd-hybrid-ru-modules/autoload/m_trace.so Xlib/ircd-hybrid-ru-modules/autoload/m_user.so Xlib/ircd-hybrid-ru-modules/autoload/m_userhost.so Xlib/ircd-hybrid-ru-modules/autoload/m_users.so Xlib/ircd-hybrid-ru-modules/autoload/m_version.so Xlib/ircd-hybrid-ru-modules/autoload/m_wallops.so Xlib/ircd-hybrid-ru-modules/autoload/m_who.so Xlib/ircd-hybrid-ru-modules/autoload/m_whois.so Xlib/ircd-hybrid-ru-modules/autoload/m_whowas.so Xlib/ircd-hybrid-ru-modules/autoload/m_xline.so Xlib/ircd-hybrid-ru-modules/m_die.so Xlib/ircd-hybrid-ru-modules/m_join.so Xlib/ircd-hybrid-ru-modules/m_kick.so Xlib/ircd-hybrid-ru-modules/m_kill.so Xlib/ircd-hybrid-ru-modules/m_message.so Xlib/ircd-hybrid-ru-modules/m_mode.so Xlib/ircd-hybrid-ru-modules/m_nick.so Xlib/ircd-hybrid-ru-modules/m_part.so Xlib/ircd-hybrid-ru-modules/m_quit.so Xlib/ircd-hybrid-ru-modules/m_server.so Xlib/ircd-hybrid-ru-modules/m_sjoin.so Xlib/ircd-hybrid-ru-modules/m_squit.so X%%PORTDOCS%%%%DOCSDIR%%/RELNOTES X%%PORTDOCS%%%%DOCSDIR%%/RELNOTES.hybrid-ru X%%PORTDOCS%%%%DOCSDIR%%/CIDR.txt X%%PORTDOCS%%%%DOCSDIR%%/LazyLinks.txt X%%PORTDOCS%%%%DOCSDIR%%/challenge.txt X%%PORTDOCS%%%%DOCSDIR%%/channels.txt X%%PORTDOCS%%%%DOCSDIR%%/guidelines.txt X%%PORTDOCS%%%%DOCSDIR%%/index.txt X%%PORTDOCS%%%%DOCSDIR%%/kline.txt X%%PORTDOCS%%%%DOCSDIR%%/messages.txt X%%PORTDOCS%%%%DOCSDIR%%/modeg.txt X%%PORTDOCS%%%%DOCSDIR%%/modes.txt X%%PORTDOCS%%%%DOCSDIR%%/operguide.txt X%%PORTDOCS%%%%DOCSDIR%%/opermyth.txt X%%PORTDOCS%%%%DOCSDIR%%/resv.txt X%%PORTDOCS%%%%DOCSDIR%%/serverhide.txt X%%PORTDOCS%%%%DOCSDIR%%/whats-new.txt X%%PORTDOCS%%%%DOCSDIR%%/server-version-info X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrm include/ircd-hybrid-7 X@dirrm lib/ircd-hybrid-ru-modules/autoload X@dirrm lib/ircd-hybrid-ru-modules X@exec mkdir -m 755 /var/log/ircd-hybrid-ru X@exec chown ircdru:ircdru /var/log/ircd-hybrid-ru X@unexec rmdir /var/log/ircd-hybrid-ru 2>/dev/null || true X@unexec rmdir %D/etc/ircd-hybrid-ru/codepage 2>/dev/null || true X@unexec rmdir %D/etc/ircd-hybrid-ru 2>/dev/null || true END-of-irc/ircd-hybrid-ru/pkg-plist echo x - irc/ircd-hybrid-ru/pkg-descr sed 's/^X//' >irc/ircd-hybrid-ru/pkg-descr << 'END-of-irc/ircd-hybrid-ru/pkg-descr' X ircd-hybrid-ru is russian version of well known hybrid IRC server X with plently number of features X X russian version can handle russian channel names, nicknames and X charset recoding X XWWW: http://hyb.net.ru/ END-of-irc/ircd-hybrid-ru/pkg-descr echo x - irc/ircd-hybrid-ru/pkg-deinstall sed 's/^X//' >irc/ircd-hybrid-ru/pkg-deinstall << 'END-of-irc/ircd-hybrid-ru/pkg-deinstall' X#! /bin/sh X Xask() { X local question default answer X X question=$1 X default=$2 X if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then X read -p "${question} [${default}]? " answer X fi X echo ${answer:-${default}} X} X Xyesno() { X local question default answer X X question=$1 X default=$2 X while :; do X answer=$(ask "${question}" "${default}") X case "${answer}" in X [Yy]*) return 0;; X [Nn]*) return 1;; X esac X echo "Please answer yes or no." X done X} X Xdelete_account() { X local u X X u=$1 X if yesno "Do you want me to remove user \"${u}\"" n; then X pw userdel -n ${u} X echo "Done." X fi X} X Xcase $2 in X XDEINSTALL) X if ps -axc | grep -qw ircd; then X if yesno "ircd is still running. Shall I stop it?" y; then X killall ircd X sleep 2 X else X echo "OK ... I hope you know what you are doing." X fi X fi X X delete_account ircdru X ;; X Xesac END-of-irc/ircd-hybrid-ru/pkg-deinstall exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031215040127.4730A1CCEF9>