ports/121314: [New] ports: www/claroline version 1.8.9
Wen heping
wenheping at gmail.com
Mon Mar 3 11:20:01 UTC 2008
>Number: 121314
>Category: ports
>Synopsis: [New] ports: www/claroline version 1.8.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 03 11:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen heping
>Release: FreeBSD 7 RC2
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb7.wenjing.com 7.0-RC2 FreeBSD 7.0-RC2 #0: Fri Feb 8 00:09:57 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Claroline is an Open Source eLearning and eWorking
platform allowing teachers to build effective online
courses and to manage learning and collaborative
activities on the web. It has been translated into
35 languages and has a large worldwide users and
developers community.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/www/claroline
# /usr/ports/www/claroline/files
# /usr/ports/www/claroline/files/pkg-message.in
# /usr/ports/www/claroline/pkg-descr
# /usr/ports/www/claroline/distinfo
# /usr/ports/www/claroline/Makefile
#
echo c - /usr/ports/www/claroline
mkdir -p /usr/ports/www/claroline > /dev/null 2>&1
echo c - /usr/ports/www/claroline/files
mkdir -p /usr/ports/www/claroline/files > /dev/null 2>&1
echo x - /usr/ports/www/claroline/files/pkg-message.in
sed 's/^X//' >/usr/ports/www/claroline/files/pkg-message.in << 'END-of-/usr/ports/www/claroline/files/pkg-message.in'
X
XPOST-INSTALL CONFIGURATION FOR Claroline
X=====================================
X
X1) Add the following to your Apache configuration, and
X restart the server:
X
X ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X Alias /claroline %%PREFIX%%/%%CLAROLINEDIR%%/
X AcceptPathInfo On
X <Directory %%PREFIX%%/%%CLAROLINEDIR%%>
X AllowOverride None
X Order Allow,Deny
X Allow from all
X </Directory>
X
X2) Visit your Claroline site with a browser (i.e.,
X http://your.server.com/claroline/claroline/install/)
X and you should be taken to the install script,
X which will lead you through setting up Claroline,
X creating an admin account, etc.
X
XFor more information, see the INSTALL DOCUMENTATION:
X
X http://www.claroline.net/doc/en/index.php/Main_Page
END-of-/usr/ports/www/claroline/files/pkg-message.in
echo x - /usr/ports/www/claroline/pkg-descr
sed 's/^X//' >/usr/ports/www/claroline/pkg-descr << 'END-of-/usr/ports/www/claroline/pkg-descr'
XClaroline is an Open Source eLearning and eWorking
Xplatform allowing teachers to build effective online
Xcourses and to manage learning and collaborative
Xactivities on the web. It has been translated into
X35 languages and has a large worldwide users and
Xdevelopers community.
X
XWWW: http://www.claroline.net/
END-of-/usr/ports/www/claroline/pkg-descr
echo x - /usr/ports/www/claroline/distinfo
sed 's/^X//' >/usr/ports/www/claroline/distinfo << 'END-of-/usr/ports/www/claroline/distinfo'
XMD5 (claroline189.tar.gz) = 68842783a7075c2f4672f78139137a16
XSHA256 (claroline189.tar.gz) = 91b5a40ba47f37c216645b7c5c5e6fae48bce686b84f0a7cb6972a6db5d3f8a7
XSIZE (claroline189.tar.gz) = 3746775
END-of-/usr/ports/www/claroline/distinfo
echo x - /usr/ports/www/claroline/Makefile
sed 's/^X//' >/usr/ports/www/claroline/Makefile << 'END-of-/usr/ports/www/claroline/Makefile'
X# New ports collection makefile for: claroline
X# Date created: 29 Feb 2008
X# Whom: Wen heping <wenheping at gmail.com>
X#
X# $FreeBSD:$
X#
X
XPORTNAME= claroline
XPORTVERSION= 1.8.9
XCATEGORIES= www
XMASTER_SITES= SF
XDISTNAME= claroline189
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= An Open Source eLearning and eWorking platform
X
XUSE_PHP= mysql
XWRKSRC= ${WRKDIR}/${DISTNAME}
X
X.include <bsd.port.pre.mk>
X
XNO_BUILD= yes
XPLIST= ${WRKDIR}/plist
XSUB_FILES= pkg-message
XSUB_LIST= CLAROLINEDIR=${CLAROLINEDIR}
XCLAROLINEDIR= www/claroline
X
Xpre-install:
X @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${CLAROLINEDIR}?g" >${PLIST}
X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${CLAROLINEDIR}?g" >> ${PLIST}
X
Xdo-install:
X @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${CLAROLINEDIR}
X @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${CLAROLINEDIR}
X @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
X ${PREFIX}/${CLAROLINEDIR}' >> ${TMPPLIST}
X @${FIND} ${PREFIX}/${CLAROLINEDIR} -type d -exec ${CHMOD} a+x {} \;
X @${CHMOD} ugo+w ${PREFIX}/${CLAROLINEDIR}
X @${ECHO_CMD} '@exec ${CHMOD} 666 ${PREFIX}/${CLAROLINEDIR}' >>${TMPPLIST}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/www/claroline/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list