]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: merge root `packages` directory into `projects`
authorViktor Szakats <commit@vsz.me>
Mon, 12 Jan 2026 18:44:14 +0000 (19:44 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 12 Jan 2026 22:49:35 +0000 (23:49 +0100)
To simplify the directory layout.

- OS400 and vms support move from `packages` to `projects`.

- Windows README and `generate.bat` files move from `projects`
  to `projects/Windows`.

Closes #20271

90 files changed:
.github/labeler.yml
.github/scripts/codespell.sh
.github/scripts/distfiles.sh
.github/scripts/typos.toml
.github/workflows/checkdocs.yml
.github/workflows/codeql.yml
.github/workflows/curl-for-win.yml
.github/workflows/fuzz.yml
.github/workflows/http3-linux.yml
.github/workflows/linux-old.yml
.github/workflows/linux.yml
.github/workflows/macos.yml
.github/workflows/non-native.yml
.github/workflows/windows.yml
Makefile.am
REUSE.toml
appveyor.sh
appveyor.yml
configure.ac
docs/INSTALL-CMAKE.md
docs/INSTALL.md
lib/setopt.c
packages/README.md [deleted file]
projects/Makefile.am [moved from packages/Makefile.am with 100% similarity]
projects/OS400/.checksrc [moved from packages/OS400/.checksrc with 100% similarity]
projects/OS400/README.OS400 [moved from packages/OS400/README.OS400 with 99% similarity]
projects/OS400/ccsidcurl.c [moved from packages/OS400/ccsidcurl.c with 100% similarity]
projects/OS400/ccsidcurl.h [moved from packages/OS400/ccsidcurl.h with 100% similarity]
projects/OS400/config400.default [moved from packages/OS400/config400.default with 100% similarity]
projects/OS400/curl.cmd [moved from packages/OS400/curl.cmd with 100% similarity]
projects/OS400/curl.inc.in [moved from packages/OS400/curl.inc.in with 100% similarity]
projects/OS400/curlcl.c [moved from packages/OS400/curlcl.c with 100% similarity]
projects/OS400/curlmain.c [moved from packages/OS400/curlmain.c with 100% similarity]
projects/OS400/initscript.sh [moved from packages/OS400/initscript.sh with 98% similarity]
projects/OS400/make-docs.sh [moved from packages/OS400/make-docs.sh with 100% similarity]
projects/OS400/make-include.sh [moved from packages/OS400/make-include.sh with 100% similarity]
projects/OS400/make-lib.sh [moved from packages/OS400/make-lib.sh with 100% similarity]
projects/OS400/make-src.sh [moved from packages/OS400/make-src.sh with 100% similarity]
projects/OS400/make-tests.sh [moved from packages/OS400/make-tests.sh with 100% similarity]
projects/OS400/makefile.sh [moved from packages/OS400/makefile.sh with 100% similarity]
projects/OS400/os400sys.c [moved from packages/OS400/os400sys.c with 100% similarity]
projects/OS400/os400sys.h [moved from packages/OS400/os400sys.h with 100% similarity]
projects/OS400/rpg-examples/HEADERAPI [moved from packages/OS400/rpg-examples/HEADERAPI with 100% similarity]
projects/OS400/rpg-examples/HTTPPOST [moved from packages/OS400/rpg-examples/HTTPPOST with 100% similarity]
projects/OS400/rpg-examples/INMEMORY [moved from packages/OS400/rpg-examples/INMEMORY with 100% similarity]
projects/OS400/rpg-examples/SIMPLE1 [moved from packages/OS400/rpg-examples/SIMPLE1 with 100% similarity]
projects/OS400/rpg-examples/SIMPLE2 [moved from packages/OS400/rpg-examples/SIMPLE2 with 100% similarity]
projects/OS400/rpg-examples/SMTPSRCMBR [moved from packages/OS400/rpg-examples/SMTPSRCMBR with 100% similarity]
projects/README.md
projects/Windows/README.md [new file with mode: 0644]
projects/Windows/generate.bat [moved from projects/generate.bat with 73% similarity]
projects/vms/Makefile.am [moved from packages/vms/Makefile.am with 100% similarity]
projects/vms/backup_gnv_curl_src.com [moved from packages/vms/backup_gnv_curl_src.com with 100% similarity]
projects/vms/build_curl-config_script.com [moved from packages/vms/build_curl-config_script.com with 100% similarity]
projects/vms/build_gnv_curl.com [moved from packages/vms/build_gnv_curl.com with 100% similarity]
projects/vms/build_gnv_curl_pcsi_desc.com [moved from packages/vms/build_gnv_curl_pcsi_desc.com with 100% similarity]
projects/vms/build_gnv_curl_pcsi_text.com [moved from packages/vms/build_gnv_curl_pcsi_text.com with 100% similarity]
projects/vms/build_gnv_curl_release_notes.com [moved from packages/vms/build_gnv_curl_release_notes.com with 100% similarity]
projects/vms/build_libcurl_pc.com [moved from packages/vms/build_libcurl_pc.com with 100% similarity]
projects/vms/build_vms.com [moved from packages/vms/build_vms.com with 99% similarity]
projects/vms/clean_gnv_curl.com [moved from packages/vms/clean_gnv_curl.com with 90% similarity]
projects/vms/compare_curl_source.com [moved from packages/vms/compare_curl_source.com with 100% similarity]
projects/vms/config_h.com [moved from packages/vms/config_h.com with 100% similarity]
projects/vms/curl_crtl_init.c [moved from packages/vms/curl_crtl_init.c with 100% similarity]
projects/vms/curl_gnv_build_steps.txt [moved from packages/vms/curl_gnv_build_steps.txt with 99% similarity]
projects/vms/curl_release_note_start.txt [moved from packages/vms/curl_release_note_start.txt with 100% similarity]
projects/vms/curl_startup.com [moved from packages/vms/curl_startup.com with 100% similarity]
projects/vms/curlmsg.h [moved from packages/vms/curlmsg.h with 100% similarity]
projects/vms/curlmsg.msg [moved from packages/vms/curlmsg.msg with 100% similarity]
projects/vms/curlmsg.sdl [moved from packages/vms/curlmsg.sdl with 100% similarity]
projects/vms/curlmsg_vms.h [moved from packages/vms/curlmsg_vms.h with 100% similarity]
projects/vms/generate_config_vms_h_curl.com [moved from packages/vms/generate_config_vms_h_curl.com with 100% similarity]
projects/vms/generate_vax_transfer.com [moved from packages/vms/generate_vax_transfer.com with 100% similarity]
projects/vms/gnv_conftest.c_first [moved from packages/vms/gnv_conftest.c_first with 100% similarity]
projects/vms/gnv_curl_configure.sh [moved from packages/vms/gnv_curl_configure.sh with 100% similarity]
projects/vms/gnv_libcurl_symbols.opt [moved from packages/vms/gnv_libcurl_symbols.opt with 100% similarity]
projects/vms/gnv_link_curl.com [moved from packages/vms/gnv_link_curl.com with 96% similarity]
projects/vms/macro32_exactcase.patch [moved from packages/vms/macro32_exactcase.patch with 100% similarity]
projects/vms/make_gnv_curl_install.sh [moved from packages/vms/make_gnv_curl_install.sh with 100% similarity]
projects/vms/make_pcsi_curl_kit_name.com [moved from packages/vms/make_pcsi_curl_kit_name.com with 100% similarity]
projects/vms/pcsi_gnv_curl_file_list.txt [moved from packages/vms/pcsi_gnv_curl_file_list.txt with 100% similarity]
projects/vms/pcsi_product_gnv_curl.com [moved from packages/vms/pcsi_product_gnv_curl.com with 99% similarity]
projects/vms/readme [moved from packages/vms/readme with 97% similarity]
projects/vms/report_openssl_version.c [moved from packages/vms/report_openssl_version.c with 100% similarity]
projects/vms/setup_gnv_curl_build.com [moved from packages/vms/setup_gnv_curl_build.com with 96% similarity]
projects/vms/stage_curl_install.com [moved from packages/vms/stage_curl_install.com with 100% similarity]
projects/vms/vms_eco_level.h [moved from packages/vms/vms_eco_level.h with 100% similarity]
scripts/singleuse.pl
scripts/spacecheck.pl
tests/test1544.pl

index 18e0f6c9ff2a0d8cd6673a431fd3ee0f14f70f7d..4a73d014ab068456686950511992e7f9229e0cc5 100644 (file)
@@ -72,7 +72,6 @@ build:
               configure.ac,\
               m4/**,\
               Makefile.*,\
-              packages/**,\
               projects/**,\
               lib/libcurl.def,\
               tests/cmake/**\
index dfb6467535e687e814fdbf045797bbcef655b6ab..a14d36a53be84276956711d4a37bf6615eb6a4af 100755 (executable)
@@ -12,7 +12,8 @@ codespell \
   --skip '.github/scripts/pyspelling.words' \
   --skip '.github/scripts/typos.toml' \
   --skip 'docs/THANKS' \
-  --skip 'packages/*' \
+  --skip 'projects/OS400/*' \
+  --skip 'projects/vms/*' \
   --skip 'scripts/wcurl' \
   --ignore-regex '.*spellchecker:disable-line' \
   --ignore-words '.github/scripts/codespell-ignore.words' \
index 456c123f25ed3297bf279d5228e65eb6990bedd6..eaa7857af27e38384029df518209ccc6e6d96024 100755 (executable)
@@ -21,7 +21,7 @@ gitonly=".git*
 ^docs/examples/adddocsref.pl
 ^docs/tests/CI.md
 ^docs/THANKS-filter
-^projects/*
+^projects/Windows/*
 ^scripts/ciconfig.pl
 ^scripts/cijobs.pl
 ^scripts/contributors.sh
index 2b12004f489d1d79bbdcb124e13152e1294be33c..7d82d2210cd49f5ad3b1df3438ad59744f367ba7 100644 (file)
@@ -24,7 +24,8 @@ extend-exclude = [
   ".github/scripts/codespell-ignore.words",
   ".github/scripts/pyspelling.words",
   "docs/THANKS",
-  "packages/*",
+  "projects/OS400/*",
+  "projects/vms/*",
   "projects/Windows/tmpl/curl.vcxproj",
   "projects/Windows/tmpl/libcurl.vcxproj",
   "scripts/wcurl",
index bc168f90b956e2424b26500e0f146f927d3a0bd5..4c09122552553a08bec7433c1a65084dc3d6f27a 100644 (file)
@@ -124,7 +124,7 @@ jobs:
           persist-credentials: false
 
       - name: 'badwords'
-        run: .github/scripts/badwords.pl -w .github/scripts/badwords.ok '**.md' packages/OS400/README.OS400 < .github/scripts/badwords.txt
+        run: .github/scripts/badwords.pl -w .github/scripts/badwords.ok '**.md' projects/OS400/README.OS400 < .github/scripts/badwords.txt
 
       - name: 'verify synopsis'
         run: .github/scripts/verify-synopsis.pl docs/libcurl/curl*.md
index 4a6b6e63111bf1546a4cfa3b006384842fc1487b..bc94d451fcbe7803ab93f7396a744bbf26d71aa4 100644 (file)
@@ -13,7 +13,6 @@ name: 'CodeQL'
       - '**/*.md'
       - '.circleci/**'
       - 'appveyor.*'
-      - 'packages/**'
       - 'projects/**'
       - 'tests/data/**'
   pull_request:
@@ -23,7 +22,6 @@ name: 'CodeQL'
       - '**/*.md'
       - '.circleci/**'
       - 'appveyor.*'
-      - 'packages/**'
       - 'projects/**'
       - 'tests/data/**'
   schedule:
index c6396f37045837b7c553bf6306de04733235319e..b74f2ef8f28cdd63dd35f91c439abd3895fde59e 100644 (file)
@@ -14,7 +14,6 @@ name: 'curl-for-win'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -24,7 +23,6 @@ name: 'curl-for-win'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index be6c5f9e48240f4fdc8c1ac46a1e90ed6e56cb40..4283495253781f61a54684bc2df27de2059ff4c2 100644 (file)
@@ -16,7 +16,6 @@ name: 'Fuzzer'
       - 'appveyor.*'
       - 'CMake/**'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
       - 'tests/data/**'
   pull_request:
@@ -29,7 +28,6 @@ name: 'Fuzzer'
       - 'appveyor.*'
       - 'CMake/**'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
       - 'tests/data/**'
 
index 44e2c39f9d1e760b5c96ceb25617c2408de4e6e1..15a4c4457ec5c31e193d0094afcfab74a7e5a2ec 100644 (file)
@@ -14,7 +14,6 @@ name: 'Linux HTTP/3'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -24,7 +23,6 @@ name: 'Linux HTTP/3'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index fad1ba3f4551fb6d0152af0d639da2eda3a99106..92cfae80f092c8eb4268910018e6d9948f8ee0fb 100644 (file)
@@ -28,7 +28,6 @@ name: 'Linux Old'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -38,7 +37,6 @@ name: 'Linux Old'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index 9b79c4fa51d0ebd1d6d3f69f59ad5cbb81dd4f64..565f9295a5a762786b193927b9fb707dd83d8f86 100644 (file)
@@ -13,7 +13,6 @@ name: 'Linux'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -22,7 +21,6 @@ name: 'Linux'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index 75fe0c9a5b7d5419a8532e98717483df365af1ba..e9ff3f37f1b72c6df56b48195c5d24cea3ca0ded 100644 (file)
@@ -14,7 +14,6 @@ name: 'macOS'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -24,7 +23,6 @@ name: 'macOS'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index 5c42eeeb3d25f7848140be32cd4ac3624fca1510..b617493e2c214b176ca0521619da91f9c20c759d 100644 (file)
@@ -14,7 +14,6 @@ name: 'non-native'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -24,7 +23,6 @@ name: 'non-native'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index 0adef4881d82780c77d58795da696e13cdf635b4..8d12e2b27ea7ca9cfac0c504a3b4d1965fa09974 100644 (file)
@@ -14,7 +14,6 @@ name: 'Windows'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
   pull_request:
     branches:
@@ -24,7 +23,6 @@ name: 'Windows'
       - '.circleci/**'
       - 'appveyor.*'
       - 'Dockerfile'
-      - 'packages/**'
       - 'projects/**'
 
 concurrency:
index c889c852c2c5614e70546ca1fe28c7a922da12a5..d04c079ba14c16f8cf8e1456c64345eb74dda379 100644 (file)
@@ -71,7 +71,7 @@ DISTCLEANFILES = buildinfo.txt
 bin_SCRIPTS = curl-config
 
 SUBDIRS = lib docs src scripts
-DIST_SUBDIRS = $(SUBDIRS) tests packages include docs
+DIST_SUBDIRS = $(SUBDIRS) tests projects include docs
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libcurl.pc
@@ -169,7 +169,7 @@ checksrc:
        (cd tests && $(MAKE) checksrc)
        (cd include/curl && $(MAKE) checksrc)
        (cd docs/examples && $(MAKE) checksrc)
-       (cd packages && $(MAKE) checksrc)
+       (cd projects && $(MAKE) checksrc)
 
 lint: checksrc
        @PERL@ $(top_srcdir)/scripts/spacecheck.pl
index e394b7d62cf5ce4431dcacb9a2a8e229a2cbbf63..c124e6d2d928e93c1f05e95447bc6f8bbdc1f880 100644 (file)
@@ -20,12 +20,12 @@ path = [
   "docs/THANKS",
   "lib/libcurl.vers.in",
   "lib/libcurl.def",
-  "packages/OS400/README.OS400",
-  "packages/vms/build_vms.com",
-  "packages/vms/curl_release_note_start.txt",
-  "packages/vms/curlmsg.sdl",
-  "packages/vms/macro32_exactcase.patch",
-  "packages/vms/readme",
+  "projects/OS400/README.OS400",
+  "projects/vms/build_vms.com",
+  "projects/vms/curl_release_note_start.txt",
+  "projects/vms/curlmsg.sdl",
+  "projects/vms/macro32_exactcase.patch",
+  "projects/vms/readme",
   "projects/Windows/**",
   "README",
   "RELEASE-NOTES",
index bfcc2b9e5a7244cc06a2b1044bdac0dca93bcf19..d529f36c7f002ad87bd884df24aea1fb3e796b89 100644 (file)
@@ -107,9 +107,9 @@ if [ "${BUILD_SYSTEM}" = 'CMake' ]; then
   curl="_bld/src/${PRJ_CFG}/curl.exe"
 elif [ "${BUILD_SYSTEM}" = 'VisualStudioSolution' ]; then
   (
-    cd projects
+    cd projects/Windows
     ./generate.bat "${VC_VERSION}"
-    msbuild.exe -maxcpucount "-property:Configuration=${PRJ_CFG}" "-property:Platform=${PLAT}" "Windows/${VC_VERSION}/curl-all.sln"
+    msbuild.exe -maxcpucount "-property:Configuration=${PRJ_CFG}" "-property:Platform=${PLAT}" "${VC_VERSION}/curl-all.sln"
   )
   [ "${PLAT}" = 'x64' ] && platdir='Win64' || platdir='Win32'
   [[ "${PRJ_CFG}" = *'Debug'* ]] && binsuffix='d' || binsuffix=''
index 5a35db43cb970d0aaeda1d5c6d853e221d048c70..553782c4eb082b48cc3d78d564b118780728b588 100644 (file)
@@ -183,7 +183,8 @@ skip_commits:
     - '.circleci/*'
     - '.github/**/*'
     - 'Dockerfile'
-    - 'packages/**/*'
+    - 'projects/OS400/*'
+    - 'projects/vms/*'
 
 #artifacts:
 #  - path: '**/curl.exe'
index 4d3d8073dad25acd21b51531085d80d21d02f763..b4485e7889d8e4eeeba467c6e1026c8724a04207 100644 (file)
@@ -5550,8 +5550,8 @@ AC_CONFIG_FILES([\
   tests/tunit/Makefile \
   tests/http/config.ini \
   tests/http/Makefile \
-  packages/Makefile \
-  packages/vms/Makefile \
+  projects/Makefile \
+  projects/vms/Makefile \
   libcurl.pc
 ])
 AC_CONFIG_FILES([curl-config], [chmod +x curl-config])
index c8bd7b4ad974b7b5f3860e9eac811588c74ace90..dd7b7f3f9787ac7ec4a87d84ad1fc4d2270bc7ee 100644 (file)
@@ -581,9 +581,9 @@ Configuration element             | Equivalent CMake options
 
 For example these commands:
 
-    > cd projects
+    > cd projects/Windows
     > ./generate.bat VC12
-    > msbuild "-property:Configuration=DLL Debug - DLL Windows SSPI - DLL WinIDN" Windows/VC12/curl-all.sln
+    > msbuild "-property:Configuration=DLL Debug - DLL Windows SSPI - DLL WinIDN" VC12/curl-all.sln
 
 translate to:
 
index 751b21e62051357bc8ed0f1937aecd77a33c5e89..96b3539284370dbab4de82de362c941d42a33ee3 100644 (file)
@@ -487,7 +487,7 @@ For IBM i (formerly OS/400), you can use curl in two different ways:
 
 - Natively, running in the **ILE**. The obvious use is being able to call curl
   from ILE C or RPG applications.
-- You need to build this from source. See `packages/OS400/README` for the ILE
+- You need to build this from source. See `projects/OS400/README` for the ILE
   specific build instructions.
 - In the **PASE** environment, which runs AIX programs. curl is built as it
   would be on AIX.
index 44fcde6fe66b65c5b5692004a6f652b8e321300d..174e7d5867fd6e58adb9497638a1d10408ccce02 100644 (file)
@@ -2933,7 +2933,7 @@ static CURLcode setopt_blob(struct Curl_easy *data, CURLoption option,
 
 /*
  * Do not make Curl_vsetopt() static: it is called from
- * packages/OS400/ccsidcurl.c.
+ * projects/OS400/ccsidcurl.c.
  */
 CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
 {
diff --git a/packages/README.md b/packages/README.md
deleted file mode 100644 (file)
index f52f8e4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<!--
-Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
-
-SPDX-License-Identifier: curl
--->
-
-# Packages
-
- This directory and all its subdirectories are for special package
-information, templates, scripts and docs. The files herein should be of use
-for those of you who want to package curl in a binary or source format for
-these platforms.
similarity index 100%
rename from packages/Makefile.am
rename to projects/Makefile.am
similarity index 99%
rename from packages/OS400/README.OS400
rename to projects/OS400/README.OS400
index e7699e16860974e0838ee6d9d94ad10b514d0703..f5e0092bf8f58f27bdddbb2908061870434ab6a1 100644 (file)
@@ -225,7 +225,7 @@ must be released with curl_free().
   Standard compilation environment does support neither autotools nor make; in
 fact, few common utilities are available. As a consequence, the config-os400.h
 has been coded manually and the compilation scripts are a set of shell scripts
-stored in subdirectory packages/OS400.
+stored in subdirectory projects/OS400.
 
   The test environment is currently not supported on OS/400.
 
@@ -273,7 +273,7 @@ _ Install the curl source directory in IFS. Do NOT install it in the
   installation target directory (which defaults to /curl).
 _ Enter Qshell (QSH, not PASE)
 _ Change current directory to the curl installation directory
-_ Change current directory to ./packages/OS400
+_ Change current directory to ./projects/OS400
 - If you want to change the default configuration parameters like debug info
   generation, optimization level, listing option, target library, ZLIB/LIBSSH2
   availability and location, etc., copy file config400.default to
similarity index 98%
rename from packages/OS400/initscript.sh
rename to projects/OS400/initscript.sh
index 69a354ab0d0c1440414811f952316d7de0b664a4..dcdcfa800078bc428d2586b593a23d7d6f38b2b3 100755 (executable)
@@ -50,7 +50,7 @@ do      case "${SCRIPTDIR}" in
         esac
 done
 
-#  The script directory is supposed to be in $TOPDIR/packages/os400.
+#  The script directory is supposed to be in $TOPDIR/projects/os400.
 
 TOPDIR=$(dirname "${SCRIPTDIR}")
 TOPDIR=$(dirname "${TOPDIR}")
@@ -197,7 +197,7 @@ make_module()
         CMD="${CMD} LOCALETYPE(*LOCALE) FLAG(10)"
         CMD="${CMD} INCDIR('${QADRTDIR}/include'"
         CMD="${CMD} '${TOPDIR}/include/curl' '${TOPDIR}/include' '${SRCDIR}'"
-        CMD="${CMD} '${TOPDIR}/packages/OS400'"
+        CMD="${CMD} '${TOPDIR}/projects/OS400'"
 
         if [ "${WITH_ZLIB}" != "0" ]
         then    CMD="${CMD} '${ZLIB_INCLUDE}'"
index bf373accdecdfd8ff5c94e0ed79bbc5a6d2570c9..f52f8e477f2e245149f08ab4afa4b608b489dd85 100644 (file)
@@ -4,146 +4,9 @@ Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
 SPDX-License-Identifier: curl
 -->
 
-Building via IDE Project Files
-==============================
+# Packages
 
-This document describes how to compile, build and install curl and libcurl
-from sources using legacy versions of Visual Studio 2010 - 2013.
-
-You need to generate the project files before using them. Please run "generate
--help" for usage details.
-
-To generate project files for recent versions of Visual Studio instead, use
-cmake. Refer to INSTALL-CMAKE.md in the docs directory.
-
-## Directory Structure
-
-The following directory structure is used for the legacy project files:
-
-    somedirectory\
-     |_curl
-       |_projects
-         |_<platform>
-           |_<ide>
-             |_lib
-             |_src
-
-This structure allows for side-by-side compilation of curl on the same machine
-using different versions of a given compiler (for example VC10 and VC12) and
-allows for your own application or product to be compiled against those
-variants of libcurl for example.
-
-Note: Typically this side-by-side compilation is generally only required when
-a library is being compiled against dynamic runtime libraries.
-
-## Dependencies
-
-The projects files also support build configurations that require third party
-dependencies such as OpenSSL and libssh2. If you wish to support these, you
-also need to download and compile those libraries as well.
-
-To support compilation of these libraries using different versions of
-compilers, the following directory structure has been used for both the output
-of curl and libcurl as well as these dependencies.
-
-    somedirectory\
-     |_curl
-     | |_ build
-     |    |_<architecture>
-     |      |_<ide>
-     |        |_<configuration>
-     |          |_lib
-     |          |_src
-     |
-     |_openssl
-     | |_ build
-     |    |_<architecture>
-     |      |_VC <version>
-     |        |_<configuration>
-     |
-     |_libssh2
-       |_ build
-          |_<architecture>
-            |_VC <version>
-              |_<configuration>
-
-As OpenSSL does not support side-by-side compilation when using different
-versions of Visual Studio, a helper batch file has been provided to assist
-with this. Please run `build-openssl -help` for usage details.
-
-## Building with Visual C++
-
-To build with VC++, you have to first install VC++ which is part of Visual
-Studio.
-
-Once you have VC++ installed you should launch the application and open one of
-the solution or workspace files. The VC directory names are based on the
-version of Visual C++ that you use. Each version of Visual Studio has a
-default version of Visual C++. We offer these versions:
-
- - VC10      (Visual Studio 2010 Version 10.0)
- - VC11      (Visual Studio 2012 Version 11.0)
- - VC12      (Visual Studio 2013 Version 12.0)
-
-Separate solutions are provided for both libcurl and the curl command line
-tool as well as a solution that includes both projects. libcurl.sln, curl.sln
-and curl-all.sln, respectively. We recommend using curl-all.sln to build both
-projects.
-
-For example, if you are using Visual Studio 2010 then you should be able to
-use `VC10\curl-all.sln` to build curl and libcurl.
-
-## Running DLL based configurations
-
-If you are a developer and plan to run the curl tool from Visual Studio with
-any third-party libraries (such as OpenSSL or libssh2) then you need to add
-the search path of these DLLs to the configuration's PATH environment. To do
-that:
-
- 1. Open the 'curl-all.sln' or 'curl.sln' solutions
- 2. Right-click on the 'curl' project and select Properties
- 3. Navigate to 'Configuration Properties > Debugging > Environment'
- 4. Add `PATH='Path to DLL';C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem`
-
-... where `Path to DLL` is the configuration specific path. For example the
-following configurations in Visual Studio 2010 might be:
-
-DLL Debug - DLL OpenSSL (Win32):
-
-    PATH=..\..\..\..\..\openssl\build\Win32\VC10\DLL Debug;C:\Windows\System32;
-    C:\Windows;C:\Windows\System32\Wbem
-
-DLL Debug - DLL OpenSSL (x64):
-
-    PATH=..\..\..\..\..\openssl\build\Win64\VC10\DLL Debug;C:\Windows\System32;
-    C:\Windows;C:\Windows\System32\Wbem
-
-If you are using a configuration that uses multiple third-party library DLLs
-(such as `DLL Debug - DLL OpenSSL - DLL libssh2`) then 'Path to DLL' need to
-contain the path to both of these.
-
-## Notes
-
-The following keywords have been used in the directory hierarchy:
-
- - `<platform>`      - The platform (For example: Windows)
- - `<ide>`           - The IDE (For example: VC10)
- - `<architecture>`  - The platform architecture (For example: Win32, Win64)
- - `<configuration>` - The target configuration (For example: DLL Debug, LIB
-   Release - LIB OpenSSL)
-
-Should you wish to help out with some of the items on the TODO list, or find
-bugs in the project files that need correcting, and would like to submit
-updated files back then please note that, whilst the solution files can be
-edited directly, the templates for the project files (which are stored in the
-git repository) need to be modified rather than the generated project files
-that Visual Studio uses.
-
-## Legacy Windows and SSL
-
-Some of the project configurations use Schannel (Windows SSPI), the native SSL
-library that comes with the Windows OS. Schannel in Windows 8 and earlier is
-not able to connect to servers that no longer support the legacy handshakes
-and algorithms used by those versions. If you are using curl in one of those
-earlier versions of Windows you should choose another SSL backend like
-OpenSSL.
+ This directory and all its subdirectories are for special package
+information, templates, scripts and docs. The files herein should be of use
+for those of you who want to package curl in a binary or source format for
+these platforms.
diff --git a/projects/Windows/README.md b/projects/Windows/README.md
new file mode 100644 (file)
index 0000000..bf373ac
--- /dev/null
@@ -0,0 +1,149 @@
+<!--
+Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+
+SPDX-License-Identifier: curl
+-->
+
+Building via IDE Project Files
+==============================
+
+This document describes how to compile, build and install curl and libcurl
+from sources using legacy versions of Visual Studio 2010 - 2013.
+
+You need to generate the project files before using them. Please run "generate
+-help" for usage details.
+
+To generate project files for recent versions of Visual Studio instead, use
+cmake. Refer to INSTALL-CMAKE.md in the docs directory.
+
+## Directory Structure
+
+The following directory structure is used for the legacy project files:
+
+    somedirectory\
+     |_curl
+       |_projects
+         |_<platform>
+           |_<ide>
+             |_lib
+             |_src
+
+This structure allows for side-by-side compilation of curl on the same machine
+using different versions of a given compiler (for example VC10 and VC12) and
+allows for your own application or product to be compiled against those
+variants of libcurl for example.
+
+Note: Typically this side-by-side compilation is generally only required when
+a library is being compiled against dynamic runtime libraries.
+
+## Dependencies
+
+The projects files also support build configurations that require third party
+dependencies such as OpenSSL and libssh2. If you wish to support these, you
+also need to download and compile those libraries as well.
+
+To support compilation of these libraries using different versions of
+compilers, the following directory structure has been used for both the output
+of curl and libcurl as well as these dependencies.
+
+    somedirectory\
+     |_curl
+     | |_ build
+     |    |_<architecture>
+     |      |_<ide>
+     |        |_<configuration>
+     |          |_lib
+     |          |_src
+     |
+     |_openssl
+     | |_ build
+     |    |_<architecture>
+     |      |_VC <version>
+     |        |_<configuration>
+     |
+     |_libssh2
+       |_ build
+          |_<architecture>
+            |_VC <version>
+              |_<configuration>
+
+As OpenSSL does not support side-by-side compilation when using different
+versions of Visual Studio, a helper batch file has been provided to assist
+with this. Please run `build-openssl -help` for usage details.
+
+## Building with Visual C++
+
+To build with VC++, you have to first install VC++ which is part of Visual
+Studio.
+
+Once you have VC++ installed you should launch the application and open one of
+the solution or workspace files. The VC directory names are based on the
+version of Visual C++ that you use. Each version of Visual Studio has a
+default version of Visual C++. We offer these versions:
+
+ - VC10      (Visual Studio 2010 Version 10.0)
+ - VC11      (Visual Studio 2012 Version 11.0)
+ - VC12      (Visual Studio 2013 Version 12.0)
+
+Separate solutions are provided for both libcurl and the curl command line
+tool as well as a solution that includes both projects. libcurl.sln, curl.sln
+and curl-all.sln, respectively. We recommend using curl-all.sln to build both
+projects.
+
+For example, if you are using Visual Studio 2010 then you should be able to
+use `VC10\curl-all.sln` to build curl and libcurl.
+
+## Running DLL based configurations
+
+If you are a developer and plan to run the curl tool from Visual Studio with
+any third-party libraries (such as OpenSSL or libssh2) then you need to add
+the search path of these DLLs to the configuration's PATH environment. To do
+that:
+
+ 1. Open the 'curl-all.sln' or 'curl.sln' solutions
+ 2. Right-click on the 'curl' project and select Properties
+ 3. Navigate to 'Configuration Properties > Debugging > Environment'
+ 4. Add `PATH='Path to DLL';C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem`
+
+... where `Path to DLL` is the configuration specific path. For example the
+following configurations in Visual Studio 2010 might be:
+
+DLL Debug - DLL OpenSSL (Win32):
+
+    PATH=..\..\..\..\..\openssl\build\Win32\VC10\DLL Debug;C:\Windows\System32;
+    C:\Windows;C:\Windows\System32\Wbem
+
+DLL Debug - DLL OpenSSL (x64):
+
+    PATH=..\..\..\..\..\openssl\build\Win64\VC10\DLL Debug;C:\Windows\System32;
+    C:\Windows;C:\Windows\System32\Wbem
+
+If you are using a configuration that uses multiple third-party library DLLs
+(such as `DLL Debug - DLL OpenSSL - DLL libssh2`) then 'Path to DLL' need to
+contain the path to both of these.
+
+## Notes
+
+The following keywords have been used in the directory hierarchy:
+
+ - `<platform>`      - The platform (For example: Windows)
+ - `<ide>`           - The IDE (For example: VC10)
+ - `<architecture>`  - The platform architecture (For example: Win32, Win64)
+ - `<configuration>` - The target configuration (For example: DLL Debug, LIB
+   Release - LIB OpenSSL)
+
+Should you wish to help out with some of the items on the TODO list, or find
+bugs in the project files that need correcting, and would like to submit
+updated files back then please note that, whilst the solution files can be
+edited directly, the templates for the project files (which are stored in the
+git repository) need to be modified rather than the generated project files
+that Visual Studio uses.
+
+## Legacy Windows and SSL
+
+Some of the project configurations use Schannel (Windows SSPI), the native SSL
+library that comes with the Windows OS. Schannel in Windows 8 and earlier is
+not able to connect to servers that no longer support the legacy handshakes
+and algorithms used by those versions. If you are using curl in one of those
+earlier versions of Windows you should choose another SSL backend like
+OpenSSL.
similarity index 73%
rename from projects/generate.bat
rename to projects/Windows/generate.bat
index e66a34aba8b14a78a5c8c3c479ed0e0e6984b6f1..18471a321892ccff9b3144c157cb0f6dbc613a26 100644 (file)
@@ -39,7 +39,7 @@ rem ***************************************************************************
   cd /d "%~0\.." 1>NUL 2>&1
 
   rem Check we are running from a curl git repository
-  if not exist ..\GIT-INFO.md goto norepo
+  if not exist ..\..\GIT-INFO.md goto norepo
 
 :parseArgs
   if "%~1" == "" goto start
@@ -109,15 +109,15 @@ rem
 :generate_proj
   echo.
   echo Generating %1 project files
-  if not exist Windows\%1\lib md Windows\%1\lib
-  if not exist Windows\%1\src md Windows\%1\src
-  call :generate %1 Windows\tmpl\curl-all.sln            Windows\%1\curl-all.sln
-  call :generate %1 Windows\tmpl\curl.sln                Windows\%1\src\curl.sln
-  call :generate %1 Windows\tmpl\curl.vcxproj            Windows\%1\src\curl.vcxproj
-  call :generate %1 Windows\tmpl\curl.vcxproj.filters    Windows\%1\src\curl.vcxproj.filters
-  call :generate %1 Windows\tmpl\libcurl.sln             Windows\%1\lib\libcurl.sln
-  call :generate %1 Windows\tmpl\libcurl.vcxproj         Windows\%1\lib\libcurl.vcxproj
-  call :generate %1 Windows\tmpl\libcurl.vcxproj.filters Windows\%1\lib\libcurl.vcxproj.filters
+  if not exist %1\lib md %1\lib
+  if not exist %1\src md %1\src
+  call :generate %1 tmpl\curl-all.sln            %1\curl-all.sln
+  call :generate %1 tmpl\curl.sln                %1\src\curl.sln
+  call :generate %1 tmpl\curl.vcxproj            %1\src\curl.vcxproj
+  call :generate %1 tmpl\curl.vcxproj.filters    %1\src\curl.vcxproj.filters
+  call :generate %1 tmpl\libcurl.sln             %1\lib\libcurl.sln
+  call :generate %1 tmpl\libcurl.vcxproj         %1\lib\libcurl.vcxproj
+  call :generate %1 tmpl\libcurl.vcxproj.filters %1\lib\libcurl.vcxproj.filters
 
   exit /B
 
@@ -128,13 +128,13 @@ rem
 :clean_proj
   echo.
   echo Removing %1 project files
-  call :clean Windows\%1\curl-all.sln
-  call :clean Windows\%1\src\curl.sln
-  call :clean Windows\%1\src\curl.vcxproj
-  call :clean Windows\%1\src\curl.vcxproj.filters
-  call :clean Windows\%1\lib\libcurl.sln
-  call :clean Windows\%1\lib\libcurl.vcxproj
-  call :clean Windows\%1\lib\libcurl.vcxproj.filters
+  call :clean %1\curl-all.sln
+  call :clean %1\src\curl.sln
+  call :clean %1\src\curl.vcxproj
+  call :clean %1\src\curl.vcxproj.filters
+  call :clean %1\lib\libcurl.sln
+  call :clean %1\lib\libcurl.vcxproj
+  call :clean %1\lib\libcurl.vcxproj.filters
 
   exit /B
 
@@ -189,47 +189,47 @@ rem
     set "var=!var:*:=!"
 
     if "!var!" == "CURL_SRC_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\src\*.c') do (
+      for /f "delims=" %%c in ('dir /b ..\..\src\*.c') do (
         if /i "%%c" NEQ "curlinfo.c" call :element src "%%c" %3
       )
     ) else if "!var!" == "CURL_SRC_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\src\*.h') do call :element src "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\src\*.h') do call :element src "%%h" %3
     ) else if "!var!" == "CURL_SRC_RC_FILES" (
-      for /f "delims=" %%r in ('dir /b ..\src\*.rc') do call :element src "%%r" %3
+      for /f "delims=" %%r in ('dir /b ..\..\src\*.rc') do call :element src "%%r" %3
     ) else if "!var!" == "CURL_SRC_X_H_FILES" (
       call :element lib "config-win32.h" %3
       call :element lib "curl_setup.h" %3
     ) else if "!var!" == "CURL_LIB_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\lib\*.c') do call :element lib "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\lib\*.c') do call :element lib "%%c" %3
     ) else if "!var!" == "CURL_LIB_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\include\curl\*.h') do call :element include\curl "%%h" %3
-      for /f "delims=" %%h in ('dir /b ..\lib\*.h') do call :element lib "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\include\curl\*.h') do call :element include\curl "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\lib\*.h') do call :element lib "%%h" %3
     ) else if "!var!" == "CURL_LIB_RC_FILES" (
-      for /f "delims=" %%r in ('dir /b ..\lib\*.rc') do call :element lib "%%r" %3
+      for /f "delims=" %%r in ('dir /b ..\..\lib\*.rc') do call :element lib "%%r" %3
     ) else if "!var!" == "CURL_LIB_CURLX_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\lib\curlx\*.c') do call :element lib\curlx "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\lib\curlx\*.c') do call :element lib\curlx "%%c" %3
     ) else if "!var!" == "CURL_LIB_CURLX_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\lib\curlx\*.h') do call :element lib\curlx "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\lib\curlx\*.h') do call :element lib\curlx "%%h" %3
     ) else if "!var!" == "CURL_LIB_VAUTH_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\lib\vauth\*.c') do call :element lib\vauth "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\lib\vauth\*.c') do call :element lib\vauth "%%c" %3
     ) else if "!var!" == "CURL_LIB_VAUTH_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\lib\vauth\*.h') do call :element lib\vauth "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\lib\vauth\*.h') do call :element lib\vauth "%%h" %3
     ) else if "!var!" == "CURL_LIB_VQUIC_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\lib\vquic\*.c') do call :element lib\vquic "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\lib\vquic\*.c') do call :element lib\vquic "%%c" %3
     ) else if "!var!" == "CURL_LIB_VQUIC_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\lib\vquic\*.h') do call :element lib\vquic "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\lib\vquic\*.h') do call :element lib\vquic "%%h" %3
     ) else if "!var!" == "CURL_LIB_VSSH_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\lib\vssh\*.c') do call :element lib\vssh "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\lib\vssh\*.c') do call :element lib\vssh "%%c" %3
     ) else if "!var!" == "CURL_LIB_VSSH_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\lib\vssh\*.h') do call :element lib\vssh "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\lib\vssh\*.h') do call :element lib\vssh "%%h" %3
     ) else if "!var!" == "CURL_LIB_VTLS_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\lib\vtls\*.c') do call :element lib\vtls "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\lib\vtls\*.c') do call :element lib\vtls "%%c" %3
     ) else if "!var!" == "CURL_LIB_VTLS_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\lib\vtls\*.h') do call :element lib\vtls "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\lib\vtls\*.h') do call :element lib\vtls "%%h" %3
     ) else if "!var!" == "CURL_SRC_TOOLX_C_FILES" (
-      for /f "delims=" %%c in ('dir /b ..\src\toolx\*.c') do call :element src\toolx "%%c" %3
+      for /f "delims=" %%c in ('dir /b ..\..\src\toolx\*.c') do call :element src\toolx "%%c" %3
     ) else if "!var!" == "CURL_SRC_TOOLX_H_FILES" (
-      for /f "delims=" %%h in ('dir /b ..\src\toolx\*.h') do call :element src\toolx "%%h" %3
+      for /f "delims=" %%h in ('dir /b ..\..\src\toolx\*.h') do call :element src\toolx "%%h" %3
     ) else (
       echo.!var!>> %3
     )
