diff --git a/ftp/Makefile b/ftp/Makefile index 06b545d27011..ee90a11f19a2 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -1,102 +1,103 @@ COMMENT = FTP client and server utilities SUBDIR += R-cran-RCurl SUBDIR += R-cran-curl SUBDIR += axel SUBDIR += bbftp-client SUBDIR += bbftp-server SUBDIR += bftpd SUBDIR += bsdftpd-ssl SUBDIR += cmdftp SUBDIR += coeurl SUBDIR += curl SUBDIR += curlie SUBDIR += curlpp SUBDIR += dmachine SUBDIR += fastdfs SUBDIR += filezilla SUBDIR += fineftp-server SUBDIR += fmirror SUBDIR += freebsd-ftpd SUBDIR += ftpcopy SUBDIR += ftpfind SUBDIR += ftplib SUBDIR += ftpproxy SUBDIR += ftpsesame SUBDIR += ftpsync SUBDIR += gftp SUBDIR += gnustep-ftp SUBDIR += gstreamer1-plugins-curl SUBDIR += hsftp SUBDIR += jftp SUBDIR += lftp SUBDIR += libfilezilla SUBDIR += linux-c7-curl SUBDIR += linux-rl9-curl SUBDIR += linux-rl9-wget SUBDIR += mirror SUBDIR += ncftp3 SUBDIR += net2ftp SUBDIR += netdumpd SUBDIR += ocaml-ocurl SUBDIR += oftpd SUBDIR += omi SUBDIR += p5-File-Fetch SUBDIR += p5-Net-FTP-Common SUBDIR += p5-Net-FTP-Recursive SUBDIR += p5-Net-FTPSSL SUBDIR += p5-Net-FTPServer SUBDIR += p5-POE-Component-Client-FTP SUBDIR += p5-SOAP-Transport-FTP SUBDIR += paraget SUBDIR += pavuk SUBDIR += pear-Net_FTP SUBDIR += pftpd SUBDIR += pget SUBDIR += php81-curl SUBDIR += php81-ftp SUBDIR += php82-curl SUBDIR += php82-ftp SUBDIR += php83-curl SUBDIR += php83-ftp SUBDIR += php84-curl SUBDIR += php84-ftp SUBDIR += phpwebftp SUBDIR += proftpd SUBDIR += proftpd-mod_vroot SUBDIR += profxp SUBDIR += pure-ftpd SUBDIR += py-aioftp SUBDIR += py-ftputil SUBDIR += py-parfive SUBDIR += py-pycurl SUBDIR += py-pyftpdlib SUBDIR += py-requests-ftp SUBDIR += py-sftp SUBDIR += py-tftpy SUBDIR += quftp SUBDIR += rexx-curl SUBDIR += rubygem-curb SUBDIR += rubygem-net-ftp SUBDIR += sftpgo SUBDIR += smbftpd SUBDIR += spegla SUBDIR += termscp SUBDIR += tftp-hpa SUBDIR += tnftp SUBDIR += tnftpd SUBDIR += twoftpd SUBDIR += uftp SUBDIR += unftp SUBDIR += vsftpd SUBDIR += vsftpd-ext SUBDIR += waiho + SUBDIR += wcurl SUBDIR += weex SUBDIR += wget SUBDIR += wmget SUBDIR += wput SUBDIR += wush SUBDIR += wzdftpd SUBDIR += yafc .include diff --git a/ftp/wcurl/Makefile b/ftp/wcurl/Makefile new file mode 100644 index 000000000000..963f7372ffb1 --- /dev/null +++ b/ftp/wcurl/Makefile @@ -0,0 +1,31 @@ +PORTNAME= wcurl +DISTVERSION= 2024.07.10 +CATEGORIES= ftp net www + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Simple wrapper around curl to easily download files +WWW= https://curl.se/wcurl/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= curl>=7.46.0:ftp/curl +TEST_DEPENDS= shunit2:devel/shunit2 + +USE_GITHUB= yes +GH_ACCOUNT= curl + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/wcurl \ + share/man/man1/wcurl.1.gz + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/wcurl ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/wcurl.1 ${STAGEDIR}${PREFIX}/share/man/man1 + +do-test: + cd ${WRKSRC} && ./tests/tests.sh + +.include diff --git a/ftp/wcurl/distinfo b/ftp/wcurl/distinfo new file mode 100644 index 000000000000..5a056e441ab2 --- /dev/null +++ b/ftp/wcurl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725536015 +SHA256 (curl-wcurl-2024.07.10_GH0.tar.gz) = 962bb72e36e6f6cedbd21c8ca3af50e7dadd587a49d2482ab3226e76cf6dcc97 +SIZE (curl-wcurl-2024.07.10_GH0.tar.gz) = 5791 diff --git a/ftp/wcurl/pkg-descr b/ftp/wcurl/pkg-descr new file mode 100644 index 000000000000..12e51760f31c --- /dev/null +++ b/ftp/wcurl/pkg-descr @@ -0,0 +1,10 @@ +wcurl is a simple curl wrapper which lets you use curl to download +files without having to remember any parameters. + +Simply call wcurl with a list of URLs you want to download and wcurl +will pick sane defaults. + +If you need anything more complex, you can provide any of curl's +supported parameters via the --curl-options option. Just beware that +you likely should be using curl directly if your use case is not +covered.