ports/103499: www/dotproject needs vulnerability update from 2.0.2 to 2.0.4
Fred Cox
sailorfred at yahoo.com
Fri Sep 22 23:00:40 UTC 2006
>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 at 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 at php.net
+MAINTAINER= sailorfred at 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://<host>/dotproject and follow the instructions to
complete the installation.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list