Kevin Roth's fixes

This commit is contained in:
Daniel Stenberg 2001-11-19 09:42:15 +00:00
parent e6dd4a6456
commit 508466a175
2 changed files with 64 additions and 36 deletions

View File

@ -15,20 +15,20 @@ EXTRA_DIST = README
CYGBUILD = 1 CYGBUILD = 1
# Cygwin tarball build dir (fully-qualified name, gets deleted when done) # Cygwin tarball build dir (fully-qualified name, gets deleted when done)
cygwintmp = $(CURDIR)/cygwinbin-builddir cygwintmp = $(CURDIR)/tmp_binbuild
cygwinbin: cygwinbin:
rm -rf $(cygwintmp) rm -rf $(cygwintmp)
$(MAKE) -C $(top_builddir) install-strip prefix=$(cygwintmp)/usr $(MAKE) -C $(top_builddir) install-strip prefix=$(cygwintmp)/usr
$(mkinstalldirs) $(cygwintmp)/usr/doc/Cygwin \ $(mkinstalldirs) $(cygwintmp)/usr/doc/Cygwin \
$(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)
cd $(top_srcdir); \ cp $(srcdir)/README \
cp packages/Win32/cygwin/README \
$(cygwintmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README $(cygwintmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README
cd $(top_srcdir) ; \ cd $(top_srcdir) ; cp CHANGES LEGAL MPL-1.1.txt MITX.txt README \
cp CHANGES LEGAL MPL-1.1.txt README docs/FAQ docs/FEATURES docs/TODO \ docs/FAQ docs/FEATURES docs/TODO \
$(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)
cd $(cygwintmp) ; \ cd $(cygwintmp) ; \
tar cjf $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr tar cjf $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr
mv $(cygwintmp)/$(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 . \ mv $(cygwintmp)/$(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 . \
&& rm -rf $(cygwintmp) && rm -rf $(cygwintmp)

View File

@ -1,35 +1,37 @@
Curl is a tool for transferring files with URL syntax, supporting FTP, FTPS, Curl is a tool for transferring files with URL syntax, supporting
HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports HTTPS FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP.
certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
upload, proxies, cookies, user+password authentication, file transfer resume, FTP uploading, kerberos, HTTP form based upload, proxies,
http proxy tunneling and a busload of other useful tricks. cookies, user+password authentication, file transfer resume,
See /usr/doc/curl-<version>/FEATURES for more info. http proxy tunneling and a busload of other useful tricks.
cURL (as of 7.9.1) builds 100% cleanly OOTB. See /usr/doc/curl-<version>/FEATURES for more info.
The Cygwin specific source files (README and a Makefile for
building binary tarballs) are not in a CYGWIN-PATCHES directory.
They are at: <srctop>/packages/Win32/cygwin/
Direct Dependencies: Runtime Dependencies:
OpenSSL 0.9.6b - Cygwin
Compile-time Dependencies:
- OpenSSL 0.9.6b (*)
(*) cURL can be built without SSL support: ./configure --without-ssl (*) cURL can be built without SSL support: ./configure --without-ssl
Canonical Homepage: Canonical Homepage and Downloads:
http://curl.haxx.se/ http://curl.haxx.se/
Canonical Download:
http://curl.haxx.se/download.html http://curl.haxx.se/download.html
Build Instructions: Cygwin specific source files (a .README template and a Makefile
Download the source, move it to a location of your choosing, and then: for building binary tarballs) are maintained in the upstream
CVS at: <srctop>/packages/Win32/cygwin/
Build Instructions (as distributed via cygwin's setup.exe):
(NOTE: as of curl 7.9.1, compiles/tests 100% cleanly OOTB under cygwin)
Download the source, unpack it to a location of your choosing, and then:
$ tar xjf curl-<ver>-X-src.tar.bz2
$ cd curl-<ver>-X
$ ./configure --prefix=/usr $ ./configure --prefix=/usr
$ make $ make
$ make test # optional, requires perl $ make test # optional, requires perl
@ -42,19 +44,45 @@ Build Instructions:
Packaging Instructions: Packaging Instructions:
To create a new binary tarball for cygwin's setup.exe, the first step is to ---BINARY---
do a clean build (./configure and make). The 'make install' step is optional. Compile cleanly (./configure + make). Then:
Then do:
$ cd curl-<ver>-X $ make cygwinbin CYGBUILD=n
$ make cygwinbin CYGBUILD=X
where "X" is the cygwin release number (e.g. the "-1" in curl-7.9.3-1). where n is the cygwin release number (e.g. the "1" in curl-7.9-1).
If you leave off "CYGBUILD=X", X defaults to 1. If you leave off "CYGBUILD=n", n defaults to 1.
Assuming everything worked properly, you'll find your cygwin Assuming everything worked properly, you'll find your binary tarball
binary tarball in the curl-<ver>-X/packages/Win32/cygwin/ directory. in the packages/Win32/cygwin/ sub-directory.
---SOURCE---
1. unpack the pristine source into an otherwise empty directory
2. rename the source dir to add the "-$(REL)" suffix, e.g.:
$ mv curl-7.9 curl-7.9-1
3. add a CYGWIN-PATCHES directory, and add this readme to it
$ cd curl-7.9-$(REL); mkdir CYGWIN-PATCHES
$ cp packages/Win32/cygwin/README CYGWIN-PATCHES/curl-7.9-$(REL).README
4. if applicable, document any changes in the README file
5. create a patch which, when applied (patch -p1 < curl-7.9-$(REL).patch)
will remove any patches you've applied:
$ cd ..
$ diff -Nrup (patched-src-dir) (pristine-src-dir) > curl-7.9-$(REL).patch
and then move it into the CYGWIN-PATCHES directory
6. repack
---SETUP.HINT---
sdesc: "a client that groks URLs"
ldesc: "Curl is a tool for transferring files with URL syntax,
supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE
and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
FTP uploading, kerberos, HTTP form based upload, proxies,
cookies, user+password authentication, file transfer resume,
http proxy tunneling and a busload of other useful tricks."
category: Web Libs
requires: cygwin
Cygwin port maintained by: Cygwin port maintained by:
Kevin Roth <kproth at bigfoot dot com> Kevin Roth <kproth at bigfoot dot com>
Questions regarding cURL use should be directed to curl@contactor.se.
Questions regarding its packaging should be directed to cygwin@cygwin.com.