diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2005-05-03 15:35:00 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2005-05-03 15:35:00 +0000 |
commit | 95e27cad8d659d58e99a667010bac768510e81a5 (patch) | |
tree | f178df49c1bf46eaa5a7f93d807eff4a7d147b31 /www-servers | |
parent | Fixed wrong SRC_URI; bug #72736. (diff) | |
download | gentoo-2-95e27cad8d659d58e99a667010bac768510e81a5.tar.gz gentoo-2-95e27cad8d659d58e99a667010bac768510e81a5.tar.bz2 gentoo-2-95e27cad8d659d58e99a667010bac768510e81a5.zip |
+ debug && fastcgi use falgs
(Portage version: 2.0.51.21)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/nginx/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/nginx/Manifest | 2 | ||||
-rw-r--r-- | www-servers/nginx/files/digest-nginx-0.1.28-r2 | 1 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.1.28-r2.ebuild | 84 |
4 files changed, 93 insertions, 1 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog index 9b2e3f4de3a8..7d7616e5eab6 100644 --- a/www-servers/nginx/ChangeLog +++ b/www-servers/nginx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/nginx # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.15 2005/04/28 10:35:16 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.16 2005/05/03 15:35:00 voxus Exp $ + +*nginx-0.1.28-r2 (03 May 2005) + + 03 May 2005; Konstantin Arkhipov <voxus@gentoo.org> +nginx-0.1.28-r1.ebuild: + Added debug and fastcgi use flags. 28 Apr 2005; Konstantin Arkhipov <voxus@gentoo.org> -nginx-0.1.28.ebuild, nginx-0.1.28-r1.ebuild: diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest index e95c66ab87c2..53816263e6d1 100644 --- a/www-servers/nginx/Manifest +++ b/www-servers/nginx/Manifest @@ -1,7 +1,9 @@ +MD5 b03d40c8b9cfcad76e9a316e224a9322 nginx-0.1.28-r2.ebuild 2084 MD5 456656dba66bbf99724355fed5b97f24 nginx-0.1.28-r1.ebuild 1937 MD5 a745dfa44d91189f4b3f1ab400f65aa5 ChangeLog 2618 MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220 MD5 8c7b8c93f0c4048d83df9cdc31d86e1b files/nginx 922 MD5 964b96268e483e663e4ea13d03320185 files/digest-nginx-0.1.28-r1 64 +MD5 964b96268e483e663e4ea13d03320185 files/digest-nginx-0.1.28-r2 64 MD5 148b61099c94cfc02add671522699a48 files/nginx-0.1.28-bad_backend_header.patch 656 MD5 b3342c18a1880b574cbe4458560019c6 files/nginx.conf 1445 diff --git a/www-servers/nginx/files/digest-nginx-0.1.28-r2 b/www-servers/nginx/files/digest-nginx-0.1.28-r2 new file mode 100644 index 000000000000..a895eff9fe53 --- /dev/null +++ b/www-servers/nginx/files/digest-nginx-0.1.28-r2 @@ -0,0 +1 @@ +MD5 48e44b94234ff04cc276f0814cee551d nginx-0.1.28.tar.gz 298412 diff --git a/www-servers/nginx/nginx-0.1.28-r2.ebuild b/www-servers/nginx/nginx-0.1.28-r2.ebuild new file mode 100644 index 000000000000..1f8a5a34f663 --- /dev/null +++ b/www-servers/nginx/nginx-0.1.28-r2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.1.28-r2.ebuild,v 1.1 2005/05/03 15:35:00 voxus Exp $ + +inherit eutils + +DESCRIPTION="Robust, small and high performance http and reverse proxy server" + +HOMEPAGE="http://sysoev.ru/nginx/" +SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug fastcgi threads ssl zlib" + +DEPEND="dev-lang/perl + ssl? ( dev-libs/openssl ) + zlib? ( sys-libs/zlib )" + +src_unpack() { + unpack ${A} + cd ${S} && epatch ${FILESDIR}/${P}-bad_backend_header.patch +} + +src_compile() { + local myconf + + if use threads; then + einfo + ewarn "threads support is experimental at the moment" + ewarn "do not use it on production systems - you've been warned" + einfo + myconf="${myconf} --with-threads" + fi + + use fastcgi || myconf="${myconf} --without-http_fastcgi_module" + use zlib || myconf="${myconf} --without-http_gzip_module" + use debug && myconf="${myconf} --with-debug" + use ssl && myconf="${myconf} --with-http_ssl_module" + + cd ${S} && ./configure \ + --prefix=/usr \ + --conf-path=/etc/${PN}/${PN}.conf \ + --http-log-path=/var/log/${PN}/access_log \ + --error-log-path=/var/log/${PN}/error_log \ + --pid-path=/var/run/${PN}.pid \ + --http-client-body-temp-path=/var/tmp/${PN}/client \ + --http-proxy-temp-path=/var/tmp/${PN}/proxy \ + --http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \ + --with-md5-asm \ + ${myconf} || die "configure failed" + + emake || "failed to compile" +} + +src_install() { + cd ${S} || die + + dodir /var/log/${PN} + keepdir /var/log/${PN} + + dodir /var/tmp/${PN} + + dodir /var/tmp/${PN}/client + keepdir /var/tmp/${PN}/client + + dodir /var/tmp/${PN}/proxy + keepdir /var/tmp/${PN}/proxy + + dodir /var/tmp/${PN}/fastcgi + keepdir /var/tmp/${PN}/fastcgi + + dodir /etc/${PN} + + dosbin objs/nginx + doinitd ${FILESDIR}/nginx + + insinto /etc/${PN} + rm conf/nginx.conf + doins -r conf/* + doins ${FILESDIR}/nginx.conf + + dodoc CHANGES{,.ru} LICENSE README +} |