similarity index 99%
rename from packages/vms/build_vms.com
rename to projects/vms/build_vms.com
index 7ce36178056d72698698569df292bac59893814c..253fccbc8074329e86775acbabaf611bcb65eb2c 100644 (file)
@@ -65,7 +65,7 @@ $! Revisions:
 $!
 $!  2-DEC-2003, MSK, the "original" version.
 $!                   It works for me.  Your mileage may vary.
-$! 13-JAN-2004, MSK, moved this procedure to the [.packages.vms] directory
+$! 13-JAN-2004, MSK, moved this procedure to the [.projects.vms] directory
 $!                   and updated it to do hardware dependent builds.
 $! 29-JAN-2004, MSK, moved logical defines into defines.com
 $!  6-FEB-2004, MSK, put in various SSL support bits
@@ -820,17 +820,17 @@ $ then
 $   sys_inc = sys_inc + ",''curl_sys_zlibinc'"
 $ endif
 $! Build LIB
-$ cc_include = "/include=([-.lib],[-.lib.vtls],[-.packages.vms]"
-$ cc_include = cc_include + ",[-.packages.vms.''arch_name'])"
+$ cc_include = "/include=([-.lib],[-.lib.vtls],[-.projects.vms]"
+$ cc_include = cc_include + ",[-.projects.vms.''arch_name'])"
 $ call build "[--.lib]" "*.c" "''objdir'CURLLIB.OLB" "amigaos, nwlib, nwos"
 $ if ($status .eq. ctrl_y) then goto Common_Exit
 $! Build VTLS
 $ cc_include = "/include=([--.lib.vtls],[--.lib],[--.src]"
