diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-03-04 11:29:58 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-03-04 11:29:58 +0000 |
commit | 3d8700fb12406c968d159ccac39a881801fbbdfe (patch) | |
tree | a432447c3215dbcc228ea22a66627df9cff19cda | |
parent | Fixing Homepage, thanks to Priit Laes (diff) | |
download | historical-3d8700fb12406c968d159ccac39a881801fbbdfe.tar.gz historical-3d8700fb12406c968d159ccac39a881801fbbdfe.tar.bz2 historical-3d8700fb12406c968d159ccac39a881801fbbdfe.zip |
Clean up old versions of www-servers/nginx.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
-rw-r--r-- | www-servers/nginx/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/nginx/Manifest | 12 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.5.38.ebuild | 102 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.6.39.ebuild | 104 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.7.62.ebuild | 109 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.8.31.ebuild | 130 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.8.32.ebuild | 130 |
7 files changed, 7 insertions, 587 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog index 80e274c60244..9a7809b195a1 100644 --- a/www-servers/nginx/ChangeLog +++ b/www-servers/nginx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/nginx # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.245 2010/03/04 10:49:25 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.246 2010/03/04 11:29:58 djc Exp $ + + 04 Mar 2010; Dirkjan Ochtman <djc@gentoo.org> -nginx-0.5.38.ebuild, + -nginx-0.6.39.ebuild, -nginx-0.7.62.ebuild, -nginx-0.8.31.ebuild, + -nginx-0.8.32.ebuild: + Clean up old versions. *nginx-0.8.34 (04 Mar 2010) diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest index fe75ac8306ea..4afb40e11e31 100644 --- a/www-servers/nginx/Manifest +++ b/www-servers/nginx/Manifest @@ -2,24 +2,14 @@ AUX nginx-r1 1645 RMD160 d032feec43e4ba31ac5b6fffec478ebbeb49db60 SHA1 49f0db3ef AUX nginx.conf-r4 1410 RMD160 4b188bb03b12de3b38a82e13b1a2bb93848e8948 SHA1 e836c85e98e3b2c633818c286992d32a68c0b5ff SHA256 74d984512901fc9cfd13cac60df06cd468566aae367c35a3205e6daf7e7c32b6 AUX nginx.init-r2 1657 RMD160 a42538ae12cccfad1108fe2fca387ec666f4fd85 SHA1 7a0706894bed322d8b5814de98bca56d48c458d0 SHA256 9fceee69794de55b6da24ff2d11c72f6bc86339e7088c644b165dc35a9d5afa1 AUX nginx.logrotate 332 RMD160 65314d1b78142f3653e98e0c2cdff9deec69fd77 SHA1 c6b218d9c4588eb8fd51fe32b9692c39d6138c2b SHA256 eec16aa176ade9d6c428ce5979f6bace1dd2ad5ba609ae22279a57f154e08497 -DIST nginx-0.5.38.tar.gz 490220 RMD160 95d39df12e4756d03844c68374ec7dd52659b48b SHA1 5636e2880a0baf7244befdb055e77c59f21f95c4 SHA256 d601e3b08c3f1fe4a64eac1b9fec876cbc57b99696d5a322c1d9d3ddb01713c9 -DIST nginx-0.6.39.tar.gz 529159 RMD160 b94c1fad3185a520ff7ebb40d17ac2bcbeb04ffb SHA1 ba31c5b64d5d394c788bc3255d93a796b5e0e87e SHA256 daf14292863966b75d0c606b7cd2fbb710d1a5a5e8808ab862205643cc83ff1d -DIST nginx-0.7.62.tar.gz 595995 RMD160 d830ae34f5bac3c494744a8033f32fb7b3107c11 SHA1 6eeb30d3daf7abcca351d9eba78b5adedd6331c5 SHA256 60ee0e9f7f43a7387fec7752a47ff0d06166d2a37a6ad4cfe7aff77162378d2d DIST nginx-0.7.64.tar.gz 601601 RMD160 88c982dc88a91db3337c1ab74d7a41d503736366 SHA1 e4f71b9a908c23c3d7bfeb63e97c7f85c3d6eed7 SHA256 5705d08af78add2979f566981c86d59f854b0dd350ac09df87c1f55a6846fbcd DIST nginx-0.7.65.tar.gz 604451 RMD160 c03386b135ec4d72d2997b19ea70b28aeaa7a6da SHA1 f2dcc8e015903ff1277e6fa427f9b7911c4f35ce SHA256 c9f0ccaf5a09b01edf991f3adde8fced9361965838c0982112fa5c92aa2ec33a -DIST nginx-0.8.31.tar.gz 619261 RMD160 2a453d5194316fd5374193c6effd768f3afaec1e SHA1 48c7dc662dc1388e1aa4f5cc9f620a3bd2f27a5b SHA256 a810044bd7768da89d794dea8d6fb8503c5c46b0cfc4221e5151e04c4b91904e -DIST nginx-0.8.32.tar.gz 619865 RMD160 4abacc587bf5fb400933d48bbbd7e92283de8683 SHA1 03c8177ec4943a9f7c33dbd20b1ef5d8dd5a0f9b SHA256 31f70b30ad0838615acb580eef40576f59d96ef72a1e276af2049f6ed4da189a DIST nginx-0.8.33.tar.gz 620448 RMD160 3ab3ea6d07fcac74465dbf40af824fccfd7f5fdd SHA1 bf3e3ab90609a62e8896f49895c3f4b4fa308270 SHA256 4366fa657a31f841944498c55bed3f2d18abeaeee4114873f3087033d629074e DIST nginx-0.8.34.tar.gz 621534 RMD160 9472f7d2b7b456d54fdc8e4c8dcb35e6531d4a67 SHA1 bf9a291ee7c20ea6aca4e785af59c8b662ec1d24 SHA256 f7cf3bcd0dcd3473ebff76aeee12974112d035737a2fc7f38b0a190f3a2949f6 -EBUILD nginx-0.5.38.ebuild 2953 RMD160 82f38767612e0fa42760435b044c0723645b5920 SHA1 4b6033ac8b4c63a5b207c9ce478a9bc820e4e18d SHA256 6fc8868965a6a1bca92fddf777f6bfdc6550ca0902cd47db895ab3dec5fa406a -EBUILD nginx-0.6.39.ebuild 3065 RMD160 8d86dee4b70e98c62f1950d7fbc497335f6bd0c0 SHA1 ca5dc97e05ffe1f6d14cf973b3405a338c762d0c SHA256 c55e5dc81dd6f48513152a34f2c3feea6de495994ab8d8fb43ab9096b8ab563a -EBUILD nginx-0.7.62.ebuild 3266 RMD160 c43344c6945dc7b0fe8b36054fda2e21b7a19b22 SHA1 26e76db9a98cbe052ceb4b9e3a4d63ab071f2df7 SHA256 dfb55c9fc3cddbf8f9166096795c9f190300aebb84a3314f13729ff07c4768e0 EBUILD nginx-0.7.64-r3.ebuild 3772 RMD160 4127fbd10f4da093a2a76498b00e708316a9f468 SHA1 19f5b4a4c27f3fbd7de8b97164a0fe805ad4718a SHA256 5593770c57b6b0eb19db70d142a93008037f96a8088026fd0beccde83d789f49 EBUILD nginx-0.7.64.ebuild 3245 RMD160 9580efc23f6e93cf2dcaef7829430f5bef7fba34 SHA1 9a037fadcc97933c686333fc573a5b6b38c26e9c SHA256 5a84ba4b1c435d77ad22ee60b2905afa91298e67c9e28585be1ad639349c97dd EBUILD nginx-0.7.65.ebuild 3769 RMD160 21659d016eec875f7d2071a9d4379347dc09a403 SHA1 6569d70d1cfecee192bc14eda6d68455c87a6886 SHA256 8231131d09cc5c86ad3f5fe4ca93c327298f9317d8425fa42f707c0c3d8939a6 -EBUILD nginx-0.8.31.ebuild 4152 RMD160 11c0d450ce2e991c18e7c23650c756c8d2a973cb SHA1 8cbedfe0fb850b0117b6885c237303a9971cff31 SHA256 733f23552748bd2b70d7d2ab0860db53c7d10ccf58ab1e41e5bd96bc97bcc402 -EBUILD nginx-0.8.32.ebuild 4152 RMD160 f1270265c4c0eb3209eea0b676e7cb215e270be2 SHA1 8ae55d0ba5984a32622db9d55349255a8b136b29 SHA256 e42bdfa5ed447ceea3698b4cd55efa49da56ec808df4ec7c66733c7e644cb0f2 EBUILD nginx-0.8.33.ebuild 4152 RMD160 d85478366d822eadebc13ed51d177dfae568568a SHA1 489c95051272d42251e515e7e1dd6f9170d41340 SHA256 d18facb0b50a4a847f4269dbe932281b0574ac273189f11adf43748457469805 EBUILD nginx-0.8.34.ebuild 4152 RMD160 ae12f98f0fd32e51eb8575e79b81c39ec20ca5f3 SHA1 5c901efda028acf5197584eca2d501dd50b2dad7 SHA256 c0dbfed1c5a99da10f8770aa88a69dfcdcca5151177e68e24c969dcea78265d9 -MISC ChangeLog 39866 RMD160 385bbc0d4535e97fe8561f0d1184ff1d33f74c64 SHA1 69d1e16ad494592b6e4a8b38b8cb598bae96e198 SHA256 834a110ed0bad793baca880de0c7b7ef0c57b2db19d2e71ef7e7a9cf1af4d7d9 +MISC ChangeLog 40054 RMD160 7a4a736e8e1f55e48edb55b9db09ef9ce84f2e5a SHA1 43fe6f7a4e20e09b4dd8ad4706a86ad69a6d1ff1 SHA256 88fea63996ed1e5c6473090f6ad2d2d79287016d90e9c0d75c30f069afe3dafb MISC metadata.xml 1051 RMD160 8b26725dc2963f93521b4250ee0a0b5f53e65dc7 SHA1 9d27e68ea1b064e244d9468b5ed1177f57a6595d SHA256 a179c21f4f703f739dc3fea2bf1cb647f9be12d68faad93a178579aa5c0b24b9 diff --git a/www-servers/nginx/nginx-0.5.38.ebuild b/www-servers/nginx/nginx-0.5.38.ebuild deleted file mode 100644 index de6378e379d7..000000000000 --- a/www-servers/nginx/nginx-0.5.38.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.38.ebuild,v 1.3 2009/09/18 19:22:29 keytoaster 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.6.39.ebuild b/www-servers/nginx/nginx-0.6.39.ebuild deleted file mode 100644 index be2d4fedd9e6..000000000000 --- a/www-servers/nginx/nginx-0.6.39.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.39.ebuild,v 1.3 2009/09/18 19:22:29 keytoaster 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.62.ebuild b/www-servers/nginx/nginx-0.7.62.ebuild deleted file mode 100644 index 2b62915e0182..000000000000 --- a/www-servers/nginx/nginx-0.7.62.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.7.62.ebuild,v 1.3 2009/09/18 19:22:29 keytoaster Exp $ - -inherit eutils ssl-cert toolchain-funcs - -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 ~x86-fbsd" -IUSE="addition debug fastcgi flv imap pcre perl random-index 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 ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - eend ${?} -} - -src_unpack() { - unpack ${A} - sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make || die -} - -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" - use random-index && myconf="${myconf} --with-http_random_index_module" - - tc-export CC - ./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 LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}" || 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 /etc/${PN} - insinto /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 - install_cert /etc/ssl/${PN}/${PN} - chown ${PN}:${PN} "${ROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem} - fi - } -} diff --git a/www-servers/nginx/nginx-0.8.31.ebuild b/www-servers/nginx/nginx-0.8.31.ebuild deleted file mode 100644 index dc2fbd265756..000000000000 --- a/www-servers/nginx/nginx-0.8.31.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.8.31.ebuild,v 1.1 2010/01/03 20:56:46 djc Exp $ - -inherit eutils ssl-cert toolchain-funcs perl-module - -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 ~x86-fbsd" -IUSE="addition aio debug fastcgi flv imap ipv6 pcre perl pop random-index realip securelink smtp ssl static-gzip status sub webdav zlib" - -DEPEND="dev-lang/perl - dev-libs/openssl - pcre? ( >=dev-libs/libpcre-4.2 ) - zlib? ( sys-libs/zlib ) - perl? ( >=dev-lang/perl-5.8 )" - -pkg_setup() { - ebegin "Creating nginx user and group" - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - eend ${?} - if use ipv6; then - ewarn "Note that ipv6 support in nginx is still experimental." - ewarn "Be sure to read comments on gentoo bug #274614" - ewarn "http://bugs.gentoo.org/show_bug.cgi?id=274614" - fi -} - -src_unpack() { - unpack ${A} - sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make || die -} - -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 aio && myconf="${myconf} --with-file-aio" - use ipv6 && myconf="${myconf} --with-ipv6" - 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 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" - use realip && myconf="${myconf} --with-http_realip_module" - use static-gzip && myconf="${myconf} --with-http_gzip_static_module" - use random-index && myconf="${myconf} --with-http_random_index_module" - use securelink && myconf="${myconf} --with-http_secure_link_module" - - if use smtp || use pop || use imap; then - myconf="${myconf} --with-mail" - use ssl && myconf="${myconf} --with-mail_ssl_module" - fi - use imap || myconf="${myconf} --without-mail_imap_module" - use pop || myconf="${myconf} --without-mail_pop3_module" - use smtp || myconf="${myconf} --without-mail_smtp_module" - - tc-export CC - ./configure \ - --prefix=/usr \ - --with-cc-opt="-I${ROOT}/usr/include" \ - --with-ld-opt="-L${ROOT}/usr/lib" \ - --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 \ - ${myconf} || die "configure failed" - - emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}" || die "failed to compile" -} - -src_install() { - keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi} - - dosbin objs/nginx - newinitd "${FILESDIR}"/nginx.init-r2 nginx || die - - cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf - - dodir /etc/${PN} - insinto /etc/${PN} - doins conf/* - - dodoc CHANGES{,.ru} README - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}"/nginx.logrotate nginx || die - - use perl && { - cd "${S}"/objs/src/http/modules/perl/ - einstall DESTDIR="${D}" INSTALLDIRS=vendor || die "failed to install perl stuff" - fixlocalpod - } -} - -pkg_postinst() { - use ssl && { - if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then - install_cert /etc/ssl/${PN}/${PN} - chown ${PN}:${PN} "${ROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem} - fi - } -} diff --git a/www-servers/nginx/nginx-0.8.32.ebuild b/www-servers/nginx/nginx-0.8.32.ebuild deleted file mode 100644 index 5ccb3eea38f6..000000000000 --- a/www-servers/nginx/nginx-0.8.32.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.8.32.ebuild,v 1.1 2010/01/24 15:50:21 djc Exp $ - -inherit eutils ssl-cert toolchain-funcs perl-module - -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 ~x86-fbsd" -IUSE="addition aio debug fastcgi flv imap ipv6 pcre perl pop random-index realip securelink smtp ssl static-gzip status sub webdav zlib" - -DEPEND="dev-lang/perl - dev-libs/openssl - pcre? ( >=dev-libs/libpcre-4.2 ) - zlib? ( sys-libs/zlib ) - perl? ( >=dev-lang/perl-5.8 )" - -pkg_setup() { - ebegin "Creating nginx user and group" - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - eend ${?} - if use ipv6; then - ewarn "Note that ipv6 support in nginx is still experimental." - ewarn "Be sure to read comments on gentoo bug #274614" - ewarn "http://bugs.gentoo.org/show_bug.cgi?id=274614" - fi -} - -src_unpack() { - unpack ${A} - sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make || die -} - -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 aio && myconf="${myconf} --with-file-aio" - use ipv6 && myconf="${myconf} --with-ipv6" - 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 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" - use realip && myconf="${myconf} --with-http_realip_module" - use static-gzip && myconf="${myconf} --with-http_gzip_static_module" - use random-index && myconf="${myconf} --with-http_random_index_module" - use securelink && myconf="${myconf} --with-http_secure_link_module" - - if use smtp || use pop || use imap; then - myconf="${myconf} --with-mail" - use ssl && myconf="${myconf} --with-mail_ssl_module" - fi - use imap || myconf="${myconf} --without-mail_imap_module" - use pop || myconf="${myconf} --without-mail_pop3_module" - use smtp || myconf="${myconf} --without-mail_smtp_module" - - tc-export CC - ./configure \ - --prefix=/usr \ - --with-cc-opt="-I${ROOT}/usr/include" \ - --with-ld-opt="-L${ROOT}/usr/lib" \ - --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 \ - ${myconf} || die "configure failed" - - emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}" || die "failed to compile" -} - -src_install() { - keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi} - - dosbin objs/nginx - newinitd "${FILESDIR}"/nginx.init-r2 nginx || die - - cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf - - dodir /etc/${PN} - insinto /etc/${PN} - doins conf/* - - dodoc CHANGES{,.ru} README - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}"/nginx.logrotate nginx || die - - use perl && { - cd "${S}"/objs/src/http/modules/perl/ - einstall DESTDIR="${D}" INSTALLDIRS=vendor || die "failed to install perl stuff" - fixlocalpod - } -} - -pkg_postinst() { - use ssl && { - if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then - install_cert /etc/ssl/${PN}/${PN} - chown ${PN}:${PN} "${ROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem} - fi - } -} |