Author: oden
Date: Mon Feb 12 13:47:22 2007
New Revision: 118969

Added:
   packages/cooker/apache-mod_log_sql/current/SOURCES/A25_mod_log_sql.conf
   packages/cooker/apache-mod_log_sql/current/SOURCES/mod_log_sql-1.101.tar.bz2 
  (contents, props changed)
Removed:
   packages/cooker/apache-mod_log_sql/current/SOURCES/A25_mod_log_sql.conf.bz2
   packages/cooker/apache-mod_log_sql/current/SOURCES/mod_log_sql-1.100.tar.bz2
Modified:
   packages/cooker/apache-mod_log_sql/current/SPECS/apache-mod_log_sql.spec

Log:
- 1.101

Added: packages/cooker/apache-mod_log_sql/current/SOURCES/A25_mod_log_sql.conf
==============================================================================
--- (empty file)
+++ packages/cooker/apache-mod_log_sql/current/SOURCES/A25_mod_log_sql.conf     
Mon Feb 12 13:47:22 2007
@@ -0,0 +1,85 @@
+<IfDefine HAVE_LOG_SQL>
+    <IfModule !mod_log_sql.c>
+       LoadModule log_sql_module       extramodules/mod_log_sql.so
+    </IfModule>
+</IfDefine>
+
+<IfDefine HAVE_LOG_SQL_MYSQL>
+    <IfModule !mod_log_sql_mysql.c>
+       LoadModule log_sql_mysql_module extramodules/mod_log_sql_mysql.so
+    </IfModule>
+</IfDefine>
+
+<IfModule mod_log_sql_mysql.c>
+
+    # Whether to announce that mod_log_sql is loaded in the server header
+    LogSQLAnnounce On
+
+    # The database connection URI in the form "driver://user:[EMAIL 
PROTECTED]:port/database"
+    #LogSQLLoginInfo mysql://mysql_user_name:[EMAIL 
PROTECTED]:mysql_port/mysql_database_name
+
+    # First argument is the DB parameter, second is the value to assign
+    #LogSQLDBParam socketfile /var/lib/mysql/mysql.sock
+    #LogSQLDBParam port 3306
+
+    # Forces logging to preserve file and bypasses database
+    #LogSQLForcePreserve
+
+    # Completely disables use of the preserve file
+    #LogSQLDisablePreserve
+
+    # Name of the file to use for data preservation during database downtime
+    #LogSQLPreserveFile
+
+    # Turn on module's capability to create its SQL tables on the fly
+    LogSQLCreateTables On
+
+    # Activates option(s) useful for ISPs performing mass virutal hosting
+    LogSQLMassVirtualHosting Off
+
+    # The database table that holds the transfer log
+    #LogSQLTransferLogTable
+
+    # The database table that holds the notes
+    #LogSQLNotesLogTable
+
+    # The database table that holds the outbound headers
+    #LogSQLHeadersOutLogTable
+
+    # The database table that holds the inbound headers
+    #LogSQLHeadersInLogTable
+
+    # The database table that holds the cookie info
+    #LogSQLCookieLogTable
+
+    # Instruct the module what information to log to the database transfer log
+    LogSQLTransferLogFormat AbHhmRSsTUuv
+
+    # Machine ID that the module will log, useful in web clusters to 
differentiate machines
+    #LogSQLMachineID
+
+    # List of URIs to accept for logging. Accesses that don't match will not 
be logged
+    LogSQLRequestAccept *.php *.html *.gif *.jpg *.png
+
+    # List of URIs to ignore. Accesses that match will not be logged to 
database
+    LogSQLRequestIgnore root.exe cmd.exe default.ida
+
+    # List of remote hosts to ignore. Accesses that match will not be logged 
to database
+    #LogSQLRemhostIgnore
+
+    # The single cookie that you want logged in the access_log when using the 
'c' config directive
+    #LogSQLWhichCookie
+
+    # Notes that you would like to log in a separate table
+    #LogSQLWhichNotes
+
+    # Outbound headers that you would like to log in a separate table
+    #LogSQLWhichHeadersOut
+
+    # Inbound headers that you would like to log in a separate table
+    #LogSQLWhichHeadersIn
+
+    # The cookie(s) that you would like to log in a separate table
+    #LogSQLWhichCookies
+
+</IfModule>

Added: 
packages/cooker/apache-mod_log_sql/current/SOURCES/mod_log_sql-1.101.tar.bz2
==============================================================================
Binary file. No diff available.

Modified: 
packages/cooker/apache-mod_log_sql/current/SPECS/apache-mod_log_sql.spec
==============================================================================
--- packages/cooker/apache-mod_log_sql/current/SPECS/apache-mod_log_sql.spec    
(original)
+++ packages/cooker/apache-mod_log_sql/current/SPECS/apache-mod_log_sql.spec    
Mon Feb 12 13:47:22 2007
@@ -7,13 +7,13 @@
 
 Summary:       Logs to MySQL
 Name:          apache-%{mod_name}
-Version:       1.100
-Release:       %mkrel 3
+Version:       1.101
+Release:       %mkrel 1
 Group:         System/Servers
 License:       Apache License
 URL:           http://www.outoforder.cc/projects/apache/mod_log_sql/
 Source0:       %{mod_name}-%{version}.tar.bz2
-Source1:       %{mod_conf}.bz2
+Source1:       %{mod_conf}
 BuildRequires: MySQL-devel
 #BuildRequires:        openssl-devel
 Requires(pre): rpm-helper
@@ -40,6 +40,8 @@
 
 %setup -q -n mod_log_sql-%{version}
 
+cp %{SOURCE1} %{mod_conf}
+
 # strip away annoying ^M
 find . -type f|xargs file|grep 'CRLF'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
 find . -type f|xargs file|grep 'text'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
@@ -64,8 +66,7 @@
 
 install -m0755 .libs/mod_log_sql.so %{buildroot}%{_libdir}/apache-extramodules/
 install -m0755 .libs/mod_log_sql_mysql.so 
%{buildroot}%{_libdir}/apache-extramodules/
-
-bzcat %{SOURCE1} > %{buildroot}%{_sysconfdir}/httpd/modules.d/%{mod_conf}
+install -m0644 %{mod_conf} 
%{buildroot}%{_sysconfdir}/httpd/modules.d/%{mod_conf}
 
 install -d %{buildroot}%{_var}/www/html/addon-modules
 ln -s ../../../..%{_docdir}/%{name}-%{version} 
%{buildroot}%{_var}/www/html/addon-modules/%{name}-%{version}

Reply via email to