Apache herd package refresh
authorBenedikt Boehm <hollow@gentoo.org>
Sat, 8 Jan 2005 21:29:07 +0000 (21:29 +0000)
committerBenedikt Boehm <hollow@gentoo.org>
Sat, 8 Jan 2005 21:29:07 +0000 (21:29 +0000)
net-www/mod_gzip/ChangeLog
net-www/mod_gzip/Manifest
net-www/mod_gzip/files/10_mod_gzip.conf [new file with mode: 0644]
net-www/mod_gzip/files/digest-mod_gzip-1.3.26.1a-r2 [new file with mode: 0644]
net-www/mod_gzip/metadata.xml
net-www/mod_gzip/mod_gzip-1.3.19.1a-r1.ebuild
net-www/mod_gzip/mod_gzip-1.3.26.1a-r1.ebuild
net-www/mod_gzip/mod_gzip-1.3.26.1a-r2.ebuild [new file with mode: 0644]
net-www/mod_gzip/mod_gzip-1.3.26.1a.ebuild

index ce6468396d9fa8ce573dc44cb9e9228f501f2d82..ef9150e82f20b7217b53c7232d82ab1c434a9d85 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-www/mod_gzip
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/ChangeLog,v 1.22 2004/12/29 21:11:15 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/ChangeLog,v 1.23 2005/01/08 21:29:07 hollow Exp $
+
+*mod_gzip-1.3.26.1a-r2 (08 Jan 2005)
+
+  08 Jan 2005; Benedikt Boehm <hollow@gentoo.org> metadata.xml,
+  +files/10_mod_gzip.conf, +mod_gzip-1.3.26.1a-r2.ebuild:
+  Apache herd package refresh
 
   29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
   Change encoding to UTF-8 for GLEP 31 compliance
index 98d1fb212e7249025d19c70bf18568deda7bef6f..dc881c624b1a0462ef41a97b4bc8c152e8f04b56 100644 (file)
@@ -1,13 +1,26 @@
-MD5 920c2e55b4449c2c001e04ba8ed2ccbf mod_gzip-1.3.19.1a-r1.ebuild 1408
-MD5 b4d48478f6bd1843ff00d8163d9617f1 ChangeLog 3448
-MD5 9f372a5c8f595644e77427eede5a1320 mod_gzip-1.3.26.1a.ebuild 1255
-MD5 cc608f7aa02fe147266c7766296adc22 mod_gzip-1.3.26.1a-r1.ebuild 1364
-MD5 d2da0e45d7e39184d1cb7abbe3879086 metadata.xml 159
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a20305cbeded29945d3a728e7fc08c16 ChangeLog 3638
+MD5 41d6c0ba999d7b4af929e07368693a3f metadata.xml 261
+MD5 ca0321e17c603cebf6db8a16d12bf106 mod_gzip-1.3.19.1a-r1.ebuild 1406
+MD5 9c8ff43718edf72a1ee1febd53b029bd mod_gzip-1.3.26.1a-r1.ebuild 1362
+MD5 ffd431dc1101f492d9a1bddcf22d3a97 mod_gzip-1.3.26.1a.ebuild 1254
+MD5 11e9115bbd54ddadcbf02ed6e42adf5b mod_gzip-1.3.26.1a-r2.ebuild 783
 MD5 2e8e0e9f753e886f5ce93f4cfca91fc7 files/changes.txt 6897
-MD5 b9bd0a6347f53825260617a14e3f1935 files/mod_gzip.conf-new 14806
-MD5 c4d61ea98a91194088f7c3f0d06d4221 files/mod_gzip.conf 1241
-MD5 8bf677a578115ab25f3a9a0698ff24fb files/digest-mod_gzip-1.3.26.1a-r1 67
-MD5 506c996bbe56916e2406996203d6c799 files/digest-mod_gzip-1.3.19.1a-r1 57
-MD5 69a2bfb0bf17e1d0ae2a1e7e558df350 files/mod-gzip-debug.patch 1188
 MD5 67b10b917047747e0f209ae0317e8099 files/commands.txt 8231
+MD5 506c996bbe56916e2406996203d6c799 files/digest-mod_gzip-1.3.19.1a-r1 57
 MD5 8bf677a578115ab25f3a9a0698ff24fb files/digest-mod_gzip-1.3.26.1a 67
+MD5 8bf677a578115ab25f3a9a0698ff24fb files/digest-mod_gzip-1.3.26.1a-r1 67
+MD5 69a2bfb0bf17e1d0ae2a1e7e558df350 files/mod-gzip-debug.patch 1188
+MD5 c4d61ea98a91194088f7c3f0d06d4221 files/mod_gzip.conf 1241
+MD5 b9bd0a6347f53825260617a14e3f1935 files/mod_gzip.conf-new 14806
+MD5 a7d4f8a2cee912e1d629cfaf5150c4de files/10_mod_gzip.conf 15221
+MD5 8bf677a578115ab25f3a9a0698ff24fb files/digest-mod_gzip-1.3.26.1a-r2 67
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFB4FCZmPFBzbX68WERApzZAKCJ2xTlqigGlOELu6H4Hct23QwcmQCfaqaA
+bpsc4DgfO/D/NO/P0510rPc=
+=YmDI
+-----END PGP SIGNATURE-----
diff --git a/net-www/mod_gzip/files/10_mod_gzip.conf b/net-www/mod_gzip/files/10_mod_gzip.conf
new file mode 100644 (file)
index 0000000..f2d7c12
--- /dev/null
@@ -0,0 +1,327 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/files/10_mod_gzip.conf,v 1.1 2005/01/08 21:29:07 hollow Exp $
+
+<IfDefine GZIP>
+  <IfModule !mod_gzip.c>
+    LoadModule gzip_module             modules/mod_gzip.so
+  </IfModule>
+</IfDefine>
+
+#
+# See http://www.schroepl.net/projekte/mod_gzip/ for details
+#
+
+#######################################
+### Apache configuration directives ###
+###   for mod_gzip 1.3.26.1a        ###
+#######################################
+
+##########################
+### loading the module ###
+##########################
+
+# ---------------------------------------------------------------------
+# load DLL / Win32:
+# LoadModule gzip_module modules/ApacheModuleGzip.dll
+#
+# load DSO / UNIX:
+# LoadModule gzip_module modules/mod_gzip.so
+#
+# (none of both if module has been compiled in statically;
+# the exact file name may depend upon the exact compilation method used
+# for this module)
+# ---------------------------------------------------------------------
+
+<IfModule mod_gzip.c>
+
+########################
+### responsibilities ###
+########################
+
+# ---------------------------------------------------------------------
+# use mod_gzip at all?
+  mod_gzip_on                   Yes
+# (you can especially enable mod_gzip inside the central server
+#  configuration but disable it inside some directories ot virtual
+#  hosts by using this directive.)
+# ---------------------------------------------------------------------
+
+######################################
+### statically precompressed files ###
+######################################
+
+# ---------------------------------------------------------------------
+# let mod_gzip perform 'partial content negotiation'?
+  mod_gzip_can_negotiate        Yes
+# (if this option is active and a static file is to be served in com-
+#  pressed for, then mod_gzip will look for a static precompressed
+#  version of this file with a defined additional extension - see next
+#  directive - which would be delivered with priority. This would allow
+#  for avoiding to repeatedly compress the same static file and thus
+#  saving CPU time.
+#  No dynamic caching of this file is provided; currently the user
+#  himself is responsible for creating and updating the precompressed
+#  file's content.
+# From version 1.3.19.2a mod_gzip automatically recognizes whether
+# a statically precompressed file is older than its uncompressed
+# original and in this case will serve the content of the original
+# file in uncompressed form - as to rather serve correct data than
+# outdated ones ...)
+
+# ---------------------------------------------------------------------
+# extension (suffix) for statically precompressed files
+mod_gzip_static_suffix .gz
+AddEncoding gzip .gz
+# (effect: see previous directive; this string will be appended to the 
+# name of the original file.
+# be sure to configure the encoding 'gzip' for this extension as well,
+# because mod_gzip doesn't serve the content itself but simply generates
+# an Apache internal redirection to this URL. Therefore the remaining
+# Apache configuration is responsible for setting the 'Content-Encoding'
+# header properly ...
+# prior to version 1.3.19.2a this value was not configurable.)
+
+# ---------------------------------------------------------------------
+# automatic updates for statically precompressed files
+mod_gzip_update_static No
+# (if set to 'Yes', this directive (being new in version 1.3.26.1a) would
+# cause mod_gzip to automatically update an outdated version of any 
+# statically precompressed file during the request, i. e. compress the 
+# originally requested file and overwrite the precompressed variant 
+# file with it! 
+# for each automatic update of this type, mod_gzip will write a message 
+# of the severity 'notice' into the Apache error_log. 
+# while doing so, mod_gzip will directly read the original file's content. 
+# therefore this content cannot be interpreted by any other Apache module 
+# during the request. this might possibly not be what you want - hopefully 
+# it will be what most users want, because it works fast this way. 
+# use this configuration with a lot of care, and be sure that you don't 
+# inadvertantly cause valuable files within the URL tree to be overwritten. 
+# this isn't a feature to be used for mass hosting servers, especially 
+# because mod_gzip might experience access control problems there - the 
+# userid the Apache processes are running under need to have write access 
+# to the precompressed files of all users, which may not automatically be 
+# the case.) 
+# ---------------------------------------------------------------------
+
+###################
+### bureaucracy ###
+###################
+# ---------------------------------------------------------------------
+# display status for mod_gzip
+mod_gzip_command_version      '/mod_gzip_status'
+# (defines an URL to display the status of mod_gzip; can be specified
+# individually for each installation and protected against access via
+# <Location> section for privacy reasons)
+# ---------------------------------------------------------------------
+# The status display will look like this:
+#       mod_gzip is available...
+#       mod_gzip_version = 1.3.26.1a
+#       mod_gzip_on = Yes/No
+# and thus will provide information about
+# - mod_gzip being installed at the server and working correctly,
+# - which version has been installed and
+# - whether mod_gzip has been set 'active' for this Location
+#   (-> mod_gzip_on)
+# ---------------------------------------------------------------------
+
+#######################
+### data management ###
+#######################
+
+# ---------------------------------------------------------------------
+# Working directory for temporary files and the compression cache
+# if not specified, the following default values are used:
+# [Win32=c:\temp], [UNIX=/tmp]
+# mod_gzip_temp_dir             /tmp
+# (This directory must already exist and the userid being used for
+#  running the Apache server must have read and write access to this
+#  directory.
+#  Unlike other Apache directives an absolute path name must be specified
+#  here; a relative value will not be interpreted relatively to ServerRoot.
+#  This pastname must NOT be terminated with '/'.
+#  For maximum performance this directory should be located on a RAM disk,
+#  if the file system isn't already being cached efficiently
+# ---------------------------------------------------------------------
+# Save temporary work files [Yes, No]
+mod_gzip_keep_workfiles       No
+# (one file per HTTP request - set to 'yes' for debugging purpose only!)
+# ---------------------------------------------------------------------
+
+##################
+### file sizes ###
+##################
+
+# ---------------------------------------------------------------------
+# minimum size (in bytes) for files to be compressed
+mod_gzip_minimum_file_size    500
+# (for very small files compression will produce only small absolute gains
+#  [you will still save about 50% of the content, but some additional
+#  500 bytes of HTTP and TCP headers will always remain uncompressed],
+#  but still produce CPU load for both client and server)
+# ---------------------------------------------------------------------
+# maximum size (in bytes) for files to be compressed
+mod_gzip_maximum_file_size    500000
+# (for very large files compression may eventually take rather long and
+#  thus delay the start of the transmission.
+#  Furthermode a limitation at this point prevents the server from
+#  producing output of unlimited size in case of some endless loop
+#  inside a CGI script - or even trying to compress streaming data -
+#  which might otherwise cause the creation of a temporary file of
+#  any size and even fill up the whole hard disk.
+#  On the other hand, compression will have a much more perceivable
+#  subjective effect for large files ... so be sure to fine-tune this
+#  according to your requirements.)
+# ---------------------------------------------------------------------
+# maximum size (in bytes) for files to be compressed in memory
+mod_gzip_maximum_inmem_size   60000
+# (larger files will be compressed into the temp file directory; adapt
+#  this value to your server's available main memory.
+#  In mod_gzip 1.3.19.x larger values will automatically be limited to
+#  60000 because some operating systems are said to have problems
+#  allocating more than 64 kb of memory at a time.
+# ---------------------------------------------------------------------
+
+####################
+### requirements ###
+####################
+
+# (see chapter about caching for problems when using these directives.)
+# ---------------------------------------------------------------------
+# Required HTTP version of the client
+# Possible values: 1000 = HTTP/1.0, 1001 = HTTP/1.1, ...
+# This directive uses the same numeric protocol values as Apache does
+# internally
+mod_gzip_min_http             1000
+# (By using this directive you may exclude old browsers, search engines
+#  etc. from the compression procedure: if the user agent doesn't
+#  declare itself capable of understanding at least the HTTP level
+#  specified here, only uncompressed data will be delivered - no matter
+#  what else it claims to be able to. The value of '1001' will especially
+#  exclude Netscape 4.x. and a lot of proxy servers.)
+# ---------------------------------------------------------------------
+# HTTP methods to be handled 
+# Possible values: 'GET', 'POST' or a list of both values.
+mod_gzip_handle_methods GET POST 
+# (By using this directive you may particularly exclude POST requests
+# from the compression procedure. There are known cases where the
+# handling of these requests by previous mod_gzip versions could cause
+# problems. 
+# Before version 1.3.19.2a this value was not configurable.)
+# ---------------------------------------------------------------------
+
+###############
+### filters ###
+###############
+
+# ---------------------------------------------------------------------
+# which files are to be compressed?
+#
+# The order of processing during each of both phases is not important,
+# but to trigger the compression of a request's content this request
+# a) must match at least one include rule in each of both phases and
+# b) must not match an exclude rule in any of both phases.
+# These rules are not minimal, they are meant to serve as example only.
+#
+# phase 1: (reqheader, uri, file, handler)
+# ========================================
+# (see chapter about caching for problems when using 'reqheader' type
+#  filter rules.)
+# NO:   special broken browsers which request for gzipped content
+#       but then aren't able to handle it correctly
+mod_gzip_item_exclude         reqheader  "User-agent: Mozilla/4.0[678]"
+#
+# JA:   HTML-Dokumente
+mod_gzip_item_include         file       \.html$
+#
+# NO:   include files / JavaScript & CSS (due to Netscape4 bugs)
+mod_gzip_item_exclude         file       \.js$
+mod_gzip_item_exclude         file       \.css$
+#
+# NO:   already compressed files
+mod_gzip_item_exclude         file       \.bz2$
+mod_gzip_item_exclude         file       \.tbz2$
+mod_gzip_item_exclude         file       \.gz$
+#
+# YES:  CGI scripts
+mod_gzip_item_include         file       \.pl$
+mod_gzip_item_include         handler    ^cgi-script$
+#
+# phase 2: (mime, rspheader)
+# ===========================
+# YES:  normal HTML files, normal text files, Apache directory listings
+mod_gzip_item_include         mime       ^text/html$
+mod_gzip_item_include         mime       ^text/plain$
+mod_gzip_item_include         mime       ^httpd/unix-directory$
+#
+# NO:   images (GIF etc., will rarely ever save anything)
+mod_gzip_item_exclude         mime       ^image/
+# ---------------------------------------------------------------------
+# In fact mod_gzip is checking only the first 4 characters of the 1st
+# operand (in case of uri even the first 2 characters only, as to
+# allow for values like url).
+# ---------------------------------------------------------------------
+# The table for mod_gzip_item rules (include and exclude) cannot contain
+# more than 256 entries; when this number is exceeded mod_gzip will
+# output the message "mod_gzip: ERROR: Item index is full"
+# and report a configuration error to the Apache server.
+# ---------------------------------------------------------------------
+# The directive values described here are meant to describe the requests
+# elected for compression most exactly.
+# Especially for the mime rules it has to be made clear that the HTTP
+# header 'Content-Type' (that will be checked by mod_gzip for this rule)
+# in some cases may contain not only a MIME type but additionally a
+# character set description (charset) as well.
+# If this is the case for the requests to be handled then you need to
+# remove the '$' char at the end of the corresponding value so that now
+# only the prefix of this value will be tested for matching.
+# ---------------------------------------------------------------------
+
+##########################
+### transfer encodings ###
+##########################
+
+# ---------------------------------------------------------------------
+# Allow mod_gzip to eliminate the HTTP header
+#    'Transfer-encoding: chunked'
+# and join the chunks to one (compressable) packet
+mod_gzip_dechunk              Yes
+# (this is required for handling several types of dynamically generated
+# contents, especially for CGI and SSI pages, but also for pages produced
+# by some Java Servlet interpreters.
+# ---------------------------------------------------------------------
+
+###############
+### logging ###
+###############
+
+# ---------------------------------------------------------------------
+# Extended log format (for testing the compression effect)
+LogFormat                     "%h %l %u %t \"%V %r\" %<s %b mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n -< Out:%{mod_gzip_output_size}n = %{mod_gzip_compression_ratio}n pct." common_with_mod_gzip_info2
+# ---------------------------------------------------------------------
+# Create additional log file
+CustomLog                     logs/mod_gzip.log common_with_mod_gzip_info2
+# (surely you can redefine your normal log file format, but you mal well
+#  keep its format standard compatible for evaluation by standard web
+#  analysis tools. So we just create another log file.)
+# ---------------------------------------------------------------------
+# Volume computation of the delivered files inside the Apache access_log:
+# count HTTP header size (in bytes) as part of total output size
+mod_gzip_add_header_count     Yes
+# (This will be more than the pure document content, but it will more
+#  realistically describe the total output traffic of the HTTP request)
+# ---------------------------------------------------------------------
+
+
+###############
+### proxies ###
+###############
+# ---------------------------------------------------------------------
+# sending a 'Vary' HTTP header
+mod_gzip_send_vary Yes 
+# (see chapter about caching for this directive.) 
+# don't change this unless you absolutely know what you are doing!
+# ---------------------------------------------------------------------
+
+</IfModule>
diff --git a/net-www/mod_gzip/files/digest-mod_gzip-1.3.26.1a-r2 b/net-www/mod_gzip/files/digest-mod_gzip-1.3.26.1a-r2
new file mode 100644 (file)
index 0000000..2e5c711
--- /dev/null
@@ -0,0 +1 @@
+MD5 080ccc5d789ed5efa0c0a7625e4fa02d mod_gzip-1.3.26.1a.tgz 137394
index c054a8cd9b61ed4a11a00b9bc12f386cff45e8ec..22bb50eb3661c06fd5e8ae5eccdb316270ba04a8 100644 (file)
@@ -1,5 +1,9 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>apache</herd>
+  <herd>apache</herd>
+  <maintainer>
+    <email>hollow@gentoo.org</email>
+    <name>Benedikt Boehm</name>
+  </maintainer>
 </pkgmetadata>
