Lines 1-6
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.8.36-r1.ebuild,v 1.2 2010/05/29 06:35:55 hollow Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.8.36-r1.ebuild,v 1.1 2010/05/03 19:34:35 hollow Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="2" |
6 |
|
6 |
|
Lines 28-33
Link Here
|
28 |
# http_uwsgi (http://projects.unbit.it/uwsgi/, GPL-2 license) |
28 |
# http_uwsgi (http://projects.unbit.it/uwsgi/, GPL-2 license) |
29 |
HTTP_UWSGI_MODULE_PV="0.9.5" |
29 |
HTTP_UWSGI_MODULE_PV="0.9.5" |
30 |
|
30 |
|
|
|
31 |
# ngx_cache_purge (http://labs.frickle.com/nginx_ngx_cache_purge/, BSD-2 license) |
32 |
HTTP_CACHE_PURGE_PV="1.0" |
33 |
|
31 |
inherit eutils ssl-cert toolchain-funcs perl-module ruby-ng flag-o-matic |
34 |
inherit eutils ssl-cert toolchain-funcs perl-module ruby-ng flag-o-matic |
32 |
|
35 |
|
33 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
36 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
Lines 38-44
Link Here
|
38 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz |
41 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz |
39 |
nginx_modules_http_passenger? ( mirror://rubyforge/passenger/passenger-${PASSENGER_PV}.tar.gz ) |
42 |
nginx_modules_http_passenger? ( mirror://rubyforge/passenger/passenger-${PASSENGER_PV}.tar.gz ) |
40 |
nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/${HTTP_PUSH_MODULE_P}.tar.gz ) |
43 |
nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/${HTTP_PUSH_MODULE_P}.tar.gz ) |
41 |
nginx_modules_http_uwsgi? ( http://projects.unbit.it/downloads/uwsgi-${HTTP_UWSGI_MODULE_PV}.tar.gz )" |
44 |
nginx_modules_http_uwsgi? ( http://projects.unbit.it/downloads/uwsgi-${HTTP_UWSGI_MODULE_PV}.tar.gz ) |
|
|
45 |
nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-${HTTP_CACHE_PURGE_PV}.tar.gz )" |
42 |
|
46 |
|
43 |
LICENSE="BSD-2 GPL-2 MIT" |
47 |
LICENSE="BSD-2 GPL-2 MIT" |
44 |
SLOT="0" |
48 |
SLOT="0" |
Lines 50-56
Link Here
|
50 |
NGINX_MODULES_OPT="addition dav degradation flv geoip gzip_static image_filter |
54 |
NGINX_MODULES_OPT="addition dav degradation flv geoip gzip_static image_filter |
51 |
perl random_index realip secure_link stub_status sub xslt" |
55 |
perl random_index realip secure_link stub_status sub xslt" |
52 |
NGINX_MODULES_MAIL="imap pop3 smtp" |
56 |
NGINX_MODULES_MAIL="imap pop3 smtp" |
53 |
NGINX_MODULES_3RD="http_passenger http_push http_uwsgi" |
57 |
NGINX_MODULES_3RD="http_cache_purge http_passenger http_push http_uwsgi" |
54 |
|
58 |
|
55 |
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre ssl vim-syntax" |
59 |
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre ssl vim-syntax" |
56 |
|
60 |
|
Lines 170-175
Link Here
|
170 |
fi |
174 |
fi |
171 |
done |
175 |
done |
172 |
|
176 |
|
|
|
177 |
if use nginx_modules_http_cache_purge; then |
178 |
myconf="${myconf} --add-module=${WORKDIR}/ngx_cache_purge-${HTTP_CACHE_PURGE_PV}" |
179 |
fi |
180 |
|
173 |
if use nginx_modules_http_fastcgi; then |
181 |
if use nginx_modules_http_fastcgi; then |
174 |
myconf="${myconf} --with-http_realip_module" |
182 |
myconf="${myconf} --with-http_realip_module" |
175 |
fi |
183 |
fi |