Tinkoff / Nginx-builder

A tool to build deb or rpm package of required Nginx version from the source code, with the ability to connect third-party modules. Nginx parameters are set in the yaml configuration file.
Apache License 2.0
154 stars 28 forks source link

builder - ERROR - 404 Client Error: Not Found for url: http://nginx.org/packages/centos/18/SRPMS #42

Open kidar2 opened 2 years ago

kidar2 commented 2 years ago

./main.py build -f config.yaml

builder - INFO - Parse yaml file: config.yaml builder - INFO - Download scripts for build rpm package builder - INFO - Running command: rpmdev-setuptree /bin/sh: 1: rpmdev-setuptree: not found builder - INFO - builder - INFO - Downloading nginx src... builder - ERROR - 404 Client Error: Not Found for url: http://nginx.org/packages/centos/18/SRPMS

therb1 commented 2 years ago

I think problem in config.yaml

Centos 18 its a strange

kidar2 commented 2 years ago

It doesn't contains "centos". I taked example and add one module nginx-ts-module


nginx_version: 1.18.0
output_package: rpm
modules:
  - module:
      name: nginx-auth-ldap
      git_url: https://github.com/kvspb/nginx-auth-ldap.git
      git_branch: master
      dependencies:
        - openldap-devel
  - module:
      name: ngx_http_substitutions_filter_module
      git_url: https://github.com/yaoweibin/ngx_http_substitutions_filter_module.git
  - module:
      name: headers-more-nginx-module
      web_url: https://github.com/openresty/headers-more-nginx-module/archive/v0.261.zip
  - module:
      name: nginx-module-vts
      git_url: https://github.com/vozlt/nginx-module-vts.git
      git_tag: v0.1.18
  - module:
      name: ngx_devel_kit
      git_url: https://github.com/simplresty/ngx_devel_kit.git
      git_tag: v0.3.0
  - module:
      name: nginx-ts-module
      git_url: https://github.com/arut/nginx-ts-module.git
      git_tag: v0.1.1
  - module:
      name: ngx_cache_purge
      git_url: https://github.com/FRiCKLE/ngx_cache_purge.git
  - module:
      name: ngx_http_dyups_module
      git_url: https://github.com/yzprofile/ngx_http_dyups_module.git
  - module:
      name: ngx_http_mp4_module
      type: embedded
  - module:
      name: http_gzip_static_module
      type: embedded
  - module:
      name: http_v2_module
      type: embedded
  - module:
      name: http_ssl_module
      type: embedded
  - module:
      name: http_addition_module
      type: embedded
  - module:
      name: http_auth_request_module
      type: embedded
  - module:
      name: http_gunzip_module
      type: embedded
  - module:
      name: http_gzip_static_module
      type: embedded
  - module:
      name: http_realip_module
      type: embedded
  - module:
      name: http_secure_link_module
      type: embedded
  - module:
      name: http_slice_module
      type: embedded
  - module:
      name: http_stub_status_module
      type: embedded
  - module:
      name: http_sub_module
      type: embedded
  - module:
      name: stream_realip_module
      type: embedded
  - module:
      name: stream_ssl_preread_module
      type: embedded
configure_params:
  - "--with-openssl-opt='enable-tls1_3'"