Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad
mod_log_ipmask
mod_log_ipmask.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mod_log_ipmask.spec of Package mod_log_ipmask
# # spec file for package mod_log_ipmask # # Copyright (c) 2012-2013 Peter Conrad <obs@quisquis.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ %if 0%{?fedora} >= 18 %define apache_lib %(/usr/bin/apxs -q LIBEXECDIR) %else %if 0%{?fedora} > 0 %define apache_lib %(/usr/sbin/apxs -q LIBEXECDIR) %else %define apache_lib %(/usr/sbin/apxs2 -q LIBEXECDIR) %endif %endif Summary: Masquerade Client IP-Addresses in apache logfiles Name: mod_log_ipmask Version: 1.0 Release: 1 License: GPL-2.0+ Group: Productivity/Networking/Web/Servers URL: http://www.saechsdsb.de/ipmask Source: http://www.saechsdsb.de/images/stories/sdb_inhalt/schwerpunkt/ipmask/source_apache_v2.x.x_mod_log_ipmask.zip # PATCH-FEATURE-UPSTREAM conrad@quisquis.de Patch: mod_log_ipmask-ipv6.patch BuildRequires: apache2-devel, unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description An Apache http server modul extending mod_log_config to masquerade Client IP-Addresses in logfiles Copyright (C) 2008 Mario Osswald, Referatsleiter "Technik, Informatik, Medien" beim Saechsischen Datenschutzbeauftragten Author Florian van Koten systematics NETWORK SERVICES GmbH %prep %setup -c -q %patch -p1 %build %if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1300 %__sed -i 's/remote_ip/client_ip/' *.c %endif export PATH=$PATH:/usr/bin:/usr/sbin apxs2 -c *.c || apxs -c *.c %install %__mkdir_p "%{buildroot}%{apache_lib}" %__install -m 0755 ".libs/%{name}.so" "%{buildroot}%{apache_lib}" %__debug_install_post %files %defattr(-,root,root,-) %doc LICENSE %{apache_lib}/%{name}.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor