From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 16 05:00:05 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E031065673 for ; Wed, 16 Apr 2008 05:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 11CE98FC19 for ; Wed, 16 Apr 2008 05:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3G504eM015013 for ; Wed, 16 Apr 2008 05:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3G50408015006; Wed, 16 Apr 2008 05:00:04 GMT (envelope-from gnats) Resent-Date: Wed, 16 Apr 2008 05:00:04 GMT Resent-Message-Id: <200804160500.m3G50408015006@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, Wen heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 118DA1065672 for ; Wed, 16 Apr 2008 04:57:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 004E58FC0A for ; Wed, 16 Apr 2008 04:57:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3G4vSjr091878 for ; Wed, 16 Apr 2008 04:57:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3G4vSgl091877; Wed, 16 Apr 2008 04:57:28 GMT (envelope-from nobody) Message-Id: <200804160457.m3G4vSgl091877@www.freebsd.org> Date: Wed, 16 Apr 2008 04:57:28 GMT From: Wen heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122812: [Update] www/dokeos : update to 1.8.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: Wed, 16 Apr 2008 05:00:05 -0000 >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: