summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2008-10-25 17:36:52 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2008-10-25 17:36:52 +0000
commitfa7d86dab21b1924317dd1ff6419498d41f73201 (patch)
treeaab8707722bcc3a3f2aae03ac5f05d221ea679bd
parentStable on ppc wrt bug 243488 (diff)
downloadhistorical-fa7d86dab21b1924317dd1ff6419498d41f73201.tar.gz
historical-fa7d86dab21b1924317dd1ff6419498d41f73201.tar.bz2
historical-fa7d86dab21b1924317dd1ff6419498d41f73201.zip
* bump
* latest from 0.5/0.6 goes stable Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-rc5-mm1 x86_64
-rw-r--r--www-servers/nginx/ChangeLog10
-rw-r--r--www-servers/nginx/Manifest22
-rw-r--r--www-servers/nginx/nginx-0.5.35.ebuild102
-rw-r--r--www-servers/nginx/nginx-0.5.37.ebuild4
-rw-r--r--www-servers/nginx/nginx-0.6.29.ebuild104
-rw-r--r--www-servers/nginx/nginx-0.6.32.ebuild4
-rw-r--r--www-servers/nginx/nginx-0.7.17.ebuild104
-rw-r--r--www-servers/nginx/nginx-0.7.19.ebuild (renamed from www-servers/nginx/nginx-0.7.16.ebuild)2
8 files changed, 22 insertions, 330 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog
index 4d62692d8c2f..01cb6e112792 100644
--- a/www-servers/nginx/ChangeLog
+++ b/www-servers/nginx/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-servers/nginx
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.192 2008/09/16 13:28:45 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.193 2008/10/25 17:36:52 voxus Exp $
+
+*nginx-0.7.19 (25 Oct 2008)
+
+ 25 Oct 2008; Konstantin V. Arkhipov <voxus@gentoo.org>
+ -nginx-0.5.35.ebuild, nginx-0.5.37.ebuild, -nginx-0.6.29.ebuild,
+ nginx-0.6.32.ebuild, -nginx-0.7.16.ebuild, -nginx-0.7.17.ebuild,
+ +nginx-0.7.19.ebuild:
+ Version bump, stabilization.
*nginx-0.7.17 (16 Sep 2008)
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest
index b5809bdc2b2a..224bb6bc8b58 100644
--- a/www-servers/nginx/Manifest
+++ b/www-servers/nginx/Manifest
@@ -12,28 +12,22 @@ DIST nginx-0.1.45.tar.gz 322706 RMD160 625ba47cdcc8d15bdcfb195c3a96d40e13e48bb6
DIST nginx-0.2.6.tar.gz 329236 RMD160 96387007cf325dd7fd78b020f4416431dccd50fa SHA1 0c12b23d201e621877a157960023e2c4db9aea9a SHA256 606e186ec7d6687a0c764ecea834bfeaa223066ed9774fd2f3819f942ec752a1
DIST nginx-0.3.61.tar.gz 416967 RMD160 bf4d84d3cdfb6d8f767e75aa9ef69a2bca6c08a0 SHA1 a6202a19e82f8d1c82eec7c7ee754c61e450716b SHA256 19dbfb86c42e38c8ced641b6b8f808951a60003ff711c5f7cc68448a159df6b4
DIST nginx-0.4.14.tar.gz 440675 RMD160 b46047cb5b39f7d8ac777f97f5e299231592f280 SHA1 b3a98211595dd6b0ee2b0fe7e5103e0cdf34bf08 SHA256 de916da2e01835cafe6fc90457ca14bcd065814b0f920d783aeb57efbbe4539e
-DIST nginx-0.5.35.tar.gz 488926 RMD160 b6f78c584ed430212428276c69e9748a962bc013 SHA1 9e97e6723ee605db14d9cde54053496729f73c18 SHA256 efc6723a2005cc4d6395d7e915c0da91be9e2b133be761de037842b8e8655e68
DIST nginx-0.5.37.tar.gz 490028 RMD160 7314477c63d8fecb0b81a97230afe0e47dde7978 SHA1 44d50e773254a196f8b0c895acba502d52b87550 SHA256 cc6d5b695fdaff1bbaed7019b7af82c0884df7d181f26cf8eeb01c915289e317
-DIST nginx-0.6.29.tar.gz 518955 RMD160 20f77a42fa365d8142a5bf9e74f35824df32754f SHA1 971608c5aac75e3bee2fde9c4358aeeeb2109332 SHA256 3d42bcb56a5e39c5e2833388e24bb1c256d6848c61f6a62a84ba916f05e6f1f6
DIST nginx-0.6.32.tar.gz 522183 RMD160 06749c5bf834a3f7e82ad3122a5db457c193d117 SHA1 346166171477c3e78759bdbbc8461107d8475269 SHA256 d74bbb9235e7beabf7be03a7dec99f0cab89fa4430a998a6a7151901ea141e9d
-DIST nginx-0.7.16.tar.gz 547586 RMD160 a996dc7868206843bc1d8ca5a2ddfc8e5e7c75c2 SHA1 e993d12c7a89649813fed3e232a8e6fba8e932f6 SHA256 ea2562931c5170f5d82e4e5c4759bab60c060b5992c47ec76609d634e49f9326
-DIST nginx-0.7.17.tar.gz 548121 RMD160 fd3e6b8d0032fd7d7008cf8cc91f165c8c1421f1 SHA1 df43ade7121aaff01363ac1c476282cbc1d426db SHA256 a28619009c2d30045aa4d8d772707c27b0f9944cf404b6eb3e39d9cdd1abd6ab
+DIST nginx-0.7.19.tar.gz 550633 RMD160 e939f425331b6fc705a1c88aefd5d891226fd04d SHA1 27643a58c4293ab494da697f05c17bc76c49678d SHA256 26cfe0d3f1fa9d30a2cb8c579ff6ec45f3b77e8b9b279a6d89d56289e984c5e4
EBUILD nginx-0.1.45.ebuild 1935 RMD160 ad7fba7daf610154845d2e6b96e27472d6d4b61f SHA1 bf8840d9be7e7f824d86bfca8846e227a40810ba SHA256 f81dfd0f45c9ba301b5f9ebffab11508d3dcdb468ab1b023270a74ee1a1c0217
EBUILD nginx-0.2.6.ebuild 1934 RMD160 72631cd248e54aec3dfb527bf024675703e1d1d5 SHA1 ceb626e76f4af89bc6ffbe840f0ba21366274449 SHA256 ec4a8c3fa5f8917e96042d464ee1ed55420a78e69b0ee98f69e796712aadbc78
EBUILD nginx-0.3.61.ebuild 2293 RMD160 c69d8e9a62080102ba1de7c1118f19a7c7534085 SHA1 d8ae1bb493c0a5b985b2f182ccdec034483f6008 SHA256 3628f10c208261db081487f8e05442bba48feaaa0df2c15766bcd32148ff568c
EBUILD nginx-0.4.14.ebuild 2293 RMD160 5acc8d582dbf5a6da3b8e92f25b127d99e163703 SHA1 7e5274dd028e88390a68da5548b92389465ce2ba SHA256 9243dc8e002ad9a28887fcc98df088ba3bbb50f5e8d46c02005c335d5a0f7426
-EBUILD nginx-0.5.35.ebuild 2948 RMD160 b7bd7105906c88904b1f9ceb0e882bcf834ac013 SHA1 2c9707dd1f4d32a5c060ed0ce8f60453c2bb0a52 SHA256 c3dece084333c49f5d2fb5d8b114515ffb4e9beec004e8658d939df626ced849
-EBUILD nginx-0.5.37.ebuild 2950 RMD160 8b4e77afb18c05f4e09341518bfc75f9a9a7bcee SHA1 258282f62c7ac54b6aa0493fc5dd9baac5e517e1 SHA256 23b6f2b0ad0a095d74000317ceb8d5028844ed938722a9aa8442c7c136095999
-EBUILD nginx-0.6.29.ebuild 3060 RMD160 8907b13af6391a2a59ee5615ca1a149c32dd3798 SHA1 2eb89d631931d7f50a642ae4c2608e2a67fc2b9a SHA256 a4d2b1f4a4f6c4f437c11b00d5b8076c2f2e7207317cfaaaaf0b7fe1c5a6a27c
-EBUILD nginx-0.6.32.ebuild 3062 RMD160 c1199e422faa5b7a5e2d960081a3661c8c6ae07e SHA1 ae2e53d3e835bedefd36ada4c71ddf0bb0828859 SHA256 8437360fa35c373e0c9b833841f0483010f40e82eaa883e417e62b7779752b7a
-EBUILD nginx-0.7.16.ebuild 3054 RMD160 9fa0e8b6f85f8efd53eecf0da8ee0dfb69f4156b SHA1 d1a78275904e4c460189f98404dae11e0fa855e9 SHA256 f45d938877e23635aca16a1fdac4297964b95eceb2284701e7aa8e845cfd6c16
-EBUILD nginx-0.7.17.ebuild 3054 RMD160 0d28ec79eddb235e5ddd0176e3581611243198f1 SHA1 830faf1308717b02671e2cd6660132c01849bbf4 SHA256 00c3771726b5bf5e68a23d69d0796bb51d76bcb56154eb62d9adb49220002f22
-MISC ChangeLog 30783 RMD160 e31fd4410118d1acfe88e43eb97a10a7e8b5f2ed SHA1 727bb98a68725a90082fea548df43e9e34bd0856 SHA256 b68fc0640be0ae22441ee15073b21ef349d2a6c30816a9d582bb8c715d6db703
+EBUILD nginx-0.5.37.ebuild 2948 RMD160 78f82e5df19b6f087b004d4d67f8c45e6c2c7d1c SHA1 d2e73605cb7fe74858ee5a82e7bc3f43a28a7ccb SHA256 fb1f1a0d10d1f2ae43f57ec1182c54c2b9c356c145666b19a28cbd1c28ee3a4e
+EBUILD nginx-0.6.32.ebuild 3060 RMD160 919c8265b2abdb9b4ff63dfc939df30c56a698e3 SHA1 13282784a82670423f56d8d3463a3771c291d9fd SHA256 6bbcb10f4ec9657e94b4178065c073e829385f2b2c9d7e53a19fa0ba258255f1
+EBUILD nginx-0.7.19.ebuild 3054 RMD160 fc08629100fd92379033503131fd78ed0d55c83f SHA1 4e037d0b2c98b8154f8d49c587c537ee2f0b8e01 SHA256 2d832dff2c34f704d724bfca78faaaa4434ff2a67d187ba1f358ae6d4aecaf3c
+MISC ChangeLog 31059 RMD160 e25176b707dcf1afaf5cfe2c1474dc0887a77d12 SHA1 907fedbde2fc89a8a14cb5d3ebaa3d0b06008776 SHA256 c4eddac6999bf864824fb5f95bb90beec9b35d366ff03a1bd87f60195b533fcf
MISC metadata.xml 528 RMD160 e0a7b13ee960528819aaa6149db488ac04a2b53e SHA1 250887b2c23f0c1bfa1a3d580a192f9ef793cce7 SHA256 9056a2cca50877c545598e217412d9d2775b2bad3b746e0b300173d7ea09bfa1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjPtJgACgkQbwxeDFj+Scpz/wCfaFZQsZEseEaZeYFGS1DG17Ws
-SkMAnjn/D8kkxaJQXnk/KSOBtKyKF6qj
-=NrXq
+iEYEARECAAYFAkkDWUMACgkQbwxeDFj+Scr1VgCgnpIREGMHr7qG0eC6wQ7PDWwJ
+9x0AmgKavOyMUUA1fsiStaMlKI62Zy+k
+=X7Fa
-----END PGP SIGNATURE-----
diff --git a/www-servers/nginx/nginx-0.5.35.ebuild b/www-servers/nginx/nginx-0.5.35.ebuild
deleted file mode 100644
index add6ee4de6e6..000000000000
--- a/www-servers/nginx/nginx-0.5.35.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.35.ebuild,v 1.2 2008/04/11 14:06:07 voxus Exp $
-
-inherit eutils ssl-cert
-
-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 ~ppc x86"
-IUSE="debug fastcgi flv imap pcre perl 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 )"
-
-pkg_setup() {
- ebegin "Creating nginx user and group"
- enewgroup nginx
- enewuser nginx -1 -1 /dev/null nginx
- eend ${?}
-}
-
-src_compile() {
- local myconf
-
- # threads support is broken atm.
- #
- # 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 fastcgi && myconf="${myconf} --with-http_realip_module"
- use flv && myconf="${myconf} --with-http_flv_module"
- use zlib || myconf="${myconf} --without-http_gzip_module"
- use pcre || {
- myconf="${myconf} --without-pcre --without-http_rewrite_module"
- }
- use debug && myconf="${myconf} --with-debug"
- 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 status && myconf="${myconf} --with-http_stub_status_module"
- use webdav && myconf="${myconf} --with-http_dav_module"
- use sub && myconf="${myconf} --with-http_sub_module"
-
- ./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 --with-md5=/usr/include \
- ${myconf} || die "configure failed"
-
- emake || die "failed to compile"
-}
-
-src_install() {
- keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi}
-
- dosbin objs/nginx
- cp "${FILESDIR}"/nginx-r1 "${T}"/nginx
- doinitd "${T}"/nginx
-
- cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf
-
- dodir "${ROOT}"/etc/${PN}
- insinto "${ROOT}"/etc/${PN}
- doins conf/*
-
- dodoc CHANGES{,.ru} LICENSE README
-
- use perl && {
- cd "${S}"/objs/src/http/modules/perl/
- einstall DESTDIR="${D}"|| die "failed to install perl stuff"
- }
-}
-
-pkg_postinst() {
- use ssl && {
- if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
- dodir "${ROOT}"/etc/ssl/${PN}
- insinto "${ROOT}"etc/ssl/${PN}/
- insopts -m0644 -o nginx -g nginx
- install_cert /etc/ssl/nginx/nginx
- fi
- }
-}
diff --git a/www-servers/nginx/nginx-0.5.37.ebuild b/www-servers/nginx/nginx-0.5.37.ebuild
index 1dfa5e8c67fc..b8e946f0fc9b 100644
--- a/www-servers/nginx/nginx-0.5.37.ebuild
+++ b/www-servers/nginx/nginx-0.5.37.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.37.ebuild,v 1.1 2008/07/29 11:50:10 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.37.ebuild,v 1.2 2008/10/25 17:36:52 voxus Exp $
inherit eutils ssl-cert
@@ -10,7 +10,7 @@ HOMEPAGE="http://sysoev.ru/nginx/"
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE="debug fastcgi flv imap pcre perl ssl status sub webdav zlib"
DEPEND="dev-lang/perl
diff --git a/www-servers/nginx/nginx-0.6.29.ebuild b/www-servers/nginx/nginx-0.6.29.ebuild
deleted file mode 100644
index dac251868313..000000000000
--- a/www-servers/nginx/nginx-0.6.29.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.29.ebuild,v 1.2 2008/04/11 14:06:07 voxus Exp $
-
-inherit eutils ssl-cert
-
-DESCRIPTION="Robust, small and high performance http and reverse proxy server"
-
-HOMEPAGE="http://nginx.net/"
-SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="addition debug fastcgi flv imap pcre perl 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 )"
-
-pkg_setup() {
- ebegin "Creating nginx user and group"
- enewgroup nginx
- enewuser nginx -1 -1 /dev/null nginx
- eend ${?}
-}
-
-src_compile() {
- local myconf
-
- # threads support is broken atm.
- #
- # 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 addition && myconf="${myconf} --with-http_addition_module"
- use fastcgi || myconf="${myconf} --without-http_fastcgi_module"
- use fastcgi && myconf="${myconf} --with-http_realip_module"
- use flv && myconf="${myconf} --with-http_flv_module"
- use zlib || myconf="${myconf} --without-http_gzip_module"
- use pcre || {
- myconf="${myconf} --without-pcre --without-http_rewrite_module"
- }
- use debug && myconf="${myconf} --with-debug"
- 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 status && myconf="${myconf} --with-http_stub_status_module"
- use webdav && myconf="${myconf} --with-http_dav_module"
- use sub && myconf="${myconf} --with-http_sub_module"
-
- ./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 --with-md5=/usr/include \
- --with-sha1-asm --with-sha1=/usr/include \
- ${myconf} || die "configure failed"
-
- emake || die "failed to compile"
-}
-
-src_install() {
- keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi}
-
- dosbin objs/nginx
- cp "${FILESDIR}"/nginx-r1 "${T}"/nginx
- doinitd "${T}"/nginx
-
- cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf
-
- dodir "${ROOT}"/etc/${PN}
- insinto "${ROOT}"/etc/${PN}
- doins conf/*
-
- dodoc CHANGES{,.ru} LICENSE README
-
- use perl && {
- cd "${S}"/objs/src/http/modules/perl/
- einstall DESTDIR="${D}"|| die "failed to install perl stuff"
- }
-}
-
-pkg_postinst() {
- use ssl && {
- if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
- dodir "${ROOT}"/etc/ssl/${PN}
- insinto "${ROOT}"etc/ssl/${PN}/
- insopts -m0644 -o nginx -g nginx
- install_cert /etc/ssl/nginx/nginx
- fi
- }
-}
diff --git a/www-servers/nginx/nginx-0.6.32.ebuild b/www-servers/nginx/nginx-0.6.32.ebuild
index a648f0948121..4bfdfa599dd0 100644
--- a/www-servers/nginx/nginx-0.6.32.ebuild
+++ b/www-servers/nginx/nginx-0.6.32.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.32.ebuild,v 1.1 2008/07/14 17:49:03 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.32.ebuild,v 1.2 2008/10/25 17:36:52 voxus Exp $
inherit eutils ssl-cert
@@ -10,7 +10,7 @@ HOMEPAGE="http://nginx.net/"
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE="addition debug fastcgi flv imap pcre perl ssl status sub webdav zlib"
DEPEND="dev-lang/perl
diff --git a/www-servers/nginx/nginx-0.7.17.ebuild b/www-servers/nginx/nginx-0.7.17.ebuild
deleted file mode 100644
index 8e200273258c..000000000000
--- a/www-servers/nginx/nginx-0.7.17.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.7.17.ebuild,v 1.1 2008/09/16 13:28:45 voxus Exp $
-
-inherit eutils ssl-cert
-
-DESCRIPTION="Robust, small and high performance http and reverse proxy server"
-
-HOMEPAGE="http://nginx.net/"
-SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="addition debug fastcgi flv imap pcre perl 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 )"
-
-pkg_setup() {
- ebegin "Creating nginx user and group"
- enewgroup nginx
- enewuser nginx -1 -1 /dev/null nginx
- eend ${?}
-}
-
-src_compile() {
- local myconf
-
- # threads support is broken atm.
- #
- # 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 addition && myconf="${myconf} --with-http_addition_module"
- use fastcgi || myconf="${myconf} --without-http_fastcgi_module"
- use fastcgi && myconf="${myconf} --with-http_realip_module"
- use flv && myconf="${myconf} --with-http_flv_module"
- use zlib || myconf="${myconf} --without-http_gzip_module"
- use pcre || {
- myconf="${myconf} --without-pcre --without-http_rewrite_module"
- }
- use debug && myconf="${myconf} --with-debug"
- 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 status && myconf="${myconf} --with-http_stub_status_module"
- use webdav && myconf="${myconf} --with-http_dav_module"
- use sub && myconf="${myconf} --with-http_sub_module"
-
- ./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 --with-md5=/usr/include \
- --with-sha1-asm --with-sha1=/usr/include \
- ${myconf} || die "configure failed"
-
- emake || die "failed to compile"
-}
-
-src_install() {
- keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi}
-
- dosbin objs/nginx
- cp "${FILESDIR}"/nginx-r1 "${T}"/nginx
- doinitd "${T}"/nginx
-
- cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf
-
- dodir "${ROOT}"/etc/${PN}
- insinto "${ROOT}"/etc/${PN}
- doins conf/*
-
- dodoc CHANGES{,.ru} README
-
- use perl && {
- cd "${S}"/objs/src/http/modules/perl/
- einstall DESTDIR="${D}"|| die "failed to install perl stuff"
- }
-}
-
-pkg_postinst() {
- use ssl && {
- if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
- dodir "${ROOT}"/etc/ssl/${PN}
- insinto "${ROOT}"etc/ssl/${PN}/
- insopts -m0644 -o nginx -g nginx
- install_cert /etc/ssl/nginx/nginx
- fi
- }
-}
diff --git a/www-servers/nginx/nginx-0.7.16.ebuild b/www-servers/nginx/nginx-0.7.19.ebuild
index 94ac6b89ab0b..54847f682da7 100644
--- a/www-servers/nginx/nginx-0.7.16.ebuild
+++ b/www-servers/nginx/nginx-0.7.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.7.16.ebuild,v 1.1 2008/09/08 10:54:08 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.7.19.ebuild,v 1.1 2008/10/25 17:36:52 voxus Exp $
inherit eutils ssl-cert