The application can be found on : http://www.claroline.net/ I will try to make the package for gentoo. Reproducible: Always Steps to Reproduce: 1. 2. 3.
so why is this a blocker ?
alessandro, please reopen this bug when you have made a gentoo ebuild for it. (documentation is at www.gentoo.org and dev.gentoo.org/~liquidx)
Created attachment 33500 [details] A possible ebuild file At the moment It doesn't work; It doesn't install the files in the right place!
In attachement a possible ebuild file. I need some help to install the files in the right place. Thanks Alessandro
alessandro, please reattach your ebuild as PLAINTEXT
But it is in plain text! I paste it here: # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Claroline E-learning System" HOMEPAGE="http://www.claroline.net/" SRC_URI="http://www.claroline.net/dlarea/${PN}142.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-php/php-4.3.4-r4 >=dev-db/mysql-3.23.52-r1 >=net-www/apache-1.3.31" S= src_compile() { return } src_install() { mkdir -p ${D}/var/www/localhost/htdocs cp -dpR ${WORKDIR}/${PN}142/claroline ${WORKDIR}/${PN}142/index.php \ ${D}/var/www/localhost/htdocs doins /var/www/localhost/htdocs/index.php }
Alessandro, what I meant was when you click create a new attachment link, it asks on the type of file you attach -- there you must select plaintext.
Alessandro, Your ebuild needs to use webapp.eclass, which will probably solve the question sf where to install. Please read man webapp.eclass, and see for instance the latest Bugzilla ebuild. That should get you started. Also, please read the Contributing Ebuilds guide on gentoo.org - GPL is not a valid license. You probably want GPL-2 - 1.5 is out, you might want to update SRC_URI. It's also a good idea to try not to hardcode it in, you could try MY_PN=${PN/./} or some such - your DEPEND should probably be RDEPEND. also, >=net-www/apache-1.3.31 implies that the package will work with any 2.x version---is that what you wanted? - you should define ${S}; you won't have to specify ${WORKDIR}/${PN}142
Created attachment 40171 [details] Ebuild for claroline This is a fixed ebuild for claroline that should be compatible with webapp-config. This ebuild certainly needs some more testing.
Created attachment 40172 [details] Postinstall information for the claroline ebuild This contains some information on how to finalize the Claroline install. While establishing the ebuild I realized that the claroline developers probably did not give security a very high priority. So I added a warning to the message.
I thought that if I can't install and use the apps using emerge It will considered blocking.
Created attachment 65792 [details] Ebuild for claroline-1.6.2 New version. Similar concerns as for the previous version though the developers did fix some XSS and other holes.
Created attachment 65793 [details] Postinstall information for the claroline ebuild
According to Stuart applications that require "register_globals=on" for php won't be added to the tree. So I would request closing this bug as WONT until upstream fixes the problem.
in the upcomming 1.7 we dont have the reg_global issue ... <snip> http://www.claroline.net/newfeatures17.html Security improvements Claroline installation requirements have been improved : the register_globals PHP settings can now be set to Off, increasing the security of the server and opening the possibility to install in a much easier way Claroline to some hosting services who close this possibility for security reasons. </snip>
Great news! Thanks for the information. Will create the new ebuild once 1.7 is out.
Created attachment 72836 [details] Ebuild for claroline-1.7.0
Created attachment 72837 [details] Postinstall information for the claroline ebuild
Hi, claroline-1.7.1 is now in our unofficial overlay: http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser/www-apps/claroline/ Please note that the overlay is unofficial, not a Gentoo project, and not supported. It is intended to provide easier access to new web applications. Detailed instructions for use are forthcoming.
Fixed UPSTREAM
*** Bug 163963 has been marked as a duplicate of this bug. ***