Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2016 05:31:25 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426083 - in head/www/webalizer: . files
Message-ID:  <201611140531.uAE5VPDE004707@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Nov 14 05:31:25 2016
New Revision: 426083
URL: https://svnweb.freebsd.org/changeset/ports/426083

Log:
  - fix purge with option BDB1
  PR:		214483

Modified:
  head/www/webalizer/Makefile
  head/www/webalizer/files/patch-wcmgr.c

Modified: head/www/webalizer/Makefile
==============================================================================
--- head/www/webalizer/Makefile	Mon Nov 14 05:03:05 2016	(r426082)
+++ head/www/webalizer/Makefile	Mon Nov 14 05:31:25 2016	(r426083)
@@ -2,7 +2,7 @@
 
 PORTNAME=	webalizer
 PORTVERSION=	2.23.8
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES+=	www
 MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/:main \
 		ftp://ftp.mrunix.net/pub/webalizer/geodb/:geodb \

Modified: head/www/webalizer/files/patch-wcmgr.c
==============================================================================
--- head/www/webalizer/files/patch-wcmgr.c	Mon Nov 14 05:03:05 2016	(r426082)
+++ head/www/webalizer/files/patch-wcmgr.c	Mon Nov 14 05:31:25 2016	(r426083)
@@ -153,7 +153,7 @@
  
     /* open the input database (read-write) */
 +#ifdef USE_DB185
-+   dns_db = dbopen(in_file, O_RDONLY, 0664, DB_HASH, NULL);
++   dns_db = dbopen(in_file, O_RDWR|O_CREAT, 0664, DB_HASH, NULL);
 +   i = errno;
 +   if (!dns_db)
 +#else



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