From bae0d473f5912d38fc8da1f9850a70b015b53c9e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Nov 2018 16:01:32 +0100 Subject: packages: remove old leftover files and dirs This subdir has mostly become an attic of never-used cruft from the past. Closes #3331 --- packages/Win32/Makefile.am | 3 - packages/Win32/README | 53 ------------------ packages/Win32/cygwin/Makefile.am | 62 --------------------- packages/Win32/cygwin/README | 114 -------------------------------------- 4 files changed, 232 deletions(-) delete mode 100644 packages/Win32/Makefile.am delete mode 100644 packages/Win32/README delete mode 100644 packages/Win32/cygwin/Makefile.am delete mode 100644 packages/Win32/cygwin/README (limited to 'packages/Win32') diff --git a/packages/Win32/Makefile.am b/packages/Win32/Makefile.am deleted file mode 100644 index 93350ea13..000000000 --- a/packages/Win32/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -SUBDIRS = cygwin - -EXTRA_DIST = README diff --git a/packages/Win32/README b/packages/Win32/README deleted file mode 100644 index f21967431..000000000 --- a/packages/Win32/README +++ /dev/null @@ -1,53 +0,0 @@ -Author: Jörn Hartroth - -DESCRIPTION - -(If you're only looking for precompiled win32 binaries, go visit -https://curl.haxx.se/download.html) - -Packaging of the curl binaries for Win32 should at this point in time be based -on the InfoZip (zip/unzip) archiver family as the de-facto standard for -Windows archives. A package should contain the main binary curl.exe along with -the appropriate documentation and license information files. For development -releases, you should also include the header directory and probably the -compiled binaries of libcurl and the appropriate Makefiles/project definition -files for the compiler used. - -A simple packaging mechanism can be based on a set of batch files which call -zip.exe with the appropriate files from the curl distribution - see the -samples included below (Long lines have been split with "\" as the split -marker, you'll want to rejoin the pieces to be all on one line in the batch -file). Call any of these batch files - after compiling the curl binaries - -with a single parameter specifying the name of the archive file to be created. - -It is implicitly assumed that all of the binary files (curl.exe, libcurl.a, -etc) have previously been copied to the main directory of the curl source -package (the directory where the main README resides), because that is where -they should end up in the zip archive. The archive should *not* be built with -absolute path information because the user will want to locally extract the -archive contents and shift the binaries to his executable directory. - -SCRIPT_TEMPLATES - -curlpkg.bat: - zip -9 %1 curl.exe CHANGES LEGAL MPL-1.0.txt README \ - docs/FAQ docs/FEATURES docs/README.curl docs/README.win32 docs/TODO - -curldevpkg.bat: - zip -9 %1 curl.exe include\README include\curl\*.h CHANGES docs\* \ - curl.spec curl-ssl.spec LEGAL lib/Makefile.m32 src/Makefile.m32 \ - libcurl.a libcurl.dll libcurldll.a MPL-1.0.txt README - -PROCEDURE_EXAMPLE - -A standard packaging routine (for MingW32) using the above batch files could -go like this: -(No SSL) (With SSL) -cd \lib cd \lib -make -f Makefile.m32 make -f Makefile.m32 SSL=1 -cd ..\src cd ..\src -make -f Makefile.m32 make -f Makefile.m32 SSL=1 -cd .. cd .. -copy lib\libcurl.a . copy lib\libcurl.a . -copy src\curl.exe . copy src\curl.exe . -curlpkg curl-win32-nossl.zip curlpkg curl-win32-ssl.zip diff --git a/packages/Win32/cygwin/Makefile.am b/packages/Win32/cygwin/Makefile.am deleted file mode 100644 index b56148dc9..000000000 --- a/packages/Win32/cygwin/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -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") -CYGBUILD = 1 - -# Cygwin tarball build dir (fully-qualified name, gets deleted when done) -cygwintmp = $(CURDIR)/tmp_binbuild - -cygwinbin: - rm -rf $(cygwintmp) - rm -rf $(cygwintmp)-dev - $(MAKE) -C $(top_builddir) DESTDIR=$(cygwintmp) install-strip -# $(STRIP) $(cygwintmp)/usr/bin/cygcurl-?.dll - $(mkinstalldirs) \ - $(cygwintmp)$(datadir)/doc/Cygwin \ - $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION) \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/libcurl \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples \ - $(cygwintmp)-dev$(mandir) -# -# copy some files into the binary install dir - cp $(srcdir)/README \ - $(cygwintmp)$(datadir)/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README - cd $(top_srcdir) ; cp CHANGES COPYING README RELEASE-NOTES docs/* \ - $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION) ; pwd - cd $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION) ; rm *.1 Makefile* -# -# copy some files into the -dev install dir, remove some from binary - cp $(top_srcdir)/docs/libcurl/*.html \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/libcurl - cp $(top_srcdir)/docs/examples/* \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples - rm $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples/Makefile* - cp $(top_srcdir)/docs/examples/Makefile.example \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples - mv $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION)/BINDINGS \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION) - mv $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION)/INTERNALS \ - $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION) - mv $(cygwintmp)/usr/include $(cygwintmp)-dev/usr - mv $(cygwintmp)/usr/lib $(cygwintmp)-dev/usr - mv $(cygwintmp)$(mandir)/man3 $(cygwintmp)-dev$(mandir) -# -# create both tar files, and delete tmp folders - cd $(cygwintmp) ; tar cjf \ - $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr - mv $(cygwintmp)/*.tar.bz2 . && rm -rf $(cygwintmp) -# - cd $(cygwintmp)-dev ; tar cjf \ - $(PACKAGE)-devel-$(VERSION)-$(CYGBUILD).tar.bz2 usr - mv $(cygwintmp)-dev/*.tar.bz2 . && rm -rf $(cygwintmp)-dev diff --git a/packages/Win32/cygwin/README b/packages/Win32/cygwin/README deleted file mode 100644 index 9a61341de..000000000 --- a/packages/Win32/cygwin/README +++ /dev/null @@ -1,114 +0,0 @@ -Curl is a tool for transferring files with URL syntax, 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, - 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. - - -Dependencies: - - Cygwin - - OpenSSL 0.9.6b-2+ (*) - - (*) curl can be built without SSL support, see below for details - - -Canonical Homepage and Downloads: - https://curl.haxx.se/ - https://curl.haxx.se/download.html - - -Cygwin specific source files (a .README template and a Makefile - for building binary tarballs) are maintained in the upstream - CVS at: /packages/Win32/cygwin/ - - -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: - - $ ./configure --prefix=/usr --mandir=/usr/share/man # (*) - $ make - $ make test # optional - $ make install # (**) - - (*) 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, - such that "make install" blew up at curl.exe. See this URL for details: - https://lists.gnu.org/archive/html/libtool/2001-09/msg00101.html - The copy of ltmain.sh that is distributed with curl includes this patch. - - As of curl 7.9.1, the official source compiles (under Cygwin) and tests - 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 - - NOTE: the standard release is what is available via Cygwin's setup.exe; - the no-ssl release is only available from the curl website - - -Packaging Instructions: - ---BINARY--- - Compile cleanly as described above, then: - - $ make cygwinbin CYGBUILD=n - - 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) - - Assuming everything worked, you'll find your binary tarballs in - $(buildtop)/packages/Win32/cygwin/ - - ---SOURCE--- - 1. download & unpack the pristine source - 2. rename the source dir to add the "-$(REL)" suffix, e.g.: - $ mv curl-7.9 curl-7.9-1 - 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 - 3. add a CYGWIN-PATCHES directory, and add this readme to it - $ cd curl-7.9-1; mkdir CYGWIN-PATCHES - $ cp packages/Win32/cygwin/README CYGWIN-PATCHES/curl-7.9-1.README - 4. if applicable, document any changes in the README file - 5. create a patch which, when applied - (using `patch -p1 < curl-7.9-$(REL).patch`) - will remove any changes you've made to the pristine source: - $ cd .. - $ diff -Nrup curl-7.9-1 curl-7.9 > curl-7.9-1.patch - and then move it into the CYGWIN-PATCHES directory - $ 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 - - ---SETUP.HINT--- - @ curl - sdesc: "a client that groks URLs" - ldesc: "Curl is a tool for transferring files with URL syntax, - 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, - cookies, user+password authentication, file transfer resume, - http proxy tunneling and a busload of other useful tricks." - category: Web Libs - requires: cygwin openssl - - @ 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 - - -Cygwin port maintained by: - Kevin Roth - Questions about curl should be directed to curl-users@cool.haxx.se. - Questions about this cygwin package go to cygwin@cygwin.com. -- cgit v1.2.3