From nobody@FreeBSD.org  Sat Jan 15 09:25:57 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DF2AA1065697
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jan 2011 09:25:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id CEBD38FC25
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jan 2011 09:25:57 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0F9PvIB013585
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jan 2011 09:25:57 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p0F9PvOi013584;
	Sat, 15 Jan 2011 09:25:57 GMT
	(envelope-from nobody)
Message-Id: <201101150925.p0F9PvOi013584@red.freebsd.org>
Date: Sat, 15 Jan 2011 09:25:57 GMT
From: Jason Taylor <jason@infinitebubble.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Dokuwiki requires phpX-openssl for install/updating plugins via the web UI
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154023
>Category:       ports
>Synopsis:       [patch] www/dokuwiki requires phpX-openssl for install/updating plugins via the web UI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 15 09:30:14 UTC 2011
>Closed-Date:    Sun Jan 16 02:50:04 UTC 2011
>Last-Modified:  Sun Jan 16 02:50:10 UTC 2011
>Originator:     Jason Taylor
>Release:        8.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD fulla.loc.infinitebubble.com 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Wed Nov  3 22:16:52 PDT 2010     jason@fulla.loc.infinitebubble.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The administration UI within Dokuwiki allows for web-based installation and upgrade of plug-ins.  To do this the PHP code opens a socket and retrieves the needed files from wherever they live out on the internet.  If it tries to grab a file from an HTTPS server, the UI reports that an error has occurred, but gives no further indication what the problem was.
>How-To-Repeat:
Without php5-openssl installed, go to the Manage Plugins page of dokuwiki and attempt to install http://github.com/splitbrain/dokuwiki-plugin-ditaa/zipball/master or https://github.com/splitbrain/dokuwiki-plugin-ditaa/zipball/master.  (The first gets redirected to the second).
>Fix:
Install php5-openssl.  Include openssl in the list of required php modules in the ports Makefile.

Patch attached with submission follows:

--- Makefile.orig	2011-01-15 01:12:45.000000000 -0800
+++ Makefile	2011-01-15 01:13:05.000000000 -0800
@@ -18,7 +18,7 @@
 COMMENT=	A simple and easy to use wiki, no database required
 
 DIST_VER=	${PORTNAME}-2009-12-25
-USE_PHP=	gd mbstring pcre session xml zlib
+USE_PHP=	gd mbstring openssl pcre session xml zlib
 NO_BUILD=	YES
 WANT_PHP_WEB=	YES


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 15 18:32:53 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154023 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Sun Jan 16 02:49:40 UTC 2011 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154023 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154023: commit references a PR
Date: Sun, 16 Jan 2011 02:49:22 +0000 (UTC)

 delphij     2011-01-16 02:49:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/dokuwiki         Makefile 
   Log:
   Add php-openssl as dependency, which is needed for installing/updating
   plugins via web UI.
   
   PR:             ports/154023
   Submitted by:   Jason Taylor <jason infinitebubble.com>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.46      +2 -1      ports/www/dokuwiki/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
