Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Use "-c" option with get_sources.sh to checksum downloaded files.
  • Loading branch information
wenzhuoz committed Oct 7, 2019
1 parent 44c93fd commit 3e0c0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
$ sudo dnf group install "Development Tools" "RPM Development Tools"
```
2. libmaxminddb-devel, which is required to build the ngx_http_geoip2_module, is missing from CentOS 8.0. We need to grab the libmaxminddb src rpm and rebuild it.
2. The libmaxminddb-devel package, which is required to build the ngx_http_geoip2_module, is missing from CentOS 8.0. We need to download its source rpm package and rebuild it.
```
$ rpmdev-setuptree
$ dnf download --source libmaxminddb
Expand All @@ -28,7 +28,7 @@
$ sudo dnf builddep nginx
$ git clone -b c8-stream-1.14-geoip2 https://github.com/wenzhuoz/nginx-rpms.git
$ cd nginx-rpms
$ get_sources.sh -b c8-stream-1.14
$ get_sources.sh -c -b c8-stream-1.14
$ rpmbuild --define "%_topdir `pwd`" -ba SPECS/nginx.spec --with geoip2
```
Expand Down

0 comments on commit 3e0c0f9

Please sign in to comment.