summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-12-30 15:43:31 +0000
committerwiz <wiz@pkgsrc.org>2014-12-30 15:43:31 +0000
commit8b3ba1cc24679bc4063fd3198586ac5114b8a67d (patch)
treeed80a89b9a33832c14fc8492d538029ec079d481 /databases
parent413f4f0e8854cb72d7859bd00112d20ebeeb127b (diff)
downloadpkgsrc-8b3ba1cc24679bc4063fd3198586ac5114b8a67d.tar.gz
Import qore-openldap-module-1.0nb4 as databases/qore-openldap-module,
packaged for wip by nros. The Qore openldap module makes it possible for Qore programs to communicate with LDAP servers.
Diffstat (limited to 'databases')
-rw-r--r--databases/qore-openldap-module/DESCR2
-rw-r--r--databases/qore-openldap-module/Makefile34
-rw-r--r--databases/qore-openldap-module/PLIST127
-rw-r--r--databases/qore-openldap-module/TODO1
-rw-r--r--databases/qore-openldap-module/distinfo7
-rw-r--r--databases/qore-openldap-module/options.mk12
-rw-r--r--databases/qore-openldap-module/patches/patch-configure21
-rw-r--r--databases/qore-openldap-module/patches/patch-src_Makefile.in13
8 files changed, 217 insertions, 0 deletions
diff --git a/databases/qore-openldap-module/DESCR b/databases/qore-openldap-module/DESCR
new file mode 100644
index 00000000000..b3747c9a566
--- /dev/null
+++ b/databases/qore-openldap-module/DESCR
@@ -0,0 +1,2 @@
+The Qore openldap module makes it possible for Qore programs to
+communicate with LDAP servers.
diff --git a/databases/qore-openldap-module/Makefile b/databases/qore-openldap-module/Makefile
new file mode 100644
index 00000000000..d0e9a16c8ec
--- /dev/null
+++ b/databases/qore-openldap-module/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2014/12/30 15:43:31 wiz Exp $
+
+DISTNAME= qore-openldap-module-1.0
+PKGREVISION= 4
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= nros@users.sourceforge.net
+COMMENT= Openldap module for Qore
+HOMEPAGE= http://www.qore.org/
+LICENSE= gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pax
+PTHREAD_OPTS+= native
+
+#install docs
+INSTALLATION_DIRS+=share/doc/${PKGBASE}
+post-install:
+ cd ${WRKSRC}/docs/openldap && ${PAX} -wr * \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "options.mk"
+
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../lang/qore/buildlink3.mk"
+.include "../../lang/qore/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/qore-openldap-module/PLIST b/databases/qore-openldap-module/PLIST
new file mode 100644
index 00000000000..da1c0aba600
--- /dev/null
+++ b/databases/qore-openldap-module/PLIST
@@ -0,0 +1,127 @@
+@comment $NetBSD: PLIST,v 1.1 2014/12/30 15:43:31 wiz Exp $
+${QORE_MODULE_DIR}/openldap-api-${QORE_LATEST_MODULE_API}.qmod
+share/doc/qore-openldap-module/html/QC__LdapClient_8dox_8h_source.html
+share/doc/qore-openldap-module/html/annotated.html
+share/doc/qore-openldap-module/html/annotated.js
+share/doc/qore-openldap-module/html/bc_s.png
+share/doc/qore-openldap-module/html/bdwn.png
+share/doc/qore-openldap-module/html/classOpenLdap_1_1LdapClient-members.html
+share/doc/qore-openldap-module/html/classOpenLdap_1_1LdapClient.html
+share/doc/qore-openldap-module/html/classOpenLdap_1_1LdapClient.js
+share/doc/qore-openldap-module/html/classes.html
+share/doc/qore-openldap-module/html/closed.png
+share/doc/qore-openldap-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
+share/doc/qore-openldap-module/html/doxygen.css
+share/doc/qore-openldap-module/html/doxygen.png
+share/doc/qore-openldap-module/html/dynsections.js
+share/doc/qore-openldap-module/html/files.html
+share/doc/qore-openldap-module/html/files.js
+share/doc/qore-openldap-module/html/ftv2blank.png
+share/doc/qore-openldap-module/html/ftv2cl.png
+share/doc/qore-openldap-module/html/ftv2doc.png
+share/doc/qore-openldap-module/html/ftv2folderclosed.png
+share/doc/qore-openldap-module/html/ftv2folderopen.png
+share/doc/qore-openldap-module/html/ftv2lastnode.png
+share/doc/qore-openldap-module/html/ftv2link.png
+share/doc/qore-openldap-module/html/ftv2mlastnode.png
+share/doc/qore-openldap-module/html/ftv2mnode.png
+share/doc/qore-openldap-module/html/ftv2mo.png
+share/doc/qore-openldap-module/html/ftv2node.png
+share/doc/qore-openldap-module/html/ftv2ns.png
+share/doc/qore-openldap-module/html/ftv2plastnode.png
+share/doc/qore-openldap-module/html/ftv2pnode.png
+share/doc/qore-openldap-module/html/ftv2splitbar.png
+share/doc/qore-openldap-module/html/ftv2vertline.png
+share/doc/qore-openldap-module/html/functions.html
+share/doc/qore-openldap-module/html/functions_func.html
+share/doc/qore-openldap-module/html/group__ldap__constants.html
+share/doc/qore-openldap-module/html/group__ldap__constants.js
+share/doc/qore-openldap-module/html/group__ldap__modify__constants.html
+share/doc/qore-openldap-module/html/group__ldap__modify__constants.js
+share/doc/qore-openldap-module/html/group__ldap__scope__constants.html
+share/doc/qore-openldap-module/html/group__ldap__scope__constants.js
+share/doc/qore-openldap-module/html/index.html
+share/doc/qore-openldap-module/html/jquery.js
+share/doc/qore-openldap-module/html/modules.html
+share/doc/qore-openldap-module/html/modules.js
+share/doc/qore-openldap-module/html/namespaceOpenLdap.html
+share/doc/qore-openldap-module/html/namespaceOpenLdap.js
+share/doc/qore-openldap-module/html/namespacemembers.html
+share/doc/qore-openldap-module/html/namespacemembers_vars.html
+share/doc/qore-openldap-module/html/namespaces.html
+share/doc/qore-openldap-module/html/namespaces.js
+share/doc/qore-openldap-module/html/nav_f.png
+share/doc/qore-openldap-module/html/nav_g.png
+share/doc/qore-openldap-module/html/nav_h.png
+share/doc/qore-openldap-module/html/navtree.css
+share/doc/qore-openldap-module/html/navtree.js
+share/doc/qore-openldap-module/html/navtreeindex0.js
+share/doc/qore-openldap-module/html/open.png
+share/doc/qore-openldap-module/html/resize.js
+share/doc/qore-openldap-module/html/search/all_61.html
+share/doc/qore-openldap-module/html/search/all_61.js
+share/doc/qore-openldap-module/html/search/all_62.html
+share/doc/qore-openldap-module/html/search/all_62.js
+share/doc/qore-openldap-module/html/search/all_63.html
+share/doc/qore-openldap-module/html/search/all_63.js
+share/doc/qore-openldap-module/html/search/all_64.html
+share/doc/qore-openldap-module/html/search/all_64.js
+share/doc/qore-openldap-module/html/search/all_67.html
+share/doc/qore-openldap-module/html/search/all_67.js
+share/doc/qore-openldap-module/html/search/all_69.html
+share/doc/qore-openldap-module/html/search/all_69.js
+share/doc/qore-openldap-module/html/search/all_6c.html
+share/doc/qore-openldap-module/html/search/all_6c.js
+share/doc/qore-openldap-module/html/search/all_6d.html
+share/doc/qore-openldap-module/html/search/all_6d.js
+share/doc/qore-openldap-module/html/search/all_6f.html
+share/doc/qore-openldap-module/html/search/all_6f.js
+share/doc/qore-openldap-module/html/search/all_70.html
+share/doc/qore-openldap-module/html/search/all_70.js
+share/doc/qore-openldap-module/html/search/all_72.html
+share/doc/qore-openldap-module/html/search/all_72.js
+share/doc/qore-openldap-module/html/search/all_73.html
+share/doc/qore-openldap-module/html/search/all_73.js
+share/doc/qore-openldap-module/html/search/classes_6c.html
+share/doc/qore-openldap-module/html/search/classes_6c.js
+share/doc/qore-openldap-module/html/search/close.png
+share/doc/qore-openldap-module/html/search/functions_61.html
+share/doc/qore-openldap-module/html/search/functions_61.js
+share/doc/qore-openldap-module/html/search/functions_62.html
+share/doc/qore-openldap-module/html/search/functions_62.js
+share/doc/qore-openldap-module/html/search/functions_63.html
+share/doc/qore-openldap-module/html/search/functions_63.js
+share/doc/qore-openldap-module/html/search/functions_64.html
+share/doc/qore-openldap-module/html/search/functions_64.js
+share/doc/qore-openldap-module/html/search/functions_67.html
+share/doc/qore-openldap-module/html/search/functions_67.js
+share/doc/qore-openldap-module/html/search/functions_69.html
+share/doc/qore-openldap-module/html/search/functions_69.js
+share/doc/qore-openldap-module/html/search/functions_6d.html
+share/doc/qore-openldap-module/html/search/functions_6d.js
+share/doc/qore-openldap-module/html/search/functions_70.html
+share/doc/qore-openldap-module/html/search/functions_70.js
+share/doc/qore-openldap-module/html/search/functions_72.html
+share/doc/qore-openldap-module/html/search/functions_72.js
+share/doc/qore-openldap-module/html/search/functions_73.html
+share/doc/qore-openldap-module/html/search/functions_73.js
+share/doc/qore-openldap-module/html/search/groups_6c.html
+share/doc/qore-openldap-module/html/search/groups_6c.js
+share/doc/qore-openldap-module/html/search/mag_sel.png
+share/doc/qore-openldap-module/html/search/namespaces_6f.html
+share/doc/qore-openldap-module/html/search/namespaces_6f.js
+share/doc/qore-openldap-module/html/search/nomatches.html
+share/doc/qore-openldap-module/html/search/search.css
+share/doc/qore-openldap-module/html/search/search.js
+share/doc/qore-openldap-module/html/search/search_l.png
+share/doc/qore-openldap-module/html/search/search_m.png
+share/doc/qore-openldap-module/html/search/search_r.png
+share/doc/qore-openldap-module/html/search/variables_64.html
+share/doc/qore-openldap-module/html/search/variables_64.js
+share/doc/qore-openldap-module/html/search/variables_6c.html
+share/doc/qore-openldap-module/html/search/variables_6c.js
+share/doc/qore-openldap-module/html/tab_a.png
+share/doc/qore-openldap-module/html/tab_b.png
+share/doc/qore-openldap-module/html/tab_h.png
+share/doc/qore-openldap-module/html/tab_s.png
+share/doc/qore-openldap-module/html/tabs.css
diff --git a/databases/qore-openldap-module/TODO b/databases/qore-openldap-module/TODO
new file mode 100644
index 00000000000..57c72aa01f2
--- /dev/null
+++ b/databases/qore-openldap-module/TODO
@@ -0,0 +1 @@
+Finished.
diff --git a/databases/qore-openldap-module/distinfo b/databases/qore-openldap-module/distinfo
new file mode 100644
index 00000000000..43d98cbbf9a
--- /dev/null
+++ b/databases/qore-openldap-module/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2014/12/30 15:43:31 wiz Exp $
+
+SHA1 (qore-openldap-module-1.0.tar.bz2) = 8aefbf1cc848cab8302df0ed4a19a8b78187c90f
+RMD160 (qore-openldap-module-1.0.tar.bz2) = 410481ac442ac4903b8e30c5d7084721b266e2da
+Size (qore-openldap-module-1.0.tar.bz2) = 398752 bytes
+SHA1 (patch-configure) = 696c3f5d30bb66f0f0266378ac1d0a8a4f85a1ac
+SHA1 (patch-src_Makefile.in) = 6eac9ac3d3f03c68d194c8458f839b0225e2090f
diff --git a/databases/qore-openldap-module/options.mk b/databases/qore-openldap-module/options.mk
new file mode 100644
index 00000000000..34aa2f1bac7
--- /dev/null
+++ b/databases/qore-openldap-module/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2014/12/30 15:43:31 wiz Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.qore-openldap-module
+PKG_SUPPORTED_OPTIONS= debug
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.else
+CONFIGURE_ARGS+= --disable-debug
+.endif
diff --git a/databases/qore-openldap-module/patches/patch-configure b/databases/qore-openldap-module/patches/patch-configure
new file mode 100644
index 00000000000..854e126e23c
--- /dev/null
+++ b/databases/qore-openldap-module/patches/patch-configure
@@ -0,0 +1,21 @@
+$NetBSD: patch-configure,v 1.1 2014/12/30 15:43:31 wiz Exp $
+pkgsrc doesn't use lib64 so don't set it.
+fixes build on linux.
+http://sf.net/p/qore/code/6817/
+--- configure.orig 2014-10-31 21:44:50.730690623 +0000
++++ configure
+@@ -15574,14 +15574,6 @@ if test "$enable_64bit" = "yes"; then
+ *linux*) if test "$GXX" = "yes"; then
+ CXXFLAGS="$CXXFLAGS -m64"
+ fi
+- # only set LIBSUFFIX=64 if /usr/lib64 exists
+- if test -d /usr/lib64; then
+- LIBSUFFIX=64
+- fi
+- target="${host_cpu}-${host_os}"
+- if test -d /usr/lib/$target; then
+- LIBSUFFIX=/$target
+- fi
+
+ ;;
+ *hpux*) if test "$host_cpu" = "ia64"; then
diff --git a/databases/qore-openldap-module/patches/patch-src_Makefile.in b/databases/qore-openldap-module/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..e097978df61
--- /dev/null
+++ b/databases/qore-openldap-module/patches/patch-src_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:43:31 wiz Exp $
+* remove .a file
+http://sf.net/p/qore/code/6288/
+--- src/Makefile.in.orig 2013-01-07 10:21:11.000000000 +0000
++++ src/Makefile.in
+@@ -279,6 +279,7 @@ AM_CPPFLAGS = $(QORE_CPPFLAGS)
+ @COND_DEBUG_TRUE@@COND_PROFILE_FALSE@AM_CXXFLAGS = -g
+ @COND_PROFILE_TRUE@AM_CXXFLAGS = -g -pg
+ @COND_MINGW_TRUE@RM_OTHER = $(DESTDIR)$(libdir)/$(MNAME).dll.a
++@COND_MINGW_FALSE@RM_OTHER = $(DESTDIR)$(libdir)/$(MNAME).a
+ all: all-am
+
+ .SUFFIXES: