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

(-)/usr/portage/www-servers/nginx/nginx-1.2.5.ebuild (-3 / +23 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_auth_pam (http://web.iti.upv.es/~sto/nginx/, BSD-2 license)
79
HTTP_AUTH_PAM_MODULE_PV="1.2"
80
HTTP_AUTH_PAM_MODULE_P="ngx_http_auth_pam-${HTTP_AUTH_PAM_MODULE_PV}"
81
HTTP_AUTH_PAM_MODULE_URI="http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-${HTTP_AUTH_PAM_MODULE_PV}.tar.gz"
82
HTTP_AUTH_PAM_MODULE_WD="${WORKDIR}/ngx_http_auth_pam_module-${HTTP_AUTH_PAM_MODULE_PV}"
83
84
78
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
85
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
79
86
80
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
87
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} )
95
	nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} )
89
	nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} )
96
	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 )
97
	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 )"
98
	nginx_modules_http_lua? ( ${HTTP_LUA_MODULE_URI} -> ${HTTP_LUA_MODULE_P}.tar.gz )
99
	nginx_modules_http_auth_pam? ( ${HTTP_AUTH_PAM_MODULE_URI} -> ${HTTP_AUTH_PAM_MODULE_P}.tar.gz )"
92
100
93
LICENSE="as-is BSD BSD-2 GPL-2 MIT"
101
LICENSE="as-is BSD BSD-2 GPL-2 MIT"
94
SLOT="0"
102
SLOT="0"
Lines 109-115 Link Here
109
	http_upload
117
	http_upload
110
	http_slowfs_cache
118
	http_slowfs_cache
111
	http_fancyindex
119
	http_fancyindex
112
	http_lua"
120
	http_lua
121
	http_auth_pam"
113
122
114
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl vim-syntax"
123
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl vim-syntax"
115
124
Lines 143-149 Link Here
143
	nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
152
	nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
144
	nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) )
153
	nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) )
145
	nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
154
	nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
146
	nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) )"
155
	nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) )
156
	nginx_modules_http_auth_pam? ( sys-libs/pam )"
147
RDEPEND="${CDEPEND}"
157
RDEPEND="${CDEPEND}"
148
DEPEND="${CDEPEND}
158
DEPEND="${CDEPEND}
149
	arm? ( dev-libs/libatomic_ops )
159
	arm? ( dev-libs/libatomic_ops )
Lines 274-279 Link Here
274
		myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
284
		myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
275
	fi
285
	fi
276
286
287
	if use nginx_modules_http_auth_pam; then
288
		http_enabled=1
289
		myconf+=" --add-module=${HTTP_AUTH_PAM_MODULE_WD}"
290
	fi
291
277
	if use http || use http-cache; then
292
	if use http || use http-cache; then
278
		http_enabled=1
293
		http_enabled=1
279
	fi
294
	fi
Lines 386-391 Link Here
386
		docinto ${HTTP_LUA_MODULE_P}
401
		docinto ${HTTP_LUA_MODULE_P}
387
		dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
402
		dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
388
	fi
403
	fi
404
405
	if use nginx_modules_http_auth_pam; then
406
		docinto ${HTTP_AUTH_PAM_MODULE_P}
407
		dodoc "${HTTP_AUTH_PAM_MODULE_WD}/README"
408
	fi
389
}
409
}
390
410
391
pkg_postinst() {
411
pkg_postinst() {

Return to bug 445806