From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 22 23:00:40 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A57D16A407 for ; Fri, 22 Sep 2006 23:00:40 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B99C43D6D for ; Fri, 22 Sep 2006 23:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8MN0Znb040062 for ; Fri, 22 Sep 2006 23:00:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8MN0ZEC040061; Fri, 22 Sep 2006 23:00:35 GMT (envelope-from gnats) Resent-Date: Fri, 22 Sep 2006 23:00:35 GMT Resent-Message-Id: <200609222300.k8MN0ZEC040061@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fred Cox Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF55D16A47B for ; Fri, 22 Sep 2006 22:51:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D72A43D46 for ; Fri, 22 Sep 2006 22:51:37 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k8MMpbn9000476 for ; Fri, 22 Sep 2006 22:51:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k8MMpbvu000475; Fri, 22 Sep 2006 22:51:37 GMT (envelope-from nobody) Message-Id: <200609222251.k8MMpbvu000475@www.freebsd.org> Date: Fri, 22 Sep 2006 22:51:37 GMT From: Fred Cox To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/103499: www/dotproject needs vulnerability update from 2.0.2 to 2.0.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 23:00:40 -0000 >Number: 103499 >Category: ports >Synopsis: www/dotproject needs vulnerability update from 2.0.2 to 2.0.4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Sep 22 23:00:34 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Fred Cox >Release: 6.4-RELEASE-p6 >Organization: >Environment: FreeBSD goodnag.com 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #3: Thu Sep 7 06:54:40 UTC 2006 root@goodnag.com:/usr/obj/usr/src/sys/FREDKERNEL i386 >Description: www/dotproject 2.0.2 has a XSS vulnerability that was fixed in June. See http://www.dotproject.net/ This patch is a update to get the right version, plus a dependency on PHP 4 and documentation of the requirement for using a MySQL 3.23 server or a pointer to a patch to use a later MySQL. >How-To-Repeat: >Fix: diff -ruN dotproject.orig/Makefile dotproject/Makefile --- dotproject.orig/Makefile Wed Sep 20 00:46:49 2006 +++ dotproject/Makefile Wed Sep 20 00:47:20 2006 @@ -6,20 +6,23 @@ # PORTNAME= dotproject -PORTVERSION= 2.0.2 +PORTVERSION= 2.0.4 CATEGORIES= www devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-v${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION} -MAINTAINER= antonio@php.net +MAINTAINER= sailorfred@yahoo.com COMMENT= Open Source Project Management tool WRKSRC= ${WRKDIR}/${PORTNAME} DOTPROJECTDIR= ${PREFIX}/www/${PORTNAME} NO_BUILD= yes USE_PHP= gd mysql session +DEFAULT_PHP_VER=4 WANT_PHP_WEB= yes +IGNORE_WITH_PHP=5 +USE_APACHE= 1.3 SUB_LIST+= DOTPROJECTDIR=${DOTPROJECTDIR} SUB_FILES= pkg-message diff -ruN dotproject.orig/distinfo dotproject/distinfo --- dotproject.orig/distinfo Wed Sep 20 00:46:49 2006 +++ dotproject/distinfo Wed Sep 20 00:53:24 2006 @@ -1,3 +1,3 @@ -MD5 (dotproject-v2.0.2.tar.gz) = b9c507e3496115968513b1835470e667 -SHA256 (dotproject-v2.0.2.tar.gz) = 16394c1ae5b810132552116296f2a351d4be927be76473ab5ed5a754c745e5f7 -SIZE (dotproject-v2.0.2.tar.gz) = 2109936 +MD5 (dotproject-2.0.4.tar.gz) = e0a846f0b2d37f7f3f4a5287b844e2d8 +SHA256 (dotproject-2.0.4.tar.gz) = d0ce048f423baf8ddfe244d93df7b4e1dab9225f2f723424938a6b132a6302b7 +SIZE (dotproject-2.0.4.tar.gz) = 2124056 diff -ruN dotproject.orig/files/pkg-message.in dotproject/files/pkg-message.in --- dotproject.orig/files/pkg-message.in Wed Sep 20 00:46:49 2006 +++ dotproject/files/pkg-message.in Wed Sep 20 01:07:55 2006 @@ -4,5 +4,15 @@ Alias /dotproject/ "%%DOTPROJECTDIR%%/" +dotProject has bugs when using MySQL servers later then version 3.23. +If you had not previously installed MySQL 3.23, you will need access +to a 3.23 server. You will not be able to install one from this +ports tree. You can use a remote server, or install one in a jail. +To install a local MySQL 3.23 server you will need to create a jail +and install databases/mysql323-server. + +Another option is to patch dotProject to use MySQL 5. See +http://www.dotproject.net/vbulletin/archive/index.php/t-5292.html + Then access http:///dotproject and follow the instructions to complete the installation. >Release-Note: >Audit-Trail: >Unformatted: