summaryrefslogtreecommitdiff
path: root/dev-ml/ocamldap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/ocamldap
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/ocamldap')
-rw-r--r--dev-ml/ocamldap/Manifest6
-rw-r--r--dev-ml/ocamldap/files/ocaml-4.02.patch13
-rw-r--r--dev-ml/ocamldap/metadata.xml27
-rw-r--r--dev-ml/ocamldap/ocamldap-2.2.ebuild28
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-ml/ocamldap/Manifest b/dev-ml/ocamldap/Manifest
new file mode 100644
index 000000000000..2ae739e494f5
--- /dev/null
+++ b/dev-ml/ocamldap/Manifest
@@ -0,0 +1,6 @@
+AUX ocaml-4.02.patch 328 SHA256 7e9f8e2dfda427f47631963b592501cc4e0fa9f725ec615771b214147b6a102d SHA512 375027a35bb592f215f5bdccdf4ff18ad29feb6e82236f8bd1fd4852cd2b50da3934d95ddcb73468ba9c039b2e09e24ae4b8f27ba23e399e1892bcac02e6c5b5 WHIRLPOOL 836c8f4761258cc487cdf3a6a9196929ecf69362965d8bbd4b474aad6685145014cd52d1d4e4f76c61677742edd76f7e143e4367bb355be467ba279b80ca8d80
+DIST ocamldap-2.2.tar.gz 174204 SHA256 19da4383c76b22eea22f9ba50b55829fa6a4ed430d58b6291545dfbe57449804 SHA512 e24e78497b7c9ed89b0ae73c5773cc9ec28c7c7d317b4b8b39f6b20536ff8f44e15c2657d6aba4bb4689afb5bb155fc7391bea6edab50d0855b22bc457982a2d WHIRLPOOL 5e93f761d44aa4e7249a8c04f31d42fcf0b1872610b08a21b3289796209cdea537f5f8d87421e036fe5ffa9de160af2b833020aac347cde91dd91228a5ed5843
+EBUILD ocamldap-2.2.ebuild 669 SHA256 641d0772aaa71a984927f5f5e54a9420cd8ff6ce681c17ccc431b58fc0bf50a7 SHA512 07d6fb0d225f17734ac521874917d1f89565ca977464ff7530d472aa33c3a5362fb9d3bd0ba1831f4ed11f5134400b4ee4e010da70fbc1d83a862100799b9212 WHIRLPOOL a1de0af722783eb22abe0b540c1f57b08f26eacae8812adf0e6770e6a1af604f887d326993e3a79058c1b8286e93881ba7791f46ffd552996871dcdefb59b543
+MISC ChangeLog 3116 SHA256 51a4e0492307c1e7b57da30bb1c12302e56368e195c3d942b4b5fbd54df2b72a SHA512 aebe2b452b9871d69e3c9363ee1f1fa454a683a864e92fda5e477662ff964b703dd3958b2e1911a980b80e5395f8ab3786893657c60830550c04df1985002896 WHIRLPOOL 1f89afc8a107b55f5e8f75fa3cb87df070d442a40ad7807242b9c25235fe933a59a3c177653476a6851a269d52cc0da9950b802303917616659034ae7e4fb644
+MISC ChangeLog-2015 919 SHA256 41abeea700a0c23921b886e7a50bcc9bb80a942d2c27d9a1140a3118b3f0ecff SHA512 be08915e08a3eb07ff719fe891fd6890a9ee7080967b888dc8c12b37daaf738fbcb3bf8aaab5a326381abab2b2379c38b1c1c3dc3835c9b8ec790eb931355d2e WHIRLPOOL c0f2b6ff8d5d467a493e0863038525ac3360670fcca97df8ee0bd26376de28e4ec761215e7602721bc97e43f75aca0864db60c9c58c040b9cd144a1f5ab7edf9
+MISC metadata.xml 1449 SHA256 a770c592cd4576301e220d310b59ac42803b590edca8a36b36e4aca4d63aaffd SHA512 a545af4b155f65ff17cb92473ceeaedfadc359588defe93ba159d25052fb4c7d29ee5e0e8a9fc3074e211ff1dd22367f3acbfba373dfe0fbe1f9df3c3c35e4ea WHIRLPOOL f815d779c4250fc73b3aeabd8011d14950e2b8e91635f7fe5f0c7bcd4626fb6151516b0c50ab1b68febae94bf3df0ed9ad630f84cb3fab5d2044c5f81dc8e262
diff --git a/dev-ml/ocamldap/files/ocaml-4.02.patch b/dev-ml/ocamldap/files/ocaml-4.02.patch
new file mode 100644
index 000000000000..959ddd0a5a4f
--- /dev/null
+++ b/dev-ml/ocamldap/files/ocaml-4.02.patch
@@ -0,0 +1,13 @@
+diff --git a/src/ldap_ooclient.ml b/src/ldap_ooclient.ml
+index 79fd51d..7ffa39e 100644
+--- a/src/ldap_ooclient.ml
++++ b/src/ldap_ooclient.ml
+@@ -23,7 +23,7 @@
+ open Ldap_types
+ open Ldap_funclient
+ open Ldap_schemaparser
+-open String
++let lowercase = String.lowercase
+
+ (* types used throughout the library *)
+ (* add types *)
diff --git a/dev-ml/ocamldap/metadata.xml b/dev-ml/ocamldap/metadata.xml
new file mode 100644
index 000000000000..8b85d92a466d
--- /dev/null
+++ b/dev-ml/ocamldap/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <longdescription lang="en">
+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.
+ </longdescription>
+ <upstream>
+ <remote-id type="bitbucket">deplai_j/ocamldap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocamldap/ocamldap-2.2.ebuild b/dev-ml/ocamldap/ocamldap-2.2.ebuild
new file mode 100644
index 000000000000..a53115fc7a11
--- /dev/null
+++ b/dev-ml/ocamldap/ocamldap-2.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="an implementation of the Light Weight Directory Access Protocol"
+HOMEPAGE="http://git-jpdeplaix.dyndns.org/libs/ocamldap.git/"
+SRC_URI="https://bitbucket.org/deplai_j/${PN}/downloads/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="dev-ml/pcre-ocaml:=
+ dev-ml/ocaml-ssl:=
+ dev-ml/ocamlnet:="
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS.txt Changelog INSTALL.txt README.txt )
+
+PATCHES=( "${FILESDIR}/ocaml-4.02.patch" )
+
+src_install() {
+ oasis_src_install
+ use doc && dohtml -r doc/ocamldap/html
+}