summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-servers/nginx/Manifest10
-rw-r--r--www-servers/nginx/files/nginx40
-rw-r--r--www-servers/nginx/files/nginx-0.6.32-cross-configure.diff22
-rw-r--r--www-servers/nginx/files/nginx-r171
-rw-r--r--www-servers/nginx/files/nginx.conf66
-rw-r--r--www-servers/nginx/files/nginx.conf-r155
-rw-r--r--www-servers/nginx/files/nginx.conf-r258
-rw-r--r--www-servers/nginx/files/nginx.conf-r357
-rw-r--r--www-servers/nginx/files/nginx.conf-r472
-rw-r--r--www-servers/nginx/nginx-0.6.32.ebuild111
10 files changed, 0 insertions, 562 deletions
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest
deleted file mode 100644
index a80dd15b..00000000
--- a/www-servers/nginx/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX nginx 994 RMD160 4b36e15714c84f8e8228d0ca6790c545736d74bb SHA1 de0a11802cc6f4a1111652416bce131a07ae008c SHA256 17a32f38e066ecc91ad91496e0ab8f0885e5550d42bf62dbecfdf2747a0fb1cd
-AUX nginx-0.6.32-cross-configure.diff 628 RMD160 171bfa0e1a037c33407213ba4a8d7076e274330c SHA1 69ac4a0c47d55e334b5b2d88cc0092402cacd9a4 SHA256 ba78f09a36167473ef20e06e9d5f0172db7187502697fbc2ebd2a937a93061e9
-AUX nginx-r1 1645 RMD160 d032feec43e4ba31ac5b6fffec478ebbeb49db60 SHA1 49f0db3efaccd3cef545b8c68cfa557ca829352f SHA256 b263a663399d2897dfdf53226d45fc3707bc9230bd687b8003d075a48f60ecaf
-AUX nginx.conf 1400 RMD160 d982c853d9145643c4a885012a41fc4acd39080f SHA1 6974ab2214a11ad3e828861b47f9499c9481520d SHA256 11adbf9f0903f473b98474d460e41ec1161daa58d37e5c05019b03eae4d944f7
-AUX nginx.conf-r1 966 RMD160 b4b9e54860f14a106b186cfc02dbb00e15df694d SHA1 0bc417a8b7f736bcfba5330a48b7915ef344a7a2 SHA256 ef34ceb24bdd8aebf144b9583f457e3bfbbd96286acc4394c159a886990c29bf
-AUX nginx.conf-r2 1044 RMD160 5ddc034f31a54da00b57503cfc5a7e0be2189cef SHA1 988e59f8aeabb8b4b1e412f4dfc8ddfa96ee5da4 SHA256 722b5588c975c523caea14bd90866be5d260f7d0fcdf1af90d2110b2db7ee448
-AUX nginx.conf-r3 1039 RMD160 cc181fdfdbbd26eabfc60821d9bd92bc2632905c SHA1 5ddb38fd85e1a99f69b5efc62b22a4633c924f67 SHA256 93c926f698a21946687340d553d584c47408359d5bb64651fc967274659662fc
-AUX nginx.conf-r4 1410 RMD160 4b188bb03b12de3b38a82e13b1a2bb93848e8948 SHA1 e836c85e98e3b2c633818c286992d32a68c0b5ff SHA256 74d984512901fc9cfd13cac60df06cd468566aae367c35a3205e6daf7e7c32b6
-DIST nginx-0.6.32.tar.gz 522183 RMD160 06749c5bf834a3f7e82ad3122a5db457c193d117 SHA1 346166171477c3e78759bdbbc8461107d8475269 SHA256 d74bbb9235e7beabf7be03a7dec99f0cab89fa4430a998a6a7151901ea141e9d
-EBUILD nginx-0.6.32.ebuild 3159 RMD160 237ddd8747b90a974e2285e2119355269bc39d0c SHA1 42f16506e585726c210551923148351b14cbbab4 SHA256 d4abbce6e24372d6ffad2c9de692b8c739fab2db0165f5cb8090848e1e9f511b
diff --git a/www-servers/nginx/files/nginx b/www-servers/nginx/files/nginx
deleted file mode 100644
index 7cafac89..00000000
--- a/www-servers/nginx/files/nginx
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx,v 1.3 2005/05/29 14:30:28 voxus Exp $
-
-opts="${opts} reload configtest"
-
-depend() {
- need net
- use dns logger
-}
-
-start() {
- configtest || return 1
- ebegin "Starting nginx"
- start-stop-daemon --start --pidfile /var/run/nginx.pid \
- --exec /usr/sbin/nginx -- -c /etc/nginx/nginx.conf
- eend $? "Failed to start nginx"
-}
-
-stop() {
- configtest || return 1
- ebegin "Stopping nginx"
- start-stop-daemon --stop --pidfile /var/run/nginx.pid
- eend $? "Failed to stop nginx"
- rm -f /var/run/nginx.pid
-}
-
-reload() {
- configtest || return 1
- ebegin "Refreshing nginx' configuration"
- kill -HUP `cat /var/run/nginx.pid` &>/dev/null
- eend $? "Failed to reload nginx"
-}
-
-configtest() {
- ebegin "Checking nginx' configuration"
- /usr/sbin/nginx -c /etc/nginx/nginx.conf -t
- eend $? "failed, please correct errors above"
-}
diff --git a/www-servers/nginx/files/nginx-0.6.32-cross-configure.diff b/www-servers/nginx/files/nginx-0.6.32-cross-configure.diff
deleted file mode 100644
index 6e5042f2..00000000
--- a/www-servers/nginx/files/nginx-0.6.32-cross-configure.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- auto/cc/name.ori 2009-05-02 01:52:53.000000000 +0200
-+++ auto/cc/name 2009-05-02 01:53:09.000000000 +0200
-@@ -6,7 +6,7 @@
-
- ngx_feature="C compiler"
- ngx_feature_name=
-- ngx_feature_run=yes
-+ ngx_feature_run=${cx_ngx_feature_run:-yes}
- ngx_feature_incs=
- ngx_feature_path=
- ngx_feature_libs=
---- auto/types/sizeof.ori 2009-05-02 01:58:25.000000000 +0200
-+++ auto/types/sizeof 2009-05-02 01:58:46.000000000 +0200
-@@ -46,7 +46,7 @@
- rm -f $NGX_AUTOTEST
-
-
--case $ngx_size in
-+case ${cx_ngx_size:-$ngx_size} in
- 4)
- if [ "$ngx_type"="long" ]; then
- ngx_max_value=2147483647L
diff --git a/www-servers/nginx/files/nginx-r1 b/www-servers/nginx/files/nginx-r1
deleted file mode 100644
index ceea5d84..00000000
--- a/www-servers/nginx/files/nginx-r1
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx-r1,v 1.1 2006/07/04 16:58:38 voxus Exp $
-
-opts="${opts} upgrade reload configtest"
-
-depend() {
- need net
- use dns logger
-}
-
-start() {
- configtest || return 1
- ebegin "Starting nginx"
- start-stop-daemon --start --pidfile /var/run/nginx.pid \
- --exec /usr/sbin/nginx -- -c /etc/nginx/nginx.conf
- eend $? "Failed to start nginx"
-}
-
-stop() {
- configtest || return 1
- ebegin "Stopping nginx"
- start-stop-daemon --stop --pidfile /var/run/nginx.pid
- eend $? "Failed to stop nginx"
- rm -f /var/run/nginx.pid
-}
-
-reload() {
- configtest || return 1
- ebegin "Refreshing nginx' configuration"
- kill -HUP `cat /var/run/nginx.pid` &>/dev/null
- eend $? "Failed to reload nginx"
-}
-
-upgrade() {
- configtest || return 1
- ebegin "Upgrading nginx"
-
- einfo "Sending USR2 to old binary"
- kill -USR2 `cat /var/run/nginx.pid` &>/dev/null
-
- einfo "Sleeping 3 seconds before pid-files checking"
- sleep 3
-
- if [ ! -f /var/run/nginx.pid.oldbin ]; then
- eerror "File with old pid not found"
- return 1
- fi
-
- if [ ! -f /var/run/nginx.pid ]; then
- eerror "New binary failed to start"
- return 1
- fi
-
- einfo "Sleeping 3 seconds before WINCH"
- sleep 3 ; kill -WINCH `cat /var/run/nginx.pid.oldbin`
-
- einfo "Sending QUIT to old binary"
- kill -QUIT `cat /var/run/nginx.pid.oldbin`
-
- einfo "Upgrade completed"
-
- eend $? "Upgrade failed"
-}
-
-configtest() {
- ebegin "Checking nginx' configuration"
- /usr/sbin/nginx -c /etc/nginx/nginx.conf -t
- eend $? "failed, please correct errors above"
-}
diff --git a/www-servers/nginx/files/nginx.conf b/www-servers/nginx/files/nginx.conf
deleted file mode 100644
index 526dd2ef..00000000
--- a/www-servers/nginx/files/nginx.conf
+++ /dev/null
@@ -1,66 +0,0 @@
-user apache apache;
-
-worker_processes 5;
-
-error_log /var/log/nginx/error_log warn;
-
-events {
- connections 2048;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format main '%addr - - [%time] "%request" %status '
- '%length "%{Referer}i" "%{User-Agent}i" ';
-
- log_format download '%addr - - [%time] "%request" %status '
- '%length "%{Referer}i" "%{User-Agent}i" '
- '"%{Range}i" "%{Content-Range}o"';
-
- post_accept_timeout 60;
- client_header_timeout 3m;
- client_body_timeout 3m;
- send_timeout 3m;
-
- connection_pool_size 256;
- client_header_buffer_size 1k;
- large_client_header_buffers 4 2k;
- request_pool_size 4k;
-
- gzip on;
- gzip_min_length 1100;
- gzip_buffers 4 8k;
- gzip_types text/plain;
-
- output_buffers 1 32k;
- postpone_output 1460;
-
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
-
- keepalive_timeout 75 20;
-
- server {
- listen 80;
-
- charset on;
- source_charset koi8-r;
-
- access_log /var/log/nginx/access_log main;
-
- location / {
- root /var/www/localhost/htdocs;
- index index.html;
- allow all;
- }
-
- location ~* ^.+\.(jpg|jpeg|gif)$ {
- root /var/www/localhost/htdocs;
- access_log off;
- expires 30d;
- }
- }
-}
diff --git a/www-servers/nginx/files/nginx.conf-r1 b/www-servers/nginx/files/nginx.conf-r1
deleted file mode 100644
index 4ad6a3c1..00000000
--- a/www-servers/nginx/files/nginx.conf-r1
+++ /dev/null
@@ -1,55 +0,0 @@
-user apache apache;
-
-worker_processes 1;
-
-error_log /var/log/nginx/error_log info;
-
-events {
- worker_connections 8192;
- use epoll;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format main
- '$remote_addr - $remote_user [$time_local] '
- '"$request" $status $bytes_sent '
- '"$http_referer" "$http_user_agent" '
- '"$gzip_ratio"';
-
- client_header_timeout 10m;
- client_body_timeout 10m;
- send_timeout 10m;
-
- connection_pool_size 256;
- client_header_buffer_size 1k;
- large_client_header_buffers 4 2k;
- request_pool_size 4k;
-
- gzip on;
- gzip_min_length 1100;
- gzip_buffers 4 8k;
- gzip_types text/plain;
-
- output_buffers 1 32k;
- postpone_output 1460;
-
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
-
- keepalive_timeout 75 20;
-
- ignore_invalid_headers on;
-
- server {
- listen 127.0.0.1;
- server_name localhost;
-
- access_log /var/log/nginx/access_log info;
-
- root /var/www/localhost/htdocs;
- }
-}
diff --git a/www-servers/nginx/files/nginx.conf-r2 b/www-servers/nginx/files/nginx.conf-r2
deleted file mode 100644
index 913e98f3..00000000
--- a/www-servers/nginx/files/nginx.conf-r2
+++ /dev/null
@@ -1,58 +0,0 @@
-user apache apache;
-
-worker_processes 1;
-
-error_log /var/log/nginx/error_log info;
-
-events {
- worker_connections 8192;
- use epoll;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format main
- '$remote_addr - $remote_user [$time_local] '
- '"$request" $status $bytes_sent '
- '"$http_referer" "$http_user_agent" '
- '"$gzip_ratio"';
-
- client_header_timeout 10m;
- client_body_timeout 10m;
- send_timeout 10m;
-
- connection_pool_size 256;
- client_header_buffer_size 1k;
- large_client_header_buffers 4 2k;
- request_pool_size 4k;
-
- gzip on;
- gzip_min_length 1100;
- gzip_buffers 4 8k;
- gzip_types text/plain;
-
- output_buffers 1 32k;
- postpone_output 1460;
-
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
-
- keepalive_timeout 75 20;
-
- ignore_invalid_headers on;
-
- index index.html;
-
- server {
- listen 127.0.0.1;
- server_name localhost;
-
- access_log /var/log/nginx/localhost.access_log main;
- error_log /var/log/nginx/localhost.error_log;
-
- root /var/www/localhost/htdocs;
- }
-}
diff --git a/www-servers/nginx/files/nginx.conf-r3 b/www-servers/nginx/files/nginx.conf-r3
deleted file mode 100644
index a924424b..00000000
--- a/www-servers/nginx/files/nginx.conf-r3
+++ /dev/null
@@ -1,57 +0,0 @@
-user nginx nginx;
-worker_processes 1;
-
-error_log /var/log/nginx/error_log info;
-
-events {
- worker_connections 8192;
- use epoll;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format main
- '$remote_addr - $remote_user [$time_local] '
- '"$request" $status $bytes_sent '
- '"$http_referer" "$http_user_agent" '
- '"$gzip_ratio"';
-
- client_header_timeout 10m;
- client_body_timeout 10m;
- send_timeout 10m;
-
- connection_pool_size 256;
- client_header_buffer_size 1k;
- large_client_header_buffers 4 2k;
- request_pool_size 4k;
-
- gzip on;
- gzip_min_length 1100;
- gzip_buffers 4 8k;
- gzip_types text/plain;
-
- output_buffers 1 32k;
- postpone_output 1460;
-
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
-
- keepalive_timeout 75 20;
-
- ignore_invalid_headers on;
-
- index index.html;
-
- server {
- listen 127.0.0.1;
- server_name localhost;
-
- access_log /var/log/nginx/localhost.access_log main;
- error_log /var/log/nginx/localhost.error_log;
-
- root /var/www/localhost/htdocs;
- }
-}
diff --git a/www-servers/nginx/files/nginx.conf-r4 b/www-servers/nginx/files/nginx.conf-r4
deleted file mode 100644
index 117c2e55..00000000
--- a/www-servers/nginx/files/nginx.conf-r4
+++ /dev/null
@@ -1,72 +0,0 @@
-user nginx nginx;
-worker_processes 1;
-
-error_log /var/log/nginx/error_log info;
-
-events {
- worker_connections 8192;
- use epoll;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format main
- '$remote_addr - $remote_user [$time_local] '
- '"$request" $status $bytes_sent '
- '"$http_referer" "$http_user_agent" '
- '"$gzip_ratio"';
-
- client_header_timeout 10m;
- client_body_timeout 10m;
- send_timeout 10m;
-
- connection_pool_size 256;
- client_header_buffer_size 1k;
- large_client_header_buffers 4 2k;
- request_pool_size 4k;
-
- gzip on;
- gzip_min_length 1100;
- gzip_buffers 4 8k;
- gzip_types text/plain;
-
- output_buffers 1 32k;
- postpone_output 1460;
-
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
-
- keepalive_timeout 75 20;
-
- ignore_invalid_headers on;
-
- index index.html;
-
- server {
- listen 127.0.0.1;
- server_name localhost;
-
- access_log /var/log/nginx/localhost.access_log main;
- error_log /var/log/nginx/localhost.error_log info;
-
- root /var/www/localhost/htdocs;
- }
-
- ##ssl portion
- # server {
- # listen 127.0.0.1:443;
- # server_name localhost;
- #
- # ssl on;
- # ssl_certificate /etc/ssl/nginx/nginx.pem;
- # ssl_certificate_key /etc/ssl/nginx/nginx.key;
- #
- # access_log /var/log/nginx/localhost.ssl_access_log main;
- # error_log /var/log/nginx/localhost.ssl_error_log info;
- #
- # root /var/www/localhost/htdocs;
- # }
-}
diff --git a/www-servers/nginx/nginx-0.6.32.ebuild b/www-servers/nginx/nginx-0.6.32.ebuild
deleted file mode 100644
index 842658b7..00000000
--- a/www-servers/nginx/nginx-0.6.32.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.32.ebuild,v 1.2 2008/10/25 17:36:52 voxus Exp $
-
-inherit eutils ssl-cert
-
-DESCRIPTION="Robust, small and high performance http and reverse proxy server"
-
-HOMEPAGE="http://nginx.net/"
-SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="addition debug fastcgi flv imap pcre perl ssl status sub webdav zlib"
-
-DEPEND="dev-lang/perl
- pcre? ( >=dev-libs/libpcre-4.2 )
- ssl? ( dev-libs/openssl )
- zlib? ( sys-libs/zlib )
- perl? ( >=dev-lang/perl-5.8 )"
-
-pkg_setup() {
- ebegin "Creating nginx user and group"
- enewgroup nginx
- enewuser nginx -1 -1 /dev/null nginx
- eend ${?}
-}
-
-src_unpack () {
- unpack ${A}
-
- cd ${S}
- epatch "${FILESDIR}"/${P}-cross-configure.diff
-}
-
-src_compile() {
- local myconf
-
- # threads support is broken atm.
- #
- # if use threads; then
- # einfo
- # ewarn "threads support is experimental at the moment"
- # ewarn "do not use it on production systems - you've been warned"
- # einfo
- # myconf="${myconf} --with-threads"
- # fi
-
- use addition && myconf="${myconf} --with-http_addition_module"
- use fastcgi || myconf="${myconf} --without-http_fastcgi_module"
- use fastcgi && myconf="${myconf} --with-http_realip_module"
- use flv && myconf="${myconf} --with-http_flv_module"
- use zlib || myconf="${myconf} --without-http_gzip_module"
- use pcre || {
- myconf="${myconf} --without-pcre --without-http_rewrite_module"
- }
- use debug && myconf="${myconf} --with-debug"
- use ssl && myconf="${myconf} --with-http_ssl_module"
- use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support
- use perl && myconf="${myconf} --with-http_perl_module"
- use status && myconf="${myconf} --with-http_stub_status_module"
- use webdav && myconf="${myconf} --with-http_dav_module"
- use sub && myconf="${myconf} --with-http_sub_module"
-
- bash -x ./configure \
- --prefix=/usr \
- --conf-path=/etc/${PN}/${PN}.conf \
- --http-log-path=/var/log/${PN}/access_log \
- --error-log-path=/var/log/${PN}/error_log \
- --pid-path=/var/run/${PN}.pid \
- --http-client-body-temp-path=/var/tmp/${PN}/client \
- --http-proxy-temp-path=/var/tmp/${PN}/proxy \
- --http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \
- --with-md5-asm --with-md5=/usr/include \
- --with-sha1-asm --with-sha1=/usr/include \
- ${myconf} || die "configure failed"
-
- emake || die "failed to compile"
-}
-
-src_install() {
- keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi}
-
- dosbin objs/nginx
- cp "${FILESDIR}"/nginx-r1 "${T}"/nginx
- doinitd "${T}"/nginx
-
- cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf
-
- dodir "${ROOT}"/etc/${PN}
- insinto "${ROOT}"/etc/${PN}
- doins conf/*
-
- dodoc CHANGES{,.ru} LICENSE README
-
- use perl && {
- cd "${S}"/objs/src/http/modules/perl/
- einstall DESTDIR="${D}"|| die "failed to install perl stuff"
- }
-}
-
-pkg_postinst() {
- use ssl && {
- if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
- dodir "${ROOT}"/etc/ssl/${PN}
- insinto "${ROOT}"etc/ssl/${PN}/
- insopts -m0644 -o nginx -g nginx
- install_cert /etc/ssl/nginx/nginx
- fi
- }
-}