]> granicus.if.org Git - curl/commitdiff
Cygwin moved into the win32 drawer
authorDaniel Stenberg <daniel@haxx.se>
Mon, 29 Oct 2001 10:31:52 +0000 (10:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 29 Oct 2001 10:31:52 +0000 (10:31 +0000)
packages/Cygwin/Makefile.am [deleted file]
packages/Cygwin/README [deleted file]
packages/Makefile.am
packages/Win32/Makefile.am
packages/Win32/cygwin/Makefile.am [new file with mode: 0644]
packages/Win32/cygwin/README [new file with mode: 0644]

diff --git a/packages/Cygwin/Makefile.am b/packages/Cygwin/Makefile.am
deleted file mode 100644 (file)
index c0321c8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRA_DIST = README
-
diff --git a/packages/Cygwin/README b/packages/Cygwin/README
deleted file mode 100644 (file)
index 002d6a6..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-cURL (as of 7.9.1) builds completely OOTB. The Cygwin specific files\r
-(README is the only one so far) are located in a non-standard location:\r
- <srctop>/packages/Cygwin/\r
-\r
-This release (v7.9) includes the patch needed in CYGWIN-PATCHES,\r
-however future releases should eliminate this directory.\r
-\r
-\r
-Direct Dependencies:\r
-  OpenSSL 0.9.6b\r
-\r
-Canonical Homepage:\r
-  http://curl.haxx.se/\r
-\r
-Canonical Download:\r
-  http://curl.haxx.se/download.html\r
-\r
-\r
-Build Instructions:\r
-\r
-  unpack curl-<ver>-X-src.tar.bz2\r
-  cd curl-<ver>\r
-  ./configure --prefix=/usr \r
-  make\r
-  (optionally) make test (*)\r
-  make install (**)\r
-\r
-  (*) until v7.9.1, 'make test' requires Cygwin's mounts set to binmode / Unix\r
-  (**) if you need to bootstrap, make install will require libtool 1.4.3\r
-       (which contains a patch related to the ".exe" extension on curl.exe\r
-\r
-\r
-Cygwin "port" maintained by: Kevin Roth <kproth at bigfoot dot com>\r
-\r
index d07884e62c6c248e293fcd686d16bd190d5f2b11..d82908ce426b66aff769c983a4dd35451fc24e9d 100644 (file)
@@ -1,3 +1,3 @@
-SUBDIRS = Win32 Linux Solaris Cygwin
+SUBDIRS = Win32 Linux Solaris
 
 EXTRA_DIST = README
index 952fde6edc296ea6c3e76475c22b77a668db6047..93350ea13f97c27ec33b2764c1ea4c49b749a931 100644 (file)
@@ -1 +1,3 @@
+SUBDIRS = cygwin
+
 EXTRA_DIST = README
diff --git a/packages/Win32/cygwin/Makefile.am b/packages/Win32/cygwin/Makefile.am
new file mode 100644 (file)
index 0000000..885480e
--- /dev/null
@@ -0,0 +1,37 @@
+EXTRA_DIST = README
+
+#
+# Build a Cygwin binary tar ball
+#
+# Read the README file for details on using this Makefile
+#
+# NOTE: As I'm not particularly familiar with Makefiles, this was the
+#  best I could come up with. It should probably be enhanced someday 
+#  to actually use the correct target and pre-requisite names, etc...
+#  If anyone else wants to volunteer, feel free ;-)
+#
+
+# Cygwin build number (default to "1")
+# NOTE: I tried using this to default CYGBUILD to 1, but couldn't make it work)
+#ifndef CYGBUILD
+#  CYGBUILD = 1
+#endif
+
+# temp dir for use while building the tarball (fully-qualified)
+cygwintmp := $(CURDIR)/cygwinbin-builddir
+
+cygwinbin:
+       rm -rf $(cygwintmp)
+       @(echo Installing to the temporary build dir...)
+       $(MAKE) -C $(top_builddir) install prefix=$(cygwintmp)/usr
+       $(mkinstalldirs) $(cygwintmp)/usr/doc/Cygwin \
+                        $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)
+       cp $(top_srcdir)/packages/Win32/cygwin/README \
+         $(cygwintmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README
+       cd $(top_srcdir) ; \
+         cp CHANGES LEGAL MPL-1.1.txt README docs/FAQ docs/FEATURES docs/TODO \
+         $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)
+       cd $(cygwintmp) ; \
+         tar cjf $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr
+       mv $(cygwintmp)/$(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 . \
+         && rm -rf $(cygwintmp)
diff --git a/packages/Win32/cygwin/README b/packages/Win32/cygwin/README
new file mode 100644 (file)
index 0000000..72fb5f4
--- /dev/null
@@ -0,0 +1,59 @@
+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.
+ See /usr/doc/curl-<version>/FEATURES for more info.
+
+cURL (as of 7.9.1) builds 100% cleanly OOTB.
+
+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:
+  OpenSSL 0.9.6b (cURL can be built without SSL support: configure --without-ssl)
+
+
+Canonical Homepage:
+  http://curl.haxx.se/
+
+
+Canonical Download:
+  http://curl.haxx.se/download.html
+
+
+Build Instructions:
+  Download the source, move it to a location of your choosing, and then:
+
+  $ tar xjf curl-<ver>-X-src.tar.bz2
+  $ cd curl-<ver>-X
+  $ ./configure --prefix=/usr 
+  $ make
+  $ make test    # optional, requires perl
+  $ make install # (*)
+
+  (*) LibTool 1.4.2 had a bug related to cygwin's use of ".exe" extensions,
+      such that "make install" blew up at curl.exe. See this URL for details:
+        http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
+      The copy of ltmain.sh that is distributed with cURL includes this patch.
+
+
+Packaging Instructions:
+  To create a new binary tarball for cygwin's setup.exe, you must first do a clean
+  build (see above). The 'make install' step is optional of course. Then do:
+
+  $ cd curl-<ver>-X
+  $ CYGBUILD=X make cygwinbin
+
+  where "X" is the cygwin release number (e.g. the "-1" in curl-7.9.3-1).
+  I had some difficulty figuring out how to default CYGBUILD to "1", this may
+  get fixed in a future release.
+
+  Assuming everything worked properly, you'll find your cygwin
+  binary tarball in the curl-<ver>-X/packages/Win32/cygwin/ directory.
+
+
+Cygwin port maintained by: 
+  Kevin Roth <kproth at bigfoot dot com>