index 922c759330399ddd3ae621474423f6b150fe4401..68260cfa2232dddf565226cdfed37f4476ccdaf0 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.19.1a-r1.ebuild,v 1.14 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.19.1a-r1.ebuild,v 1.15 2005/01/08 21:29:07 hollow Exp $
 
 DESCRIPTION="Apache module which acts as an Internet Content Accelerator"
 HOMEPAGE="http://www.remotecommunications.com/apache/mod_gzip/"
index 95c7e31ea9935533f484918a02c124e4cae887f9..36cd1a9ddcdd3f35fd59dbb250fde235828bbc11 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.26.1a-r1.ebuild,v 1.10 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.26.1a-r1.ebuild,v 1.11 2005/01/08 21:29:07 hollow Exp $
 
 DESCRIPTION="Apache module which acts as an Internet Content Accelerator"
 HOMEPAGE="http://sourceforge.net/projects/mod-gzip/"
diff --git a/net-www/mod_gzip/mod_gzip-1.3.26.1a-r2.ebuild b/net-www/mod_gzip/mod_gzip-1.3.26.1a-r2.ebuild
new file mode 100644 (file)
index 0000000..2f67b5d
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.26.1a-r2.ebuild,v 1.1 2005/01/08 21:29:07 hollow Exp $
+
+inherit eutils apache-module
+
+DESCRIPTION="Apache module which acts as an Internet Content Accelerator"
+HOMEPAGE="http://sourceforge.net/projects/mod-gzip/"
+SRC_URI="mirror://sourceforge/mod-gzip/mod_gzip-${PV}.tgz"
+
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+LICENSE="Apache-1.1"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=sys-libs/zlib-1.1.4"
+
+APACHE1_MOD_CONF="10_${PN}"
+APACHE1_MOD_DEFINE="GZIP"
+
+need_apache1
+
+src_unpack() {
+       unpack ${A} || die
+       cd ${S} || die
+       epatch ${FILESDIR}/mod-gzip-debug.patch || die
+}
+
+src_compile() {
+       APXS="${APXS1}" make || die "Make failed"
+}
index e36d5e04c319aa74d8b03e4fd306fe9a71279aea..b4611e965a1787eae76c9441ca328197fb64c89d 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.26.1a.ebuild,v 1.9 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.26.1a.ebuild,v 1.10 2005/01/08 21:29:07 hollow Exp $
 
 DESCRIPTION="Apache module which acts as an Internet Content Accelerator"
 HOMEPAGE="http://sourceforge.net/projects/mod-gzip/"