README 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Curl is a tool for transferring files with URL syntax, supporting
  2. FTP, FTPS, HTTP, HTTPS, TELNET, DICT, FILE and LDAP.
  3. Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
  4. FTP uploading, kerberos, HTTP form based upload, proxies,
  5. cookies, user+password authentication, file transfer resume,
  6. http proxy tunneling and a busload of other useful tricks.
  7. See /usr/doc/curl-$(VERSION)/FEATURES for more info.
  8. Dependencies:
  9. - Cygwin
  10. - OpenSSL 0.9.6b-2+ (*)
  11. (*) cURL can be built without SSL support, see below for details
  12. Canonical Homepage and Downloads:
  13. http://curl.haxx.se/
  14. http://curl.haxx.se/download.html
  15. Cygwin specific source files (a .README template and a Makefile
  16. for building binary tarballs) are maintained in the upstream
  17. CVS at: <srctop>/packages/Win32/cygwin/
  18. Build Instructions (to recompile from the cygwin source tarball):
  19. ---STANDARD (with SSL) RELEASE---
  20. Download the source (either the official release or the cygwin version),
  21. unpack it (done for you if using setup.exe), then:
  22. $ ./configure --prefix=/usr --mandir=/usr/share/man # (*)
  23. $ make
  24. $ make test # optional
  25. $ make install # (**)
  26. (*) The Cygwin project now (as of sometime in 2003) prefers man pages
  27. within /usr/share/man, as opposed to the default /usr/man.
  28. (**) LibTool 1.4.2 had a bug related to cygwin's use of ".exe" extensions,
  29. such that "make install" blew up at curl.exe. See this URL for details:
  30. http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
  31. The copy of ltmain.sh that is distributed with cURL includes this patch.
  32. As of curl 7.9.1, the official source compiles (under Cygwin) and tests
  33. 100% cleanly OOTB (Out Of The Box)
  34. ---NO SSL RELEASE---
  35. Same as standard, except for the configure step, which changes to:
  36. $ ./configure --prefix=/usr --mandir=/usr/share/man --without-ssl
  37. NOTE: the standard release is what is available via Cygwin's setup.exe;
  38. the no-ssl release is only available from the curl website
  39. Packaging Instructions:
  40. ---BINARY---
  41. Compile cleanly as described above, then:
  42. $ make cygwinbin CYGBUILD=n
  43. where n is the cygwin release number (e.g. the "1" in curl-7.9-1),
  44. and "CYGBUILD=n" is optional (n defaults to 1 if not specified)
  45. Assuming everything worked, you'll find your binary tarballs in
  46. $(buildtop)/packages/Win32/cygwin/
  47. ---SOURCE---
  48. 1. download & unpack the pristine source
  49. 2. rename the source dir to add the "-$(REL)" suffix, e.g.:
  50. $ mv curl-7.9 curl-7.9-1
  51. 3. unpack the pristine source once more, so you'll end up
  52. with 2 directories: "curl-7.9" and "curl-7.9-1" in this example
  53. 3. add a CYGWIN-PATCHES directory, and add this readme to it
  54. $ cd curl-7.9-1; mkdir CYGWIN-PATCHES
  55. $ cp packages/Win32/cygwin/README CYGWIN-PATCHES/curl-7.9-1.README
  56. 4. if applicable, document any changes in the README file
  57. 5. create a patch which, when applied
  58. (using `patch -p1 < curl-7.9-$(REL).patch`)
  59. will remove any changes you've made to the pristine source:
  60. $ cd ..
  61. $ diff -Nrup curl-7.9-1 curl-7.9 > curl-7.9-1.patch
  62. and then move it into the CYGWIN-PATCHES directory
  63. $ mv curl-7.9-1.patch curl-7.9-1/CYGWIN-PATCHES
  64. 6. pack the new source dir into a tar.bz2 file:
  65. $ tar cfj curl-7.9-1-src.tar.bz2 curl-7.9-1
  66. ---SETUP.HINT---
  67. @ curl
  68. sdesc: "a client that groks URLs"
  69. ldesc: "Curl is a tool for transferring files with URL syntax,
  70. supporting FTP, FTPS, HTTP, HTTPS, TELNET, DICT, FILE
  71. and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
  72. FTP uploading, kerberos, HTTP form based upload, proxies,
  73. cookies, user+password authentication, file transfer resume,
  74. http proxy tunneling and a busload of other useful tricks."
  75. category: Web Libs
  76. requires: cygwin openssl
  77. @ curl-devel
  78. sdesc: "(lib)cURL headers, static libraries, developer docs and samples"
  79. ldesc: "curl-devel is the developer-oriented (non-run-time) parts
  80. of the cURL package. It includes header files, static libraries,
  81. example source code snippets, and the libcurl man pages."
  82. category: Web Libs Devel
  83. requires: cygwin openssl curl
  84. Cygwin port maintained by:
  85. Kevin Roth <kproth @ users . sourceforge . net>
  86. Questions about cURL should be directed to curl-users@cool.haxx.se.
  87. Questions about this cygwin package go to cygwin@cygwin.com.