Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 433107
Collapse All | Expand All

(-)nginx-1.3.3.ebuild.orig (-2 / +21 lines)
Lines 75-80 Link Here
75
HTTP_LUA_MODULE_URI="https://github.com/chaoslawful/lua-nginx-module/tarball/v${HTTP_LUA_MODULE_PV}"
75
HTTP_LUA_MODULE_URI="https://github.com/chaoslawful/lua-nginx-module/tarball/v${HTTP_LUA_MODULE_PV}"
76
HTTP_LUA_MODULE_WD="${WORKDIR}/chaoslawful-lua-nginx-module-${HTTP_LUA_MODULE_SHA1}"
76
HTTP_LUA_MODULE_WD="${WORKDIR}/chaoslawful-lua-nginx-module-${HTTP_LUA_MODULE_SHA1}"
77
77
78
# http_mogilefs (http://www.grid.net.ru/nginx/mogilefs.en.html, BSD license)
79
HTTP_MOGILEFS_MODULE_PV="1.0.4"
80
HTTP_MOGILEFS_MODULE_P="ngx_http_mogilefs-${HTTP_MOGILEFS_MODULE_PV}"
81
HTTP_MOGILEFS_MODULE_URI="http://www.grid.net.ru/nginx/download/nginx_mogilefs_module-${HTTP_MOGILEFS_MODULE_PV}.tar.gz"
82
HTTP_MOGILEFS_MODULE_WD="${WORKDIR}/nginx_mogilefs_module-${HTTP_MOGILEFS_MODULE_PV}"
83
78
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
84
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
79
85
80
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
86
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
Lines 88-94 Link Here
88
	nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} )
94
	nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} )
89
	nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} )
95
	nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} )
90
	nginx_modules_http_fancyindex? ( ${HTTP_FANCYINDEX_MODULE_URI} -> ${HTTP_FANCYINDEX_MODULE_P}.tar.gz )
96
	nginx_modules_http_fancyindex? ( ${HTTP_FANCYINDEX_MODULE_URI} -> ${HTTP_FANCYINDEX_MODULE_P}.tar.gz )
91
	nginx_modules_http_lua? ( ${HTTP_LUA_MODULE_URI} -> ${HTTP_LUA_MODULE_P}.tar.gz )"
97
	nginx_modules_http_lua? ( ${HTTP_LUA_MODULE_URI} -> ${HTTP_LUA_MODULE_P}.tar.gz )
98
	nginx_modules_http_mogilefs? ( ${HTTP_MOGILEFS_MODULE_URI} )"
92
99
93
LICENSE="as-is BSD BSD-2 GPL-2 MIT"
100
LICENSE="as-is BSD BSD-2 GPL-2 MIT"
94
SLOT="0"
101
SLOT="0"
Lines 109-115 Link Here
109
	http_upload
116
	http_upload
110
	http_slowfs_cache
117
	http_slowfs_cache
111
	http_fancyindex
118
	http_fancyindex
112
	http_lua"
119
	http_lua
120
	http_mogilefs"
113
121
114
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl vim-syntax"
122
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl vim-syntax"
115
123
Lines 274-279 Link Here
274
		myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
282
		myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
275
	fi
283
	fi
276
284
285
	if use nginx_modules_http_mogilefs; then
286
		http_enabled=1
287
		myconf+=" --add-module=${HTTP_MOGILEFS_MODULE_WD}"
288
	fi
289
277
	if use http || use http-cache; then
290
	if use http || use http-cache; then
278
		http_enabled=1
291
		http_enabled=1
279
	fi
292
	fi
Lines 386-391 Link Here
386
		docinto ${HTTP_LUA_MODULE_P}
399
		docinto ${HTTP_LUA_MODULE_P}
387
		dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
400
		dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
388
	fi
401
	fi
402
403
	if use nginx_modules_http_mogilefs; then
404
		docinto ${HTTP_MOGILEFS_MODULE_P}
405
		dodoc "${HTTP_MOGILEFS_MODULE_WD}"/{Changelog,README}
406
		newdoc "${HTTP_MOGILEFS_MODULE_WD}"/nginx.conf nginx-mogilefs.conf.example
407
	fi
389
}
408
}
390
409
391
pkg_postinst() {
410
pkg_postinst() {

Return to bug 433107