aboutsummaryrefslogtreecommitdiffstats
path: root/russian/cyrproxy
diff options
context:
space:
mode:
Diffstat (limited to 'russian/cyrproxy')
-rw-r--r--russian/cyrproxy/Makefile45
-rw-r--r--russian/cyrproxy/distinfo2
-rw-r--r--russian/cyrproxy/files/patch-Makefile35
-rw-r--r--russian/cyrproxy/files/patch-ab37
-rw-r--r--russian/cyrproxy/files/patch-ae36
-rw-r--r--russian/cyrproxy/files/patch-af23
-rw-r--r--russian/cyrproxy/files/patch-ag30
-rw-r--r--russian/cyrproxy/files/patch-cyrproxy.conf.tmpl83
-rw-r--r--russian/cyrproxy/files/patch-discover-Makefile15
-rw-r--r--russian/cyrproxy/files/patch-readconf.c11
-rw-r--r--russian/cyrproxy/pkg-descr7
-rw-r--r--russian/cyrproxy/pkg-plist26
12 files changed, 0 insertions, 350 deletions
diff --git a/russian/cyrproxy/Makefile b/russian/cyrproxy/Makefile
deleted file mode 100644
index db93ede0cea7..000000000000
--- a/russian/cyrproxy/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# New ports collection makefile for: cyrproxy
-# Date created: 20 May 1997
-# Whom: Andrey Zakhvatov
-#
-# $FreeBSD$
-#
-
-PORTNAME= cyrproxy
-PORTVERSION= 1.4.2.20010208
-PORTREVISION= 2
-CATEGORIES= russian net www
-MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/lexa/
-DISTNAME= cyrproxy-1.4.2
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Cyrillic proxy for network protocols
-
-BROKEN= Does not fetch
-
-post-extract:
- @ ${RM} ${WRKSRC}/discover/discover
-
-do-install:
- @ ${MKDIR} ${DATADIR}
- @ ${MKDIR} ${PREFIX}/www/cgi-bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/cyrproxy ${PREFIX}/libexec
- @ ${INSTALL_PROGRAM} ${WRKSRC}/tcpspy ${PREFIX}/libexec
- @ ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/cyrtrans ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/discover/discover ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/cyrwww ${PREFIX}/www/cgi-bin
- @ ${INSTALL_DATA} ${WRKSRC}/config.gen ${PREFIX}/etc/cyrproxy.conf.sample
-.for f in alt-iso alt-koi8 alt-win iso-alt iso-koi8 iso-win koi8-alt koi8-iso \
- koi8-mac koi8-win mac-koi8 win-alt win-iso win-koi8
- @ ${INSTALL_DATA} ${WRKSRC}/tables/${f} ${DATADIR}
-.endfor
-
-post-install:
-.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${DOCSDIR}
-.for f in History README README.http
- @ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/russian/cyrproxy/distinfo b/russian/cyrproxy/distinfo
deleted file mode 100644
index 2e95f3c0fa61..000000000000
--- a/russian/cyrproxy/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (cyrproxy-1.4.2.tar.gz) = 5a97f8438e7d954ba047701bbf8aa66a1303b112b9816f0f4d03f4abda180a69
-SIZE (cyrproxy-1.4.2.tar.gz) = 202556
diff --git a/russian/cyrproxy/files/patch-Makefile b/russian/cyrproxy/files/patch-Makefile
deleted file mode 100644
index 1887a702c820..000000000000
--- a/russian/cyrproxy/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig Fri Feb 9 04:33:53 2001
-+++ Makefile Sat Mar 6 18:25:24 2004
-@@ -65,7 +65,7 @@
-
-
- subdirmake:
-- @for i in ${SUBDIRS}; do echo "Making all in $$i" ;cd $$i; pmake all; cd ..; done
-+ @for i in ${SUBDIRS}; do echo "Making all in $$i" ;cd $$i; make all; cd ..; done
-
- .SUFFIXES: .a .o .c
-
-@@ -78,12 +78,12 @@
- rm -f config.gen cyrproxy.config.sample alldefs.h
-
- clean-sub:
-- @for i in ${SUBDIRS}; do echo "Make clean in $$i" ; cd $$i; pmake clean; cd .. ; done
-+ @for i in ${SUBDIRS}; do echo "Make clean in $$i" ; cd $$i; make clean; cd .. ; done
-
- install: install-bin install-config install-tables install-sub
-
- install-sub:
-- @for i in ${SUBDIRS} ; do cd $$i ; pmake install; cd ..; done
-+ @for i in ${SUBDIRS} ; do cd $$i ; make install; cd ..; done
-
- install-bin: ${CYRPROXY} ${SPY}
- cp ${CYRPROXY} ${BINDIR}
-@@ -128,7 +128,7 @@
- awk '/^\#/{print $0}' <policy.h >alldefs.h
-
- config.gen: cyrproxy.conf.tmpl Makefile alldefs.h
-- ${CC} ${CFLAGS} -P -E - < cyrproxy.conf.tmpl | awk -f extranl.awk >config.gen
-+ ${CC} ${CFLAGS} -P -E - < cyrproxy.conf.tmpl | awk -f extranl.awk | sed 's,^%,#,' >config.gen
-
- ${CYRPROXY}: ${OBJS}
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${CYRPROXY} ${OBJS} ${EXTRALIBS}
diff --git a/russian/cyrproxy/files/patch-ab b/russian/cyrproxy/files/patch-ab
deleted file mode 100644
index c7c2692f6f5e..000000000000
--- a/russian/cyrproxy/files/patch-ab
+++ /dev/null
@@ -1,37 +0,0 @@
-*** cyrcoder/Makefile.orig Fri Jul 19 00:28:29 1996
---- cyrcoder/Makefile Thu Jun 19 10:14:36 1997
-***************
-*** 1,7 ****
- # $Id: Makefile,v 1.7 1996/07/18 20:28:29 lexa Exp $
-
- TDIR=../tables
-! UTILDIR?=/usr/local/bin
- BINLIST=cyrtrans transtree transfiles
- CHOWN?=/usr/sbin/chown
- CHMOD?=chmod
---- 1,8 ----
- # $Id: Makefile,v 1.7 1996/07/18 20:28:29 lexa Exp $
-
- TDIR=../tables
-! UTILDIR?=${PREFIX}/bin
-! CGIPATH=${PREFIX}/www/cgi-bin
- BINLIST=cyrtrans transtree transfiles
- CHOWN?=/usr/sbin/chown
- CHMOD?=chmod
-***************
-*** 9,15 ****
- BINOWNER=root.wheel
- TESTBIN=cytest
-
-! CC=gcc -O
- ENCLIST?=alt iso koi8 win
-
- #### DO NOT CHANGE BELOW THIS LINE ###########
---- 10,16 ----
- BINOWNER=root.wheel
- TESTBIN=cytest
-
-! #CC=gcc -O
- ENCLIST?=alt iso koi8 win
-
- #### DO NOT CHANGE BELOW THIS LINE ###########
diff --git a/russian/cyrproxy/files/patch-ae b/russian/cyrproxy/files/patch-ae
deleted file mode 100644
index af440b5565a5..000000000000
--- a/russian/cyrproxy/files/patch-ae
+++ /dev/null
@@ -1,36 +0,0 @@
-*** policy.h.bak Mon May 5 20:47:06 1997
---- policy.h Thu Jun 19 15:31:36 1997
-***************
-*** 94,100 ****
-
- /* #define NO_VSNPRINTF */
-
-! #if defined(_AIX) || !defined(NO_VSNPRINTF)
- #define NO_VSNPRINTF
- #endif
-
---- 94,100 ----
-
- /* #define NO_VSNPRINTF */
-
-! #if defined(_AIX)
- #define NO_VSNPRINTF
- #endif
-
-***************
-*** 105,111 ****
- */
- /* #define NO_HSTRERROR */
-
-! #if defined(_AIX) || !defined(NO_HSTRERROR)
- #define NO_HSTRERROR
- #endif
-
---- 105,111 ----
- */
- /* #define NO_HSTRERROR */
-
-! #if defined(_AIX)
- #define NO_HSTRERROR
- #endif
-
diff --git a/russian/cyrproxy/files/patch-af b/russian/cyrproxy/files/patch-af
deleted file mode 100644
index 6e805790487a..000000000000
--- a/russian/cyrproxy/files/patch-af
+++ /dev/null
@@ -1,23 +0,0 @@
-*** http_gw.c.bak Sat May 3 15:57:21 1997
---- http_gw.c Sat Jun 21 03:13:55 1997
-***************
-*** 353,360 ****
- char *p = strstr(buf,"charset=");
- if(p)
- sprintf(p,"charset=%s\n",enc->clientcharset);
-- #if 0 /* commented out. I'm not sure, that we must force charset addition
-- for documents, which not contains it! */
- else
- {
- p=strchr(buf,'\n');
---- 353,358 ----
-***************
-*** 369,375 ****
- strcat(buf,"\n");
- }
- }
-- #endif
- n=strlen(buf);
- }
-
---- 367,372 ----
diff --git a/russian/cyrproxy/files/patch-ag b/russian/cyrproxy/files/patch-ag
deleted file mode 100644
index 8a980973fd4c..000000000000
--- a/russian/cyrproxy/files/patch-ag
+++ /dev/null
@@ -1,30 +0,0 @@
---- com_gw.c.orig Sat May 3 20:57:20 1997
-+++ com_gw.c Mon Dec 21 21:19:58 1998
-@@ -169,7 +169,7 @@
- int cnt = 0; \
- while(cnt < ENTLEN && *from && *from!=';' && !isspace(*from)) \
- {\
-- *to++=*str++;\
-+ *to++=*from++;\
- cnt++;\
- }\
- *to='\0';\
-@@ -222,12 +222,15 @@
- if(!strncasecmp(buf,"Content-Type:",13))
- {
- parseContentType(buf+13,ctype,ocharset,garbage);
-- fprintf(stderr,"Content: %s, charset: %s\n",ctype,ocharset);
-+// if enabled, crushes into the mail - mailers get crazy
-+// fprintf(stderr,"Content: %s, charset: %s\n",ctype,ocharset);
- if(!strcasecmp(ctype,"text/plain") && strcasecmp(ocharset,"us-ascii")
- && strlen(garbage)==0)
- {
-- fprintf(stderr,"Content: %s, charset: %s\n",ctype,ocharset);
-- sprintf(buf,"Content-Type: text/plain; charset=%s\n",charset);
-+// if enabled, crushes into the mail - mailers get crazy
-+// fprintf(stderr,"Content: %s, charset: %s\n",ctype,ocharset);
-+// not everyone lives in the UNIX world... \r is still needed :)
-+ sprintf(buf,"Content-Type: text/plain; charset=%s\r\n",charset);
- blen = strlen(buf);
- }
- }
diff --git a/russian/cyrproxy/files/patch-cyrproxy.conf.tmpl b/russian/cyrproxy/files/patch-cyrproxy.conf.tmpl
deleted file mode 100644
index 6ae6eda36842..000000000000
--- a/russian/cyrproxy/files/patch-cyrproxy.conf.tmpl
+++ /dev/null
@@ -1,83 +0,0 @@
---- cyrproxy.conf.tmpl.orig Sat May 3 16:37:05 1997
-+++ cyrproxy.conf.tmpl Sat Mar 6 18:23:59 2004
-@@ -1,31 +1,31 @@
- #include "alldefs.h"
-
--# tabledir - диpектоpия с табличками
--tabledir /usr/local/share/proxy
-+% tabledir - диpектоpия с табличками
-+tabledir /usr/local/share/cyrproxy
-
--# encoding name table_from_client table_to_client
--# none is reserved filename - no encoding
-+% encoding name table_from_client table_to_client
-+% none is reserved filename - no encoding
- encoding koi8 NONE NONE
- encoding alt alt-koi8 koi8-alt
- encoding win win-koi8 koi8-win
--#encoding iso iso-koi8 koi8-iso
--#encoding mac mac-koi8 koi8-mac
-+%encoding iso iso-koi8 koi8-iso
-+%encoding mac mac-koi8 koi8-mac
-
-
--# add MIME charset descriptions for each encoding
--# emailcharset encoding_name server-charset client-charset
--#
--# different charset rules for different clients
--# can be described with _several_ encodings with same tables
--# and different emailcharset strings
--#
-+% add MIME charset descriptions for each encoding
-+% emailcharset encoding_name server-charset client-charset
-+%
-+% different charset rules for different clients
-+% can be described with _several_ encodings with same tables
-+% and different emailcharset strings
-+%
- emailcharset win koi8-r windows-1251
- emailcharset alt koi8-r cp866
-
-
-
- #ifdef TRANSPARENT_HOST
--#
-+%
- transparenthost ns.lexa.ru
- #endif
-
-@@ -34,24 +34,24 @@
-
- default koi8
-
--# options.
-+% options.
- option port 23 protocol telnet
- option port 70 protocol gopher
- option port 8080 protocol http
- option port 110 protocol pop
- option port 25 protocol smtp
-
--# option tos 16 protocol telnet
-+% option tos 16 protocol telnet
-
--# peer section.
--# Syntax:
--# Peer address encoding
-+% peer section.
-+% Syntax:
-+% Peer address encoding
- peer 1.2.3.4 win
-
--# Virtualhost
--# virtualhost koi8.lexa.ru koi8
-+% Virtualhost
-+% virtualhost koi8.lexa.ru koi8
- virtualhost win.lexa.ru win
--#virtualhost iso.lexa.ru iso
-+%virtualhost iso.lexa.ru iso
- virtualhost dos.lexa.ru alt
--# virtualhost mac.lexa.ru mac
--# virtualhost 127.0.0.1 koi8
-+% virtualhost mac.lexa.ru mac
-+% virtualhost 127.0.0.1 koi8
diff --git a/russian/cyrproxy/files/patch-discover-Makefile b/russian/cyrproxy/files/patch-discover-Makefile
deleted file mode 100644
index ce739ecb8615..000000000000
--- a/russian/cyrproxy/files/patch-discover-Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
---- discover/Makefile.orig Tue Mar 26 02:24:35 1996
-+++ discover/Makefile Sat Mar 6 18:37:20 2004
-@@ -1,9 +1,9 @@
- # $Id: Makefile,v 1.1 1996/03/25 20:24:35 lexa Exp $
-
--CC=gcc
--CFLAGS=
-+CC?=gcc
-+CFLAGS?=
- BINARY=encdiscover
--UTILDIR?=/usr/local/bin
-+UTILDIR?=${PREFIX}/bin
- BINOWN?=root.wheel
- BINMODE?=755
- CHOWN?=/usr/sbin/chown
diff --git a/russian/cyrproxy/files/patch-readconf.c b/russian/cyrproxy/files/patch-readconf.c
deleted file mode 100644
index 7f6e6b127892..000000000000
--- a/russian/cyrproxy/files/patch-readconf.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- readconf.c.orig Sat May 3 18:57:22 1997
-+++ readconf.c Tue Oct 28 02:46:38 2003
-@@ -648,7 +648,7 @@
- retval=NULL; \
- while(list!=NULL) \
- { \
-- if(list->##fieldn == compval) \
-+ if(list->fieldn == compval) \
- retval=list; \
- list=list->chain; \
- } \
diff --git a/russian/cyrproxy/pkg-descr b/russian/cyrproxy/pkg-descr
deleted file mode 100644
index 6f74722a9a0c..000000000000
--- a/russian/cyrproxy/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Cyrillic transcoder for network protocols.
-
-It allows transcode text-based tcp protocols from/to
-following cyrillic text coding standards: CP866 (DOS),
-Macintosh, ISO, KOI8 (UNIX), CP1251 (Windows).
-
-WWW: http://www.lexa.ru/programs/cyrproxy.html
diff --git a/russian/cyrproxy/pkg-plist b/russian/cyrproxy/pkg-plist
deleted file mode 100644
index d81ceaef9225..000000000000
--- a/russian/cyrproxy/pkg-plist
+++ /dev/null
@@ -1,26 +0,0 @@
-bin/cyrtrans
-bin/discover
-etc/cyrproxy.conf.sample
-libexec/cyrproxy
-libexec/tcpspy
-%%DATADIR%%/alt-iso
-%%DATADIR%%/alt-koi8
-%%DATADIR%%/alt-win
-%%DATADIR%%/iso-alt
-%%DATADIR%%/iso-koi8
-%%DATADIR%%/iso-win
-%%DATADIR%%/koi8-alt
-%%DATADIR%%/koi8-iso
-%%DATADIR%%/koi8-mac
-%%DATADIR%%/koi8-win
-%%DATADIR%%/mac-koi8
-%%DATADIR%%/win-alt
-%%DATADIR%%/win-iso
-%%DATADIR%%/win-koi8
-%%PORTDOCS%%%%DOCSDIR%%/History
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.http
-www/cgi-bin/cyrwww
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry www/cgi-bin