Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 272964

Summary: Request for static_gzip use-flag for www-servers/nginx
Product: Gentoo Linux Reporter: Peter <peter>
Component: New packagesAssignee: Konstantin Arkhipov (RETIRED) <voxus>
Status: RESOLVED FIXED    
Severity: enhancement CC: gengor, jeremyw-gentoo-bugzilla1
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.