svn commit: r549609 - in head/ftp/wput: . files
Stefan Eßer
se at FreeBSD.org
Tue Sep 22 16:59:54 UTC 2020
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 at 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;
More information about the svn-ports-head
mailing list