-$ cc_include = cc_include + ",[--.packages.vms],[--.packages.vms.''arch_name'])"
+$ cc_include = cc_include + ",[--.projects.vms],[--.projects.vms.''arch_name'])"
 $ call build "[--.lib.vtls]" "*.c" "''objdir'CURLLIB.OLB" "amigaos, nwlib, nwos"
 $! Build SRC
 $ cc_include = "/include=([-.src],[-.lib],[-.lib.vtls]"
-$ cc_include = cc_include + ",[-.packages.vms],[-.packages.vms.''arch_name'])"
+$ cc_include = cc_include + ",[-.projects.vms],[-.projects.vms.''arch_name'])"
 $ call build "[--.src]" "*.c" "''objdir'CURLSRC.OLB"
 $ if ($status .eq. ctrl_y) then goto Common_Exit
 $! Build MSG
similarity index 90%
rename from packages/vms/clean_gnv_curl.com
rename to projects/vms/clean_gnv_curl.com
index 1a9a0eb71a6314e948f5b23f8ec5b8dfdb6c1318..ab515ede6a229696092151c73c35e8d3df77e69f 100644 (file)
@@ -103,34 +103,34 @@ $!
 $ file = "lcl_root:[...]*.lai"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]curl-*_original_src.bck"
+$ file = "lcl_root:[.projects.vms]curl-*_original_src.bck"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]curl_d-*_original_src.bck"
+$ file = "lcl_root:[.projects.vms]curl_d-*_original_src.bck"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]curl-*_vms_src.bck"
+$ file = "lcl_root:[.projects.vms]curl-*_vms_src.bck"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]curl_d-*_vms_src.bck"
+$ file = "lcl_root:[.projects.vms]curl_d-*_vms_src.bck"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]curl-*.release_notes"
+$ file = "lcl_root:[.projects.vms]curl-*.release_notes"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]curl_d-*.release_notes"
+$ file = "lcl_root:[.projects.vms]curl_d-*.release_notes"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]*-curl-*.pcsi$desc"
+$ file = "lcl_root:[.projects.vms]*-curl-*.pcsi$desc"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]*-curl_d-*.pcsi$desc"
+$ file = "lcl_root:[.projects.vms]*-curl_d-*.pcsi$desc"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]*-curl-*.pcsi$text"
+$ file = "lcl_root:[.projects.vms]*-curl-*.pcsi$text"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]*-curl_d-*.pcsi$text"
+$ file = "lcl_root:[.projects.vms]*-curl_d-*.pcsi$text"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
 $!======================================================================
@@ -218,13 +218,13 @@ $!
 $ file = "lcl_root:[...]gnv*.opt"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]macro32_exactcase.exe"
+$ file = "lcl_root:[.projects.vms]macro32_exactcase.exe"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]report_openssl_version.exe"
+$ file = "lcl_root:[.projects.vms]report_openssl_version.exe"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
-$ file = "lcl_root:[.packages.vms]hp_ssl_release_info.txt"
+$ file = "lcl_root:[.projects.vms]hp_ssl_release_info.txt"
 $ if f$search(file) .nes. "" then delete 'file';*
 $!
 $ file = "lcl_root:[.src]curl.exe"
similarity index 99%
rename from packages/vms/curl_gnv_build_steps.txt
rename to projects/vms/curl_gnv_build_steps.txt
index c84431f7faeee466665a610c0ba0065f1a671918..c02c898dad7cc36501b3b2d77d50424b5cc47dff 100644 (file)
@@ -117,7 +117,7 @@ u unimplemented switch - ignored
 
 
 With these search lists set up and the properly, curl can be built by
-setting your default to PRJ_ROOT:[curl.packages.vms] and then issuing
+setting your default to PRJ_ROOT:[curl.projects.vms] and then issuing
 either the command:
 
   $ @pcsi_product_gnv_curl.com
similarity index 96%
rename from packages/vms/gnv_link_curl.com
rename to projects/vms/gnv_link_curl.com
index 9fc944c778c9eb7d3c8d8061d486bea2666e5c0b..330613b76d2cdcc24ee498ca3f4452b96d6027d5 100644 (file)
@@ -70,20 +70,20 @@ $!
 $!
 $! Build the Message file.
 $!--------------------------
-$ if f$search("[.packages.vms]curlmsg.obj") .eqs. ""
+$ if f$search("[.projects.vms]curlmsg.obj") .eqs. ""
 $ then
-$   message [.packages.vms]curlmsg.msg/object=[.packages.vms]
+$   message [.projects.vms]curlmsg.msg/object=[.projects.vms]
 $ endif
 $ if f$search("gnv$curlmsg.exe") .eqs. ""
 $ then
-$   link/share=gnv$curlmsg.exe [.packages.vms]curlmsg.obj
+$   link/share=gnv$curlmsg.exe [.projects.vms]curlmsg.obj
 $ endif
 $!
 $!
 $! Need to build the common init module.
 $!-------------------------------------------
 $ cflags = "/list/show=(expan,includ)"
-$ init_obj = "[.packages.vms]curl_crtl_init.obj"
+$ init_obj = "[.projects.vms]curl_crtl_init.obj"
 $ if f$search(init_obj) .eqs. ""
 $ then
 $   cc'cflags' 'default_dir'curl_crtl_init.c/obj='init_obj'
@@ -96,7 +96,7 @@ $! Need to build the module to test the HP OpenSSL version
 $!--------------------------------------------------------
 $ if arch_name .nes. "VAX"
 $ then
-$   rpt_obj = "[.packages.vms]report_openssl_version.obj
+$   rpt_obj = "[.projects.vms]report_openssl_version.obj
 $   if f$search(rpt_obj) .eqs. ""
 $   then
 $       cc'cflags' 'default_dir'report_openssl_version.c/obj='rpt_obj'
@@ -109,12 +109,12 @@ $   report_openssl_version := $'default_dir'report_openssl_version.exe
 $ endif
 $!
 $!
-$ base_link_opt_file = "[.packages.vms.''arch_name']gnv_libcurl_linker.opt"
-$ share_link_opt_file = "[.packages.vms.''arch_name']gnv_ssl_libcurl_linker.opt"
+$ base_link_opt_file = "[.projects.vms.''arch_name']gnv_libcurl_linker.opt"
+$ share_link_opt_file = "[.projects.vms.''arch_name']gnv_ssl_libcurl_linker.opt"
 $ if f$search(base_link_opt_file) .eqs. ""
 $ then
-$   base_link_opt_file = "[.packages.vms]gnv_libcurl_linker.opt"
-$   share_link_opt_file = "[.packages.vms]gnv_ssl_libcurl_linker.opt"
+$   base_link_opt_file = "[.projects.vms]gnv_libcurl_linker.opt"
+$   share_link_opt_file = "[.projects.vms]gnv_ssl_libcurl_linker.opt"
 $   if f$search(base_link_opt_file) .eqs. ""
 $   then
 $       write sys$output "Can not find base library option file!"
@@ -343,7 +343,7 @@ $ endif
 $!
 $! DCL build puts curllib in architecture directory
 $! GNV build uses the makefile.
-$ libfile = "[.packages.vms.''arch_name']curllib.olb"
+$ libfile = "[.projects.vms.''arch_name']curllib.olb"
 $ if f$search(libfile) .nes. ""
 $ then
 $   olb_file = libfile
@@ -424,9 +424,9 @@ $   endif
 $ else
 $   curl_exe = "[.src]curl.exe"
 $   curl_dsf = "[.src]curl.dsf"
-$   curl_main = "[.packages.vms.''arch_name']tool_main.obj"
-$   curl_src = "[.packages.vms.''arch_name']curlsrc.olb"
-$   curl_lib = "[.packages.vms.''arch_name']curllib.olb"
+$   curl_main = "[.projects.vms.''arch_name']tool_main.obj"
+$   curl_src = "[.projects.vms.''arch_name']curlsrc.olb"
+$   curl_lib = "[.projects.vms.''arch_name']curllib.olb"
 $   strcase = "strcase"
 $   nonblock = "nonblock"
 $   warnless = "warnless"
similarity index 99%
rename from packages/vms/pcsi_product_gnv_curl.com
rename to projects/vms/pcsi_product_gnv_curl.com
index 2369613f47f8cd7f16472a1cf1a2fca182026bb1..15ab32f317912cad9f7c7586b52a9f7a15a3cdbb 100644 (file)
@@ -66,7 +66,7 @@ $ arch_name = f$edit(f$getsyi("arch_name"),"UPCASE")
 $ if f$search("[--.src]curl.exe") .eqs. ""
 $ then
 $   build_it = 1
