Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406513 - www-servers/ocsigenserver-2.1 - Ocaml-powered webserver and framework for dynamic web programming
Summary: www-servers/ocsigenserver-2.1 - Ocaml-powered webserver and framework for dyn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on: 406515
Blocks: 406661
  Show dependency tree
 
Reported: 2012-03-02 04:48 UTC by Guillaume Horel
Modified: 2012-08-08 18:27 UTC (History)
2 users (show)

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


Attachments
ocsigenserver-2.0.3 ebuild (ocsigenserver-2.0.3.ebuild,2.14 KB, text/plain)
2012-03-02 04:49 UTC, Guillaume Horel
Details
ocsigenserver-makefile patch (ocsigenserver-makefile.patch,2.26 KB, text/plain)
2012-03-02 04:50 UTC, Guillaume Horel
Details
init.d file (ocsigenserver.initd,882 bytes, text/plain)
2012-03-02 04:50 UTC, Guillaume Horel
Details
conf.d file (ocsigenserver.confd,365 bytes, text/plain)
2012-03-02 04:51 UTC, Guillaume Horel
Details
ocsigenserver-2.0.3.ebuild (ocsigenserver-2.0.3.ebuild,2.11 KB, text/plain)
2012-03-02 17:31 UTC, Guillaume Horel
Details
ocsigenserver-makefile.patch (ocsigenserver-makefile.patch,968 bytes, text/plain)
2012-03-02 17:32 UTC, Guillaume Horel
Details
conf.d file (ocsigenserver.confd,432 bytes, text/plain)
2012-03-02 17:32 UTC, Guillaume Horel
Details
ocsigenserver-2.0.4.ebuild (ocsigenserver-2.0.4.ebuild,1.70 KB, text/plain)
2012-03-30 16:29 UTC, Guillaume Horel
Details
ocsigenserver-makefile.patch (ocsigenserver-makefile.patch,480 bytes, text/plain)
2012-03-30 16:30 UTC, Guillaume Horel
Details
ocsigenserver-2.1.ebuild (ocsigenserver-2.1.ebuild,1.64 KB, text/plain)
2012-06-14 20:49 UTC, Jacques-Pascal Deplaix
Details
ocsigenserver-2.1.ebuild (ocsigenserver-2.1.ebuild,1.70 KB, text/plain)
2012-06-15 01:51 UTC, Guillaume Horel
Details
ocsigenserver-2.1-makefile.patch (ocsigenserver-2.1-makefile.patch,594 bytes, patch)
2012-06-15 01:52 UTC, Guillaume Horel
Details | Diff
ocsigenserver-2.1.ebuild (ocsigenserver-2.1.ebuild,1.72 KB, text/plain)
2012-07-25 09:23 UTC, Jacques-Pascal Deplaix
Details
ocsigenserver-2.1.ebuild (ocsigenserver-2.1.ebuild,1.72 KB, text/plain)
2012-08-03 13:07 UTC, Jacques-Pascal Deplaix
Details
ocsigenserver-2.1.ebuild (ocsigenserver-2.1.ebuild,1.77 KB, text/plain)
2012-08-07 16:43 UTC, Jacques-Pascal Deplaix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Horel 2012-03-02 04:48:07 UTC
This is a bump/rewrite of the ocsigen ebuild, already in the tree. The name changed to ocsigenserver upstream.
Comment 1 Guillaume Horel 2012-03-02 04:49:58 UTC
Created attachment 303909 [details]
ocsigenserver-2.0.3 ebuild
Comment 2 Guillaume Horel 2012-03-02 04:50:35 UTC
Created attachment 303911 [details]
ocsigenserver-makefile patch
Comment 3 Guillaume Horel 2012-03-02 04:50:54 UTC
Created attachment 303913 [details]
init.d file
Comment 4 Guillaume Horel 2012-03-02 04:51:07 UTC
Created attachment 303915 [details]
conf.d file
Comment 5 Guillaume Horel 2012-03-02 17:31:39 UTC
Created attachment 304007 [details]
ocsigenserver-2.0.3.ebuild
Comment 6 Guillaume Horel 2012-03-02 17:32:05 UTC
Created attachment 304009 [details]
ocsigenserver-makefile.patch
Comment 7 Guillaume Horel 2012-03-02 17:32:46 UTC
Created attachment 304011 [details]
conf.d file
Comment 8 Guillaume Horel 2012-03-30 16:29:37 UTC
Created attachment 307209 [details]
ocsigenserver-2.0.4.ebuild

