# HG changeset patch # User Konstantin Pavlov # Date 1488465757 -10800 # Node ID 94493c0ff5f697dbbd42584cb625c46bcdc79f58 # Parent ef3590465d673e375ef91b0425ebf1126799f0dd Introduced "Source Packages" section. diff -r ef3590465d67 -r 94493c0ff5f6 xml/en/linux_packages.xml --- a/xml/en/linux_packages.xml Tue Jan 31 19:43:57 2017 +0300 +++ b/xml/en/linux_packages.xml Thu Mar 02 17:42:37 2017 +0300 @@ -7,7 +7,7 @@
@@ -287,60 +287,25 @@
-
+
-Configure arguments common for nginx binaries from pre-built packages for stable version: - ---prefix=/etc/nginx ---sbin-path=/usr/sbin/nginx ---conf-path=/etc/nginx/nginx.conf ---error-log-path=/var/log/nginx/error.log ---http-log-path=/var/log/nginx/access.log ---pid-path=/var/run/nginx.pid ---lock-path=/var/run/nginx.lock ---http-client-body-temp-path=/var/cache/nginx/client_temp ---http-proxy-temp-path=/var/cache/nginx/proxy_temp ---http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp ---http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp ---http-scgi-temp-path=/var/cache/nginx/scgi_temp ---user=nginx ---group=nginx ---with-http_ssl_module ---with-http_realip_module ---with-http_addition_module ---with-http_sub_module ---with-http_dav_module ---with-http_flv_module ---with-http_mp4_module ---with-http_gunzip_module ---with-http_gzip_static_module ---with-http_random_index_module ---with-http_secure_link_module ---with-http_stub_status_module ---with-http_auth_request_module ---with-threads ---with-stream ---with-stream_ssl_module ---with-http_slice_module ---with-mail ---with-mail_ssl_module ---with-file-aio ---with-http_v2_module ---with-ipv6 - +Packaging sources can be found in the +packaging sources repository. -Packages for mainline version also have the following arguments: - ---with-stream_realip_module - +The default branch holds packaging sources for the current +mainline version, while stable-* branches contain latest +sources for stable releases. +To build binary packages, run make in +debian/ directory on Debian/Ubuntu, or in +rpm/SPECS/ on RHEL/CentOS/SLES. -Main nginx package is built with all modules that do not require additional -libraries to avoid extra dependencies. +Packaging sources are distributed under the same +2-clause BSD-like license used by nginx.
@@ -349,10 +314,12 @@
+Main nginx package is built with all modules that do not require additional +libraries to avoid extra dependencies. Since version 1.9.11, nginx supports -dynamic modules. -Currently, the following modules are built as dynamic -and shipped as separate packages: +dynamic modules +and the following modules are built as dynamic and shipped as separate +packages: nginx-module-geoip nginx-module-image-filter diff -r ef3590465d67 -r 94493c0ff5f6 xml/ru/linux_packages.xml --- a/xml/ru/linux_packages.xml Tue Jan 31 19:43:57 2017 +0300 +++ b/xml/ru/linux_packages.xml Thu Mar 02 17:42:37 2017 +0300 @@ -7,7 +7,7 @@
@@ -290,60 +290,26 @@
-
+
-Общие аргументы configure для nginx из пакетов стабильной версии: - ---prefix=/etc/nginx ---sbin-path=/usr/sbin/nginx ---conf-path=/etc/nginx/nginx.conf ---error-log-path=/var/log/nginx/error.log ---http-log-path=/var/log/nginx/access.log ---pid-path=/var/run/nginx.pid ---lock-path=/var/run/nginx.lock ---http-client-body-temp-path=/var/cache/nginx/client_temp ---http-proxy-temp-path=/var/cache/nginx/proxy_temp ---http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp ---http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp ---http-scgi-temp-path=/var/cache/nginx/scgi_temp ---user=nginx ---group=nginx ---with-http_ssl_module ---with-http_realip_module ---with-http_addition_module ---with-http_sub_module ---with-http_dav_module ---with-http_flv_module ---with-http_mp4_module ---with-http_gunzip_module ---with-http_gzip_static_module ---with-http_random_index_module ---with-http_secure_link_module ---with-http_stub_status_module ---with-http_auth_request_module ---with-threads ---with-stream ---with-stream_ssl_module ---with-http_slice_module ---with-mail ---with-mail_ssl_module ---with-file-aio ---with-http_v2_module ---with-ipv6 - +Исходные коды пакетов находятся в соответствующем +репозитории. -Пакеты для mainline-версии добавляют к списку: - ---with-stream_realip_module - +Ветка репозитория default содержит исходные коды пакетов для +mainline-версии, в то время как ветки stable-* содержат +исходные коды пакетов для стабильных релизов. +Для сборки бинарных пакетов запустите make в каталоге +debian/ для Debian/Ubuntu или в каталоге +rpm/SPECS/ для RHEL/CentOS/SLES. -Для того чтобы избежать увеличения числа зависимостей, основной пакет nginx не -включает модули, которым требуются дополнительные библиотеки. +Исходные коды пакетов распространяются под той же +BSD-подобной лицензией из 2 пунктов, +что и сам nginx.
@@ -352,10 +318,12 @@
+Для того чтобы избежать увеличения числа зависимостей, основной пакет nginx не +включает модули, которым требуются дополнительные библиотеки. Начиная с версии 1.9.11 nginx поддерживает -динамические модули. -В настоящее время следующие модули собираются как динамические -и поставляются в виде отдельных пакетов: +динамические +модули, и следующие модули собираются как динамические и поставляются в +виде отдельных пакетов: nginx-module-geoip nginx-module-image-filter