-$   libfile = "[.packages.vms.''arch_name']curllib.olb"
+$   libfile = "[.projects.vms.''arch_name']curllib.olb"
 $   if f$search(libfile) .nes. ""
 $   then
 $       build_it = 0
similarity index 97%
rename from packages/vms/readme
rename to projects/vms/readme
index 7cf3fc68671df5c75f71d82a99ad016b25c0bb5a..372b219fc86b938a772fd27b087ec2c1f93b7bd1 100644 (file)
@@ -161,7 +161,7 @@ and you must make sure that none of the build files are present before
 running a different type of build.  Use the "REALCLEAN" option for
 BUILD_VMS.COM and the "REALCLEAN" option for clean_gnv_curl.com.
 
-The (brute-force) DCL based builder is [.packages.vms]build_vms.com.
+The (brute-force) DCL based builder is [.projects.vms]build_vms.com.
 Comments in this procedure describe various optional parameters which
 enable or disable optional program features, or which control the build
 in other ways.  Product files (.EXE, .H, .LIS, .MAP, .OBJ, .OLB, ...)
@@ -183,9 +183,9 @@ is installed from a PCSI kit and default to using it.
 
    Example build commands:
 
-      @ [.packages.vms]build_vms.com CLEAN
-      @ [.packages.vms]build_vms.com LARGE LDAP
-      submit /noprint [.packages.vms]build_vms.com /param = (LARGE, LDAP)
+      @ [.projects.vms]build_vms.com CLEAN
+      @ [.projects.vms]build_vms.com LARGE LDAP
+      submit /noprint [.projects.vms]build_vms.com /param = (LARGE, LDAP)
 
 The build_vms.com procedure does not build the shared image file or the PCSI
 kit.  If you have built a curl with ZLIB and HPSSL support as well as if
similarity index 96%
rename from packages/vms/setup_gnv_curl_build.com
rename to projects/vms/setup_gnv_curl_build.com
index e2d058a8b955284ef0b83a1eb86e1f53af380c45..b7aa5ec379bf6b529c0398d0bdfbb16c58d54d26 100644 (file)
@@ -73,7 +73,7 @@ $!
 $! A logical name to make it easier to find some of the hacks.
 $ define/job gnv_hacks 'base_dir'
 $!
-$! A logical name to find the [.packages.vms] directory where we started.
+$! A logical name to find the [.projects.vms] directory where we started.
 $ define/job gnv_packages_vms 'default_dir'
 $!
 $! Kerberos headers:
@@ -96,7 +96,7 @@ $ endif
 $!
 $! C compiler include path.
 $ define/job decc$system_include prj_root:[.include.curl],-
-    [-.packages.vms],-
+    [-.projects.vms],-
     ssl$include:,gnv$gnu:[usr.include],-
     gnv$gnu:[usr.include.libz],gnv$gnu:[include],-
     gnv$zlib_include:,-
@@ -256,20 +256,20 @@ $!
 $!
 $! Build the Message file.
 $!--------------------------
-$ if f$search("[.packages.vms]curlmsg.obj") .eqs. ""
+$ if f$search("[.projects.vms]curlmsg.obj") .eqs. ""
 $ then
-$   message [.packages.vms]curlmsg.msg/object=[.packages.vms]
+$   message [.projects.vms]curlmsg.msg/object=[.projects.vms]
 $ endif
 $ if f$search("gnv$curlmsg.exe") .eqs. ""
 $ then
-$   link/share=gnv$curlmsg.exe [.packages.vms]curlmsg.obj
+$   link/share=gnv$curlmsg.exe [.projects.vms]curlmsg.obj
 $ endif
 $!
 $!
 $!
 $! Need to build the common init module.
 $!-------------------------------------------
-$ init_obj = "[.packages.vms]curl_crtl_init.obj"
+$ init_obj = "[.projects.vms]curl_crtl_init.obj"
 $ if f$search(init_obj) .eqs. ""
 $ then
 $   cc'cflags' 'default_dir'curl_crtl_init.c/obj='init_obj'
index 3ce5dda4423b3fc7b736f6df5e248bc13b621524..8b5c15536259f8f6578a9d07d742448f8a99db94 100755 (executable)
@@ -167,7 +167,7 @@ my %api = (
 
 sub doublecheck {
     my ($f, $used) = @_;
-    open(F, "git grep -Fwle '$f' -- lib ${unittests}packages|");
+    open(F, "git grep -Fwle '$f' -- lib ${unittests}projects|");
     my @also;
     while(<F>) {
         my $e = $_;
index 761200f40940cebc7d8f7a2879d3cf9ba48b8cbe..ad450119fda2cae934d8be351b2b4bb67050997e 100755 (executable)
@@ -41,7 +41,8 @@ my @need_crlf = (
 my @double_empty_lines = (
     "RELEASE-NOTES",
     "^lib/.+\\.(c|h)\$",
-    "^packages/",
+    "^projects/OS400",
+    "^projects/vms",
     "^tests/data/test",
     "\\.(m4|py)\$",
 );
index beb088d5b81159f01762f7fd33db00037eda5f24..eae1f20510a240b5647628800995f82b4ad72f0e 100755 (executable)
@@ -32,7 +32,7 @@ use warnings;
 
 my $root=$ARGV[0] || ".";
 my $incdir = "$root/include/curl";
-my $os400dir = "$root/packages/OS400";
+my $os400dir = "$root/projects/OS400";
 my $errcount = 0;
 
 # Scan header file for string option definitions.
@@ -90,7 +90,7 @@ sub scan_header {
     return @stringopts;
 }
 
-# Scan packages/OS400/ccsidcurl.c for translatable string option cases.
+# Scan projects/OS400/ccsidcurl.c for translatable string option cases.
 sub scan_wrapper_for_strings {
     my ($f)=@_;
     my $inarmor = 0;