Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:22:58 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172001: ftp/yafc: Update to version 1.2.2
Message-ID:  <20120926022258.85070ded36daaea92fc9701d@yahoo.com>
Resent-Message-ID: <201209251810.q8PIANeC020149@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172001
>Category:       ports
>Synopsis:       ftp/yafc: Update to version 1.2.2
>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:   Tue Sep 25 18:10:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.2

Remove file:
patch-src__Makefile.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/yafc/Makefile ftp/yafc/Makefile
--- /usr/ports/ftp/yafc/Makefile	2012-07-20 02:28:40.000000000 +0900
+++ ftp/yafc/Makefile	2012-09-25 03:32:10.000000000 +0900
@@ -1,23 +1,19 @@
-# New ports collection makefile for:	yafc
-# Date created:		10 June 1999
-# Whom:			Chris Piazza <cpiazza@FreeBSD.org>
-#
+# Created by: Chris Piazza <cpiazza@FreeBSD.org>
 # $FreeBSD: ports/ftp/yafc/Makefile,v 1.44 2012/07/19 17:28:40 sperber Exp $
-#
 
 PORTNAME=	yafc
-PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTVERSION=	1.2.2
 CATEGORIES=	ftp ipv6
-MASTER_SITES=	https://github.com/downloads/sebastinas/yafc/
+MASTER_SITES=	http://cloud.github.com/downloads/sebastinas/yafc/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another ftp client. Similar to ftp(1)
 
 LICENSE=	GPLv2 # (or later)
 
-OPTIONS_DEFINE=	NLS SSH EXAMPLES
-OPTIONS_DEFAULT=NLS SSH
+OPTIONS_DEFINE=	NLS READLINE SSH EXAMPLES
+OPTIONS_DEFAULT=NLS READLINE SSH
+READLINE_DESC=	Enable readline support
 
 USE_XZ=		yes
 USE_OPENSSL=	yes
@@ -31,8 +27,6 @@
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-FETCH_ARGS=	-Fpr
-
 MAN1=		yafc.1
 INFO=		yafc
 PORTEXAMPLES=	inputrc yafcrc
@@ -46,27 +40,28 @@
 USE_GNOME+=	intltool
 USE_GETTEXT=	yes
 LDFLAGS+=	-lintl
-PLIST_FILES+=	share/locale/sv/LC_MESSAGES/yafc.mo
+PLIST_FILES+=	share/locale/de/LC_MESSAGES/yafc.mo \
+		share/locale/sv/LC_MESSAGES/yafc.mo
 .else
 CONFIGURE_ARGS+=	--disable-nls
 .endif
 
+.if ${PORT_OPTIONS:MREADLINE}
+USE_READLINE=	yes
+.else
+CONFIGURE_ARGS+=	--without-readline
+.endif
+
 .if ${PORT_OPTIONS:MSSH}
 LIB_DEPENDS+=	ssh:${PORTSDIR}/security/libssh
 .else
 CONFIGURE_ARGS+=	--without-ssh
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/lib/libreadline.so)
-LIB_DEPENDS+=	readline:${PORTSDIR}/devel/readline
-.endif
-
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/ftp/yafc/distinfo ftp/yafc/distinfo
--- /usr/ports/ftp/yafc/distinfo	2012-06-25 09:05:19.000000000 +0900
+++ ftp/yafc/distinfo	2012-09-11 22:44:49.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (yafc-1.2.0.tar.xz) = a8ac89f6a7139158012b08fa97c7b39e465091bdf8ed8fb1fbfbc5e9f65eac40
-SIZE (yafc-1.2.0.tar.xz) = 486416
+SHA256 (yafc-1.2.2.tar.xz) = 8a131a7e3e3e8d16640db7323552108fa5d5a34e46425f1b51cf6c8b8e33f7fe
+SIZE (yafc-1.2.2.tar.xz) = 415692
diff -urN /usr/ports/ftp/yafc/files/patch-src__Makefile.in ftp/yafc/files/patch-src__Makefile.in
--- /usr/ports/ftp/yafc/files/patch-src__Makefile.in	2012-07-20 02:28:40.000000000 +0900
+++ ftp/yafc/files/patch-src__Makefile.in	1970-01-01 09:00:00.000000000 +0900
@@ -1,14 +0,0 @@
---- src/Makefile.in.orig	2012-06-05 23:37:06.000000000 +0900
-+++ src/Makefile.in	2012-06-25 16:34:16.000000000 +0900
-@@ -308,7 +308,10 @@
- 						 libmhe/libmhe.a \
- 						 ../lib/libfoo.a $(SSH_LIBS)
- 
--yafc_DEPENDENCIES = $(yafc_LDADD) yafcrc.h
-+yafc_DEPENDENCIES = ftp/libftp.a \
-+						 libmhe/libmhe.a \
-+						 ../lib/libfoo.a yafcrc.h
-+
- AM_CPPFLAGS = -I$(srcdir) \
- 							-I$(top_srcdir)/lib \
- 							-I$(top_srcdir)/src/ftp \
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022258.85070ded36daaea92fc9701d>