1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 0.21

Problem with gcc 2.95 has been fixed, so patch is removed.

Submitted by:   Tom Müller-Kortkamp <tmueko@kommunity.net> (maintainer)
This commit is contained in:
Clement Laforet 2004-05-05 12:36:03 +00:00
parent 08797de23d
commit 30c12d13c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108444
3 changed files with 3 additions and 22 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mod_clamav
PORTVERSION= 0.20
PORTVERSION= 0.21
CATEGORIES= www security
MASTER_SITES= http://software.othello.ch/mod_clamav/

View File

@ -1,2 +1,2 @@
MD5 (mod_clamav-0.20.tar.gz) = b19c3c5c74c5f554c29702950d350f45
SIZE (mod_clamav-0.20.tar.gz) = 308197
MD5 (mod_clamav-0.21.tar.gz) = 98bd0d8628be8ddeae21da6623e57d20
SIZE (mod_clamav-0.21.tar.gz) = 308497

View File

@ -1,19 +0,0 @@
--- mod_clamav.c.orig Wed Apr 21 18:29:42 2004
+++ mod_clamav.c Wed Apr 21 18:30:07 2004
@@ -310,6 +310,7 @@
int rc = 1, i, l;
char *ct;
const char *action;
+ clamav_safeuri *p;
/* requests with only headers can be bypassed */
if (f->r->header_only) {
@@ -339,7 +340,7 @@
}
/* check safe uri */
- clamav_safeuri *p = (clamav_safeuri *)(rec->safeuris->elts);
+ p = (clamav_safeuri *)(rec->safeuris->elts);
for (i = 0; i < rec->safeuris->nelts; i++) {
switch (p[i].matchtype) {
case MATCH_SAFE_URI: