From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 25 18:10:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F26541065674 for ; Mon, 25 Jun 2012 18:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CEC3A8FC0C for ; Mon, 25 Jun 2012 18:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5PIABcC073883 for ; Mon, 25 Jun 2012 18:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5PIABfX073882; Mon, 25 Jun 2012 18:10:11 GMT (envelope-from gnats) Resent-Date: Mon, 25 Jun 2012 18:10:11 GMT Resent-Message-Id: <201206251810.q5PIABfX073882@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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3D851065672 for ; Mon, 25 Jun 2012 18:00:57 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa102lp.auone-net.jp (msa102lp.auone-net.jp [222.3.140.165]) by mx1.freebsd.org (Postfix) with ESMTP id 767FD8FC0A for ; Mon, 25 Jun 2012 18:00:57 +0000 (UTC) Received: from localhost.localdomain (ZT038198.ppp.dion.ne.jp [59.128.38.198]) by msa102lp.auone-net.jp (au one net msa) with ESMTP id 7AFAE4AC036 for ; Tue, 26 Jun 2012 03:00:55 +0900 (JST) Message-Id: <20120626024537.b7f7bf2a.tkato432@yahoo.com> Date: Tue, 26 Jun 2012 02:45:37 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/169413: ftp/yafc: Support USE_OPENSSL 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, 25 Jun 2012 18:10:12 -0000 >Number: 169413 >Category: ports >Synopsis: ftp/yafc: Support USE_OPENSSL >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 Jun 25 18:10:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p9 i386 >Organization: >Environment: >Description: - Add LICENSE - Add MAKE_JOBS_SAFE - Support USE_OPENSSL - Support PORTEXAMPLES - Add optional dependencies New file: files/patch-src__Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/ftp/yafc/Makefile ftp/yafc/Makefile --- /usr/ports/ftp/yafc/Makefile 2012-06-25 09:05:19.000000000 +0900 +++ ftp/yafc/Makefile 2012-06-25 16:42:13.000000000 +0900 @@ -7,38 +7,66 @@ PORTNAME= yafc PORTVERSION= 1.2.0 -CATEGORIES= ftp +PORTREVISION= 1 +CATEGORIES= ftp ipv6 MASTER_SITES= https://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 + USE_XZ= yes +USE_OPENSSL= yes +USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_ipv6=yes CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \ - --with-krb5=no --disable-nls + --with-krb5=no --with-openssl=${OPENSSLBASE} +MAKE_JOBS_SAFE= yes + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib FETCH_ARGS= -Fpr MAN1= yafc.1 INFO= yafc +PORTEXAMPLES= inputrc yafcrc PLIST_FILES= bin/yafc \ etc/bash_completion.d/yafc PLIST_DIRSTRY= etc/bash_completion.d +.include + +.if ${PORT_OPTIONS:MNLS} +USE_GNOME+= intltool +USE_GETTEXT= yes +LDFLAGS+= -lintl +PLIST_FILES+= share/locale/sv/LC_MESSAGES/yafc.mo +.else +CONFIGURE_ARGS+= --disable-nls +.endif + +.if ${PORT_OPTIONS:MSSH} +LIB_DEPENDS+= ssh:${PORTSDIR}/security/libssh +.else +CONFIGURE_ARGS+= --without-ssh +.endif + .include -.if exists(${LOCALBASE}/lib/libreadline.so.6) -LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline +.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} -PLIST_FILES+= %%EXAMPLESDIR%%/inputrc \ - %%EXAMPLESDIR%%/yafcrc -PLIST_DIRS+= %%EXAMPLESDIR%% .endif .include 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 1970-01-01 09:00:00.000000000 +0900 +++ ftp/yafc/files/patch-src__Makefile.in 2012-06-25 16:35:36.000000000 +0900 @@ -0,0 +1,14 @@ +--- 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: