<commit_before><%
case distribution_class
when :ubuntu
  libgd_dependency = "libgd-dev"
when :debian
  libgd_dependency = "libgd2-dev | libgd2-noxpm-dev"
else
  raise "Unknown distribution class"
end
-%>
Source: nginx
Section: httpd
Priority: optional
Maintainer: <%= MAINTAINER_NAME %> <<%= MAINTAINER_EMAIL %>>
Build-Depends: autotools-dev,
               debhelper (>= 9),
               po-debconf,
               dh-systemd (>= 1.5),
               dpkg-dev (>= 1.15.5),
               libexpat-dev,
               <%= libgd_dependency %>,
               libgeoip-dev,
               libluajit-5.1-dev [i386 amd64 kfreebsd-i386 armel armhf powerpc powerpcspe mips mipsel],
               liblua5.1-0-dev [!i386 !amd64 !kfreebsd-i386 !armel !armhf !powerpc !powerpcspe !mips !mipsel],
               libmhash-dev,
               libpam0g-dev,
               libpcre3-dev,
               libperl-dev,
               libssl-dev,
               libxslt1-dev,
               po-debconf,
               quilt,
               zlib1g-dev,
               ruby, ruby-dev, rake,
               libcurl4-openssl-dev
Standards-Version: 3.9.6.0
Homepage: http://nginx.net
Vcs-Git: git://github.com/phusion/passenger_apt_automation.git
Vcs-Browser: https://github.com/phusion/passenger_apt_automation
XS-Testsuite: autopkgtest

Package: nginx
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-doc
Architecture: all
Section: doc
Depends: lsb-base (>= 3.2-14),
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server - documentation
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package provides extra documentation to help unleash the power of Nginx.

Package: nginx-common
Architecture: all
Depends: lsb-base (>= 3.2-14),
         ${misc:Depends}
Replaces: nginx (<< 0.8.54-4),
          nginx-extras (<< 0.8.54-4),
          nginx-full (<< 0.8.54-4),
          nginx-light (<< 0.8.54-4)
Breaks: nginx (<< 0.8.54-4),
        nginx-extras (<< 0.8.54-4),
        nginx-full (<< 0.8.54-4),
        nginx-light (<< 0.8.54-4)
Suggests: fcgiwrap, nginx-doc, ssl-cert
Description: small, powerful, scalable web/proxy server - common files
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package contains base configuration files used by all versions of
 nginx.

