From b08c840c20931beaef090b84909eb5aefd81432bf04c726876fc6242e7095d44 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 24 Sep 2008 13:02:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + apache2-mod_security2.changes | 32 +++++++++++ apache2-mod_security2.spec | 95 +++++++++++++++++++++++++++++++++ modsecurity-apache_2.5.6.tar.gz | 3 ++ ready | 0 6 files changed, 154 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 apache2-mod_security2.changes create mode 100644 apache2-mod_security2.spec create mode 100644 modsecurity-apache_2.5.6.tar.gz create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/apache2-mod_security2.changes b/apache2-mod_security2.changes new file mode 100644 index 0000000..ae116f0 --- /dev/null +++ b/apache2-mod_security2.changes @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +Mon Sep 15 14:05:05 CEST 2008 - skh@suse.de + +- update to version 2.5.6 +- initial submit to FACTORY + +------------------------------------------------------------------- +Mon May 12 05:25:07 CEST 2008 - jg@internetx.de + +-update to 2.1.7 + +------------------------------------------------------------------- +Thu Feb 3 05:44:12 CEST 2008 - jg@internetx.de + +-update to 2.1.6 + +------------------------------------------------------------------- +Wed Aug 8 05:36:42 CEST 2007 - mrueckert@suse.de + +- update to 2.1.2 + +------------------------------------------------------------------- +Mon Apr 16 10:34:05 CEST 2007 - mrueckert@suse.de + +- update to 2.1.1 +- switched to perl based patching instead of cmdline params for make + +------------------------------------------------------------------- +Fri Sep 22 08:31:51 CEST 2006 - poeml@suse.de + +- fix build (./install was vanished) + diff --git a/apache2-mod_security2.spec b/apache2-mod_security2.spec new file mode 100644 index 0000000..d658e60 --- /dev/null +++ b/apache2-mod_security2.spec @@ -0,0 +1,95 @@ +# +# spec file for package apache2-mod_security2 (Version 2.5.6) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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/ +# + +# norootforbuild + + +Name: apache2-mod_security2 +Version: 2.5.6 +Release: 1 +# +License: GPL v2 only; GPLv2 with some FLOSS linking exceptions +Group: Productivity/Networking/Web/Servers +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: apache2-devel apache2-prefork c++_compiler libxml2-devel pcre-devel +%define apache apache2 +%define modname mod_security2 +%define tarballname modsecurity-apache_%{version} +# +%define apxs %{_sbindir}/apxs2 +%define apache_libexecdir %(%{apxs} -q LIBEXECDIR) +%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR) +%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)/MMN; test -x $MMN && $MMN) +Requires: apache2 %{apache_mmn} +# +Url: http://www.modsecurity.org/ +Source: http://www.modsecurity.org/download/%{tarballname}.tar.gz +# +Summary: ModSecurity Open Source Web Application Firewall + +%description +ModSecurity(TM) is an open source intrusion detection and prevention +engine for web applications (or a web application firewall). Operating +as an Apache Web server module or standalone, the purpose of +ModSecurity is to increase web application security, protecting web +applications from known and unknown attacks. + + + +%prep +%setup -n %{tarballname} + +%build +pushd %{apache} + ./configure --with-apxs=%{apxs} + CFLAGS="%{optflags}" make +popd + +%install +pushd %{apache} + install -d -m 0755 %{buildroot}%{apache_libexecdir} + install .libs/mod_security2.so %{buildroot}%{apache_libexecdir}/%{modname}.so +popd +install -D -m 0644 modsecurity.conf-minimal %{buildroot}%{apache_sysconfdir}/conf.d/%{modname}.conf + +%clean +%{__rm} -rf %{buildroot}; + +%files +%defattr(-, root, root, 0755) +%{apache_libexecdir}/%{modname}.so +%config(noreplace) %{apache_sysconfdir}/conf.d/%{modname}.conf +%doc doc/html-multipage/ doc/*.pdf +%doc README.TXT CHANGES LICENSE MODSECURITY_LICENSING_EXCEPTION +%doc tools rules + +%changelog +* Mon Sep 15 2008 skh@suse.de +- update to version 2.5.6 +- initial submit to FACTORY +* Mon May 12 2008 jg@internetx.de +-update to 2.1.7 +* Sun Feb 03 2008 jg@internetx.de +-update to 2.1.6 +* Wed Aug 08 2007 mrueckert@suse.de +- update to 2.1.2 +* Mon Apr 16 2007 mrueckert@suse.de +- update to 2.1.1 +- switched to perl based patching instead of cmdline params for make +* Fri Sep 22 2006 poeml@suse.de +- fix build (./install was vanished) diff --git a/modsecurity-apache_2.5.6.tar.gz b/modsecurity-apache_2.5.6.tar.gz new file mode 100644 index 0000000..a4757e0 --- /dev/null +++ b/modsecurity-apache_2.5.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f38176cdb69e610238e5aa5401b0fc72972fc72af5d9203ada98f962833bdca +size 1079094 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4