From owner-svn-ports-all@freebsd.org Tue Sep 22 16:59:54 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00ECC3EFBF8; Tue, 22 Sep 2020 16:59:54 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bwnbs6Jrmz4Jq4; Tue, 22 Sep 2020 16:59:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BBBC522A80; Tue, 22 Sep 2020 16:59:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08MGxrRr046984; Tue, 22 Sep 2020 16:59:53 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08MGxrgI046981; Tue, 22 Sep 2020 16:59:53 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009221659.08MGxrgI046981@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Tue, 22 Sep 2020 16:59:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549609 - in head/ftp/wput: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/ftp/wput: . files X-SVN-Commit-Revision: 549609 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2020 16:59:54 -0000 Author: se Date: Tue Sep 22 16:59:52 2020 New Revision: 549609 URL: https://svnweb.freebsd.org/changeset/ports/549609 Log: Fix build with -fno-common While here add license (GPLv2) and strip binary. Added: head/ftp/wput/files/patch-src_wput.c (contents, props changed) head/ftp/wput/files/patch-src_wput.h (contents, props changed) Modified: head/ftp/wput/Makefile Modified: head/ftp/wput/Makefile ============================================================================== --- head/ftp/wput/Makefile Tue Sep 22 16:38:43 2020 (r549608) +++ head/ftp/wput/Makefile Tue Sep 22 16:59:52 2020 (r549609) @@ -3,13 +3,16 @@ PORTNAME= wput PORTVERSION= 0.6.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= ftp MASTER_SITES= SF MAINTAINER= chip-set@mail.ru COMMENT= Upload files or directories to FTP server with resume support +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + PORTDOCS= ABOUT-NLS COPYING ChangeLog INSTALL TODO PORTEXAMPLES= USAGE.examples USAGE.resumehandling USAGE.urlhandling \ passwordfile wputrc @@ -35,6 +38,7 @@ pre-configure: ${WRKSRC}/src/socketlib.c post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wput ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/ @${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} Added: head/ftp/wput/files/patch-src_wput.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/wput/files/patch-src_wput.c Tue Sep 22 16:59:52 2020 (r549609) @@ -0,0 +1,10 @@ +--- src/wput.c.orig 2008-09-27 10:31:23 UTC ++++ src/wput.c +@@ -69,6 +69,7 @@ int start_fsession(); + int start_ftp(); + int start_recur_ftp(); + void read_netrc_file(void); ++opt_t opt; + + int main(int argc, char *argv[]){ + #ifdef WIN32 Added: head/ftp/wput/files/patch-src_wput.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/wput/files/patch-src_wput.h Tue Sep 22 16:59:52 2020 (r549609) @@ -0,0 +1,22 @@ +--- src/wput.h.orig 2008-09-27 10:31:23 UTC ++++ src/wput.h +@@ -79,7 +79,7 @@ typedef struct _password_list { + struct _password_list * next; + } password_list; + +-struct global_options { ++typedef struct global_options { + char * sbuf; + int sbuflen; + unsigned int bindaddr; +@@ -140,7 +140,9 @@ struct global_options { + + unsigned short int retry_interval; + unsigned int speed_limit; +-} opt; ++} opt_t; ++ ++extern opt_t opt; + + extern _fsession * fsession_queue_entry_point; + extern char * email_address;