curl/packages/Win32/cygwin/README

115 lines
4.3 KiB
Plaintext
Raw Normal View History

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