diff options
Diffstat (limited to 'irc/ircd-ru')
-rw-r--r-- | irc/ircd-ru/Makefile | 111 | ||||
-rw-r--r-- | irc/ircd-ru/distinfo | 2 | ||||
-rw-r--r-- | irc/ircd-ru/files/ircd.in | 30 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-m_who.c | 131 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-paths.h.in | 44 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-rc4.c | 10 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-src_s_serv.c | 12 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-tools__install_ircd.in | 10 | ||||
-rw-r--r-- | irc/ircd-ru/files/patch-utmpx | 60 | ||||
-rw-r--r-- | irc/ircd-ru/files/pkg-install.in | 6 | ||||
-rw-r--r-- | irc/ircd-ru/files/pkg-message.in | 17 | ||||
-rw-r--r-- | irc/ircd-ru/pkg-descr | 6 | ||||
-rw-r--r-- | irc/ircd-ru/pkg-plist | 23 |
14 files changed, 0 insertions, 473 deletions
diff --git a/irc/ircd-ru/Makefile b/irc/ircd-ru/Makefile deleted file mode 100644 index d62e69d3c954..000000000000 --- a/irc/ircd-ru/Makefile +++ /dev/null @@ -1,111 +0,0 @@ -# Created by: Khamushkin Ilya <ilya@ircd.ru> -# $FreeBSD$ - -PORTNAME= ircd-ru -PORTVERSION= 1.0.7 -PORTREVISION= 8 -CATEGORIES= irc russian -MASTER_SITES= http://m1cro.tk/ports/distfiles/ -DISTNAME= ircd-RU-${PORTVERSION}-03-rc-20090810 - -MAINTAINER= rum1cro@yandex.ru -COMMENT= IRC daemon with translation schemes and other useful features - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -LICENSE= GPLv1 - -BROKEN_aarch64= Fails to link: missing sbrk - -USES= tar:bzip2 -GNU_CONFIGURE= yes -USE_RC_SUBR= ircd -WRKSRC= ${WRKDIR}/ircd-RU-${PORTVERSION}-03-rc - -USERS= ircd -GROUPS= ${USERS} -SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} -SUB_FILES= pkg-install - -OPTIONS_DEFINE= WENET HUB ENCRYPTION SYSLOGFILE DRONEMODULE AUTHMODULE \ - DNSBL SELECT DOCS -WENET_DESC= irc.wenet.ru specific options -HUB_DESC= hub support -ENCRYPTION_DESC= RC4 crypt (server to server connection) -SYSLOGFILE_DESC= log to file instead of syslog -DRONEMODULE_DESC= dronemodule support -AUTHMODULE_DESC= authmodule support -DNSBL_DESC= DNSBL support -SELECT_DESC= enable select I/O - -.include <bsd.port.options.mk> - -# irc.wenet.ru specific options -.if ${PORT_OPTIONS:MWENET} -CONFIGURE_ARGS+=--enable-wenet XFLAGS=-g -.endif - -# enable hub support -.if ${PORT_OPTIONS:MHUB} -CONFIGURE_ARGS+=--enable-hub -.endif - -# enable RC4 crypt (server to server connection) -.if ${PORT_OPTIONS:MENCRYPTION} -CONFIGURE_ARGS+=--enable-encryption -LIB_DEPENDS+= libgmp.so:math/gmp -.endif - -# log to file instead of syslog -.if ${PORT_OPTIONS:MSYSLOGFILE} -CONFIGURE_ARGS+=--enable-syslogfile -PLIST_SUB+=SYSLOGFILE="" -.else -PLIST_SUB+=SYSLOGFILE="@comment " -.endif - -# enable dronemodule support -.if ${PORT_OPTIONS:MDRONEMODULE} -CONFIGURE_ARGS+=--enable-dronemodule -.endif - -# enable authmodule support -.if ${PORT_OPTIONS:MAUTHMODULE} -CONFIGURE_ARGS+=--enable-authmodule -.endif - -# enable DNSBL support -.if ${PORT_OPTIONS:MDNSBL} -CONFIGURE_ARGS+=--enable-dnsbl -.endif - -# enable select I/O -.if ${PORT_OPTIONS:MSELECT} -CONFIGURE_ARGS+=--enable-select -.endif - -post-patch: -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -Ee '/(dir_HPATH)|opers.txt/d' \ - ${STAGEDIR}${WRKSRC}/tools/install_ircd.in -.endif - #FIXME rene DESTDIR support is broken upstream - @${REINPLACE_CMD} -e 's|-d $$dir_LPATH|-d ${STAGEDIR}$$dir_LPATH|g' \ - -e 's|-d $$dir_FNAME_|-d ${STAGEDIR}$$dir_FNAME_|g' \ - -e 's|-d $$dir_PPATH|-d ${STAGEDIR}$$dir_PPATH|g' \ - -e 's|-d $$dir_EPATH|-d ${STAGEDIR}$$dir_EPATH|g' \ - -e 's|-d $$dir_MCPATH|-d ${STAGEDIR}$$dir_MCPATH|g' \ - -e 's|f $$FNAME_|f ${STAGEDIR}$$FNAME_|g' \ - -e 's|h $$FNAME_|h ${STAGEDIR}$$FNAME_|g' \ - -e 's|STAGE|${STAGEDIR}|g' \ - ${WRKSRC}/tools/install_ircd.in - -pre-build: - @${ECHO_MSG} "" - @${ECHO_MSG} "NOTE:" - @${ECHO_MSG} " Edit ${WRKSRC}/include/config.h for specific settings " - @${ECHO_MSG} "" - -.include <bsd.port.mk> diff --git a/irc/ircd-ru/distinfo b/irc/ircd-ru/distinfo deleted file mode 100644 index d2a2545a0785..000000000000 --- a/irc/ircd-ru/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ircd-RU-1.0.7-03-rc-20090810.tar.bz2) = c67a6628125cf44eaf7198491016809ad121d58dd0204b87fe81bb51cdb33fba -SIZE (ircd-RU-1.0.7-03-rc-20090810.tar.bz2) = 409009 diff --git a/irc/ircd-ru/files/ircd.in b/irc/ircd-ru/files/ircd.in deleted file mode 100644 index a95392b93c4e..000000000000 --- a/irc/ircd-ru/files/ircd.in +++ /dev/null @@ -1,30 +0,0 @@ -#! /bin/sh -# $FreeBSD$ -# -# PROVIDE: ircd -# REQUIRE: LOGIN syslogd -# KEYWORD: shutdown - -. /etc/rc.subr - -name="ircd" -rcvar=ircd_enable - -command="%%PREFIX%%/sbin/$name" -required_files="%%PREFIX%%/etc/ircd-ru/ircd.conf %%PREFIX%%/etc/ircd-ru/ircd.motd %%PREFIX%%/etc/ircd-ru/ircd.smotd" -piddir="/var/run/ircd-ru" -pidfile="$piddir/$name.pid" -start_precmd=${name}_precmd - -ircd_precmd () { - /usr/bin/install -d -o $ircd_user -g $ircd_group $piddir - eval `/usr/bin/limits -U $ircd_user -e` -} - -load_rc_config $name - -: ${ircd_enable="NO"} -: ${ircd_user="ircd"} -: ${ircd_group="ircd"} - -run_rc_command "$1" diff --git a/irc/ircd-ru/files/patch-Makefile.in b/irc/ircd-ru/files/patch-Makefile.in deleted file mode 100644 index af9c2e0e6e16..000000000000 --- a/irc/ircd-ru/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Sun Aug 10 21:53:09 2003 -+++ Makefile.in Sun Aug 10 21:53:46 2003 -@@ -30,7 +30,7 @@ - # Profile linker flags - PROFILELDFLAGS=-pg - # Default CFLAGS --CFLAGS=-Wall -g -O2 $(SYNCIOFLAGS) $(XFLAGS) -+CFLAGS+=-Wall $(SYNCIOFLAGS) $(XFLAGS) - - - # Some generally useless stuff: diff --git a/irc/ircd-ru/files/patch-m_who.c b/irc/ircd-ru/files/patch-m_who.c deleted file mode 100644 index 7fdfc67c4fb0..000000000000 --- a/irc/ircd-ru/files/patch-m_who.c +++ /dev/null @@ -1,131 +0,0 @@ ---- src/m_who.c.orig Fri Jul 14 18:37:05 2006 -+++ src/m_who.c Wed Dec 27 21:22:01 2006 -@@ -33,6 +33,14 @@ - #include <fcntl.h> - #include "h.h" - -+#if defined(RESTRICT_WHO) -+#define ISADMIN(arg) IsOAdmin(arg) -+#define ISOPER(arg) IsOper(arg) -+#else -+#define ISADMIN(arg) IsAdmin(arg) -+#define ISOPER(arg) IsAnOper(arg) -+#endif -+ - /* Internally defined stuffs */ - SOpts wsopts; - int build_searchopts(aClient *, int, char **); -@@ -437,13 +445,7 @@ - - if(cptr->user->channel) - { -- if( --#if defined(RESTRICT_WHO) -- IsOAdmin( --#else -- IsAdmin( --#endif -- sptr)) -+ if(ISADMIN(sptr)) - { - chptr = cptr->user->channel->value.chptr; - if(!(ShowChannel(sptr, chptr))) -@@ -479,13 +481,7 @@ - aClient *ac; - chanMember *cm; - Link *lp; -- int shown=0, i=0, showall= --#if defined(RESTRICT_WHO) -- IsOper( --#else -- IsAnOper( --#endif -- sptr); -+ int shown=0, i=0, showall = ISOPER(sptr); - char status[4]; - - /* drop nonlocal clients */ -@@ -527,21 +523,9 @@ - { - if(IsMember(sptr,wsopts.channel)) - showall=1; -- else if(SecretChannel(wsopts.channel) && --#if defined(RESTRICT_WHO) -- IsOAdmin( --#else -- IsAdmin( --#endif -- sptr)) -+ else if(SecretChannel(wsopts.channel) && ISADMIN(sptr)) - showall=1; -- else if(!SecretChannel(wsopts.channel) && --#if defined(RESTRICT_WHO) -- IsOper( --#else -- IsAnOper( --#endif -- sptr)) -+ else if(!SecretChannel(wsopts.channel) && ISOPER(sptr)) - showall=1; - else - showall=0; -@@ -561,13 +545,7 @@ - #ifdef NOTHELPER_HIDEOPERATOR - && (IsUmodeh(ac) || IsAnOper(sptr)) - #endif -- ? '*' : ((IsInvisible(ac) && --#if defined(RESTRICT_WHO) -- IsOper( --#else -- IsAnOper( --#endif -- sptr)) ? -+ ? '*' : ((IsInvisible(ac) && ISOPER(sptr)) ? - '%' : 0)); - status[((status[i]) ? ++i : i)]=((cm->flags&CHFL_CHANOP) ? '@' - : ((cm->flags&CHFL_VOICE) ? -@@ -604,13 +582,7 @@ - #ifdef NOTHELPER_HIDEOPERATOR - && (IsUmodeh(ac) || IsAnOper(sptr)) - #endif -- ? '*' : (IsInvisible(ac) && --#if defined(RESTRICT_WHO) -- IsOper( --#else -- IsAnOper( --#endif -- sptr) ? -+ ? '*' : (IsInvisible(ac) && ISOPER(sptr) ? - '%' : 0)); - status[2]=0; - sendto_one(sptr, getreply(RPL_WHOREPLY), me.name, sptr->name, -@@ -658,13 +630,7 @@ - #ifdef NOTHELPER_HIDEOPERATOR - && (IsUmodeh(ac) || IsAnOper(sptr)) - #endif -- ? '*' : ((IsInvisible(ac) && --#if defined(RESTRICT_WHO) -- IsOper( --#else -- IsAnOper( --#endif -- sptr)) ? -+ ? '*' : ((IsInvisible(ac) && ISOPER(sptr)) ? - '%' : 0)); - status[((status[i]) ? ++i : i)]=((cm->flags&CHFL_CHANOP) ? - '@' : ((cm->flags&CHFL_VOICE) -@@ -697,13 +663,7 @@ - #ifdef NOTHELPER_HIDEOPERATOR - && (IsUmodeh(ac) || IsAnOper(sptr)) - #endif -- ? '*' : (IsInvisible(ac) && --#if defined(RESTRICT_WHO) -- IsOper( --#else -- IsAnOper( --#endif -- sptr) ? -+ ? '*' : (IsInvisible(ac) && ISOPER(sptr) ? - '%' : 0)); - status[2]=0; - sendto_one(sptr, getreply(RPL_WHOREPLY), me.name, sptr->name, diff --git a/irc/ircd-ru/files/patch-paths.h.in b/irc/ircd-ru/files/patch-paths.h.in deleted file mode 100644 index 55879164485d..000000000000 --- a/irc/ircd-ru/files/patch-paths.h.in +++ /dev/null @@ -1,44 +0,0 @@ ---- include/paths.h.in.orig Sun Aug 10 21:29:06 2003 -+++ include/paths.h.in Sun Aug 10 21:30:46 2003 -@@ -55,26 +55,26 @@ - - - #define DPATH "@prefix@" --#define SPATH "bin/ircd@BIN_SUF@" -+#define SPATH "sbin/ircd@BIN_SUF@" - #define BDIR "bin" --#define CPDIR "codepages" --#define MDIR "modules" -+#define CPDIR "share/ircd-ru/codepages" -+#define MDIR "share/ircd-ru/modules" - --#define CPATH "etc/ircd.conf" --#define KPATH "etc/kline.conf" --#define MPATH "etc/ircd.motd" --#define SMPATH "etc/ircd.smotd" --#define LPATH "var/log/ircd.log" --#define PPATH "var/run/ircd.pid" --#define HPATH "doc/opers.txt" -+#define CPATH "etc/ircd-ru/ircd.conf" -+#define KPATH "etc/ircd-ru/kline.conf" -+#define MPATH "etc/ircd-ru/ircd.motd" -+#define SMPATH "etc/ircd-ru/ircd.smotd" -+#define LPATH "/var/log/ircd-ru/ircd.log" -+#define PPATH "/var/run/ircd-ru/ircd.pid" -+#define HPATH "share/doc/ircd-ru/opers.txt" - --#define EPATH ".ircd.entropy" --#define MCPATH ".maxclients" -+#define EPATH "/var/run/ircd-ru/.ircd.entropy" -+#define MCPATH "/var/run/ircd-ru/.maxclients" - - --#define FNAME_USERLOG "var/log/users" --#define FNAME_OPERLOG "var/log/opers" --#define FNAME_SYSLOG "var/log/syslog" -+#define FNAME_USERLOG "/var/log/ircd-ru/users" -+#define FNAME_OPERLOG "/var/log/ircd-ru/opers" -+#define FNAME_SYSLOG "/var/log/ircd-ru/syslog" - - - #endif /* !__PATHS_H__ */ diff --git a/irc/ircd-ru/files/patch-rc4.c b/irc/ircd-ru/files/patch-rc4.c deleted file mode 100644 index a604a026f631..000000000000 --- a/irc/ircd-ru/files/patch-rc4.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/rc4.c.orig Sun Dec 24 01:17:00 2006 -+++ src/rc4.c Sun Dec 24 01:17:25 2006 -@@ -21,6 +21,7 @@ - - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - - /* - * Transparent rc4 implementation diff --git a/irc/ircd-ru/files/patch-src_s_serv.c b/irc/ircd-ru/files/patch-src_s_serv.c deleted file mode 100644 index 1088fb95a3cc..000000000000 --- a/irc/ircd-ru/files/patch-src_s_serv.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/s_serv.c 2006-07-14 18:11:33.000000000 +0400 -+++ src/s_serv.c 2007-01-11 02:54:40.000000000 +0300 -@@ -290,8 +290,8 @@ int m_squit(aClient *cptr, aClient *sptr - #ifdef USE_SYSLOG - syslog(LOG_NOTICE, "Failed SQUIT U-lined server %s attempt by " - "server %s", acptr->name, parv[0]); -- } - #endif -+ } - else - { - sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); diff --git a/irc/ircd-ru/files/patch-tools__install_ircd.in b/irc/ircd-ru/files/patch-tools__install_ircd.in deleted file mode 100644 index 9cb2bddf26ee..000000000000 --- a/irc/ircd-ru/files/patch-tools__install_ircd.in +++ /dev/null @@ -1,10 +0,0 @@ ---- tools/install_ircd.in.orig 2006-07-14 15:53:59.000000000 +0200 -+++ tools/install_ircd.in 2014-04-06 16:22:09.000000000 +0200 -@@ -6,6 +6,7 @@ - # $Id: install_ircd.in,v 1.1.8.14 2003/08/10 16:12:58 rzhe Exp $ - - DPATH=`awk '/^#define@AWKSP@DPATH/ {print $3}' include/paths.h | tr -d \"` -+DPATH=STAGE/$DPATH - SPATH=`awk '/^#define@AWKSP@SPATH/ {print $3}' include/paths.h | tr -d \"` - if [ -z `echo $SPATH | awk '/^\// {print $1}'` ] ; then - SPATH=$DPATH/$SPATH diff --git a/irc/ircd-ru/files/patch-utmpx b/irc/ircd-ru/files/patch-utmpx deleted file mode 100644 index 5f8e5b46f2d3..000000000000 --- a/irc/ircd-ru/files/patch-utmpx +++ /dev/null @@ -1,60 +0,0 @@ ---- src/m_nick.c.orig 2006-07-14 17:53:58.000000000 +0400 -+++ src/m_nick.c 2010-01-20 09:30:51.342752644 +0300 -@@ -29,7 +29,6 @@ - #include "msg.h" - #include "channel.h" - #include <sys/stat.h> --#include <utmp.h> - #include <fcntl.h> - #include "h.h" - ---- src/m_services.c.orig 2006-07-14 17:53:58.000000000 +0400 -+++ src/m_services.c 2010-01-20 09:31:39.523130876 +0300 -@@ -29,7 +29,6 @@ - #include "msg.h" - #include "channel.h" - #include <sys/stat.h> --#include <utmp.h> - #include <fcntl.h> - #include "h.h" - ---- src/m_who.c.orig 2010-01-20 09:24:57.060156113 +0300 -+++ src/m_who.c 2010-01-20 09:32:12.763365040 +0300 -@@ -29,7 +29,6 @@ - #include "msg.h" - #include "channel.h" - #include <sys/stat.h> --#include <utmp.h> - #include <fcntl.h> - #include "h.h" - ---- src/s_bsd.c.orig 2006-07-14 18:11:33.000000000 +0400 -+++ src/s_bsd.c 2010-01-20 09:32:50.543598561 +0300 -@@ -42,7 +42,6 @@ - #include <arpa/inet.h> - #include <stdio.h> - #include <fcntl.h> --#include <utmp.h> - #include <sys/resource.h> - - /* Stuff for poll() */ ---- src/s_serv.c.orig 2010-01-20 09:24:57.340153990 +0300 -+++ src/s_serv.c 2010-01-20 09:33:38.093895317 +0300 -@@ -41,7 +41,6 @@ - #endif - #include <sys/stat.h> - #include <fcntl.h> --#include <utmp.h> - #include "h.h" - #if defined( HAVE_STRING_H ) - #include <string.h> ---- src/s_user.c.orig 2006-07-14 18:11:33.000000000 +0400 -+++ src/s_user.c 2010-01-20 09:33:57.834018154 +0300 -@@ -34,7 +34,6 @@ - #include <arpa/inet.h> - #endif - #include <sys/stat.h> --#include <utmp.h> - #include <fcntl.h> - #include "h.h" - #ifdef FLUD diff --git a/irc/ircd-ru/files/pkg-install.in b/irc/ircd-ru/files/pkg-install.in deleted file mode 100644 index 27e54f643d2a..000000000000 --- a/irc/ircd-ru/files/pkg-install.in +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -[ "$2" != "POST-INSTALL" ] && exit 0 - -install -d -m 0755 -o %%USERS%% -g %%GROUPS%% /var/run/ircd-ru -install -d -m 0755 -o %%USERS%% -g %%GROUPS%% /var/log/ircd-ru diff --git a/irc/ircd-ru/files/pkg-message.in b/irc/ircd-ru/files/pkg-message.in deleted file mode 100644 index ac965c1abdc6..000000000000 --- a/irc/ircd-ru/files/pkg-message.in +++ /dev/null @@ -1,17 +0,0 @@ -[ -{ type: install - message: <<EOM -ircd-RU has now been installed. - -This port create user ircd and group ircd - -You should now edit %%PREFIX%%/ircd-RU/etc/ircd.conf - to suit your needs. - (cp ircd.conf-dist ircd.conf; vi ircd.conf) - -You may then start the server by running: - echo ircd_enable=\"YES\" >> /etc/rc.conf - %%PREFIX%%/etc/rc.d/ircd.sh start -EOM -} -] diff --git a/irc/ircd-ru/pkg-descr b/irc/ircd-ru/pkg-descr deleted file mode 100644 index 09132c75e933..000000000000 --- a/irc/ircd-ru/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -ircd-RU is a modern and powerful IRC server which is based on Bahamut, -the DALnet IRC server software, and supports translation schemes, 8-bit -nicknames, 8-bit case-insensitive names processing, DNSBL support and lots -of other useful features. - -WWW: http://www.ircd.ru/ diff --git a/irc/ircd-ru/pkg-plist b/irc/ircd-ru/pkg-plist deleted file mode 100644 index 4ab8d7e9eac8..000000000000 --- a/irc/ircd-ru/pkg-plist +++ /dev/null @@ -1,23 +0,0 @@ -%%DATADIR%%/codepages/cp1251.cp -%%DATADIR%%/codepages/cp866.cp -%%DATADIR%%/codepages/iso8859-5.cp -%%DATADIR%%/codepages/koi8-f.cp -%%DATADIR%%/codepages/koi8-r.cp -%%DATADIR%%/codepages/translit.cp -%%PORTDOCS%%%%DOCSDIR%%/README.Ilines -%%PORTDOCS%%%%DOCSDIR%%/opers.txt -%%PORTDOCS%%%%DOCSDIR%%/ru_RU.KOI8-R/FAQ -%%PORTDOCS%%%%DOCSDIR%%/ru_RU.KOI8-R/README -bin/ircdpasswd -etc/ircd-ru/ircd.conf-dist -etc/ircd-ru/ircd.motd-dist -etc/ircd-ru/ircd.smotd-dist -etc/ircd-ru/kline.conf -etc/ircd-ru/ru_RU.CP1251/ircd.motd-dist -etc/ircd-ru/ru_RU.CP1251/ircd.smotd-dist -etc/ircd-ru/ru_RU.KOI8-R/ircd.conf-dist -sbin/ircd -%%SYSLOGFILE%%/var/log/ircd-ru/syslog -@unexec rmdir /var/log/ircd-ru -@unexec rmdir /var/run/ircd-ru -@dir %%DATADIR%%/modules |