From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 10 17:10:29 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2EA416A4DE for ; Mon, 10 Jul 2006 17:10:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F05F43D8D for ; Mon, 10 Jul 2006 17:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6AHAGFS082183 for ; Mon, 10 Jul 2006 17:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6AHAGcl082182; Mon, 10 Jul 2006 17:10:16 GMT (envelope-from gnats) Resent-Date: Mon, 10 Jul 2006 17:10:16 GMT Resent-Message-Id: <200607101710.k6AHAGcl082182@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA7316A4E6 for ; Mon, 10 Jul 2006 17:01:23 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from nm05omta055.dion.ne.jp (nm05mta.dion.ne.jp [219.125.112.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 28D7043D46 for ; Mon, 10 Jul 2006 17:01:22 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.204.122.43]) by nm05mta.dion.ne.jp id <20060711020119045.MA57.81E7410@nm05mta.dion.ne.jp>; Tue, 11 Jul 2006 02:01:19 +0900 Message-Id: <20060711020020.bf6953f3.tkato432@yahoo.com> Date: Tue, 11 Jul 2006 02:00:20 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/100032: Update port: ftp/yafc to 1.1.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 17:10:29 -0000 >Number: 100032 >Category: ports >Synopsis: Update port: ftp/yafc to 1.1.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 10 17:10:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p19 i386 >Organization: >Environment: >Description: - Update to version 1.1.1 New file: files/patch-src__input.c Remove file: files/patch-src::ftp::rfile.c >How-To-Repeat: >Fix: diff -urN /usr/ports/ftp/yafc/Makefile ftp/yafc/Makefile --- /usr/ports/ftp/yafc/Makefile Thu Nov 10 16:27:42 2005 +++ ftp/yafc/Makefile Sun Jul 9 12:42:54 2006 @@ -6,7 +6,7 @@ # PORTNAME= yafc -PORTVERSION= 1.1 +PORTVERSION= 1.1.1 CATEGORIES= ftp MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,13 +21,21 @@ CONFIGURE_ARGS= --with-socks4=no --with-socks5=no --with-krb4=no \ --with-krb5=no --with-gssapi=no -PLIST_FILES= bin/yafc %%EXAMPLESDIR%%/inputrc.sample %%EXAMPLESDIR%%/yafcrc.sample -PLIST_DIRS= %%EXAMPLESDIR%% MAN1= yafc.1 INFO= yafc +PLIST_FILES= bin/yafc \ + %%EXAMPLESDIR%%/inputrc.sample \ + %%EXAMPLESDIR%%/yafcrc.sample +PLIST_DIRS= %%EXAMPLESDIR%% + +.include + +.if ${OSVERSION} < 500000 +LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +.endif post-install: @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.sample ${EXAMPLESDIR} -.include +.include diff -urN /usr/ports/ftp/yafc/distinfo ftp/yafc/distinfo --- /usr/ports/ftp/yafc/distinfo Fri Nov 25 13:34:43 2005 +++ ftp/yafc/distinfo Sun Jul 9 03:29:44 2006 @@ -1,3 +1,3 @@ -MD5 (yafc-1.1.tar.bz2) = 877c21d9b70d89474d1a6478a21c1e51 -SHA256 (yafc-1.1.tar.bz2) = 5eb28b04f2e3166bddc2b3555d7e316278b0405c36284bec07a0c008ca7e94f5 -SIZE (yafc-1.1.tar.bz2) = 463528 +MD5 (yafc-1.1.1.tar.bz2) = 832d074183a36ee15b47553ed5962fce +SHA256 (yafc-1.1.1.tar.bz2) = ab72b2ed89fb75dbe8ebd119458cf513392225f367cccfad881e9780aefcd7e6 +SIZE (yafc-1.1.1.tar.bz2) = 858991 diff -urN /usr/ports/ftp/yafc/files/patch-src::ftp::rfile.c ftp/yafc/files/patch-src::ftp::rfile.c --- /usr/ports/ftp/yafc/files/patch-src::ftp::rfile.c Sat May 29 03:34:03 2004 +++ ftp/yafc/files/patch-src::ftp::rfile.c Thu Jan 1 09:00:00 1970 @@ -1,74 +0,0 @@ ---- src/ftp/rfile.c.orig Thu May 20 20:10:52 2004 -+++ src/ftp/rfile.c Sun May 23 21:49:54 2004 -@@ -439,7 +439,11 @@ - free(saved_field[0]); - f->owner = saved_field[1]; - f->group = saved_field[2]; -+#if 0 - f->size = atoll(saved_field[3]); -+#else -+ f->size = strtoll(saved_field[3], NULL, 10); -+#endif - free(saved_field[3]); - m = saved_field[4]; - NEXT_FIELD2; -@@ -453,7 +457,11 @@ - free(saved_field[0]); - f->owner = saved_field[1]; - f->group = xstrdup("group"); -+#if 0 - f->size = atoll(saved_field[2]); -+#else -+ f->size = strtoll(saved_field[2], NULL, 10); -+#endif - free(saved_field[2]); - m = saved_field[3]; - d = saved_field[4]; -@@ -465,7 +473,11 @@ - f->nhl = 0; - f->owner = xstrdup("owner");; - f->group = xstrdup("group"); -+#if 0 - f->size = atoll(saved_field[1]); -+#else -+ f->size = strtoll(saved_field[1], NULL, 10); -+#endif - free(saved_field[1]); - m = saved_field[2]; - d = saved_field[3]; -@@ -480,7 +492,11 @@ - free(saved_field[0]); - f->owner = saved_field[1]; - f->group = saved_field[2]; -+#if 0 - f->size = atoll(saved_field[3]); -+#else -+ f->size = strtoll(saved_field[3], NULL, 10); -+#endif - free(saved_field[3]); - free(saved_field[4]); - -@@ -624,7 +640,11 @@ - f->perm[0] = 'd'; - f->size = 0L; - } else { -+#if 0 - f->size = (unsigned long long)atoll(e); -+#else -+ f->size = (unsigned long long)strtoll(e, NULL, 10); -+#endif - } - - f->nhl = 1; -@@ -686,7 +706,11 @@ - * FTP" Internet draft, but PureFTPd uses it for some - * reason for size of directories - */ -+#if 0 - f->size = atoll(value); -+#else -+ f->size = strtoll(value, NULL, 10); -+#endif - else if(strcasecmp(factname, "type") == 0) { - if(strcasecmp(value, "file") == 0) - isdir = false; diff -urN /usr/ports/ftp/yafc/files/patch-src__input.c ftp/yafc/files/patch-src__input.c --- /usr/ports/ftp/yafc/files/patch-src__input.c Thu Jan 1 09:00:00 1970 +++ ftp/yafc/files/patch-src__input.c Sun Jul 9 12:42:39 2006 @@ -0,0 +1,66 @@ +--- 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 + # include ++#if 0 + # include ++#else ++# include ++#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; >Release-Note: >Audit-Trail: >Unformatted: