You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/index.md
+42-24Lines changed: 42 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
**WARNING:***Before starting go through the links on the [reference page](https://github.com/WordOps/nginx-build/wiki/References).*
6
6
7
-
**NOTE:***This guide is for building the version 1.16.1 of Nginx. You might need to change the commands according to the latest stable version of Nginx.*
7
+
**NOTE:***This guide is for building the version 1.22.1 of Nginx. You might need to change the commands according to the latest stable version of Nginx.*
* Update to Nginx 1.16.1 in response to HTTP/2 vulnerabilities
57
+
* Update to Nginx 1.22.1 in response to HTTP/2 vulnerabilities
64
58
65
-
-- Thomas SUCHON <[email protected]> Fri, 23 Aug 2019 01:03:00 +0530
59
+
-- Thomas SUCHON <[email protected]> Fri, 19 Oct 2022 01:03:00 +0530
66
60
```
67
61
68
62
This revision number of the build in bold has to be changed to build it
69
-
successfully. (1.16.1-1ppa~stable~ubuntu16.04.2) This will download the latest Nginx source, the modules from their respective
63
+
successfully. (1.22.1-1ppa~stable) This will download the latest Nginx source, the modules from their respective
70
64
Github links, modify the changelog and create the whole directory structure at `~/PPA/nginx`
71
65
72
-
9. Go to the nginx directory (check the latest version)
66
+
8. Go to the nginx directory (check the latest version)
73
67
74
68
```bash
75
-
cd~/PPA/nginx/nginx-1.16.1
69
+
cd~/PPA/nginx/nginx-1.22.1
76
70
```
77
71
78
-
10. Start the packaging with the GPG keys that you have exported. If in doubt about GPGKEY, you can check [this page.](https://github.com/WordOps/nginx-build/wiki/Generating-GPG-Keys)
72
+
9. Start the packaging with the GPG keys that you have exported. If in doubt about GPGKEY, you can check [this page.](https://github.com/WordOps/nginx-build/wiki/Generating-GPG-Keys)
79
73
80
74
```bash
81
75
debuild -S -sd -k97BAD476
@@ -87,44 +81,68 @@ This is the key ID for WordOps GPG key. You will be asked for a password. Get th
87
81
88
82
#### Opensuse Build Service
89
83
90
-
11. Checkout the repository. If you don't have a repository, go to [Opensuse Build Service](https://build.opensuse.org), and create one
84
+
10. Checkout the repository. If you don't have a repository, go to [Opensuse Build Service](https://build.opensuse.org), and create one
91
85
92
86
```bash
93
87
cd~
94
88
osc co home:virtubox:WordOps
95
89
```
90
+
96
91
**Warning**: The repository name is case sensitive.
97
92
98
-
12. Remove the current files from the nginx repo.
93
+
11. Remove the current files from the nginx repo.
99
94
100
95
```bash
101
96
cd home\:virtubox\:WordOps/nginx
102
97
osc rm *
103
98
```
104
99
105
-
13. The files that need to be uploaded will be generated in the `~/PPA/nginx`
100
+
12. The files that need to be uploaded will be generated in the `~/PPA/nginx`
106
101
directory. Only the files you already see [here](https://build.opensuse.org/package/show/home:virtubox:WordOps/nginx)
107
102
will be necessary.
108
103
Copy the files from `~/PPA/nginx` to `~/home:virtubox/nginx`.
osc ci -m “Revision message describing any changes”
118
+
osc ci -m "Revision message describing any changes"
124
119
```
125
120
126
121
#### LaunchPad PPA
127
122
123
+
For LauchPad PPA, nginx package name have to include the Ubuntu release you want to build. For this we will use the tool backportpackage to create each version of nginx package we want.
124
+
125
+
1. Go into the nginx directory
126
+
127
+
```bash
128
+
cd~/PPA/nginx
129
+
```
130
+
131
+
2. Then use `backportpackage` on the .dsc file previously built for OpenSuse repository
0 commit comments