1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Upgrade to 20050520 patch

Take maintainership
This commit is contained in:
Andrey A. Chernov 2005-08-28 08:12:50 +00:00
parent 45fbff598e
commit bfbbdad412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141044
4 changed files with 6 additions and 32 deletions

View File

@ -7,18 +7,18 @@
PORTNAME= geolizer
PORTVERSION= 2.1.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES+= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \
http://sysd.org/proj/:geo
DISTNAME= webalizer-2.01-10-src
DISTFILES= ${DISTNAME}.tar.bz2:main \
geolizer_2.01-10-patch.20040216.tar.bz2:geo
geolizer_2.01-10-patch.20050520.tar.bz2:geo
EXTRA_PATCHES= ${WRKDIR}/geolizer_2.01-10-patch/geolizer.patch
PATCH_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ache@FreeBSD.org
COMMENT= A web server log file analysis program, using GeoIP library
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \

View File

@ -1,4 +1,4 @@
MD5 (webalizer-2.01-10-src.tar.bz2) = 26d0a3c142423678daed2d6f579525d8
SIZE (webalizer-2.01-10-src.tar.bz2) = 252664
MD5 (geolizer_2.01-10-patch.20040216.tar.bz2) = fa2e960702c72a16707854537053a966
SIZE (geolizer_2.01-10-patch.20040216.tar.bz2) = 27688
MD5 (geolizer_2.01-10-patch.20050520.tar.bz2) = 570bf2717be8981678dc9b4af2d321fb
SIZE (geolizer_2.01-10-patch.20050520.tar.bz2) = 35836

View File

@ -31,12 +31,4 @@
{
#ifdef USE_GEOIP
if (use_geoip)
@@ -2918,7 +2925,7 @@
static char warpbuf[32][32];
static int index = -1;
- if (index<0 || index>32)
+ if (index<0 || index>=32)
index=0;
while (n>=base && usesuf<=10)

View File

@ -1,21 +1,3 @@
--- linklist.c.orig Sat Jun 23 11:12:40 2001
+++ linklist.c Sat Jun 23 11:19:54 2001
@@ -190,12 +190,12 @@
int add_glist(char *str, GLISTPTR *list)
{
GLISTPTR newptr,cptr,pptr;
- char temp_buf[80];
+ char temp_buf[LINKLIST_MAX_STRING];
char *name=temp_buf;
/* make local copy of string */
- strncpy(temp_buf,str,79);
- temp_buf[79]=0;
+ strncpy(temp_buf,str,LINKLIST_MAX_STRING - 1);
+ temp_buf[LINKLIST_MAX_STRING - 1]=0;
while (!isspace((unsigned char)*name)&&*name!=0) name++;
if (*name==0) name=temp_buf;
--- linklist.h.orig Fri Sep 29 05:50:30 2000
+++ linklist.h Sat Jun 23 11:15:57 2001
@@ -1,12 +1,18 @@