Date: Wed, 16 Apr 2008 04:57:28 GMT From: Wen heping <wenheping@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/122812: [Update] www/dokeos : update to 1.8.4 Message-ID: <200804160457.m3G4vSgl091877@www.freebsd.org> Resent-Message-ID: <200804160500.m3G50408015006@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122812 >Category: ports >Synopsis: [Update] www/dokeos : update to 1.8.4 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Apr 16 05:00:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Wen heping >Release: FreeBSD 7.0 release >Organization: ChangAn Middle School >Environment: FreeBSD fb7.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: 1 update to Dokeos 1.8.4 from 1.6.5 2 the size of the diff file between pkg-plist.orig and pkg-plist is too large(about 500K), i will send the new pkg-plist file in the Follow up email. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2008-04-15 18:08:54.000000000 +0000 +++ Makefile 2008-04-16 00:07:19.000000000 +0000 @@ -6,8 +6,8 @@ # PORTNAME= dokeos -PORTVERSION= 1.6.5 -PORTREVISION= 1 +PORTVERSION= 1.8.4 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.dokeos.com/download/ @@ -15,47 +15,25 @@ COMMENT= Dokeos is an elearning and course management web application USE_PHP= mysql session gd pcre zlib -DIST_SUBDIR= ${PORTNAME} - NO_BUILD= yes - -WANT_PHP_WEB= YES - -DOKEOSDIR?= www/dokeos - +WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS= LDAP "Use LDAP" off -PORT_DBDIR?= /var/db/ports -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} -OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options - -.if exists(${OPTIONSFILE}) -.include "${OPTIONSFILE}" +.if defined(WITH_LDAP) + USE_PHP+= ldap .endif -ALL_OPTIONS= LDAP - -SEL_OPTIONS= yes -.for opt in ${ALL_OPTIONS} -. if defined(WITH_${opt}) && !defined(WITHOUT_${opt}) -SEL_OPTIONS+=${opt:L} -. endif -.endfor - -USE_PHP+= ${SEL_OPTIONS} - do-install: - @${INSTALL_DATA} -d ${PREFIX}/${DOKEOSDIR} - @${CP} -Rn ${WRKSRC}/* ${PREFIX}/${DOKEOSDIR} - @${FIND} ${PREFIX}/${DOKEOSDIR} -type d -exec ${CHMOD} +x {} \; - @${FIND} ${PREFIX}/${DOKEOSDIR}/claroline/inc/conf -type d -exec ${CHMOD} -R +rwx {} \; - @${FIND} ${PREFIX}/${DOKEOSDIR}/claroline/garbage -type d -exec ${CHMOD} -R +rwx {} \; - @${FIND} ${PREFIX}/${DOKEOSDIR}/claroline/upload -type d -exec ${CHMOD} -R +rwx {} \; - @${FIND} ${PREFIX}/${DOKEOSDIR}/archive -type d -exec ${CHMOD} -R +rwx {} \; - @${FIND} ${PREFIX}/${DOKEOSDIR}/courses -type d -exec ${CHMOD} -R +rwx {} \; - @${FIND} ${PREFIX}/${DOKEOSDIR}/home -type d -exec ${CHMOD} -R +rwx {} \; - - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKEOSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @${CHMOD} -R 755 ${WWWDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ + >> ${TMPPLIST} + @${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \ + >> ${TMPPLIST} + @${CHMOD} 666 ${WWWDIR}/home/*.html + @${ECHO_CMD} '@exec ${CHMOD} 666 ${WWWDIR}/home/*.html' \ + >> ${TMPPLIST} post-install: @${CAT} ${PKGMESSAGE} --- distinfo.orig 2006-12-21 22:33:39.000000000 +0000 +++ distinfo 2008-04-16 00:27:13.000000000 +0000 @@ -1,3 +1,3 @@ -MD5 (dokeos/dokeos-1.6.5.tar.gz) = 86adf7e3c3f0fb637fd6f1441e0b0f67 -SHA256 (dokeos/dokeos-1.6.5.tar.gz) = baf6d4edc069508805e893d46f485a3b8ad29836b8c729b1feec593145874b64 -SIZE (dokeos/dokeos-1.6.5.tar.gz) = 4146723 +MD5 (dokeos-1.8.4.tar.gz) = 530ec8e268556a51a3b594a9eded0ff3 +SHA256 (dokeos-1.8.4.tar.gz) = df9d72cf2125318efcc66ea24d92f4c93db659474fd85ccdc1dd04b2d8fc2934 +SIZE (dokeos-1.8.4.tar.gz) = 18556528 --- pkg-message.orig 2006-05-13 16:31:41.000000000 +0000 +++ pkg-message 2008-04-16 00:24:24.000000000 +0000 @@ -1,6 +1,14 @@ ================================================= +Create a mysql user and database for Dokeos, +add a alias in Apache configure file for Dokeos , +then visit your Dokeos site with a browser (i.e., +http://your.server.com/dokeos/), and you should +be taken to the install.php script, which will lead +you through the other setup up. + + For install information please read: - INSTALL.txt or installation_guide.html +http://www.dokeos.com/doc/installation_guide.html If you are in real trouble browse to: -o http://www.dokeos.com/forum/ +http://www.dokeos.com/forum/ ================================================= >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804160457.m3G4vSgl091877>