Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107049 - New apache mod_evasive-1.10 ebuild - was know as mod_dosevasive
Summary: New apache mod_evasive-1.10 ebuild - was know as mod_dosevasive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-09-23 16:50 UTC by Pedro Algarvio
Modified: 2007-09-09 10:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mod_evasive-1.10.ebuild (mod_evasive-1.10.ebuild.shar,10.65 KB, application/octet-stream)
2005-09-23 16:52 UTC, Pedro Algarvio
Details
69_mod_evasive_apache1.conf (69_mod_evasive_apache1.conf,246 bytes, text/plain)
2005-09-23 17:22 UTC, Pedro Algarvio
Details
69_mod_evasive_apache2.conf (69_mod_evasive_apache2.conf,274 bytes, text/plain)
2005-09-23 17:22 UTC, Pedro Algarvio
Details
mod_evasive-1.10.ebuild (mod_evasive-1.10.ebuild,1.26 KB, text/plain)
2005-09-23 17:23 UTC, Pedro Algarvio
Details
mod_evasive-1.10.ebuild (mod_evasive-1.10.ebuild,1.21 KB, text/plain)
2005-09-23 19:25 UTC, Pedro Algarvio
Details
mod_evasive-1.10.ebuild (mod_evasive-1.10.ebuild,1.21 KB, text/plain)
2005-09-23 19:36 UTC, Pedro Algarvio
Details
mod_evasive-1.10.ebuild (FINAL) (mod_evasive-1.10.ebuild,1.10 KB, text/plain)
2005-09-23 22:46 UTC, Pedro Algarvio
Details
www-apache/mod_evasive-1.10.1 (mod_evasive-1.10.1.ebuild,1.09 KB, text/plain)
2006-01-16 06:25 UTC, MT
Details
69_mod_evasive_apache2.conf (69_mod_evasive_apache2.conf,1005 bytes, text/plain)
2006-01-16 06:27 UTC, MT
Details
mod_evasive-1.10.1.ebuild (mod_evasive-1.10.1.ebuild,1.08 KB, text/plain)
2007-04-10 16:09 UTC, Uwe Klosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Algarvio 2005-09-23 16:50:52 UTC
New apache mod_evasive-1.10 ebuild - was know as mod_dosevasive

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pedro Algarvio 2005-09-23 16:52:06 UTC
Created attachment 69126 [details]
mod_evasive-1.10.ebuild
Comment 2 Pedro Algarvio 2005-09-23 16:53:17 UTC
(In reply to comment #1)
> Created an attachment (id=69126) [edit]
> mod_evasive-1.10.ebuild
> 

This is a .shar file.

PS: mod_dosevasive wasn't in portage, I just said "was know as mod_dosevasive",
for those who know it...
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-23 17:06:19 UTC
Please attach the ebuild as plain text an reopen.
Comment 4 Pedro Algarvio 2005-09-23 17:16:48 UTC
(In reply to comment #3)
> Please attach the ebuild as plain text an reopen.

What's the prob??? It's a shar to have all files inside, including the *.conf
Comment 5 Pedro Algarvio 2005-09-23 17:22:15 UTC
Created attachment 69128 [details]
69_mod_evasive_apache1.conf
Comment 6 Pedro Algarvio 2005-09-23 17:22:32 UTC
Created attachment 69129 [details]
69_mod_evasive_apache2.conf
Comment 7 Pedro Algarvio 2005-09-23 17:23:08 UTC
Created attachment 69130 [details]
mod_evasive-1.10.ebuild
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-23 18:02:27 UTC
> What's the prob??? 

No one wants to download and unpack something just to look at what you attach.
Just use always plain text.

- please remove RESTRICT="nomirror" + comment
- please remove the stray #need_apache
- I'm not familiar with the apache stuff, but "if use apache2; [...] fi" should
probably be in pkg_setup(), not in global scope.
- einfo "Check the docs at /usr/share/doc/${P}" should be  
einfo "Check the docs at ${ROOT}usr/share/doc/${P}"
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-23 18:09:47 UTC
ew..
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-09-23 19:09:38 UTC
Those if ... else statements should be removed, the eclass will do the job. Just
leave what's inside them. 
Comment 11 Pedro Algarvio 2005-09-23 19:24:32 UTC
(In reply to comment #8)

> No one wants to download and unpack something just to look at what you attach.
> Just use always plain text.
They will if they want to use it! Besides, the purpose, is to download from
portage not here.

> - I'm not familiar with the apache stuff
Aparently....

> ... but "if use apache2; [...] fi" should probably be in pkg_setup(), not in
global scope.
Aparently they shouldn't even exist. Corrected.

> einfo "Check the docs at ${ROOT}usr/share/doc/${P}"
Corrected this one.

Comment 12 Pedro Algarvio 2005-09-23 19:25:25 UTC
Created attachment 69135 [details]
mod_evasive-1.10.ebuild
Comment 13 Pedro Algarvio 2005-09-23 19:36:54 UTC
Created attachment 69137 [details]
mod_evasive-1.10.ebuild

Repoman:

Not in a CVS repository; enabling pretend mode.

Setting paths:
PORTDIR = "/usr/portage"
PORTDIR_OVERLAY = "/usr/local/portage"

RepoMan does a once-over of the neighborhood...

  changelog.missing		 1
   www-apache/mod_evasive/ChangeLog
  ebuild.allmasked		 1
   www-apache/mod_evasive
  metadata.missing		 1
   www-apache/mod_evasive/metadata.xml

RepoMan sez: "You're only giving me a partial QA payment?
I'll take it this time, but I'm not happy."

But I guess this is not up to me right?
Comment 14 Pedro Algarvio 2005-09-23 19:38:11 UTC
Dam! I forgot the nomirror RESTRICT....

Oh well, you can remove it!
Comment 15 Pedro Algarvio 2005-09-23 22:46:31 UTC
Created attachment 69146 [details]
mod_evasive-1.10.ebuild (FINAL)

Everything fixed!
Comment 16 MT 2006-01-16 06:25:11 UTC
Created attachment 77252 [details]
www-apache/mod_evasive-1.10.1

New mod_evasive version with a more accurate 69_mod_evasive_apache2.conf configuration file
Comment 17 MT 2006-01-16 06:27:56 UTC
Created attachment 77255 [details]
69_mod_evasive_apache2.conf 

Addes support for the email notification, log location, IPs range white lists
Comment 19 lou 2007-02-13 15:26:15 UTC
When I run the test.pl script I get segfaults (I'm using default evasive conf):

[Tue Feb 13 08:22:42 2007] [notice] child pid 30610 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 14405 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 2214 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 1380 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 1628 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 11779 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 18550 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 22872 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 9616 exit signal Segmentation fault (11)
[Tue Feb 13 08:22:42 2007] [notice] child pid 28889 exit signal Segmentation fault (11)

This is my current apache setup:
net-www/apache-2.0.58-r2
net-www/mod_security-1.8.7
net-www/mod_bw-0.7
www-apache/mod_evasive-1.10.1


kernel:  2.6.18-hardened 
Comment 20 Uwe Klosa 2007-04-10 16:09:01 UTC
Created attachment 115910 [details]
mod_evasive-1.10.1.ebuild
Comment 21 Uwe Klosa 2007-04-10 16:10:22 UTC
Comment on attachment 115910 [details]
mod_evasive-1.10.1.ebuild

Updated ebuild for the stable version 1.10.1. Homepage and download links have changed
Comment 22 Benedikt Böhm (RETIRED) gentoo-dev 2007-09-09 10:44:13 UTC
1.10.1 in cvs