Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 598088 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/www-servers/nginx/nginx-1.11.5-r1.ebuild (-3 / +24 lines)
Lines 138-143 Link Here
138
HTTP_LDAP_MODULE_URI="https://github.com/kvspb/nginx-auth-ldap/archive/${HTTP_LDAP_MODULE_PV}.tar.gz"
138
HTTP_LDAP_MODULE_URI="https://github.com/kvspb/nginx-auth-ldap/archive/${HTTP_LDAP_MODULE_PV}.tar.gz"
139
HTTP_LDAP_MODULE_WD="${WORKDIR}/nginx-auth-ldap-${HTTP_LDAP_MODULE_PV}"
139
HTTP_LDAP_MODULE_WD="${WORKDIR}/nginx-auth-ldap-${HTTP_LDAP_MODULE_PV}"
140
140
141
# ngx-set-misc (https://github.com/openresty/set-misc-nginx-module, BSD license)
142
HTTP_SET_MISC_MODULE_PV="0.31"
143
HTTP_SET_MISC_MODULE_P="ngx_set_misc-${HTTP_SET_MISC_MODULE_PV}"
144
HTTP_SET_MISC_MODULE_URI="https://github.com/openresty/set-misc-nginx-module/archive/v${HTTP_SET_MISC_MODULE_PV}.tar.gz"
145
HTTP_SET_MISC_MODULE_WD="${WORKDIR}/set-misc-nginx-module-${HTTP_SET_MISC_MODULE_PV}"
146
141
# We handle deps below ourselves
147
# We handle deps below ourselves
142
SSL_DEPS_SKIP=1
148
SSL_DEPS_SKIP=1
143
AUTOTOOLS_AUTO_DEPEND="no"
149
AUTOTOOLS_AUTO_DEPEND="no"
Lines 166-172 Link Here
166
	nginx_modules_http_sticky? ( ${HTTP_STICKY_MODULE_URI} -> ${HTTP_STICKY_MODULE_P}.tar.bz2 )
172
	nginx_modules_http_sticky? ( ${HTTP_STICKY_MODULE_URI} -> ${HTTP_STICKY_MODULE_P}.tar.bz2 )
167
	nginx_modules_http_mogilefs? ( ${HTTP_MOGILEFS_MODULE_URI} -> ${HTTP_MOGILEFS_MODULE_P}.tar.gz )
173
	nginx_modules_http_mogilefs? ( ${HTTP_MOGILEFS_MODULE_URI} -> ${HTTP_MOGILEFS_MODULE_P}.tar.gz )
168
	nginx_modules_http_memc? ( ${HTTP_MEMC_MODULE_URI} -> ${HTTP_MEMC_MODULE_P}.tar.gz )
174
	nginx_modules_http_memc? ( ${HTTP_MEMC_MODULE_URI} -> ${HTTP_MEMC_MODULE_P}.tar.gz )
169
	nginx_modules_http_auth_ldap? ( ${HTTP_LDAP_MODULE_URI} -> ${HTTP_LDAP_MODULE_P}.tar.gz )"
175
	nginx_modules_http_auth_ldap? ( ${HTTP_LDAP_MODULE_URI} -> ${HTTP_LDAP_MODULE_P}.tar.gz )
176
	nginx_modules_http_set_misc? ( ${HTTP_SET_MISC_MODULE_URI} -> ${HTTP_SET_MISC_MODULE_P}.tar.gz )"
170
177
171
LICENSE="BSD-2 BSD SSLeay MIT GPL-2 GPL-2+
178
LICENSE="BSD-2 BSD SSLeay MIT GPL-2 GPL-2+
172
	nginx_modules_http_security? ( Apache-2.0 )
179
	nginx_modules_http_security? ( Apache-2.0 )
Lines 204-210 Link Here
204
	http_sticky
211
	http_sticky
205
	http_mogilefs
212
	http_mogilefs
206
	http_memc
213
	http_memc
207
	http_auth_ldap"
214
	http_auth_ldap
215
	http_set_misc"
208
216
209
IUSE="aio debug +http +http2 +http-cache +ipv6 libatomic libressl luajit +pcre
217
IUSE="aio debug +http +http2 +http-cache +ipv6 libatomic libressl luajit +pcre
210
	pcre-jit rtmp selinux ssl threads userland_GNU vim-syntax"
218
	pcre-jit rtmp selinux ssl threads userland_GNU vim-syntax"
Lines 454-459 Link Here
454
		myconf+=( --add-module=${HTTP_FANCYINDEX_MODULE_WD} )
462
		myconf+=( --add-module=${HTTP_FANCYINDEX_MODULE_WD} )
455
	fi
463
	fi
456
464
465
	if use nginx_modules_http_lua || use nginx_modules_http_set_misc; then
466
		myconf+=( --add-module=${DEVEL_KIT_MODULE_WD} )
467
	fi
468
457
	if use nginx_modules_http_lua; then
469
	if use nginx_modules_http_lua; then
458
		http_enabled=1
470
		http_enabled=1
459
		if use luajit; then
471
		if use luajit; then
Lines 463-472 Link Here
463
			export LUA_LIB=$(pkg-config --variable libdir lua)
475
			export LUA_LIB=$(pkg-config --variable libdir lua)
464
			export LUA_INC=$(pkg-config --variable includedir lua)
476
			export LUA_INC=$(pkg-config --variable includedir lua)
465
		fi
477
		fi
466
		myconf+=( --add-module=${DEVEL_KIT_MODULE_WD} )
467
		myconf+=( --add-module=${HTTP_LUA_MODULE_WD} )
478
		myconf+=( --add-module=${HTTP_LUA_MODULE_WD} )
468
	fi
479
	fi
469
480
481
	if use nginx_modules_http_set_misc ; then
482
		http_enabled=1
483
		myconf+=( --add-module=${HTTP_SET_MISC_MODULE_WD} )
484
	fi
485
470
	if use nginx_modules_http_auth_pam; then
486
	if use nginx_modules_http_auth_pam; then
471
		http_enabled=1
487
		http_enabled=1
472
		myconf+=( --add-module=${HTTP_AUTH_PAM_MODULE_WD} )
488
		myconf+=( --add-module=${HTTP_AUTH_PAM_MODULE_WD} )
Lines 692-697 Link Here
692
		dodoc "${HTTP_LUA_MODULE_WD}"/README.markdown
708
		dodoc "${HTTP_LUA_MODULE_WD}"/README.markdown
693
	fi
709
	fi
694
710
711
	if use nginx_modules_http_set_misc; then
712
		docinto ${HTTP_SET_MISC_MODULE_P}
713
		dodoc "${HTTP_SET_MISC_MODULE_WD}"/README.markdown
714
	fi
715
695
	if use nginx_modules_http_auth_pam; then
716
	if use nginx_modules_http_auth_pam; then
696
		docinto ${HTTP_AUTH_PAM_MODULE_P}
717
		docinto ${HTTP_AUTH_PAM_MODULE_P}
697
		dodoc "${HTTP_AUTH_PAM_MODULE_WD}"/{README.md,ChangeLog}
718
		dodoc "${HTTP_AUTH_PAM_MODULE_WD}"/{README.md,ChangeLog}

Return to bug 598088