summaryrefslogtreecommitdiff
path: root/dev-ml/ocamldap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ml/ocamldap
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/ocamldap')
-rw-r--r--dev-ml/ocamldap/Manifest4
-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, 72 insertions, 0 deletions
diff --git a/dev-ml/ocamldap/Manifest b/dev-ml/ocamldap/Manifest
new file mode 100644
index 000000000000..aa0070b8e9fc
--- /dev/null
+++ b/dev-ml/ocamldap/Manifest
@@ -0,0 +1,4 @@
+AUX ocaml-4.02.patch 328 BLAKE2B 3eb39ce95c229ad764d4e58652da76776b5942d9973bb83b93f35e488f5abbffa85ed204e81d476d8695baa19882ecda48013eafa3a5d10c590a449ead2774a0 SHA512 375027a35bb592f215f5bdccdf4ff18ad29feb6e82236f8bd1fd4852cd2b50da3934d95ddcb73468ba9c039b2e09e24ae4b8f27ba23e399e1892bcac02e6c5b5
+DIST ocamldap-2.2.tar.gz 174204 BLAKE2B 38417bc5ee633db912cbaa299dea0def74a2b31ca54f70b798cb3380623764b27ceec04c708d3632b8d7a6ef42792668d1d9a9e6f910c6fe35b15569da2efda5 SHA512 e24e78497b7c9ed89b0ae73c5773cc9ec28c7c7d317b4b8b39f6b20536ff8f44e15c2657d6aba4bb4689afb5bb155fc7391bea6edab50d0855b22bc457982a2d
+EBUILD ocamldap-2.2.ebuild 669 BLAKE2B 3dfed4de6137a3e252bfc7d3f043c9b1a0baa2621eee5c8edc2ae060659f29beae2cf0f12d0fa51d1a8ce928915c068da590370401f38b8755643d7a0937632d SHA512 07d6fb0d225f17734ac521874917d1f89565ca977464ff7530d472aa33c3a5362fb9d3bd0ba1831f4ed11f5134400b4ee4e010da70fbc1d83a862100799b9212
+MISC metadata.xml 1449 BLAKE2B ddb710c7151a3c746e3656f26ebb3e23a0e2e626598559be19b75f33bb85cc17a4780b5ade62396c939a9d7ec9f5113720cc0fd6b65465ab42ee3bdb888deb41 SHA512 a545af4b155f65ff17cb92473ceeaedfadc359588defe93ba159d25052fb4c7d29ee5e0e8a9fc3074e211ff1dd22367f3acbfba373dfe0fbe1f9df3c3c35e4ea
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
+}