Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316185 (dev-ml/ocamldap) - ocamldap-2.1.8.ebuild (New Package)
Summary: ocamldap-2.1.8.ebuild (New Package)
Status: RESOLVED FIXED
Alias: dev-ml/ocamldap
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/projects/ocaml...
Whiteboard:
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2010-04-19 20:51 UTC by Tomasz Bielaszewski
Modified: 2012-09-15 15:13 UTC (History)
2 users (show)

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


Attachments
ocamldap-2.1.8.ebuild (ocamldap-2.1.8.ebuild,778 bytes, text/plain)
2010-04-19 20:54 UTC, Tomasz Bielaszewski
Details
ocamldap-2.1.8.ebuild (ocamldap-2.1.8.ebuild,635 bytes, text/plain)
2012-08-22 15:58 UTC, Jacques-Pascal Deplaix
Details
ocamldap-2.1.8.ebuild (ocaml-ldap-2.1.8.ebuild,681 bytes, text/plain)
2012-09-15 12:25 UTC, Jacques-Pascal Deplaix
Details
ocamldap-2.1.8 (ocamldap-2.1.8.ebuild,698 bytes, text/plain)
2012-09-15 14:59 UTC, Jacques-Pascal Deplaix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Bielaszewski 2010-04-19 20:51:41 UTC
Hi.

In short, ocaml library to interact with LDAP.
Official version taken from http://ocamldap.sourceforge.net/about.shtml

"Ocamldap is an implementation of the Light Weight Directory Access Protocol, and a set of useful tools built around it. It includes high level libraries for creating ldap clients and ldap servers. It also includes many of the auxiliary tools needed for building intelligent solutions, and interoperating with other directories. These include, an rfc2252 schema parser, and an schema checker, an ldif parser and printer, a search filter parser (but no printer yet), and a rudimentary ldap url parser. While including things already done elsewhere is fun, ocamldap adds something as well. So it implements a concept which tries to provide a basic unit of abstraction for managing directory data, called a service. A service is a bit like a stored search filter that you give a name. So you can ask ocamldap if an object satisfies its conditions, but unlike a search filter you can also ask ocamldap to MAKE an object satisfy its conditions. This can be really useful in distributed managment applications. Needless to say, more on this in the Documentation section."
Comment 1 Tomasz Bielaszewski 2010-04-19 20:54:24 UTC
Created attachment 228445 [details]
ocamldap-2.1.8.ebuild
Comment 2 Jacques-Pascal Deplaix 2012-08-22 15:58:33 UTC
Created attachment 321962 [details]
ocamldap-2.1.8.ebuild

Cleaning + EAPI set to 4 + ocamlopt set by default
Comment 3 Alexis Ballier gentoo-dev 2012-09-14 20:31:04 UTC
- DEPEND=">=dev-lang/ocaml[ocamlopt?]-3.10.2
is invalid

- ebuild has dos line handlings
- missing dodocs for README & co
- it should have a doc useflag to install the html documentention in doc/
Comment 4 Alexis Ballier gentoo-dev 2012-09-14 20:32:05 UTC
(In reply to comment #3)
> - ebuild has dos line handlings

dos line _endings_ that is :)
Comment 5 Jacques-Pascal Deplaix 2012-09-15 12:25:08 UTC
Created attachment 323874 [details]
ocamldap-2.1.8.ebuild

Fixed.
BTW, it will probably have a release soon.
Comment 6 Alexis Ballier gentoo-dev 2012-09-15 14:39:25 UTC
- src_test fails here :

>>> Test phase [test]: dev-ml/ocamldap-2.1.8
ocamlfind ocamlc -package netstring,str,ssl -c test.ml
File "test.ml", line 60, characters 6-14:
Warning 26: unused variable set_port.
cc -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu  test.o   -o test
gcc: error: test.o: No such file or directory
make: *** [test] Error 1
 * ERROR: dev-ml/ocamldap-2.1.8 failed (test phase):
 *   Make test failed. See above for details.
 * 
 * Call stack:
 *          ebuild.sh, line  85:  Called src_test


it seems it is just hitting a default make rule while there is no test suite, should probably have RESTRICT="test"

- the latest ebuild you submitted was named ocaml-ldap instead of ocamldap, was it on purpose ?
Comment 7 Jacques-Pascal Deplaix 2012-09-15 14:59:41 UTC
Created attachment 323892 [details]
ocamldap-2.1.8

I've added the restriction.
Hmm, ocaml-ldap is my fork of ocamldap, but it was just a naming mistake.
Comment 8 Alexis Ballier gentoo-dev 2012-09-15 15:13:52 UTC
added to the tree, thanks