• This topic has 9 replies, 1 voice, and was last updated 5 months ago by Dan.
Viewing 8 reply threads
  • Author
    Posts
    • #3965 Reply
      Thijs Eilander
      Keymaster

      nginx-full (1.22.1-6) unstable; urgency=medium

      The packages nginx-core, nginx-full, nginx-light, nginx-extras are deprecated.
      Packages no longer distribute the nginx binary and are replaced
      by a metapackage to keep upgrades smooth.
      Please simply install ‘nginx’ and ‘libnginx-mod-…’ modules You need
      instead of these packages.

      — Jan Mojžíš jan.mojzis@gmail.com Wed, 11 Jan 2023 20:23:22 +0100

    • #3969 Reply
      Dan
      Guest

      Can we have complete information about this?
      Why is it being deprecated?

      What happened to the optional modules from nginx that weren’t installable by libnginx-mod-xx?

    • #3970 Reply
      Thijs Eilander
      Keymaster

      Hi Dan,

      Debian has deprecated it last januari, I just read it in their changelog while syncing the bookworm package to my package. The issue is described here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025763

      There is one binary now, with all non-dynamic modules being builtin. The nginx-light -core -extras -full are converted to metapackages as they all have the same binary now. Everything should continue to work.

      I have synced their package to mine, it’s not on the default repo yet but will be with a new nginx release. You can test it with
      echo “deb http://edge.deb.myguard.nl:8888 jammy main” > /etc/apt/sources.list.d/edge.deb.myguard.nl.list
      apt update && apt upgrade

      If there are problems with this build please let me know ;-)

    • #3971 Reply
      Thijs Eilander
      Keymaster

      This is the commit

      — Jan Mojžíš Mon, 13 Feb 2023 13:04:16 +0100

      nginx (1.22.1-6) unstable; urgency=medium

      * Main change:
      Nginx binary moved to package nginx, also moved basic
      configuration files from nginx-common to package nginx.2
      The packages nginx-{light,core,extras,common} are replaced
      by a metapackage. (Closes: 1025763)
      Users should simply install ‘nginx’ and ‘libnginx-mod-…’
      instead of these packages.
      * Additional changes:
      * d/nginx-{light,core,extras,full,common}.NEWS: added warning that
      nginx-{light,core,extras,full,common} are deprecated

    • #3972 Reply
      Dan
      Guest

      I’m not sure how to use or install those metapackages for Nginx.
      Ubuntu LTS users are also affected, right?

      How about this old idea that we have?

      Is it possible to remove these optional modules from the Nginx-light package?

      Having a very basic or minimal nginx binary
      Thank you so much.

      • #3973 Reply
        Thijs Eilander
        Keymaster

        A metapackage is just a package that installs other packages, “apt install nginx-light” installs the metapackage “nginx-light” which installs the package nginx. So upgrading to new packages will be no problem.

    • #3996 Reply
      Dan
      Guest

      Thanks. I’ll test this later today using your Edge repo.

    • #4001 Reply
      Dan
      Guest

      After I enabled your Edge repo and upgraded the system, Nginx-light becomes metapackaged, a lot of modules were built-in, and it became bloated :|

      Diff compare log:
      https://www.diffchecker.com/1fBt2H3n/

    • #4002 Reply
      Dan
      Guest

      I was using Nginx-light from PPA hosted on Ubuntu Launchpad and updated my system using your Edge repo.

      After the upgrade, the Nginx binary (/usr/sbin/nginx) increased a bit, from 1.5MB to 1.7MB.
      A large number of modules have now been added, as shown in the diff above.

    • #3999 Reply
      Dan
      Guest

      I was using Nginx-light from PPA hosted on Ubuntu Launchpad and updated my system using your Edge repo.

      After the upgrade, the Nginx binary (/usr/sbin/nginx) increased a bit, from 1.5MB to 1.7MB.

      A lot of modules have now been added:

      From:

      nginx version: nginx/1.25.3 (https://deb.myguard.nl/nginx-modules/)

      built with OpenSSL 3.0.12+quic 24 Oct 2023

      TLS SNI support enabled

      configure arguments: –build=https://deb.myguard.nl/nginx-modules/ –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-log-path=/var/log/nginx/access.log –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi –lock-path=/var/lock/nginx.lock –modules-path=/usr/lib/nginx/modules –pid-path=/run/nginx.pid –prefix=/usr/share/nginx –with-cc-opt=’-g -ffile-prefix-map=/build/nginx-zroS3h/nginx-1.25.3=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -O3 -flto -DNGX_HTTP_HEADERS -DNGX_ZLIB_NG=1 -D_FORTIFY_SOURCE=2 -w -DTCP_FASTOPEN=23 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2′ –with-compat –with-file-aio –with-http_dav_module –with-http_gzip_static_module –with-http_auth_request_module –with-http_realip_module –with-http_slice_module –with-http_ssl_module –with-threads –with-http_v2_module –with-http_v3_module –with-ld-opt=’-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -fPIC -static-libstdc++ -flto -lpcre’ –with-http_sub_module –without-http_browser_module –without-http_geo_module –without-http_limit_req_module –without-http_limit_conn_module –without-http_memcached_module –without-http_referer_module –without-http_split_clients_module –without-http_userid_module

      It now becomes:

      nginx version: nginx/1.25.3 (https://deb.myguard.nl/nginx-modules/)

      built with OpenSSL 3.0.12+quic 24 Oct 2023

      TLS SNI support enabled

      configure arguments: –conf-path=/etc/nginx/nginx.conf –error-log-path=stderr –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-log-path=/var/log/nginx/access.log –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi –lock-path=/var/lock/nginx.lock –modules-path=/usr/lib/nginx/modules –pid-path=/run/nginx.pid –prefix=/usr/share/nginx –with-compat –with-file-aio –with-threads –with-cc-opt=’-g -ffile-prefix-map=/build/nginx-1.25.3=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -O3 -flto -DNGX_HTTP_HEADERS -DNGX_ZLIB_NG=1 -D_FORTIFY_SOURCE=2 -w -DTCP_FASTOPEN=23 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2′ –with-ld-opt=’-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -fPIC’ –with-pcre-jit –with-http_dav_module –with-http_ssl_module –with-http_v2_module –with-http_v3_module –with-stream=dynamic –with-stream_realip_module –with-stream_ssl_module –with-stream_ssl_preread_module –build=https://deb.myguard.nl/nginx-modules/ –with-http_addition_module –with-http_auth_request_module –with-http_degradation_module –with-http_flv_module –with-http_geoip_module=dynamic –with-http_gunzip_module –with-http_gzip_static_module –with-http_image_filter_module=dynamic –with-http_mp4_module –with-http_perl_module=dynamic –with-http_random_index_module –with-http_realip_module –with-http_secure_link_module –with-http_slice_module –with-http_stub_status_module –with-http_sub_module –with-http_xslt_module=dynamic –with-mail=dynamic –with-mail_ssl_module –with-stream_geoip_module=dynamic

Viewing 8 reply threads
Reply To: fyi: nginx-core, nginx-full, nginx-light, nginx-extras are deprecated
Your information: