Index: head/ftp/wput/Makefile =================================================================== --- head/ftp/wput/Makefile (revision 549608) +++ head/ftp/wput/Makefile (revision 549609) @@ -1,44 +1,48 @@ # Created by: Nosov Artem # $FreeBSD$ 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 USES= tar:tgz GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= TLS NLS DOCS EXAMPLES OPTIONS_DEFAULT=TLS OPTIONS_SUB= yes TLS_LIB_DEPENDS= libgnutls.so:security/gnutls TLS_CONFIGURE_WITH= ssl NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_WITH= libintl-prefix=${LOCALBASE} NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} pre-configure: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ ${WRKSRC}/src/memdbg.c \ ${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} @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/ftp/wput/files/patch-src_wput.c =================================================================== --- head/ftp/wput/files/patch-src_wput.c (nonexistent) +++ head/ftp/wput/files/patch-src_wput.c (revision 549609) @@ -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 Property changes on: head/ftp/wput/files/patch-src_wput.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/wput/files/patch-src_wput.h =================================================================== --- head/ftp/wput/files/patch-src_wput.h (nonexistent) +++ head/ftp/wput/files/patch-src_wput.h (revision 549609) @@ -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; Property changes on: head/ftp/wput/files/patch-src_wput.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property