From serge@quenix.dyndns.org  Mon Jun  9 07:12:21 2003
Return-Path: <serge@quenix.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3DF6837B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jun 2003 07:12:20 -0700 (PDT)
Received: from quenix.dyndns.org (modemcable207.151-131-66.nowhere.mc.videotron.ca [66.131.151.207])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8154843FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jun 2003 07:12:19 -0700 (PDT)
	(envelope-from serge@quenix.dyndns.org)
Received: from serge by quenix.dyndns.org with local (Exim 4.20)
	id 19PNnB-000O16-KI
	for FreeBSD-gnats-submit@freebsd.org; Mon, 09 Jun 2003 10:38:37 -0400
Message-Id: <E19PNnB-000O16-KI@quenix.dyndns.org>
Date: Mon, 09 Jun 2003 10:38:37 -0400
From: Serge Gagnon <gagnon__s@videotron.ca>
Sender: Serge Gagnon <serge@quenix.dyndns.org>
Reply-To: Serge Gagnon <gagnon__s@videotron.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [Patch] port: chinese/celvis unfetchable distfile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53103
>Category:       ports
>Synopsis:       [Patch] port: chinese/celvis unfetchable distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 07:20:17 PDT 2003
>Closed-Date:    Thu Jun 12 02:37:51 PDT 2003
>Last-Modified:  Thu Jun 12 02:37:51 PDT 2003
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue May 6 22:02:29 EDT 2003 serge@quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN3 i386


>Description:

	o Fix MASTER_SITES
	o Change distinfo md5 checksum

	- The spare url in the Makefile doesn't works.
	- I cannot find a distfile with the same md5 that we have in distinfo
	- The new distfile's difference is:

; diff -urN old/celvis new/celvis
diff -urN old/celvis/curses.c new/celvis/curses.c
--- old/celvis/curses.c Tue Dec  8 17:54:20 1992
+++ new/celvis/curses.c Sat Sep 21 17:42:07 1991
@@ -42,7 +42,7 @@
 int    COLS;           /* :co#: number of columns */
 int    AM;             /* :am:  boolean: auto margins? */
 int    PT;             /* :pt:  boolean: physical tabs? */
-int    XN;             /* :xn:  \n ignored after wrap? */
+int    XN;             /* :xn:  boolean: \n ignored after wrap? */
 char   *VB;            /* :vb=: visible bell */
 char   *UP;            /* :up=: move cursor up */
 char   *SO;            /* :so=: standout start */
@@ -209,12 +209,6 @@
        ERASEKEY = oldsgttyb.sg_erase;
        newsgttyb = oldsgttyb;
        newsgttyb.sg_flags |= CBREAK;
-#ifdef LPASS8
-       newsgttyb.sg_flags |= LPASS8;
-#endif
-#ifdef LLITOUT
-       newsgttyb.sg_flags |= LLITOUT;
-#endif
        newsgttyb.sg_flags &= ~(CRMOD|ECHO|XTABS);
        ioctl(2, TIOCSETP, &newsgttyb);
  
;

>How-To-Repeat:

http://people.freebsd.org/~fenner/portsurvey/chinese.html#celvis

>Fix:


--- patch-celvis-distfile begins here ---
diff -u /usr/ports/chinese/celvis/Makefile ./Makefile
--- /usr/ports/chinese/celvis/Makefile	Thu Feb 20 11:56:51 2003
+++ ./Makefile	Mon Jun  9 10:32:25 2003
@@ -9,12 +9,8 @@
 PORTNAME=	celvis
 PORTVERSION=	1.3
 CATEGORIES=	chinese editors
-MASTER_SITES=	ftp://ftp.edu.cn/pub/Chinese/
-#
-# switch to http://www.ifcss.org/ftp-pub/software/unix/editor/celvis-1.3.tar.gz
-#	if the distfile becomes unfetchable again.  Note this ver is slightly
-#	different.
-DISTNAME=	celvis
+MASTER_SITES=	# http://ftp.ist.utl.pt/pub/ctan/language/chinese/chtex/
+DISTNAME=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A vi/ex clone that speaks Chinese
diff -u /usr/ports/chinese/celvis/distinfo ./distinfo
--- /usr/ports/chinese/celvis/distinfo	Sun Sep 22 21:50:33 1996
+++ ./distinfo	Mon Jun  9 10:25:19 2003
@@ -1 +1 @@
-MD5 (celvis.tar.gz) = 219f74d6b34b4812280fd3f96a1c4686
+MD5 (celvis.tar.gz) = 70bb2769b07d12afd22ffeaf8aff227e
--- patch-celvis-distfile ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: erwin 
State-Changed-When: Thu Jun 12 02:33:38 PDT 2003 
State-Changed-Why:  
You have typo in: 
+MASTER_SITES=  # http://ftp.ist.utl.pt/pub/ctan/language/chinese/chtex/ 

However the new site doesn't seem to work either: 

State-Changed-From-To: feedback->closed 
State-Changed-By: erwin 
State-Changed-When: Thu Jun 12 02:37:25 PDT 2003 
State-Changed-Why:  
The earlier error was only temporary 

Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53103 
>Unformatted:
 >> Attempting to fetch from http://ftp.ist.utl.pt/pub/ctan/language/chinese/chtex/. 
 fetch: http://ftp.ist.utl.pt/pub/ctan/language/chinese/chtex/celvis.tar.gz: Requested Range Not Satisfiable 
 
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=53103 
