summaryrefslogtreecommitdiffstats
path: root/lua-forge
diff options
context:
space:
mode:
authorJeremy Blosser2013-10-14 13:32:24 -0500
committerJeremy Blosser2013-10-14 13:32:24 -0500
commit4df9fe85be2bc20277cc84d21eadd5f19b22e608 (patch)
tree94f141060f6a3bc9407abc12113ed0aabe51938f /lua-forge
parent6b3a5121f44212535c1ff8d77028fdcab2e195fd (diff)
lualdap: new spell, LDAP library for lua
Diffstat (limited to 'lua-forge')
-rwxr-xr-xlua-forge/lualdap/DEPENDS2
-rwxr-xr-xlua-forge/lualdap/DETAILS19
-rw-r--r--lua-forge/lualdap/HISTORY2
-rwxr-xr-xlua-forge/lualdap/PRE_BUILD6
4 files changed, 29 insertions, 0 deletions
diff --git a/lua-forge/lualdap/DEPENDS b/lua-forge/lualdap/DEPENDS
new file mode 100755
index 0000000000..f416e11c9d
--- /dev/null
+++ b/lua-forge/lualdap/DEPENDS
@@ -0,0 +1,2 @@
+depends lua51 &&
+depends openldap
diff --git a/lua-forge/lualdap/DETAILS b/lua-forge/lualdap/DETAILS
new file mode 100755
index 0000000000..ef8466fcfb
--- /dev/null
+++ b/lua-forge/lualdap/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=lualdap
+ VERSION=1.1.0
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://files.luaforge.net/releases/lualdap/lualdap/LuaLDAP1.1.0/${SOURCE}
+ SOURCE_HASH=sha512:48217d0428cdc45a3d310458a59ba507b334ed75fe8c24f5a963e3c8e891b063f60f89ce5475fe83e3f32e4971e16ce9c7b1daffd78200db8372440a01155d4b
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.keplerproject.org/lualdap/
+ LICENSE[0]=http://www.keplerproject.org/lualdap/license.html
+ ENTERED=20131014
+ SHORT="LDAP support for Lua"
+cat << EOF
+LuaLDAP is a simple interface from Lua to an LDAP client, in fact it is
+a bind to OpenLDAP or to ADSI. It enables a Lua program to:
+
+ o Connect to an LDAP server;
+ o Execute any operation (search, add, compare, delete, modify and rename);
+ o Retrieve entries and references of the search result.
+
+EOF
diff --git a/lua-forge/lualdap/HISTORY b/lua-forge/lualdap/HISTORY
new file mode 100644
index 0000000000..82a884b250
--- /dev/null
+++ b/lua-forge/lualdap/HISTORY
@@ -0,0 +1,2 @@
+2013-10-14 Jeremy Blosser <jblosser@sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD: spell created
diff --git a/lua-forge/lualdap/PRE_BUILD b/lua-forge/lualdap/PRE_BUILD
new file mode 100755
index 0000000000..4e47dedbf2
--- /dev/null
+++ b/lua-forge/lualdap/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+sed -i "s:/usr/local:$INSTALL_ROOT/usr:g" config &&
+sed -i 's:/usr/lib/lua/5.0:/usr/lib/lua/5.1:' config &&
+sed -i 's:LUA_VERSION_NUM= 500:LUA_VERSION_NUM= 510:' config