ports/154023: [patch] Dokuwiki requires phpX-openssl for install/updating plugins via the web UI

Jason Taylor jason at infinitebubble.com
Sat Jan 15 09:30:15 UTC 2011


>Number:         154023
>Category:       ports
>Synopsis:       [patch] Dokuwiki requires phpX-openssl for install/updating plugins via the web UI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 15 09:30:14 UTC 2011
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list