summaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-06-19 06:45:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-06-19 06:45:22 +0000
commit984c7b24c7a377c0d231d89b797e26ed8206c8f3 (patch)
tree4fb5093a20ff1dfab8f2a2e453e6fef5d0db65e1 /russian
parentUpgrade to 5.3.1 (diff)
Proxy to decode between common cyrillic code tables
Notes
Notes: svn path=/head/; revision=7004
Diffstat (limited to 'russian')
-rw-r--r--russian/cyrproxy/Makefile33
-rw-r--r--russian/cyrproxy/distinfo1
-rw-r--r--russian/cyrproxy/files/patch-aa79
-rw-r--r--russian/cyrproxy/files/patch-ab37
-rw-r--r--russian/cyrproxy/files/patch-ac19
-rw-r--r--russian/cyrproxy/files/patch-ad19
-rw-r--r--russian/cyrproxy/pkg-comment1
-rw-r--r--russian/cyrproxy/pkg-descr6
-rw-r--r--russian/cyrproxy/pkg-plist23
9 files changed, 218 insertions, 0 deletions
diff --git a/russian/cyrproxy/Makefile b/russian/cyrproxy/Makefile
new file mode 100644
index 000000000000..5c3747e3030e
--- /dev/null
+++ b/russian/cyrproxy/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: cyrproxy
+# Version required: 1.4.1
+# Date created: 20 May 1997
+# Whom: Andrey Zakhvatov
+#
+
+DISTNAME= cyrproxy-1.4.1
+CATEGORIES= russian net www
+MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/lexa/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+do-install:
+ @ ${MKDIR} ${PREFIX}/etc/cyrproxy
+ @ ${MKDIR} ${PREFIX}/share/cyrproxy
+ @ ${MKDIR} ${PREFIX}/share/doc/cyrproxy
+ @ ${MKDIR} ${PREFIX}/www/cgi-bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cyrproxy ${PREFIX}/libexec/cyrproxy
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpspy ${PREFIX}/libexec/tcpspy
+ ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/cyrtrans ${PREFIX}/bin/cyrtrans
+# ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/transfiles ${PREFIX}/bin/transfiles
+# ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/transtree ${PREFIX}/bin/transtree
+ ${INSTALL_PROGRAM} ${WRKSRC}/discover/discover ${PREFIX}/bin/discover
+ ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/cyrwww ${PREFIX}/www/cgi-bin/cyrwww
+ ${INSTALL_DATA} ${WRKSRC}/config.gen ${PREFIX}/etc/cyrproxy/cyrproxy.conf.sample
+.for file 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/${file} ${PREFIX}/share/cyrproxy/${file}
+.endfor
+.for file in History README README.http
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cyrproxy/${file}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/russian/cyrproxy/distinfo b/russian/cyrproxy/distinfo
new file mode 100644
index 000000000000..1b0fa9ca3724
--- /dev/null
+++ b/russian/cyrproxy/distinfo
@@ -0,0 +1 @@
+MD5 (cyrproxy-1.4.1.tar.gz) = 4c29d99515ddeaabb5c0a92eb39ed9f6
diff --git a/russian/cyrproxy/files/patch-aa b/russian/cyrproxy/files/patch-aa
new file mode 100644
index 000000000000..adf2dda0b572
--- /dev/null
+++ b/russian/cyrproxy/files/patch-aa
@@ -0,0 +1,79 @@
+*** Makefile.orig Sat May 3 13:37:04 1997
+--- Makefile Thu Jun 19 10:09:09 1997
+***************
+*** 6,14 ****
+
+ CHMOD=/bin/chmod
+ CHOWN=/usr/sbin/chown
+! GCC=gcc -O
+! CFLAGS=-funsigned-char -Wall
+! CC=${GCC} ${CFLAGS}
+ # Some systems contains resolver routines in libresolv
+ # EXTRALIBS=lresolv
+ EXTRALIBS=
+--- 6,14 ----
+
+ CHMOD=/bin/chmod
+ CHOWN=/usr/sbin/chown
+! #GCC=gcc -O
+! CFLAGS+=-funsigned-char -Wall
+! #CC=${GCC} ${CFLAGS}
+ # Some systems contains resolver routines in libresolv
+ # EXTRALIBS=lresolv
+ EXTRALIBS=
+***************
+*** 23,40 ****
+ TABLEOWN=root.wheel
+
+ #directory to place binary
+! BINDIR=/usr/local/libexec
+! UTILDIR=/usr/local/bin
+! CGIPATH=/usr/local/www/cgi-bin
+ # name of binaries
+ CYRPROXY=cyrproxy
+ SPY=tcpspy
+
+ # directory ty place recoding tables
+! TBLDIR=/usr/local/share/proxy
+
+ # config file location
+! CONF_FILE=/etc/cyrproxy.conf
+
+ # Subdirs for make
+ # cyrcoder - filter-like cyrillic recoder
+--- 23,40 ----
+ TABLEOWN=root.wheel
+
+ #directory to place binary
+! BINDIR=${PREFIX}/libexec
+! UTILDIR=${PREFIX}/bin
+! CGIPATH=${PREFIX}/www/cgi-bin
+ # name of binaries
+ CYRPROXY=cyrproxy
+ SPY=tcpspy
+
+ # directory ty place recoding tables
+! TBLDIR=${PREFIX}/share/cyrproxy
+
+ # config file location
+! CONF_FILE=${PREFIX}/etc/cyrproxy/cyrproxy.conf
+
+ # Subdirs for make
+ # cyrcoder - filter-like cyrillic recoder
+***************
+*** 58,64 ****
+ ALLSRCS=${SRCS} spy.c
+ OBJS=com_gw.o readconf.o connect.o gopher_gw.o main.o telnet_gw.o http_gw.o log.o bufio.o
+
+! CFLAGS+= -Wall -O ${DEFINES}
+
+
+ all: ${CYRPROXY} ${SPY} subdirmake config.gen
+--- 58,64 ----
+ ALLSRCS=${SRCS} spy.c
+ OBJS=com_gw.o readconf.o connect.o gopher_gw.o main.o telnet_gw.o http_gw.o log.o bufio.o
+
+! CFLAGS+= ${DEFINES}
+
+
+ all: ${CYRPROXY} ${SPY} subdirmake config.gen
diff --git a/russian/cyrproxy/files/patch-ab b/russian/cyrproxy/files/patch-ab
new file mode 100644
index 000000000000..c7c2692f6f5e
--- /dev/null
+++ b/russian/cyrproxy/files/patch-ab
@@ -0,0 +1,37 @@
+*** 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-ac b/russian/cyrproxy/files/patch-ac
new file mode 100644
index 000000000000..12bf1fee6ed8
--- /dev/null
+++ b/russian/cyrproxy/files/patch-ac
@@ -0,0 +1,19 @@
+*** discover/Makefile Mon Mar 25 20:24:35 1996
+--- /home/andy/tmp/wrk/discover/Makefile Mon May 26 19:06:53 1997
+***************
+*** 3,9 ****
+ CC=gcc
+ CFLAGS=
+ BINARY=encdiscover
+! UTILDIR?=/usr/local/bin
+ BINOWN?=root.wheel
+ BINMODE?=755
+ CHOWN?=/usr/sbin/chown
+--- 3,9 ----
+ CC=gcc
+ CFLAGS=
+ BINARY=encdiscover
+! UTILDIR?=${PREFIX}/bin
+ BINOWN?=root.wheel
+ BINMODE?=755
+ CHOWN?=/usr/sbin/chown
diff --git a/russian/cyrproxy/files/patch-ad b/russian/cyrproxy/files/patch-ad
new file mode 100644
index 000000000000..d2b5bc87f6cd
--- /dev/null
+++ b/russian/cyrproxy/files/patch-ad
@@ -0,0 +1,19 @@
+*** cyrproxy.conf.tmpl Sat May 3 09:37:05 1997
+--- /home/andy/tmp/wrk/cyrproxy.conf.tmpl Tue May 27 16:03:00 1997
+***************
+*** 1,7 ****
+ #include "alldefs.h"
+
+ # tabledir - диpектоpия с табличками
+! tabledir /usr/local/share/proxy
+
+ # encoding name table_from_client table_to_client
+ # none is reserved filename - no encoding
+--- 1,7 ----
+ #include "alldefs.h"
+
+ # tabledir - диpектоpия с табличками
+! tabledir /usr/local/share/cyrproxy
+
+ # encoding name table_from_client table_to_client
+ # none is reserved filename - no encoding
diff --git a/russian/cyrproxy/pkg-comment b/russian/cyrproxy/pkg-comment
new file mode 100644
index 000000000000..a51bd0f0a8b7
--- /dev/null
+++ b/russian/cyrproxy/pkg-comment
@@ -0,0 +1 @@
+Cyrillic proxy for network protocols
diff --git a/russian/cyrproxy/pkg-descr b/russian/cyrproxy/pkg-descr
new file mode 100644
index 000000000000..b38deb654b8f
--- /dev/null
+++ b/russian/cyrproxy/pkg-descr
@@ -0,0 +1,6 @@
+
+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).
diff --git a/russian/cyrproxy/pkg-plist b/russian/cyrproxy/pkg-plist
new file mode 100644
index 000000000000..3c17df79ba57
--- /dev/null
+++ b/russian/cyrproxy/pkg-plist
@@ -0,0 +1,23 @@
+bin/cyrtrans
+bin/discover
+etc/cyrproxy/cyrproxy.conf.sample
+libexec/cyrproxy
+libexec/tcpspy
+share/cyrproxy/alt-iso
+share/cyrproxy/alt-koi8
+share/cyrproxy/alt-win
+share/cyrproxy/iso-alt
+share/cyrproxy/iso-koi8
+share/cyrproxy/iso-win
+share/cyrproxy/koi8-alt
+share/cyrproxy/koi8-iso
+share/cyrproxy/koi8-mac
+share/cyrproxy/koi8-win
+share/cyrproxy/mac-koi8
+share/cyrproxy/win-alt
+share/cyrproxy/win-iso
+share/cyrproxy/win-koi8
+share/doc/cyrproxy/History
+share/doc/cyrproxy/README
+share/doc/cyrproxy/README.http
+www/cgi-bin/cyrwww