]> git.pld-linux.org Git - packages/apache-mod_dosevasive.git/commitdiff
- release 1: fixed building and License
authorradek <radek@pld-linux.org>
Sun, 19 Sep 2004 15:29:40 +0000 (15:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_dosevasive.spec -> 1.6

apache-mod_dosevasive.spec

index fd508552c1919201477fb25a6e2cc9f8cc433f02..630a03b15e98595f72bb36f73f7896331871eef6 100644 (file)
@@ -4,16 +4,16 @@ Summary:      Apache DoS Evasive Maneuvers Module
 Summary(pl):   Modu³ manewrów omijaj±cych ataki DoS dla Apache
 Name:          apache-mod_%{mod_name}
 Version:       1.8
-Release:       0.1
-License:       GPL
+Release:       1
+License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       http://www.nuclearelephant.com/projects/dosevasive/mod_%{mod_name}.%{version}.tar.gz
 # Source0-md5: 243d24e205c3b82ef55542887e03d998
 URL:           http://www.nuclearelephant.com/projects/dosevasive/
 BuildRequires: %{apxs}
-BuildRequires: apache-devel
+BuildRequires: apache-devel >= 2
 Requires(post,preun):  %{apxs}
-Requires:      apache
+Requires:      apache >= 2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
@@ -35,16 +35,16 @@ ipchains, firewallami, routerami itp. mod_dosevasive obecnie raportuje
 nadu¿ycia poczt± elektroniczn± i poprzez sysloga.
 
 %prep
-%setup -q -n %{mod_name}
+%setup -q -n mod_%{mod_name}
 
 %build
-%{apxs} -c mod_%{mod_name}.c -o mod_%{mod_name}.so -lz
+%{apxs} -c mod_%{mod_name}20.c -lz
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_pkglibdir}
 
-install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+install .libs/mod_%{mod_name}20.so $RPM_BUILD_ROOT%{_pkglibdir}/mod_%{mod_name}.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.094263 seconds and 4 git commands to generate.