Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51662 - Request: claroline
Summary: Request: claroline
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Web-apps project
URL:
Whiteboard: [webapp-overlay]
Keywords: EBUILD, InOverlay
: 163963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-21 09:00 UTC by Alessandro Surace
Modified: 2007-01-26 19:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A possible ebuild file (claroline-1.4.2.ebuild,722 bytes, text/plain)
2004-06-18 08:58 UTC, Alessandro Surace
Details
Ebuild for claroline (claroline-1.5.1.ebuild,1.37 KB, text/plain)
2004-09-22 10:10 UTC, Gunnar Wrobel (RETIRED)
Details
Postinstall information for the claroline ebuild (postinstall-en.txt,2.13 KB, text/plain)
2004-09-22 10:12 UTC, Gunnar Wrobel (RETIRED)
Details
Ebuild for claroline-1.6.2 (claroline-1.6.2.ebuild,1.63 KB, text/plain)
2005-08-12 16:01 UTC, Gunnar Wrobel (RETIRED)
Details
Postinstall information for the claroline ebuild (postinstall-en.txt,2.13 KB, text/plain)
2005-08-12 16:02 UTC, Gunnar Wrobel (RETIRED)
Details
Ebuild for claroline-1.7.0 (claroline-1.7.0.ebuild,1.71 KB, text/plain)
2005-11-13 09:50 UTC, Gunnar Wrobel (RETIRED)
Details
Postinstall information for the claroline ebuild (postinstall-en.txt,1.15 KB, text/plain)
2005-11-13 09:51 UTC, Gunnar Wrobel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Surace 2004-05-21 09:00:47 UTC
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.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-05-22 05:51:44 UTC
so why is this a blocker ?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-23 19:29:51 UTC
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)
Comment 3 Alessandro Surace 2004-06-18 08:58:51 UTC
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!
Comment 4 Alessandro Surace 2004-06-18 09:00:32 UTC
In attachement a possible ebuild file.
I need some help to install the files in the right place.
Thanks
Alessandro
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-23 11:14:49 UTC
alessandro, please reattach your ebuild as PLAINTEXT
Comment 6 Alessandro Surace 2004-06-24 00:53:32 UTC
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
}
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-02 04:04:46 UTC
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.
Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2004-08-11 13:47:32 UTC
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
Comment 9 Gunnar Wrobel (RETIRED) gentoo-dev 2004-09-22 10:10:12 UTC
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.
Comment 10 Gunnar Wrobel (RETIRED) gentoo-dev 2004-09-22 10:12:54 UTC
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.
Comment 11 Alessandro Surace 2005-06-15 06:48:03 UTC
I thought that if I can't install and use the apps using emerge It will
considered  blocking.

Comment 12 Gunnar Wrobel (RETIRED) gentoo-dev 2005-08-12 16:01:07 UTC
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.
Comment 13 Gunnar Wrobel (RETIRED) gentoo-dev 2005-08-12 16:02:01 UTC
Created attachment 65793 [details]
Postinstall information for the claroline ebuild
Comment 14 Gunnar Wrobel (RETIRED) gentoo-dev 2005-08-25 14:07:16 UTC
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. 
Comment 15 Daniel Webert 2005-08-25 14:55:32 UTC
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>
Comment 16 Gunnar Wrobel (RETIRED) gentoo-dev 2005-08-25 23:40:36 UTC
Great news! Thanks for the information. Will create the new ebuild once 1.7 is out.
Comment 17 Gunnar Wrobel (RETIRED) gentoo-dev 2005-11-13 09:50:29 UTC
Created attachment 72836 [details]
Ebuild for claroline-1.7.0
Comment 18 Gunnar Wrobel (RETIRED) gentoo-dev 2005-11-13 09:51:09 UTC
Created attachment 72837 [details]
Postinstall information for the claroline ebuild
Comment 19 Gunnar Wrobel (RETIRED) gentoo-dev 2005-12-11 03:23:29 UTC
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.
Comment 20 Renat Lumpau (RETIRED) gentoo-dev 2005-12-11 07:06:56 UTC
Fixed UPSTREAM
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2007-01-26 19:34:22 UTC
*** Bug 163963 has been marked as a duplicate of this bug. ***