mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update by MAINTAINER
PR: ports/9151 Submitted by: andy@icc.surw.chel.su
This commit is contained in:
parent
d4e8f81d32
commit
99a50fe247
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15458
@ -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>
|
||||
|
30
russian/cyrproxy/files/patch-ag
Normal file
30
russian/cyrproxy/files/patch-ag
Normal file
@ -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);
|
||||
}
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user