Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 13:58:58 +0100 (CET)
From:      Xavier Beaudouin <kiwi@oav.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89192: [MAINTAINER] www/mod_dosevasive20: Fix /usr/bin/mail usage.
Message-ID:  <20051117125858.CB5962E02B@kiwi.oav.net>
Resent-Message-ID: <200511171300.jAHD0REu090244@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89192
>Category:       ports
>Synopsis:       [MAINTAINER] www/mod_dosevasive20: Fix /usr/bin/mail usage.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 17 13:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
Association KAZAR / The Caudium Group
>Environment:
System: FreeBSD proxy.home.oav.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Sat May 14 15:27:19 CEST 2005
>Description:

Patches contribued by Frank Steinborn :
"i created two FreeBSD-Patches for your port mod_dosevasive20. I patched the
correct Path to the mail-Programm in mod_dosevasive(20).c, because mail is
under /usr/bin, not under /bin in FreeBSD :-)
"

Added file(s):
- files/patch-mod_dosevasive.c
- files/patch-mod_dosevasive20.c

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- mod_dosevasive20-1.10_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/mod_dosevasive20.old/Makefile /usr/ports/www/mod_dosevasive20/Makefile
--- /usr/ports/www/mod_dosevasive20.old/Makefile	Thu Nov 17 13:53:49 2005
+++ /usr/ports/www/mod_dosevasive20/Makefile	Thu Nov 17 13:54:03 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	mod_dosevasive20
 PORTVERSION=	1.10
+PORTREVISION=	1
 CATEGORIES=	www security
 MASTER_SITES=	http://www.nuclearelephant.com/projects/dosevasive/ \
 		ftp://ftp.oav.net/pkg_freebsd/distfiles/
diff -ruN --exclude=CVS /usr/ports/www/mod_dosevasive20.old/files/patch-mod_dosevasive.c /usr/ports/www/mod_dosevasive20/files/patch-mod_dosevasive.c
--- /usr/ports/www/mod_dosevasive20.old/files/patch-mod_dosevasive.c	Thu Jan  1 01:00:00 1970
+++ /usr/ports/www/mod_dosevasive20/files/patch-mod_dosevasive.c	Thu Nov 17 13:56:55 2005
@@ -0,0 +1,11 @@
+--- mod_dosevasive.c.old	Thu Nov 17 13:54:24 2005
++++ mod_dosevasive.c	Thu Nov 17 13:55:21 2005
+@@ -43,7 +43,7 @@
+ 
+ /* BEGIN DoS Evasive Maneuvers Definitions */
+ 
+-#define MAILER	"/bin/mail -t %s"
++#define MAILER	"/usr/bin/mail %s"
+ #define  LOG( A, ... ) { openlog("mod_dosevasive", LOG_PID, LOG_DAEMON); syslog( A, __VA_ARGS__ ); closelog(); }
+ 
+ 
diff -ruN --exclude=CVS /usr/ports/www/mod_dosevasive20.old/files/patch-mod_dosevasive20.c /usr/ports/www/mod_dosevasive20/files/patch-mod_dosevasive20.c
--- /usr/ports/www/mod_dosevasive20.old/files/patch-mod_dosevasive20.c	Thu Jan  1 01:00:00 1970
+++ /usr/ports/www/mod_dosevasive20/files/patch-mod_dosevasive20.c	Thu Nov 17 13:56:16 2005
@@ -0,0 +1,11 @@
+--- mod_dosevasive20.c.old	Thu Nov 17 13:54:34 2005
++++ mod_dosevasive20.c	Thu Nov 17 13:55:34 2005
+@@ -43,7 +43,7 @@
+ 
+ /* BEGIN DoS Evasive Maneuvers Definitions */
+ 
+-#define MAILER	"/bin/mail %s"
++#define MAILER	"/usr/bin/mail %s"
+ #define  LOG( A, ... ) { openlog("mod_dosevasive", LOG_PID, LOG_DAEMON); syslog( A, __VA_ARGS__ ); closelog(); }
+ 
+ #define DEFAULT_HASH_TBL_SIZE   3097ul  // Default hash table size
--- mod_dosevasive20-1.10_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051117125858.CB5962E02B>