version bump and cleaned up the dependencies
Comment 9 Guillaume Horel 2012-03-30 16:30:04 UTC
Created attachment 307213 [details]
ocsigenserver-makefile.patch
Comment 10 Jacques-Pascal Deplaix 2012-06-14 20:49:58 UTC
Created attachment 315333 [details]
ocsigenserver-2.1.ebuild
Comment 11 Guillaume Horel 2012-06-15 01:51:34 UTC
Created attachment 315377 [details]
ocsigenserver-2.1.ebuild
Comment 12 Guillaume Horel 2012-06-15 01:52:30 UTC
Created attachment 315379 [details, diff]
ocsigenserver-2.1-makefile.patch
Comment 13 Jacques-Pascal Deplaix 2012-07-25 09:23:48 UTC
Created attachment 319192 [details]
ocsigenserver-2.1.ebuild

Just a license fix.
Comment 14 Jacques-Pascal Deplaix 2012-08-03 13:07:06 UTC
Created attachment 320160 [details]
ocsigenserver-2.1.ebuild
Comment 15 Alexis Ballier gentoo-dev 2012-08-07 15:35:33 UTC
why changing the name and not bumping www-servers/ocsigen ?
its the same package afaik
Comment 16 Guillaume Horel 2012-08-07 15:40:11 UTC
Upstream changed its name to ocsigenserver with the 2.x release. It is just a bump of ocsigen otherwise.
Comment 17 Jacques-Pascal Deplaix 2012-08-07 15:43:50 UTC
(In reply to comment #15)
> why changing the name and not bumping www-servers/ocsigen ?
> its the same package afaik

No, www-servers/ocsigen is the ocsigen bundle (the framework). Not only the server.
Comment 18 Alexis Ballier gentoo-dev 2012-08-07 15:45:53 UTC
(In reply to comment #17)
> (In reply to comment #15)
> > why changing the name and not bumping www-servers/ocsigen ?
> > its the same package afaik
> 
> No, www-servers/ocsigen is the ocsigen bundle (the framework). Not only the
> server.

what is the difference ?
Comment 19 Jacques-Pascal Deplaix 2012-08-07 15:49:57 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > (In reply to comment #15)
> > > why changing the name and not bumping www-servers/ocsigen ?
> > > its the same package afaik
> > 
> > No, www-servers/ocsigen is the ocsigen bundle (the framework). Not only the
> > server.
> 
> what is the difference ?

www-servers/ocsigen contains:
 - the server
 - the server library
 - the client/server library

www-servers/ocsigenserver contains:
 - the server
 - the server library

dev-ml/eliom contains:
 - the client/server library
Comment 20 Alexis Ballier gentoo-dev 2012-08-07 16:14:08 UTC
fair enough then :=)

some remarks/questions:

- 		--libdir /usr/$(get_libdir)/ocaml \
-> you need to inherit multilib for get_libdir


where does the makefile patch comes from ?

here it fails to install with USE="-sqlite -dbm":
  extensions/ocsigen_comet.cmi extensions/accesscontrol.cmi extensions/authbasic.cmi extensions/ocsipersist.cmi  extensions/staticmod.cmo extensions/cgimod.cmo extensions/redirectmod.cmo extensions/revproxy.cmo extensions/extensiontemplate.cmo extensions/accesscontrol.cmo extensions/userconf.cmo extensions/outputfilter.cmo extensions/authbasic.cmo extensions/rewritemod.cmo extensions/extendconfiguration.cmo extensions/ocsigen_comet.cmo extensions/cors.cmo  extensions/deflatemod.cmo extensions/staticmod.cmx extensions/cgimod.cmx extensions/redirectmod.cmx extensions/revproxy.cmx extensions/extensiontemplate.cmx extensions/accesscontrol.cmx extensions/userconf.cmx extensions/outputfilter.cmx extensions/authbasic.cmx extensions/rewritemod.cmx extensions/extendconfiguration.cmx extensions/ocsigen_comet.cmx extensions/cors.cmx extensions/deflatemod.cmx extensions/staticmod.o   extensions/cgimod.o   extensions/redirectmod.o   extensions/revproxy.o   extensions/extensiontemplate.o   extensions/accesscontrol.o   extensions/userconf.o   extensions/outputfilter.o   extensions/authbasic.o   extensions/rewritemod.o   extensions/extendconfiguration.o   extensions/ocsigen_comet.o   extensions/cors.o   extensions/deflatemod.o      extensions/staticmod.cmxs extensions/cgimod.cmxs extensions/redirectmod.cmxs extensions/revproxy.cmxs extensions/extensiontemplate.cmxs extensions/accesscontrol.cmxs extensions/userconf.cmxs extensions/outputfilter.cmxs extensions/authbasic.cmxs extensions/rewritemod.cmxs extensions/extendconfiguration.cmxs extensions/ocsigen_comet.cmxs extensions/cors.cmxs extensions/deflatemod.cmxs  extensions/ocsigen_comet.mli extensions/accesscontrol.mli extensions/authbasic.mli extensions/ocsipersist.mli \
  /var/tmp/portage/www-servers/ocsigenserver-2.1/image//usr/lib64/ocaml/ocsigenserver/extensions/
install: cannot stat ‘extensions/ocsipersist.cmi’: No such file or directory
install -d -m 755 /var/tmp/portage/www-servers/ocsigenserver-2.1/image//usr/share/man/man1
install -m 644 src/files/ocsigenserver.1 /var/tmp/portage/www-servers/ocsigenserver-2.1/image//usr/share/man/man1
make[1]: *** [raw_install] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-servers/ocsigenserver-2.1/work/ocsigenserver-2.1/src'
make: *** [install.META] Error 2
make: *** Waiting for unfinished jobs....
 * ERROR: www-servers/ocsigenserver-2.1 failed (install phase):
 *   emake failed



we have sqlite enabled by default, we could just add a REQUIRED_USE for this.
Comment 21 Alexis Ballier gentoo-dev 2012-08-07 16:16:04 UTC
can it really use both gdbm and sqlite at the same time ?
(I remember for ocsigen that one had to chose one, if it will only use one, say sqlite, an ewarn telling that gdbm will not be used is fine, like what was done with ocsigen)
Comment 22 Jacques-Pascal Deplaix 2012-08-07 16:31:35 UTC
(In reply to comment #21)
> can it really use both gdbm and sqlite at the same time ?
> (I remember for ocsigen that one had to chose one, if it will only use one,
> say sqlite, an ewarn telling that gdbm will not be used is fine, like what
> was done with ocsigen)

Yes we can, the module that will be used is specified in ocsigenserver.conf.
Comment 23 Jacques-Pascal Deplaix 2012-08-07 16:33:22 UTC
(In reply to comment #20)
> where does the makefile patch comes from ?

From here: https://ocsigen.org/darcsweb/?r=ocsigenserver.dev;a=commitdiff;h=20120703142148-a85e5-289cc80431cb0560040157a2b566ebecaf2fac05.gz :)
Comment 24 Jacques-Pascal Deplaix 2012-08-07 16:43:45 UTC
Created attachment 320640 [details]
ocsigenserver-2.1.ebuild

Fix: multilib + REQUIRED_USE
Comment 25 Alexis Ballier gentoo-dev 2012-08-07 18:33:04 UTC
RepoMan scours the neighborhood...
  inherit.missing               2
   www-servers/ocsigenserver/ocsigenserver-2.1.ebuild: user.eclass is not inherited, but "enewgroup" found at line: 32
   www-servers/ocsigenserver/ocsigenserver-2.1.ebuild: user.eclass is not inherited, but "enewuser" found at line: 33



fixed and added to the tree

I use the patch from darcs to get the metadata and removed the second hunk

thanks!
Comment 26 Alexis Ballier gentoo-dev 2012-08-07 18:36:15 UTC
ah, and if you want ~x86 keywords, please file another bug requesting keywording, the x86 team will handle it
Comment 27 Jacques-Pascal Deplaix 2012-08-08 13:20:53 UTC
Oh BTW Guillaume, I forgot to mention your name in the commit message of the Makefile patch. I'm sorry.
Comment 28 Guillaume Horel 2012-08-08 18:27:49 UTC
No worries Jacque-Pascal, I'm just glad all the ocsigen packages are finally in the tree :)