From nobody@FreeBSD.org  Thu May  3 05:30:46 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id CEC91106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 May 2012 05:30:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B95538FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 May 2012 05:30:46 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q435UkiH056390
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 3 May 2012 05:30:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q435UkXc056389;
	Thu, 3 May 2012 05:30:46 GMT
	(envelope-from nobody)
Message-Id: <201205030530.q435UkXc056389@red.freebsd.org>
Date: Thu, 3 May 2012 05:30:46 GMT
From: Norihiko Murase <mur1080224@inter7.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: ftp/yafc to 1.1.3
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167547
>Category:       ports
>Synopsis:       Update port: ftp/yafc to 1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 03 05:40:09 UTC 2012
>Closed-Date:    Mon May 07 19:33:04 UTC 2012
>Last-Modified:  Mon May  7 19:40:11 UTC 2012
>Originator:     Norihiko Murase
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
The new release of Yafc is available, which is 1.1.3.

* Remove files:
  files/patch-src__input.c
* Changed official web site -- GitHub instead of sourceforge.net

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/ftp/yafc/Makefile NewPorts_yafc/Makefile
--- /usr/ports/ftp/yafc/Makefile	2011-10-24 12:33:02.000000000 +0900
+++ NewPorts_yafc/Makefile	2012-05-03 13:51:05.000000000 +0900
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	yafc
-PORTVERSION=	1.1.1
-PORTREVISION=	1
+PORTVERSION=	1.1.3
 CATEGORIES=	ftp
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	https://github.com/downloads/sebastinas/yafc/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another ftp client. Similar to ftp(1)
diff -urN /usr/ports/ftp/yafc/distinfo NewPorts_yafc/distinfo
--- /usr/ports/ftp/yafc/distinfo	2011-03-19 21:30:19.000000000 +0900
+++ NewPorts_yafc/distinfo	2012-05-03 13:06:56.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (yafc-1.1.1.tar.bz2) = ab72b2ed89fb75dbe8ebd119458cf513392225f367cccfad881e9780aefcd7e6
-SIZE (yafc-1.1.1.tar.bz2) = 858991
+SHA256 (yafc-1.1.3.tar.bz2) = bcd9027081798b1e76fa2af6f900c333c7ab0e9fcd804b1f36f54879b3d377a7
+SIZE (yafc-1.1.3.tar.bz2) = 542126
diff -urN /usr/ports/ftp/yafc/files/patch-src__input.c NewPorts_yafc/files/patch-src__input.c
--- /usr/ports/ftp/yafc/files/patch-src__input.c	2006-07-11 07:15:42.000000000 +0900
+++ NewPorts_yafc/files/patch-src__input.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,66 +0,0 @@
---- src/input.c.bak	Thu Oct  6 04:31:25 2005
-+++ src/input.c	Sun Jul  9 12:42:12 2006
-@@ -76,7 +76,11 @@
- 
- # include <fcntl.h> 
- # include <sys/ioctl.h> 
-+#if 0
- # include <termio.h> 
-+#else
-+# include <termios.h> 
-+#endif
- 
- char *getpass_hook(const char *prompt)
- {
-@@ -89,23 +93,39 @@
- #else
- 	int c, n = 0;
- 	char tmp[1024];
-+#if 0
- 	struct termio tbuf, tbufsave;
-+#else
-+	struct termios tbuf, tbufsave;
-+#endif
- 	FILE *fd;
- 
- 	if((fd = fopen("/dev/tty", "rb")) == NULL) {
- 		perror("fopen /dev/tty");
- 		return NULL;
- 	}
-+#if 0
- 	if (ioctl(fileno(fd), TCGETA, &tbuf) < 0) {
-+#else
-+	if (ioctl(fileno(fd), TIOCGETA, &tbuf) < 0) {
-+#endif
- 		perror("ioctl get");
- 		fclose(fd);
- 		return NULL;
- 	}
- 	tbufsave = tbuf;
-+#if 0
- 	tbuf.c_iflag &= ~(IUCLC | ISTRIP | IXON | IXOFF);
-+#else
-+	tbuf.c_iflag &= ~(ISTRIP | IXON | IXOFF);
-+#endif
- 	tbuf.c_lflag &= ~(ICANON | ISIG | ECHO);
- 	tbuf.c_cc[4] = 1; /* MIN */
-+#if 0
- 	if (ioctl(fileno(fd), TCSETA, &tbuf) < 0) {
-+#else
-+	if (ioctl(fileno(fd), TIOCSETA, &tbuf) < 0) {
-+#endif
- 		perror("ioctl set");
- 		fclose(fd);
- 		return NULL;
-@@ -132,7 +152,11 @@
- 		fflush(stderr);
- 	}
- 	tmp[n] = '\0';
-+#if 0
- 	if (ioctl(fileno(fd), TCSETA, &tbufsave) < 0) {
-+#else
-+	if (ioctl(fileno(fd), TIOCSETA, &tbufsave) < 0) {
-+#endif
- 		perror("ioctl restore");
- 		fclose(fd);
- 		return NULL;
diff -urN /usr/ports/ftp/yafc/pkg-descr NewPorts_yafc/pkg-descr
--- /usr/ports/ftp/yafc/pkg-descr	2000-10-18 05:10:04.000000000 +0900
+++ NewPorts_yafc/pkg-descr	2012-05-03 13:04:29.000000000 +0900
@@ -2,4 +2,4 @@
 Directory cache, remote filename completion, aliases, colored ls,
 recursive get/put/ls/rm, nohup mode transfers, and more!
 
-WWW: http://yafc.sourceforge.net/
+WWW: http://www.yafc-ftp.com/


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Mon May 7 18:49:55 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167547 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Mon May 7 19:33:01 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167547 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/167547: commit references a PR
Date: Mon,  7 May 2012 19:32:59 +0000 (UTC)

 pawel       2012-05-07 19:32:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ftp/yafc             Makefile distinfo pkg-descr 
   Removed files:
     ftp/yafc/files       patch-src__input.c 
   Log:
   - Update to version 1.1.3 [1]
   - Project homepage has changed [1]
   - Respect NOPORTEXAMPLES
   - Include bsd.port.mk instead of not needed pre and post
   
   PR:             ports/167547 [1]
   Submitted by:   Norihiko Murase <mur1080224@inter7.jp> [1]
   
   Revision  Changes    Path
   1.42      +13 -9     ports/ftp/yafc/Makefile
   1.24      +2 -2      ports/ftp/yafc/distinfo
   1.2       +0 -66     ports/ftp/yafc/files/patch-src__input.c (dead)
   1.4       +1 -1      ports/ftp/yafc/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
