diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2008-11-24 10:59:47 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2008-11-24 10:59:47 +0000 |
commit | 9388154ec034fee75c144a8bf377ede94cbd40e1 (patch) | |
tree | 42561dc9a3d42d9f841ff8ff33e8041392eb6612 /www-servers/nginx | |
parent | fix source path (diff) | |
download | historical-9388154ec034fee75c144a8bf377ede94cbd40e1.tar.gz historical-9388154ec034fee75c144a8bf377ede94cbd40e1.tar.bz2 historical-9388154ec034fee75c144a8bf377ede94cbd40e1.zip |
* bump
Package-Manager: portage-2.1.6_rc1/cvs/Linux 2.6.26.7-mactel x86_64
Diffstat (limited to 'www-servers/nginx')
-rw-r--r-- | www-servers/nginx/ChangeLog | 9 | ||||
-rw-r--r-- | www-servers/nginx/Manifest | 6 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.6.33.ebuild | 104 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.7.22.ebuild | 104 |
4 files changed, 221 insertions, 2 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog index b75e4490aedd..ce95dd77e9e3 100644 --- a/www-servers/nginx/ChangeLog +++ b/www-servers/nginx/ChangeLog @@ -1,6 +1,13 @@ # 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.195 2008/11/13 11:39:45 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.196 2008/11/24 10:59:47 voxus Exp $ + +*nginx-0.7.22 (24 Nov 2008) +*nginx-0.6.33 (24 Nov 2008) + + 24 Nov 2008; Konstantin V. Arkhipov <voxus@gentoo.org> + +nginx-0.6.33.ebuild, +nginx-0.7.22.ebuild: + Version bump. *nginx-0.7.21 (13 Nov 2008) diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest index d9e333ab0e08..86225493ae51 100644 --- a/www-servers/nginx/Manifest +++ b/www-servers/nginx/Manifest @@ -11,13 +11,17 @@ DIST nginx-0.3.61.tar.gz 416967 RMD160 bf4d84d3cdfb6d8f767e75aa9ef69a2bca6c08a0 DIST nginx-0.4.14.tar.gz 440675 RMD160 b46047cb5b39f7d8ac777f97f5e299231592f280 SHA1 b3a98211595dd6b0ee2b0fe7e5103e0cdf34bf08 SHA256 de916da2e01835cafe6fc90457ca14bcd065814b0f920d783aeb57efbbe4539e DIST nginx-0.5.37.tar.gz 490028 RMD160 7314477c63d8fecb0b81a97230afe0e47dde7978 SHA1 44d50e773254a196f8b0c895acba502d52b87550 SHA256 cc6d5b695fdaff1bbaed7019b7af82c0884df7d181f26cf8eeb01c915289e317 DIST nginx-0.6.32.tar.gz 522183 RMD160 06749c5bf834a3f7e82ad3122a5db457c193d117 SHA1 346166171477c3e78759bdbbc8461107d8475269 SHA256 d74bbb9235e7beabf7be03a7dec99f0cab89fa4430a998a6a7151901ea141e9d +DIST nginx-0.6.33.tar.gz 523162 RMD160 b9bdcdf3c1693793e1be273b39098791ad8b83b3 SHA1 eb4ca11d4c2aa18e89e9779a2ba5afaa677c01d1 SHA256 f21b5923b51b799fc91292e513ec965239189f5ad2936bd88a18b0a807c49613 DIST nginx-0.7.21.tar.gz 555246 RMD160 3e32ba3f475aebadb9dfe0a2e13d89afb4d4fe0b SHA1 f262a8db7eaffb1847663e0179b6f0b7db58cad6 SHA256 e6157b1a485970cde48c955881a22bf12509aafa1beca456a5f2bc3a432182d1 +DIST nginx-0.7.22.tar.gz 556997 RMD160 cecc57e7052f082ee36fc97639470320d1806a41 SHA1 b7cedd9a9e424744862b47e934d494d3a9f821a1 SHA256 652670821fbbeb99d6b2ad86236868e18418aecd0e6139642958918ba8566519 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.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.6.33.ebuild 3062 RMD160 ac0ef5717a03dfb07ca52442a5964b2726717738 SHA1 2f0a405c0b5fba9e36d92278316a1cfd74a844fa SHA256 5a929b18a4e5e2fd4fb96f50632d378cdff260c7f15fbc59853a9cdfd8265d08 EBUILD nginx-0.7.21.ebuild 3054 RMD160 1ac14f58d9714bc61d8cf17a90c9fd77e443c240 SHA1 6bc78d9c075131c88b71b7b8d10101ecf246f90a SHA256 f293dd2785ec6035ae3fb722f680f94bdc693a21548e99b43032068bc082f4dd -MISC ChangeLog 31357 RMD160 0479e8eac8876cdaba7da03b9ccd2e9099156dae SHA1 1b9f2496327a4f88caec67c6207fad4b2f708d20 SHA256 4a793c06878276ddc17affe613528d6278828764f9b041343868a66ab302fd99 +EBUILD nginx-0.7.22.ebuild 3054 RMD160 f14aa018085abe70b81bb9d1e50649bc358f4bba SHA1 d33102efeb012d3c1f8688791283cc0f76458536 SHA256 6b31874f6458f1ae54b7a8248878284d4e235d2e6132508c43d570ae20263831 +MISC ChangeLog 31534 RMD160 c8201940d79f962528047ee839e6303b9e37ca4f SHA1 1c4673739f4079a164cb73ed4e42ee9c2730469e SHA256 0adbfae5e47333c9c7c6153714976d02531cdf2c0d5e6e959bb59cacb177676d MISC metadata.xml 528 RMD160 e0a7b13ee960528819aaa6149db488ac04a2b53e SHA1 250887b2c23f0c1bfa1a3d580a192f9ef793cce7 SHA256 9056a2cca50877c545598e217412d9d2775b2bad3b746e0b300173d7ea09bfa1 diff --git a/www-servers/nginx/nginx-0.6.33.ebuild b/www-servers/nginx/nginx-0.6.33.ebuild new file mode 100644 index 000000000000..9ee0678f682b --- /dev/null +++ b/www-servers/nginx/nginx-0.6.33.ebuild @@ -0,0 +1,104 @@ +# 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.33.ebuild,v 1.1 2008/11/24 10:59:47 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.7.22.ebuild b/www-servers/nginx/nginx-0.7.22.ebuild new file mode 100644 index 000000000000..2ffca12b5f5b --- /dev/null +++ b/www-servers/nginx/nginx-0.7.22.ebuild @@ -0,0 +1,104 @@ +# 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.22.ebuild,v 1.1 2008/11/24 10:59:47 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 + } +} |