aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorSeiichirou Hiraoka <flathill@FreeBSD.org>1998-12-21 12:27:33 +0000
committerSeiichirou Hiraoka <flathill@FreeBSD.org>1998-12-21 12:27:33 +0000
commit99a50fe247bbfeafc42519d23e84b14aca042616 (patch)
tree49f8a930d1617ddd082777545dd2dfc5b7fb9584 /russian
parentd4e8f81d321117d14c192b3d81ff178d9e1f899b (diff)
downloadports-99a50fe247bbfeafc42519d23e84b14aca042616.tar.gz
ports-99a50fe247bbfeafc42519d23e84b14aca042616.zip
Notes
Diffstat (limited to 'russian')
-rw-r--r--russian/cyrproxy/Makefile9
-rw-r--r--russian/cyrproxy/files/patch-ag30
-rw-r--r--russian/cyrproxy/pkg-descr5
3 files changed, 40 insertions, 4 deletions
diff --git a/russian/cyrproxy/Makefile b/russian/cyrproxy/Makefile
index 6d5802c4d91b..2cd1c82c492d 100644
--- a/russian/cyrproxy/Makefile
+++ b/russian/cyrproxy/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 May 1997
# Whom: Andrey Zakhvatov
#
-# $Id$
+# $Id: Makefile,v 1.2 1997/10/23 13:38:44 itojun Exp $
#
DISTNAME= cyrproxy-1.4.2
@@ -14,7 +14,6 @@ MAINTAINER= andy@icc.surw.chel.su
do-install:
@ ${MKDIR} ${PREFIX}/share/cyrproxy
- @ ${MKDIR} ${PREFIX}/share/doc/cyrproxy
@ ${MKDIR} ${PREFIX}/www/cgi-bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrproxy ${PREFIX}/libexec
@ ${INSTALL_PROGRAM} ${WRKSRC}/tcpspy ${PREFIX}/libexec
@@ -25,8 +24,14 @@ do-install:
.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
.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/cyrproxy
+
.for file in History README README.http
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cyrproxy
.endfor
+.endif
.include <bsd.port.mk>
diff --git a/russian/cyrproxy/files/patch-ag b/russian/cyrproxy/files/patch-ag
new file mode 100644
index 000000000000..8a980973fd4c
--- /dev/null
+++ b/russian/cyrproxy/files/patch-ag
@@ -0,0 +1,30 @@
+--- 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/pkg-descr b/russian/cyrproxy/pkg-descr
index b38deb654b8f..71af6ed995ad 100644
--- a/russian/cyrproxy/pkg-descr
+++ b/russian/cyrproxy/pkg-descr
@@ -1,6 +1,7 @@
-
-Cyrillic transcoder for network protocols
+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).
+
+http://www.lexa.ru/lexa/cyrproxy.html