# Dummy dependency packages that install nginx-extras instead
Package: nginx-core
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-core-dbg
Architecture: all
Depends: nginx-extras-dbg (>= ${source:Version}) ,
         nginx-extras-dbg (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras-dbg.

Package: nginx-light
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-light-dbg
Architecture: all
Depends: nginx-extras-dbg (>= ${source:Version}) ,
         nginx-extras-dbg (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras-dbg.

Package: nginx-full
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-full-dbg
Architecture: all
Depends: nginx-extras-dbg (>= ${source:Version}) ,
         nginx-extras-dbg (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras-dbg.

Package: nginx-extras
Architecture: any
Priority: extra
Depends: nginx-common (= ${source:Version}),
         ${misc:Depends},
         ${perl:Depends},
         ${shlibs:Depends}
Breaks: nginx (<< 1.4.5-1)
Provides: httpd,
          httpd-cgi,
          nginx

# keep naxsi as conflict until oldest supported distro has an nginx that
# doesn't indicate such a conflict.
Conflicts: nginx-naxsi
Recommends: <%= PASSENGER_DEBIAN_NAME %> (>= <%= PASSENGER_VERSION %>),
            <%= PASSENGER_DEBIAN_NAME %> (<< <%= NEXT_PASSENGER_VERSION %>)
Suggests: nginx-doc (= ${source:Version})
Description: nginx web/proxy server (extended version)
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package provides a version of nginx with the standard modules, plus
 extra features and modules such as the Perl module, which allows the
 addition of Perl in configuration files.
 .
 STANDARD HTTP MODULES: Core, Access, Auth Basic, Auto Index, Browser, Empty
 GIF, FastCGI, Geo, Limit Connections, Limit Requests, Map, Memcached, Proxy,
 Referer, Rewrite, SCGI, Split Clients, UWSGI.
 .
 OPTIONAL HTTP MODULES: Addition, Auth Request, Charset, WebDAV, FLV, GeoIP,
 Gunzip, Gzip, Gzip Precompression, Headers, HTTP/2, Image Filter, Index, Log,
 MP4, Embedded Perl, Random Index, Real IP, Secure Link, SSI, SSL, Stream,
 Stub Status, Substitution, Thread Pool, Upstream, User ID, XSLT.
 .
 MAIL MODULES: Mail Core, Auth HTTP, Proxy, SSL, IMAP, POP3, SMTP.
 .
 THIRD PARTY MODULES: Auth PAM, Cache Purge, DAV Ext, Echo, Fancy Index,
 Headers More, Embedded Lua, HTTP Push, HTTP Substitutions, Upload Progress,
 Upstream Fair Queue, Phusion Passenger.

Package: nginx-extras-dbg
Architecture: any
Section: debug
Priority: extra
Depends: nginx-extras (= ${binary:Version}),
         ${misc:Depends}
Conflicts: nginx-full-dbg,
           nginx-light-dbg,
           nginx-naxsi-dbg,
           nginx-core-dbg
Description: nginx web/proxy server (extended version) - debugging symbols
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package provides debugging symbols for nginx-extras, to assist in
 debugging issues that you may find. It should not be required for normal
 operation.
<commit_msg>fix control.erb after trusty removed<commit_after><%
case distribution_class
when :ubuntu
  libgd_dependency = "libgd-dev"
when :debian
  libgd_dependency = "libgd2-dev | libgd2-noxpm-dev"
else
  raise "Unknown distribution class"
end
-%>
Source: nginx
Section: httpd
Priority: optional
Maintainer: <%= MAINTAINER_NAME %> <<%= MAINTAINER_EMAIL %>>
Build-Depends: autotools-dev,
               debhelper (>= 9),
               po-debconf,
               dh-systemd (>= 1.5),
               dpkg-dev (>= 1.15.5),
               libexpat-dev,
               <%= libgd_dependency %>,
               libgeoip-dev,
               libluajit-5.1-dev [i386 amd64 kfreebsd-i386 armel armhf powerpc powerpcspe mips mipsel],
               liblua5.1-0-dev [!i386 !amd64 !kfreebsd-i386 !armel !armhf !powerpc !powerpcspe !mips !mipsel],
               libmhash-dev,
               libpam0g-dev,
               libpcre3-dev,
               libperl-dev,
               libssl-dev,
               libxslt1-dev,
               po-debconf,
               quilt,
               zlib1g-dev,
               ruby, ruby-dev, rake,
               libcurl4-openssl-dev
Standards-Version: 3.9.6.0
Homepage: http://nginx.net
Vcs-Git: git://github.com/phusion/passenger_apt_automation.git
Vcs-Browser: https://github.com/phusion/passenger_apt_automation
XS-Testsuite: autopkgtest

Package: nginx
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-doc
Architecture: all
Section: doc
Depends: lsb-base (>= 3.2-14),
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server - documentation
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package provides extra documentation to help unleash the power of Nginx.

Package: nginx-common
Architecture: all
Depends: lsb-base (>= 3.2-14),
         ${misc:Depends}
Replaces: nginx (<< 0.8.54-4),
          nginx-extras (<< 0.8.54-4),
          nginx-full (<< 0.8.54-4),
          nginx-light (<< 0.8.54-4)
Breaks: nginx (<< 0.8.54-4),
        nginx-extras (<< 0.8.54-4),
        nginx-full (<< 0.8.54-4),
        nginx-light (<< 0.8.54-4)
Suggests: fcgiwrap, nginx-doc, ssl-cert
Description: small, powerful, scalable web/proxy server - common files
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package contains base configuration files used by all versions of
 nginx.

# Dummy dependency packages that install nginx-extras instead
Package: nginx-core
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-core-dbg
Architecture: all
Depends: nginx-extras-dbg (>= ${source:Version}) ,
         nginx-extras-dbg (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras-dbg.

Package: nginx-light
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-light-dbg
Architecture: all
Depends: nginx-extras-dbg (>= ${source:Version}) ,
         nginx-extras-dbg (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras-dbg.

Package: nginx-full
Architecture: all
Depends: nginx-extras (>= ${source:Version}) ,
         nginx-extras (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras.

Package: nginx-full-dbg
Architecture: all
Depends: nginx-extras-dbg (>= ${source:Version}) ,
         nginx-extras-dbg (<< ${source:Version}.1~) ,
         ${misc:Depends}
Description: small, powerful, scalable web/proxy server
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This is a dependency package to install nginx-extras-dbg.

Package: nginx-extras
Architecture: any
Priority: extra
Depends: nginx-common (= ${source:Version}),
         ${misc:Depends},
         ${perl:Depends},
         ${shlibs:Depends}
Breaks: nginx (<< 1.4.5-1)
Provides: httpd,
          httpd-cgi,
          nginx
# keep naxsi as conflict until oldest supported distro has an nginx that
# doesn't indicate such a conflict.
Conflicts: nginx-naxsi
Recommends: <%= PASSENGER_DEBIAN_NAME %> (>= <%= PASSENGER_VERSION %>),
            <%= PASSENGER_DEBIAN_NAME %> (<< <%= NEXT_PASSENGER_VERSION %>)
Suggests: nginx-doc (= ${source:Version})
Description: nginx web/proxy server (extended version)
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package provides a version of nginx with the standard modules, plus
 extra features and modules such as the Perl module, which allows the
 addition of Perl in configuration files.
 .
 STANDARD HTTP MODULES: Core, Access, Auth Basic, Auto Index, Browser, Empty
 GIF, FastCGI, Geo, Limit Connections, Limit Requests, Map, Memcached, Proxy,
 Referer, Rewrite, SCGI, Split Clients, UWSGI.
 .
 OPTIONAL HTTP MODULES: Addition, Auth Request, Charset, WebDAV, FLV, GeoIP,
 Gunzip, Gzip, Gzip Precompression, Headers, HTTP/2, Image Filter, Index, Log,
 MP4, Embedded Perl, Random Index, Real IP, Secure Link, SSI, SSL, Stream,
 Stub Status, Substitution, Thread Pool, Upstream, User ID, XSLT.
 .
 MAIL MODULES: Mail Core, Auth HTTP, Proxy, SSL, IMAP, POP3, SMTP.
 .
 THIRD PARTY MODULES: Auth PAM, Cache Purge, DAV Ext, Echo, Fancy Index,
 Headers More, Embedded Lua, HTTP Push, HTTP Substitutions, Upload Progress,
 Upstream Fair Queue, Phusion Passenger.

Package: nginx-extras-dbg
Architecture: any
Section: debug
Priority: extra
Depends: nginx-extras (= ${binary:Version}),
         ${misc:Depends}
Conflicts: nginx-full-dbg,
           nginx-light-dbg,
           nginx-naxsi-dbg,
           nginx-core-dbg
Description: nginx web/proxy server (extended version) - debugging symbols
 Nginx ("engine X") is a high-performance web and reverse proxy server
 created by <NAME>. It can be used both as a standalone web server
 and as a proxy to reduce the load on back-end HTTP or mail servers.
 .
 This package provides debugging symbols for nginx-extras, to assist in
 debugging issues that you may find. It should not be required for normal
 operation.

{'fraction_non_alphanumeric': 0.10082905184493228, 'fraction_numerical': 0.011793554413825316, 'mean_word_length': 3.2304272659916027, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 69, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3688030', 'n_tokens_mistral': 5614, 'n_tokens_neox': 5141, 'n_words': 1986}