Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include bugfix from debian, bump version number, create rockspec #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions rockspecs/lualdap/lualdap-1.2.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package="lualdap"
version="1.2.0-1"
source = {
url = "https://github.com/jprjr/lualdap/archive/v1.2.0.tar.gz",
dir = "lualdap-1.2.0",
}
description = {
summary = "Simple interface from Lua to an LDAP Client",
detailed = [[
Simple interface from Lua to an LDAP client.
]],
homepage = "https://github.com/jprjr/lualdap",
license = "MIT"
}
dependencies = {
"lua >= 5.1, < 5.3"
}
external_dependencies = {
LDAP = {
header = "ldap.h",
library = "ldap",
}
}
build = {
type = "builtin",
modules = {
lualdap = {
sources = "src/lualdap.c",
libdirs = "$(LDAP_LIBDIR)",
incdirs = "$(LDAP_INCDIR)",
libraries = "ldap",
},
}
}
1 change: 1 addition & 0 deletions src/lualdap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifdef WINLDAP
#include "open2winldap.h"
#else
#define LDAP_DEPRECATED 1
#include "ldap.h"
#endif

Expand Down