diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-10-31 18:22:52 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-10-31 18:22:52 +0000 |
commit | 98d0b44ce152a279fbbf46e27c41d9e0bba31f5a (patch) | |
tree | 72de9e82b0c12fc4d6e7bcb086ea169c5702a8c2 /www-servers/nginx | |
parent | * bump, 0.3.61 goes stable. (diff) | |
download | historical-98d0b44ce152a279fbbf46e27c41d9e0bba31f5a.tar.gz historical-98d0b44ce152a279fbbf46e27c41d9e0bba31f5a.tar.bz2 historical-98d0b44ce152a279fbbf46e27c41d9e0bba31f5a.zip |
* bump, 0.3.61 goes stable.
Package-Manager: portage-2.1.2_rc1-r1
Diffstat (limited to 'www-servers/nginx')
-rw-r--r-- | www-servers/nginx/Manifest | 54 | ||||
-rw-r--r-- | www-servers/nginx/files/digest-nginx-0.3.54 | 3 | ||||
-rw-r--r-- | www-servers/nginx/files/digest-nginx-0.3.57 | 3 | ||||
-rw-r--r-- | www-servers/nginx/files/digest-nginx-0.4.11 | 3 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.3.54.ebuild | 78 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.3.57.ebuild | 79 | ||||
-rw-r--r-- | www-servers/nginx/nginx-0.4.11.ebuild | 79 |
7 files changed, 19 insertions, 280 deletions
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest index 5d923e9661a6..e0abb52b28f7 100644 --- a/www-servers/nginx/Manifest +++ b/www-servers/nginx/Manifest @@ -23,10 +23,8 @@ RMD160 5ddc034f31a54da00b57503cfc5a7e0be2189cef files/nginx.conf-r2 1044 SHA256 722b5588c975c523caea14bd90866be5d260f7d0fcdf1af90d2110b2db7ee448 files/nginx.conf-r2 1044 DIST nginx-0.1.45.tar.gz 322706 RMD160 625ba47cdcc8d15bdcfb195c3a96d40e13e48bb6 SHA1 d4edab196fcfb6f74a57fd9713b679f6bd662a3b SHA256 4e9977cac9ce7abf37fdccac2e20f0371309cef0fb97f96b1e3253c5da992846 DIST nginx-0.2.6.tar.gz 329236 RMD160 96387007cf325dd7fd78b020f4416431dccd50fa SHA1 0c12b23d201e621877a157960023e2c4db9aea9a SHA256 606e186ec7d6687a0c764ecea834bfeaa223066ed9774fd2f3819f942ec752a1 -DIST nginx-0.3.54.tar.gz 407906 RMD160 cd08c7e47ab8fb56099545c5c8dfac0e3f9e4fb7 SHA1 5592dbe57e622fa11ce47c86d1497957d81bcd5a SHA256 f2983cfc238925bbfcadc507f8795c9c013ec14e6ed90546a777683ab74afec4 -DIST nginx-0.3.57.tar.gz 415474 RMD160 74bf111d140df2ecccbeb9cd0f40862316de4406 SHA1 5c01786d12350447dd2653ada0dc7d175a274122 SHA256 97d8d2628ad9188409d703a23f3a208bf2187f7695211f3dee7b9e279db7a871 DIST nginx-0.3.61.tar.gz 416967 RMD160 bf4d84d3cdfb6d8f767e75aa9ef69a2bca6c08a0 SHA1 a6202a19e82f8d1c82eec7c7ee754c61e450716b SHA256 19dbfb86c42e38c8ced641b6b8f808951a60003ff711c5f7cc68448a159df6b4 -DIST nginx-0.4.11.tar.gz 434669 RMD160 ed2e37be0446a7028d15a9587f019c842dbea934 SHA1 47ff1c2a851cad6847496f79b1cea21c87797f14 SHA256 339456af2c0d99a94934734fdf27855a1ba6af7ecb7d1ed7adefbb05a99622a7 +DIST nginx-0.4.12.tar.gz 435588 RMD160 43f5155e28a6a9f01ed6ccfc13358f0af5b551a6 SHA1 3d37ca809a0d0823b7de51297bebd6058d662456 SHA256 8d6615861a5da15f52f81a8fb51361ee0220c4e9e19f7f6faa4d54f7c32e82fa EBUILD nginx-0.1.45.ebuild 1935 RMD160 ad7fba7daf610154845d2e6b96e27472d6d4b61f SHA1 bf8840d9be7e7f824d86bfca8846e227a40810ba SHA256 f81dfd0f45c9ba301b5f9ebffab11508d3dcdb468ab1b023270a74ee1a1c0217 MD5 62f46895e63da25c83512f589b9e61cb nginx-0.1.45.ebuild 1935 RMD160 ad7fba7daf610154845d2e6b96e27472d6d4b61f nginx-0.1.45.ebuild 1935 @@ -35,26 +33,18 @@ EBUILD nginx-0.2.6.ebuild 1934 RMD160 72631cd248e54aec3dfb527bf024675703e1d1d5 S MD5 6460bce607f17843cd0c22395e6122e0 nginx-0.2.6.ebuild 1934 RMD160 72631cd248e54aec3dfb527bf024675703e1d1d5 nginx-0.2.6.ebuild 1934 SHA256 ec4a8c3fa5f8917e96042d464ee1ed55420a78e69b0ee98f69e796712aadbc78 nginx-0.2.6.ebuild 1934 -EBUILD nginx-0.3.54.ebuild 2232 RMD160 73214c9e8565ff2dd08307ef4631f396149f2b60 SHA1 2f6fc0e8c2db304d4d72a9c652dafb88b96ddb7e SHA256 038d7505a2ae49c5fef65f34215f6c724f71a9a4cbd8dafd3b166181df5c880e -MD5 4027b0ed391c44baaa9bd5c4b2737cba nginx-0.3.54.ebuild 2232 -RMD160 73214c9e8565ff2dd08307ef4631f396149f2b60 nginx-0.3.54.ebuild 2232 -SHA256 038d7505a2ae49c5fef65f34215f6c724f71a9a4cbd8dafd3b166181df5c880e nginx-0.3.54.ebuild 2232 -EBUILD nginx-0.3.57.ebuild 2295 RMD160 3a0063b9bbd808c2f5f74cd1e7eef9fc298c6daa SHA1 976bfc6c6d20f459baff3d8e846e364062897b7b SHA256 04abbc75f8a3e7ef4502330704d81cb23867fa1599825f9fea3ae7374d89d1e6 -MD5 ba0d16e8f49d4021b7b87f917ca78ac2 nginx-0.3.57.ebuild 2295 -RMD160 3a0063b9bbd808c2f5f74cd1e7eef9fc298c6daa nginx-0.3.57.ebuild 2295 -SHA256 04abbc75f8a3e7ef4502330704d81cb23867fa1599825f9fea3ae7374d89d1e6 nginx-0.3.57.ebuild 2295 -EBUILD nginx-0.3.61.ebuild 2295 RMD160 e644468da2e5344e9621833b0deb868945f8ac6f SHA1 3c2984c153e14d73b0655c05cfd86622815bc1ba SHA256 1dd311afba36da0686d5080d8fff7dd2cde69cd461200cd39afabea4c534c702 -MD5 a59245518f20a169b174ac40505c05c9 nginx-0.3.61.ebuild 2295 -RMD160 e644468da2e5344e9621833b0deb868945f8ac6f nginx-0.3.61.ebuild 2295 -SHA256 1dd311afba36da0686d5080d8fff7dd2cde69cd461200cd39afabea4c534c702 nginx-0.3.61.ebuild 2295 -EBUILD nginx-0.4.11.ebuild 2295 RMD160 1c666872f591b2f9124003021c81bdedb3ede8e1 SHA1 991c5be2cba032b30dd7638cac4235c0ce27eaf0 SHA256 7b9f37e9d7603b3539638e30c2b648ea678001f29eb42517cd375ed072b6f694 -MD5 8a18f12997d8511d645b68efb400d538 nginx-0.4.11.ebuild 2295 -RMD160 1c666872f591b2f9124003021c81bdedb3ede8e1 nginx-0.4.11.ebuild 2295 -SHA256 7b9f37e9d7603b3539638e30c2b648ea678001f29eb42517cd375ed072b6f694 nginx-0.4.11.ebuild 2295 -MISC ChangeLog 19095 RMD160 d307ccd5fc9634988c6d8790d033bd983e222c44 SHA1 65e2f11dee4b52cefec7226100686cd717f28978 SHA256 27b81cacdd0133085b08ff7f6f14f08f47d18a3037612c4ed58f87306b803f49 -MD5 67004cb81a9d331587f55efda14c5c44 ChangeLog 19095 -RMD160 d307ccd5fc9634988c6d8790d033bd983e222c44 ChangeLog 19095 -SHA256 27b81cacdd0133085b08ff7f6f14f08f47d18a3037612c4ed58f87306b803f49 ChangeLog 19095 +EBUILD nginx-0.3.61.ebuild 2293 RMD160 c69d8e9a62080102ba1de7c1118f19a7c7534085 SHA1 d8ae1bb493c0a5b985b2f182ccdec034483f6008 SHA256 3628f10c208261db081487f8e05442bba48feaaa0df2c15766bcd32148ff568c +MD5 8f126f8753bb6a83262b84ca853f0c75 nginx-0.3.61.ebuild 2293 +RMD160 c69d8e9a62080102ba1de7c1118f19a7c7534085 nginx-0.3.61.ebuild 2293 +SHA256 3628f10c208261db081487f8e05442bba48feaaa0df2c15766bcd32148ff568c nginx-0.3.61.ebuild 2293 +EBUILD nginx-0.4.12.ebuild 2295 RMD160 5821ce45548173fffb7fe97eb37040f08e6458c0 SHA1 efff97c31c5d34604e3d49becb74ec9c299f356e SHA256 1f60835599c515ab0d23b6d4a640755f9634875ccad2b69c8d44de5e93e27238 +MD5 f81fde4b6fdac86400c1c0131f871482 nginx-0.4.12.ebuild 2295 +RMD160 5821ce45548173fffb7fe97eb37040f08e6458c0 nginx-0.4.12.ebuild 2295 +SHA256 1f60835599c515ab0d23b6d4a640755f9634875ccad2b69c8d44de5e93e27238 nginx-0.4.12.ebuild 2295 +MISC ChangeLog 19344 RMD160 f27b56fcdb7a8cbf370779d1bd49d535ffa67fb0 SHA1 56f0384351078fa4b3ecf049d2fd7b844345b54d SHA256 04cd89463c15e69c3cecc18dbbd75a83c2eec3618de45da29a5696c10389df4b +MD5 e0776c612fad51213434d44a11eb9e4f ChangeLog 19344 +RMD160 f27b56fcdb7a8cbf370779d1bd49d535ffa67fb0 ChangeLog 19344 +SHA256 04cd89463c15e69c3cecc18dbbd75a83c2eec3618de45da29a5696c10389df4b ChangeLog 19344 MISC metadata.xml 220 RMD160 7b73eb49ba7071b35813559b0871b5ddb4bcbb32 SHA1 798994deb26bee08b8be0c1197762b4bae655d67 SHA256 82c6d8c120358d0322f44bde92698ac1664b9478ce19428fc50c7048a38b2d26 MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220 RMD160 7b73eb49ba7071b35813559b0871b5ddb4bcbb32 metadata.xml 220 @@ -65,22 +55,16 @@ SHA256 5c0059b30b14a57f7bd8210e514282787355fe9211a183d63ec015608f4d1124 files/di MD5 8e552566b72e7ba9b9d1e11e21de3cfc files/digest-nginx-0.2.6 235 RMD160 0e74b373f0a0ee919f69faba00ef6ac7307d8ed4 files/digest-nginx-0.2.6 235 SHA256 ca429f2943b07002e2aac6ed20735a0899e748eea600bfa1009665cfc593507e files/digest-nginx-0.2.6 235 -MD5 c7000cf5f5d5f0658a1d746eae1793ac files/digest-nginx-0.3.54 238 -RMD160 690b823ff77567bb7df3cfd04e513cd487f414d0 files/digest-nginx-0.3.54 238 -SHA256 2338353190154568a90e8d51134d174efc29d5173b376838432884366795a56a files/digest-nginx-0.3.54 238 -MD5 2d767f63108562fb840ec9806ce7896d files/digest-nginx-0.3.57 238 -RMD160 c5e8574b32a8b5ab1a989e1d6a7c00da73429a32 files/digest-nginx-0.3.57 238 -SHA256 2b21e321e704c2c842fe50b88f2e77ed78b9c14e84a51b2547f90c2572445228 files/digest-nginx-0.3.57 238 MD5 312c0b821aa8c11314c229b9fe1621ed files/digest-nginx-0.3.61 238 RMD160 fc4ece249e6bab7273f48c8027e612ca532d20f9 files/digest-nginx-0.3.61 238 SHA256 b9986770cfba3e18216bd9d8b27523acb6ecc9db6d0242ff9888d26cb1f6bbaf files/digest-nginx-0.3.61 238 -MD5 4ebff68dc1de06989444c53d2612cce8 files/digest-nginx-0.4.11 238 -RMD160 b35ddb19c6fba7106cbc0f00573222fca599ee85 files/digest-nginx-0.4.11 238 -SHA256 06c48120cb3e6923d671bf1306c9e4ffd9b92a24a60c4578d8f25237c9ba2cf8 files/digest-nginx-0.4.11 238 +MD5 0715af5ae6240ac721b10b222dded8b7 files/digest-nginx-0.4.12 238 +RMD160 00f7feb3d5bdb6057aa3f74d67a0a825dacc649f files/digest-nginx-0.4.12 238 +SHA256 8418f4e3ea32dcc21ce69d24fd82917f4e78c7c49a1cce7852eb205607e99d03 files/digest-nginx-0.4.12 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFP541bwxeDFj+ScoRAk5BAJwMrdhPDKJvRm4Pc4yJbbNSmdJ2FACeLJrm -noQwlzzXwlX/hP0/bffKuyg= -=Svfq +iD8DBQFFR5R7bwxeDFj+ScoRAtUvAJ9GobPWYYJBAzVxGc1e7G1LnCjG6QCeMJht +LeOQq4RuJp73UOieyhl92ns= +=Yi3e -----END PGP SIGNATURE----- diff --git a/www-servers/nginx/files/digest-nginx-0.3.54 b/www-servers/nginx/files/digest-nginx-0.3.54 deleted file mode 100644 index 6024e480c273..000000000000 --- a/www-servers/nginx/files/digest-nginx-0.3.54 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 231eb4697627830d10d71943703db59a nginx-0.3.54.tar.gz 407906 -RMD160 cd08c7e47ab8fb56099545c5c8dfac0e3f9e4fb7 nginx-0.3.54.tar.gz 407906 -SHA256 f2983cfc238925bbfcadc507f8795c9c013ec14e6ed90546a777683ab74afec4 nginx-0.3.54.tar.gz 407906 diff --git a/www-servers/nginx/files/digest-nginx-0.3.57 b/www-servers/nginx/files/digest-nginx-0.3.57 deleted file mode 100644 index bea3b0a6f3d5..000000000000 --- a/www-servers/nginx/files/digest-nginx-0.3.57 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0e891c6d0102936b604a3e0e4dbbf547 nginx-0.3.57.tar.gz 415474 -RMD160 74bf111d140df2ecccbeb9cd0f40862316de4406 nginx-0.3.57.tar.gz 415474 -SHA256 97d8d2628ad9188409d703a23f3a208bf2187f7695211f3dee7b9e279db7a871 nginx-0.3.57.tar.gz 415474 diff --git a/www-servers/nginx/files/digest-nginx-0.4.11 b/www-servers/nginx/files/digest-nginx-0.4.11 deleted file mode 100644 index 9bbd7f8248b0..000000000000 --- a/www-servers/nginx/files/digest-nginx-0.4.11 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 77ffa50e7849ad9b4a07d0fb41fd3d96 nginx-0.4.11.tar.gz 434669 -RMD160 ed2e37be0446a7028d15a9587f019c842dbea934 nginx-0.4.11.tar.gz 434669 -SHA256 339456af2c0d99a94934734fdf27855a1ba6af7ecb7d1ed7adefbb05a99622a7 nginx-0.4.11.tar.gz 434669 diff --git a/www-servers/nginx/nginx-0.3.54.ebuild b/www-servers/nginx/nginx-0.3.54.ebuild deleted file mode 100644 index 3c932e02a49f..000000000000 --- a/www-servers/nginx/nginx-0.3.54.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.3.54.ebuild,v 1.2 2006/08/16 14:54:37 voxus Exp $ - -inherit eutils - -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 imap pcre perl threads ssl 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 )" - -src_compile() { - local myconf - - 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 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" - - ./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 - - rm conf/nginx.conf - cp ${FILESDIR}/nginx.conf-r2 ${T}/nginx.conf - - dodir /etc/${PN} - insinto /etc/${PN} - doins conf/* ${T}/nginx.conf - - dodoc CHANGES{,.ru} LICENSE README - - use perl && { - cd ${S}/objs/src/http/modules/perl/ - make DESTDIR=${D} install || die "failed to install perl stuff" - } -} diff --git a/www-servers/nginx/nginx-0.3.57.ebuild b/www-servers/nginx/nginx-0.3.57.ebuild deleted file mode 100644 index 5c15c7d15582..000000000000 --- a/www-servers/nginx/nginx-0.3.57.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.3.57.ebuild,v 1.1 2006/08/09 21:56:41 voxus Exp $ - -inherit eutils - -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 imap pcre perl threads ssl 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 )" - -src_compile() { - local myconf - - 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 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" - - ./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 - - rm conf/nginx.conf - cp ${FILESDIR}/nginx.conf-r2 ${T}/nginx.conf - - dodir /etc/${PN} - insinto /etc/${PN} - doins conf/* ${T}/nginx.conf - - dodoc CHANGES{,.ru} LICENSE README - - use perl && { - cd ${S}/objs/src/http/modules/perl/ - make DESTDIR=${D} install || die "failed to install perl stuff" - } -} diff --git a/www-servers/nginx/nginx-0.4.11.ebuild b/www-servers/nginx/nginx-0.4.11.ebuild deleted file mode 100644 index 99b2e139e719..000000000000 --- a/www-servers/nginx/nginx-0.4.11.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.4.11.ebuild,v 1.1 2006/10/25 17:25:55 voxus Exp $ - -inherit eutils - -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 imap pcre perl threads ssl 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 )" - -src_compile() { - local myconf - - 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 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" - - ./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 - - rm conf/nginx.conf - cp ${FILESDIR}/nginx.conf-r2 ${T}/nginx.conf - - dodir /etc/${PN} - insinto /etc/${PN} - doins conf/* ${T}/nginx.conf - - dodoc CHANGES{,.ru} LICENSE README - - use perl && { - cd ${S}/objs/src/http/modules/perl/ - make DESTDIR=${D} install || die "failed to install perl stuff" - } -} |