Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 422888 Details for
Bug 564564
www-servers/nginx: add nginx-ldap-auth to nginx
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ldap3.diff
ldap3.diff (text/plain), 3.00 KB, created by
Tony Vroon (RETIRED)
on 2016-01-14 13:49:47 UTC
(
hide
)
Description:
ldap3.diff
Filename:
MIME Type:
Creator:
Tony Vroon (RETIRED)
Created:
2016-01-14 13:49:47 UTC
Size:
3.00 KB
patch
obsolete
>diff --git a/www-servers/nginx/nginx-1.9.7.ebuild b/www-servers/nginx/nginx-1.9.7.ebuild >index f13c837..8f4c3bb 100644 >--- a/www-servers/nginx/nginx-1.9.7.ebuild >+++ b/www-servers/nginx/nginx-1.9.7.ebuild >@@ -132,6 +132,13 @@ HTTP_MEMC_MODULE_P="ngx_memc_module-${HTTP_MEMC_MODULE_PV}" > HTTP_MEMC_MODULE_URI="https://github.com/openresty/memc-nginx-module/archive/v${HTTP_MEMC_MODULE_PV}.tar.gz" > HTTP_MEMC_MODULE_WD="${WORKDIR}/memc-nginx-module-${HTTP_MEMC_MODULE_PV}" > >+# nginx-ldap-auth-module (https://github.com/kvspb/nginx-auth-ldap, BSD-2) >+HTTP_LDAP_MODULE_PV="0.1" >+HTTP_LDAP_MODULE_P="nginx-auth-ldap-${HTTP_LDAP_MODULE_PV}" >+HTTP_LDAP_MODULE_URI="https://github.com/kvspb/nginx-auth-ldap/archive/v${HTTP_LDAP_MODULE_PV}.tar.gz" >+HTTP_LDAP_MODULE_WD="${WORKDIR}/nginx-auth-ldap-${HTTP_LDAP_MODULE_PV}" >+ >+ > inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user systemd versionator multilib > > DESCRIPTION="Robust, small and high performance http and reverse proxy server" >@@ -155,7 +162,8 @@ SRC_URI="http://nginx.org/download/${P}.tar.gz > nginx_modules_http_push_stream? ( ${HTTP_PUSH_STREAM_MODULE_URI} -> ${HTTP_PUSH_STREAM_MODULE_P}.tar.gz ) > nginx_modules_http_sticky? ( ${HTTP_STICKY_MODULE_URI} -> ${HTTP_STICKY_MODULE_P}.tar.bz2 ) > nginx_modules_http_mogilefs? ( ${HTTP_MOGILEFS_MODULE_URI} -> ${HTTP_MOGILEFS_MODULE_P}.tar.gz ) >- nginx_modules_http_memc? ( ${HTTP_MEMC_MODULE_URI} -> ${HTTP_MEMC_MODULE_P}.tar.gz )" >+ nginx_modules_http_memc? ( ${HTTP_MEMC_MODULE_URI} -> ${HTTP_MEMC_MODULE_P}.tar.gz ) >+ nginx_modules_http_auth_ldap? ( ${HTTP_LDAP_MODULE_URI} -> ${HTTP_LDAP_MODULE_P}.tar.gz )" > > LICENSE="BSD-2 BSD SSLeay MIT GPL-2 GPL-2+ > nginx_modules_http_security? ( Apache-2.0 ) >@@ -188,7 +196,8 @@ NGINX_MODULES_3RD=" > http_sticky > http_ajp > http_mogilefs >- http_memc" >+ http_memc >+ http_auth_ldap" > > IUSE="aio debug +http http2 +http-cache ipv6 libatomic luajit +pcre pcre-jit rtmp > selinux ssl threads userland_GNU vim-syntax" >@@ -231,7 +240,8 @@ CDEPEND=" > nginx_modules_http_auth_pam? ( virtual/pam ) > nginx_modules_http_metrics? ( dev-libs/yajl ) > nginx_modules_http_dav_ext? ( dev-libs/expat ) >- nginx_modules_http_security? ( >=dev-libs/libxml2-2.7.8 dev-libs/apr-util www-servers/apache )" >+ nginx_modules_http_security? ( >=dev-libs/libxml2-2.7.8 dev-libs/apr-util www-servers/apache ) >+ nginx_modules_http_auth_ldap? ( net-nds/openldap[ssl?] )" > RDEPEND="${CDEPEND} > selinux? ( sec-policy/selinux-nginx ) > !www-servers/nginx:0" >@@ -464,6 +474,11 @@ src_configure() { > myconf+=( --add-module=${HTTP_MEMC_MODULE_WD} ) > fi > >+ if use nginx_modules_http_auth_ldap; then >+ http_enabled=1 >+ myconf+=( --add-module=${HTTP_LDAP_MODULE_WD} ) >+ fi >+ > if use http || use http-cache || use http2; then > http_enabled=1 > fi >@@ -644,6 +659,11 @@ src_install() { > docinto ${HTTP_MEMC_MODULE_P} > dodoc "${HTTP_MEMC_MODULE_WD}"/README.markdown > fi >+ >+ if use nginx_modules_http_auth_ldap; then >+ docinto ${HTTP_LDAP_MODULE_P} >+ dodoc "${HTTP_LDAP_MODULE_WD}"/example.conf >+ fi > } > > pkg_postinst() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 564564
:
422868
|
422872
| 422888