From 98d6ee431c89886772bf7b7000e5e67be7f396c4 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Fri, 11 Sep 2009 10:37:48 +0200 Subject: [PATCH] patch to use pam_auth from http://web.iti.upv.es/~sto/nginx/ --- www-servers/nginx/nginx-0.8.13.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/www-servers/nginx/nginx-0.8.13.ebuild b/www-servers/nginx/nginx-0.8.13.ebuild index 68fa84c..ab0e648 100644 --- a/www-servers/nginx/nginx-0.8.13.ebuild +++ b/www-servers/nginx/nginx-0.8.13.ebuild @@ -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"