Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272964 - Request for static_gzip use-flag for www-servers/nginx
Summary: Request for static_gzip use-flag for www-servers/nginx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 18:12 UTC by Peter
Modified: 2010-01-03 19:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2009-06-06 18:12:22 UTC
Unable to emerge nginx with option --with-http_gzip_static_module. Simple patch are included.
diff -u /usr/portage/www-servers/nginx/nginx-0.7.59.ebuild /usr/local/portage/www-servers/nginx/nginx-0.7.59.ebuild
--- /usr/portage/www-servers/nginx/nginx-0.7.59.ebuild  2009-05-25 18:59:49.000000000 +0400
+++ /usr/local/portage/www-servers/nginx/nginx-0.7.59.ebuild    2009-05-27 09:15:00.379942186 +0400
@@ -10,8 +10,8 @@
 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"
+KEYWORDS="amd64 ppc x86 x86-fbsd"
+IUSE="addition debug fastcgi flv imap pcre perl random-index ssl status sub webdav zlib static_gzip"

 DEPEND="dev-lang/perl
        pcre? ( >=dev-libs/libpcre-4.2 )
@@ -60,6 +60,7 @@
        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"
+       use static_gzip && myconf="${myconf} --with-http_gzip_static_module"

        tc-export CC
        ./configure \
Comment 1 Max Bloch 2009-08-31 10:29:26 UTC
I second this request. Thanks Peter for supplying a patch. This will have to do for the meantime.
Comment 2 Gordon Malm (RETIRED) gentoo-dev 2009-09-01 23:23:15 UTC
Hate to be a nitpick but I'd prefer it be gzip_static.
Comment 3 Jeremy Wohl 2009-12-05 04:48:50 UTC
+1
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-01-03 19:52:33 UTC
Fixed with a static-gzip use flag in nginx-0.7.64-r2.