diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2008-05-02 11:46:12 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2008-05-02 11:46:12 +0000 |
commit | 95cf3c86eac111a6c3e487d8582569ce52f9a8de (patch) | |
tree | 026122edbc3b4f32c6fe453290f58c0a9d42fe34 /www-servers | |
parent | fix building with gcc-4.3 by Peter Alfredsen in bug #219779; remove old (diff) | |
download | historical-95cf3c86eac111a6c3e487d8582569ce52f9a8de.tar.gz historical-95cf3c86eac111a6c3e487d8582569ce52f9a8de.tar.bz2 historical-95cf3c86eac111a6c3e487d8582569ce52f9a8de.zip |
* bump
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/nginx/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/nginx/Manifest | 4 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.6.30.ebuild | 104 |
3 files changed, 114 insertions, 2 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog index 2a545bd26569..07185213ba34 100644 --- a/www-servers/nginx/ChangeLog +++ b/www-servers/nginx/ChangeLog @@ -1,6 +1,12 @@ # 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.176 2008/04/11 14:06:07 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.177 2008/05/02 11:46:12 voxus Exp $ + +*nginx-0.6.30 (02 May 2008) + + 02 May 2008; Konstantin V. Arkhipov <voxus@gentoo.org> + +nginx-0.6.30.ebuild: + Version bump. 11 Apr 2008; Konstantin V. Arkhipov <voxus@gentoo.org> -nginx-0.5.34.ebuild, nginx-0.5.35.ebuild, -nginx-0.6.24.ebuild, diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest index b2b30f906d4d..0e9a872b46b6 100644 --- a/www-servers/nginx/Manifest +++ b/www-servers/nginx/Manifest @@ -11,11 +11,13 @@ 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.35.tar.gz 488926 RMD160 b6f78c584ed430212428276c69e9748a962bc013 SHA1 9e97e6723ee605db14d9cde54053496729f73c18 SHA256 efc6723a2005cc4d6395d7e915c0da91be9e2b133be761de037842b8e8655e68 DIST nginx-0.6.29.tar.gz 518955 RMD160 20f77a42fa365d8142a5bf9e74f35824df32754f SHA1 971608c5aac75e3bee2fde9c4358aeeeb2109332 SHA256 3d42bcb56a5e39c5e2833388e24bb1c256d6848c61f6a62a84ba916f05e6f1f6 +DIST nginx-0.6.30.tar.gz 520139 RMD160 3904a37858c2e36ea0d35ae229c55a0c6b6520fa SHA1 adce517856cf8793ea014f995b2345688d6c4bfe SHA256 351c1a1096884299ec248a47f379a346daca730ab9e3bab5d0bd7a5f81a18d53 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.6.29.ebuild 3060 RMD160 8907b13af6391a2a59ee5615ca1a149c32dd3798 SHA1 2eb89d631931d7f50a642ae4c2608e2a67fc2b9a SHA256 a4d2b1f4a4f6c4f437c11b00d5b8076c2f2e7207317cfaaaaf0b7fe1c5a6a27c -MISC ChangeLog 28471 RMD160 71e83705d1154f95b2ebf9317fc8b96f98b04dc8 SHA1 a5336fe658564e00e0341abb46a452610fe57158 SHA256 7e897a0e5199f1368fc11041d406d3203a6c831826fa392ce701f22a7a89b0ff +EBUILD nginx-0.6.30.ebuild 3062 RMD160 9148e4361ff3e69dc2c4303e3529f14f82bbe83d SHA1 2f9b08ffe7a52d601d3dfd285ef5bb2f7ef2a469 SHA256 1332dfd6ba53e9af74f20dc7c1b3155b0b811ce4bb2fd80df01d3cdfe8c44037 +MISC ChangeLog 28598 RMD160 5e41a97a1c3d208eff863fbab7029c5481fcb01d SHA1 244ff7d7ecda0894b0c8e60e0b56f67a80bbca72 SHA256 5e5c29b7a74fb90e3a4eb058d07f0f051f5fdd1d86bd74855225c9f1efb603b1 MISC metadata.xml 220 RMD160 7b73eb49ba7071b35813559b0871b5ddb4bcbb32 SHA1 798994deb26bee08b8be0c1197762b4bae655d67 SHA256 82c6d8c120358d0322f44bde92698ac1664b9478ce19428fc50c7048a38b2d26 diff --git a/www-servers/nginx/nginx-0.6.30.ebuild b/www-servers/nginx/nginx-0.6.30.ebuild new file mode 100644 index 000000000000..1eb27f623f08 --- /dev/null +++ b/www-servers/nginx/nginx-0.6.30.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.30.ebuild,v 1.1 2008/05/02 11:46:12 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 + } +} |