From 1a3f7750f588df742587c882c9ecad0fb8c1ccf9 Mon Sep 17 00:00:00 2001 From: "Konstantin V. Arkhipov" Date: Thu, 8 Nov 2007 13:29:00 +0000 Subject: * bump (Portage version: 2.1.3.19) --- www-servers/nginx/ChangeLog | 8 ++- www-servers/nginx/files/digest-nginx-0.5.32 | 3 - www-servers/nginx/files/digest-nginx-0.5.33 | 3 + www-servers/nginx/nginx-0.5.32.ebuild | 101 ---------------------------- www-servers/nginx/nginx-0.5.33.ebuild | 101 ++++++++++++++++++++++++++++ 5 files changed, 111 insertions(+), 105 deletions(-) delete mode 100644 www-servers/nginx/files/digest-nginx-0.5.32 create mode 100644 www-servers/nginx/files/digest-nginx-0.5.33 delete mode 100644 www-servers/nginx/nginx-0.5.32.ebuild create mode 100644 www-servers/nginx/nginx-0.5.33.ebuild (limited to 'www-servers') diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog index 6031b2ecce8b..c58e21d81343 100644 --- a/www-servers/nginx/ChangeLog +++ b/www-servers/nginx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-servers/nginx # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.164 2007/10/30 09:17:03 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.165 2007/11/08 13:28:59 voxus Exp $ + +*nginx-0.5.33 (08 Nov 2007) + + 08 Nov 2007; Konstantin V. Arkhipov + -nginx-0.5.32.ebuild, +nginx-0.5.33.ebuild: + Version bump. *nginx-0.6.16 (30 Oct 2007) diff --git a/www-servers/nginx/files/digest-nginx-0.5.32 b/www-servers/nginx/files/digest-nginx-0.5.32 deleted file mode 100644 index 41f9cc8498b8..000000000000 --- a/www-servers/nginx/files/digest-nginx-0.5.32 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0088269b8a59a146b0ba9c9ee29853bb nginx-0.5.32.tar.gz 479982 -RMD160 67117b62e26bf0ff2843042867adf4388fa4d1a1 nginx-0.5.32.tar.gz 479982 -SHA256 8cb95cc61bafec7b0fe3e91f06f2e7aee7b12f12a6af8200d60038f8d5e52cac nginx-0.5.32.tar.gz 479982 diff --git a/www-servers/nginx/files/digest-nginx-0.5.33 b/www-servers/nginx/files/digest-nginx-0.5.33 new file mode 100644 index 000000000000..1f0959acad04 --- /dev/null +++ b/www-servers/nginx/files/digest-nginx-0.5.33 @@ -0,0 +1,3 @@ +MD5 a78be74b4fd8e009545ef02488fcac86 nginx-0.5.33.tar.gz 485441 +RMD160 1836b4019f450b562bbffade6ea2046f6b640062 nginx-0.5.33.tar.gz 485441 +SHA256 b7cf8c2ca93ac4ce474a98ed3f9ce49559c3b0aa90454d64aa24af890b51a72c nginx-0.5.33.tar.gz 485441 diff --git a/www-servers/nginx/nginx-0.5.32.ebuild b/www-servers/nginx/nginx-0.5.32.ebuild deleted file mode 100644 index 06214a36716f..000000000000 --- a/www-servers/nginx/nginx-0.5.32.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.32.ebuild,v 1.1 2007/10/01 10:41:42 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 - insinto "${ROOT}"etc/ssl/${PN} - insopts -m0644 -o nginx -g nginx - docert nginx - fi - } -} diff --git a/www-servers/nginx/nginx-0.5.33.ebuild b/www-servers/nginx/nginx-0.5.33.ebuild new file mode 100644 index 000000000000..8d84efc45273 --- /dev/null +++ b/www-servers/nginx/nginx-0.5.33.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild,v 1.1 2007/11/08 13:28:59 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 + insinto "${ROOT}"etc/ssl/${PN} + insopts -m0644 -o nginx -g nginx + docert nginx + fi + } +} -- cgit v1.2.3-65-gdbad