Open hwhsu1231 opened 3 months ago
make
, but with specific targets that only builds the simple web files, or that only builds the docs.omc/data
is an internal repository, and should not be to build. OpenSSL::Query does the job of actually getting most of the the necessary data. newsflash.txt
is an exception... for now, I suggest doing mkdir data; touch data/newsflash.txt
.Hello, @levitte
After preparing the prerequisites, I tried to build the openssl website with the following commands:
git clone --depth=1 https://github.com/openssl/web.git
cd web
git clone --depth=1 https://github.com/openssl/general-policies.git general-policies
git clone --depth=1 https://github.com/openssl/technical-policies.git technical-policies
git clone --depth=1 --branch=master https://github.com/openssl/openssl.git openssl
git clone --depth=1 --branch=openssl-3.1 https://github.com/openssl/openssl.git openssl-3.1
git clone --depth=1 --branch=openssl-3.0 https://github.com/openssl/openssl.git openssl-3.0
git clone --depth=1 --branch=OpenSSL_1_1_1-stable https://github.com/openssl/openssl.git openssl-1.1.1-stable
mkdir data; touch data/newsflash.txt
make CHECKOUTS=$(pwd)
However, it stoped at an error message:
make: *** No rule to make target '/home/hwhsu1231/Repo/testing/web/openssl-3.3/NEWS.md', needed by 'news/openssl-3.3-notes.inc'. Stop.
Ah, you need these too:
git clone --depth=1 --branch=openssl-3.2 https://github.com/openssl/openssl.git openssl-3.2
git clone --depth=1 --branch=openssl-3.3 https://github.com/openssl/openssl.git openssl-3.3
Hello, @levitte
Ah, you need these too:
git clone --depth=1 --branch=openssl-3.2 https://github.com/openssl/openssl.git openssl-3.2 git clone --depth=1 --branch=openssl-3.3 https://github.com/openssl/openssl.git openssl-3.3
This time, this error showed up:
make: *** No rule to make target '/home/hwhsu1231/Repo/testing/web/data/vulnerabilities-json/.github/workflows/doc_manual.yml', needed by 'news/secjson/.github/workflows/doc_manual.yml'. Stop.
Problem Description
Hello, OpenSSL Maintainance Team.
After reading the README.md of this repository, I have so many questions about how to build the OpenSSL website:
omc/data
repository?CHECKOUTS
?About the 4th question, except
omc/data
, does it mean that I should run the following commands:Click to expand the log
```bash hwhsu1231@vb-kubuntu:~/Repo/testing$ git clone --depth=1 https://github.com/openssl/web.git Cloning into 'web'... remote: Enumerating objects: 184, done. remote: Counting objects: 100% (184/184), done. remote: Compressing objects: 100% (176/176), done. remote: Total 184 (delta 9), reused 119 (delta 3), pack-reused 0 Receiving objects: 100% (184/184), 6.46 MiB | 3.05 MiB/s, done. Resolving deltas: 100% (9/9), done. hwhsu1231@vb-kubuntu:~/Repo/testing$ cd web hwhsu1231@vb-kubuntu:~/Repo/testing/web$ git clone --depth=1 https://github.com/openssl/general-policies.git general-policies Cloning into 'general-policies'... remote: Enumerating objects: 60, done. remote: Counting objects: 100% (60/60), done. remote: Compressing objects: 100% (53/53), done. remote: Total 60 (delta 6), reused 35 (delta 5), pack-reused 0 Receiving objects: 100% (60/60), 46.53 KiB | 952.00 KiB/s, done. Resolving deltas: 100% (6/6), done. hwhsu1231@vb-kubuntu:~/Repo/testing/web$ git clone --depth=1 https://github.com/openssl/technical-policies.git technical-policies Cloning into 'technical-policies'... remote: Enumerating objects: 78, done. remote: Counting objects: 100% (78/78), done. remote: Compressing objects: 100% (62/62), done. remote: Total 78 (delta 16), reused 60 (delta 14), pack-reused 0 Receiving objects: 100% (78/78), 46.15 KiB | 926.00 KiB/s, done. Resolving deltas: 100% (16/16), done. hwhsu1231@vb-kubuntu:~/Repo/testing/web$ git clone --depth=1 --branch=master https://github.com/openssl/openssl.git openssl Cloning into 'openssl'... remote: Enumerating objects: 5509, done. remote: Counting objects: 100% (5509/5509), done. remote: Compressing objects: 100% (4841/4841), done. remote: Total 5509 (delta 1039), reused 2121 (delta 606), pack-reused 0 Receiving objects: 100% (5509/5509), 19.18 MiB | 2.98 MiB/s, done. Resolving deltas: 100% (1039/1039), done. hwhsu1231@vb-kubuntu:~/Repo/testing/web$ git clone --depth=1 --branch=openssl-3.1 https://github.com/openssl/openssl.git openssl-3.1 Cloning into 'openssl-3.1'... remote: Enumerating objects: 24626, done. remote: Counting objects: 100% (24626/24626), done. remote: Compressing objects: 100% (19675/19675), done. remote: Total 24626 (delta 1906), reused 21023 (delta 1495), pack-reused 0 Receiving objects: 100% (24626/24626), 22.35 MiB | 3.23 MiB/s, done. Resolving deltas: 100% (1906/1906), done. hwhsu1231@vb-kubuntu:~/Repo/testing/web$ git clone --depth=1 --branch=openssl-3.0 https://github.com/openssl/openssl.git openssl-3.0 Cloning into 'openssl-3.0'... remote: Enumerating objects: 24500, done. remote: Counting objects: 100% (24500/24500), done. remote: Compressing objects: 100% (19566/19566), done. remote: Total 24500 (delta 1871), reused 21040 (delta 1481), pack-reused 0 Receiving objects: 100% (24500/24500), 21.98 MiB | 3.00 MiB/s, done. Resolving deltas: 100% (1871/1871), done. hwhsu1231@vb-kubuntu:~/Repo/testing/web$ git clone --depth=1 --branch=OpenSSL_1_1_1-stable https://github.com/openssl/openssl.git openssl-1.1.1-stable Cloning into 'openssl-1.1.1-stable'... remote: Enumerating objects: 18408, done. remote: Counting objects: 100% (18408/18408), done. remote: Compressing objects: 100% (15196/15196), done. remote: Total 18408 (delta 963), reused 15616 (delta 679), pack-reused 0 Receiving objects: 100% (18408/18408), 14.55 MiB | 3.03 MiB/s, done. Resolving deltas: 100% (963/963), done. hwhsu1231@vb-kubuntu:~/Repo/testing/web$ ls -l total 128 -rw-rw-r-- 1 hwhsu1231 hwhsu1231 4808 3月 28 15:32 about.md drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 3月 28 15:32 bin drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 3月 28 15:32 community -rw-rw-r-- 1 hwhsu1231 hwhsu1231 529 3月 28 15:32 dirdata.yaml drwxrwxr-x 3 hwhsu1231 hwhsu1231 4096 3月 28 15:32 docs -rw-rw-r-- 1 hwhsu1231 hwhsu1231 356 3月 28 15:32 err404.md -rw-rw-r-- 1 hwhsu1231 hwhsu1231 6518 3月 28 15:32 favicon.ico drwxrwxr-x 7 hwhsu1231 hwhsu1231 4096 3月 28 15:32 general-policies drwxrwxr-x 3 hwhsu1231 hwhsu1231 4096 3月 28 15:32 img drwxrwxr-x 3 hwhsu1231 hwhsu1231 4096 3月 28 15:32 inc -rw-rw-r-- 1 hwhsu1231 hwhsu1231 1337 3月 28 15:32 index.md.tt -rw-rw-r-- 1 hwhsu1231 hwhsu1231 25135 3月 28 15:32 Makefile drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 3月 28 15:32 news drwxrwxr-x 33 hwhsu1231 hwhsu1231 4096 3月 28 15:33 openssl drwxrwxr-x 24 hwhsu1231 hwhsu1231 4096 3月 28 15:34 openssl-1.1.1-stable drwxrwxr-x 26 hwhsu1231 hwhsu1231 4096 3月 28 15:33 openssl-3.0 drwxrwxr-x 30 hwhsu1231 hwhsu1231 4096 3月 28 15:33 openssl-3.1 drwxrwxr-x 4 hwhsu1231 hwhsu1231 4096 3月 28 15:32 policies -rw-rw-r-- 1 hwhsu1231 hwhsu1231 3653 3月 28 15:32 README.md -rw-rw-r-- 1 hwhsu1231 hwhsu1231 2249 3月 28 15:32 roadmap.md -rw-rw-r-- 1 hwhsu1231 hwhsu1231 104 3月 28 15:32 robots.txt drwxrwxr-x 4 hwhsu1231 hwhsu1231 4096 3月 28 15:32 source drwxrwxr-x 2 hwhsu1231 hwhsu1231 4096 3月 28 15:32 support drwxrwxr-x 6 hwhsu1231 hwhsu1231 4096 3月 28 15:32 technical-policies hwhsu1231@vb-kubuntu:~/Repo/testing/web$ ```And the run the following
make
command:Correct?