summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2005-03-04 17:40:51 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2005-03-04 17:40:51 +0000
commitf6b4729e558f778cacb74d83dbe527f9d2a22f44 (patch)
tree056c97ad010e3b37a8b7951cdc28bdd4f848aedf /www-servers/nginx
parentFixed CDEFINEs. (diff)
downloadgentoo-2-f6b4729e558f778cacb74d83dbe527f9d2a22f44.tar.gz
gentoo-2-f6b4729e558f778cacb74d83dbe527f9d2a22f44.tar.bz2
gentoo-2-f6b4729e558f778cacb74d83dbe527f9d2a22f44.zip
minor install fix
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-servers/nginx')
-rw-r--r--www-servers/nginx/ChangeLog7
-rw-r--r--www-servers/nginx/Manifest4
-rw-r--r--www-servers/nginx/files/digest-nginx-0.1.24-r11
-rw-r--r--www-servers/nginx/nginx-0.1.24-r1.ebuild88
4 files changed, 98 insertions, 2 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog
index dcd75e02e234..8ea18d80ab35 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.4 2005/03/04 14:54:50 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.5 2005/03/04 17:40:51 voxus Exp $
+
+*nginx-0.1.24-r1 (04 Mar 2005)
+
+ 04 Mar 2005; Konstantin Arkhipov <voxus@gentoo.org> +nginx-0.1.24-r1.ebuild:
+ Misc conf files now installs into main conf dir. Added dir keeping for logs.
*nginx-0.1.24 (04 Mar 2005)
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest
index f2346f42bf91..ff91e6b0a9c8 100644
--- a/www-servers/nginx/Manifest
+++ b/www-servers/nginx/Manifest
@@ -1,6 +1,8 @@
MD5 3b9985845df577ce8e9198da5a107040 nginx-0.1.24.ebuild 2390
-MD5 d0aa6dc7857280fa4a8a59ccd95d62d4 ChangeLog 727
+MD5 cfb3ab6a84ca5121928af81fe8ec5b19 ChangeLog 918
+MD5 90baa156326743ba14e5144595ae5b69 nginx-0.1.24-r1.ebuild 2417
MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220
MD5 4b6dd57dc730704d18f0b41e3ef2e3ec files/digest-nginx-0.1.24 64
MD5 8c7b8c93f0c4048d83df9cdc31d86e1b files/nginx 922
+MD5 4b6dd57dc730704d18f0b41e3ef2e3ec files/digest-nginx-0.1.24-r1 64
MD5 b3342c18a1880b574cbe4458560019c6 files/nginx.conf 1445
diff --git a/www-servers/nginx/files/digest-nginx-0.1.24-r1 b/www-servers/nginx/files/digest-nginx-0.1.24-r1
new file mode 100644
index 000000000000..7a8550a38664
--- /dev/null
+++ b/www-servers/nginx/files/digest-nginx-0.1.24-r1
@@ -0,0 +1 @@
+MD5 230358b32da97e42e81165c709e0773b nginx-0.1.24.tar.gz 287825
diff --git a/www-servers/nginx/nginx-0.1.24-r1.ebuild b/www-servers/nginx/nginx-0.1.24-r1.ebuild
new file mode 100644
index 000000000000..5187ea52a3bb
--- /dev/null
+++ b/www-servers/nginx/nginx-0.1.24-r1.ebuild
@@ -0,0 +1,88 @@
+# 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.24-r1.ebuild,v 1.1 2005/03/04 17:40:51 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="ssl zlib threads"
+
+DEPEND="dev-lang/perl
+ ssl? ( dev-libs/openssl )
+ zlib? ( sys-libs/zlib )"
+
+src_compile() {
+ local myconf
+
+ use ssl && myconf="${myconf} --with-http_ssl_module"
+
+ 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 zlib || myconf="${myconf} --without-http_gzip_module"
+
+# use charset-mod || myconf = "${myconf} --without-http_charset_module"
+# use userid-mod || myconf = "${myconf} --without-http_userid_module"
+# use access-mod || myconf = "${myconf} --without-http_access_module"
+# use autoindex-mod || myconf = "${myconf} --without-http_autoindex_module"
+# use geo-mod || myconf = "${myconf} --without-http_geo_module"
+# use rewrite-mod || myconf = "${myconf} --without-http_rewrite_module"
+# use proxy-mod || myconf = "${myconf} --without-http_proxy_module"
+# use fastcgi-mod || myconf = "${myconf} --without-http_fastcgi_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}
+
+ 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
+}