patch to use pam_auth from http://web.iti.upv.es/~sto/nginx/
This commit is contained in:
parent
77cad819af
commit
98d6ee431c
@ -7,17 +7,21 @@ inherit eutils ssl-cert toolchain-funcs
|
||||
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
|
||||
|
||||
HOMEPAGE="http://nginx.net/"
|
||||
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
|
||||
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz
|
||||
pamauth?
|
||||
( http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-1.1.tar.gz )"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="addition debug fastcgi flv imap ipv6 pcre perl random-index securelink ssl status sub webdav zlib"
|
||||
IUSE="addition debug fastcgi flv imap ipv6 pamauth pcre perl random-index securelink ssl
|
||||
status sub webdav zlib"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
pcre? ( >=dev-libs/libpcre-4.2 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
zlib? ( sys-libs/zlib )
|
||||
perl? ( >=dev-lang/perl-5.8 )"
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
pamauth? ( sys-libs/pam )"
|
||||
|
||||
pkg_setup() {
|
||||
ebegin "Creating nginx user and group"
|
||||
@ -62,6 +66,7 @@ src_compile() {
|
||||
use ssl && myconf="${myconf} --with-http_ssl_module"
|
||||
use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support
|
||||
use perl && myconf="${myconf} --with-http_perl_module"
|
||||
use pamauth && myconf="${myconf} --add-module=../ngx_http_auth_pam_module-1.1"
|
||||
use status && myconf="${myconf} --with-http_stub_status_module"
|
||||
use webdav && myconf="${myconf} --with-http_dav_module"
|
||||
use sub && myconf="${myconf} --with-http_sub_module"
|
||||
|
Loading…
Reference in New Issue
Block a user