Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
OpenLDAP is an open source implementation of the Lightweight Directory Access
Protocol. This package includes:
* libraries implementing the LDAP protocol
* utilities, tools, and sample clients

View File

@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.15 2013/03/16 12:49:55 adam Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= Lightweight Directory Access Protocol libraries and client programs
CONFLICTS+= openldap<2.3.23nb1
CONFIGURE_ARGS+= --disable-slapd
#BUILD_DIRS= include libraries clients
MAKE_DIRS= ${OPENLDAP_ETCDIR}
BUILD_DEFS+= OPENLDAP_ETCDIR
CNFS= ldap.conf
.include "options.mk"
.include "../../databases/openldap/Makefile.common"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,272 @@
@comment $NetBSD: PLIST,v 1.10 2012/03/13 19:57:11 adam Exp $
bin/ldapadd
bin/ldapcompare
bin/ldapdelete
bin/ldapexop
bin/ldapmodify
bin/ldapmodrdn
bin/ldappasswd
bin/ldapsearch
bin/ldapurl
bin/ldapwhoami
include/lber.h
include/lber_types.h
include/ldap.h
include/ldap_cdefs.h
include/ldap_features.h
include/ldap_schema.h
include/ldap_utf8.h
include/ldif.h
include/slapi-plugin.h
lib/liblber.la
lib/libldap.la
lib/libldap_r.la
man/man1/ldapadd.1
man/man1/ldapcompare.1
man/man1/ldapdelete.1
man/man1/ldapexop.1
man/man1/ldapmodify.1
man/man1/ldapmodrdn.1
man/man1/ldappasswd.1
man/man1/ldapsearch.1
man/man1/ldapurl.1
man/man1/ldapwhoami.1
man/man3/ber_alloc_t.3
man/man3/ber_bvarray_add.3
man/man3/ber_bvarray_free.3
man/man3/ber_bvdup.3
man/man3/ber_bvecadd.3
man/man3/ber_bvecfree.3
man/man3/ber_bvfree.3
man/man3/ber_bvstr.3
man/man3/ber_bvstrdup.3
man/man3/ber_dupbv.3
man/man3/ber_first_element.3
man/man3/ber_flush.3
man/man3/ber_free.3
man/man3/ber_get_bitstring.3
man/man3/ber_get_boolean.3
man/man3/ber_get_enum.3
man/man3/ber_get_int.3
man/man3/ber_get_next.3
man/man3/ber_get_null.3
man/man3/ber_get_stringa.3
man/man3/ber_get_stringb.3
man/man3/ber_next_element.3
man/man3/ber_peek_tag.3
man/man3/ber_printf.3
man/man3/ber_put_enum.3
man/man3/ber_put_int.3
man/man3/ber_put_null.3
man/man3/ber_put_ostring.3
man/man3/ber_put_seq.3
man/man3/ber_put_set.3
man/man3/ber_put_string.3
man/man3/ber_scanf.3
man/man3/ber_skip_tag.3
man/man3/ber_start_set.3
man/man3/ber_str2bv.3
man/man3/lber-decode.3
man/man3/lber-encode.3
man/man3/lber-memory.3
man/man3/lber-sockbuf.3
man/man3/lber-types.3
man/man3/ld_errno.3
man/man3/ldap.3
man/man3/ldap_abandon.3
man/man3/ldap_abandon_ext.3
man/man3/ldap_add.3
man/man3/ldap_add_ext.3
man/man3/ldap_add_ext_s.3
man/man3/ldap_add_s.3
man/man3/ldap_attributetype2name.3
man/man3/ldap_attributetype2str.3
man/man3/ldap_attributetype_free.3
man/man3/ldap_bind.3
man/man3/ldap_bind_s.3
man/man3/ldap_compare.3
man/man3/ldap_compare_ext.3
man/man3/ldap_compare_ext_s.3
man/man3/ldap_compare_s.3
man/man3/ldap_control_create.3
man/man3/ldap_control_dup.3
man/man3/ldap_control_find.3
man/man3/ldap_control_free.3
man/man3/ldap_controls.3
man/man3/ldap_controls_dup.3
man/man3/ldap_controls_free.3
man/man3/ldap_count_entries.3
man/man3/ldap_count_messages.3
man/man3/ldap_count_references.3
man/man3/ldap_count_values.3
man/man3/ldap_count_values_len.3
man/man3/ldap_dcedn2dn.3
man/man3/ldap_delete.3
man/man3/ldap_delete_ext.3
man/man3/ldap_delete_ext_s.3
man/man3/ldap_delete_s.3
man/man3/ldap_destroy.3
man/man3/ldap_dn2ad_canonical.3
man/man3/ldap_dn2dcedn.3
man/man3/ldap_dn2str.3
man/man3/ldap_dn2ufn.3
man/man3/ldap_dnfree.3
man/man3/ldap_dup.3
man/man3/ldap_err2string.3
man/man3/ldap_errlist.3
man/man3/ldap_error.3
man/man3/ldap_explode_dn.3
man/man3/ldap_explode_rdn.3
man/man3/ldap_extended_operation.3
man/man3/ldap_extended_operation_s.3
man/man3/ldap_first_attribute.3
man/man3/ldap_first_entry.3
man/man3/ldap_first_message.3
man/man3/ldap_first_reference.3
man/man3/ldap_free_urldesc.3
man/man3/ldap_get_dn.3
man/man3/ldap_get_option.3
man/man3/ldap_get_values.3
man/man3/ldap_get_values_len.3
man/man3/ldap_init.3
man/man3/ldap_init_fd.3
man/man3/ldap_initialize.3
man/man3/ldap_install_tls.3
man/man3/ldap_is_ldap_url.3
man/man3/ldap_matchingrule2name.3
man/man3/ldap_matchingrule2str.3
man/man3/ldap_matchingrule_free.3
man/man3/ldap_memalloc.3
man/man3/ldap_memcalloc.3
man/man3/ldap_memfree.3
man/man3/ldap_memory.3
man/man3/ldap_memrealloc.3
man/man3/ldap_memvfree.3
man/man3/ldap_modify.3
man/man3/ldap_modify_ext.3
man/man3/ldap_modify_ext_s.3
man/man3/ldap_modify_s.3
man/man3/ldap_modrdn.3
man/man3/ldap_modrdn2.3
man/man3/ldap_modrdn2_s.3
man/man3/ldap_modrdn_s.3
man/man3/ldap_mods_free.3
man/man3/ldap_msgfree.3
man/man3/ldap_msgid.3
man/man3/ldap_msgtype.3
man/man3/ldap_next_attribute.3
man/man3/ldap_next_entry.3
man/man3/ldap_next_message.3
man/man3/ldap_next_reference.3
man/man3/ldap_objectclass2name.3
man/man3/ldap_objectclass2str.3
man/man3/ldap_objectclass_free.3
man/man3/ldap_open.3
man/man3/ldap_parse_extended_result.3
man/man3/ldap_parse_reference.3
man/man3/ldap_parse_result.3
man/man3/ldap_parse_sasl_bind_result.3
man/man3/ldap_parse_sort_control.3
man/man3/ldap_parse_vlv_control.3
man/man3/ldap_perror.3
man/man3/ldap_rename.3
man/man3/ldap_rename_s.3
man/man3/ldap_result.3
man/man3/ldap_result2error.3
man/man3/ldap_sasl_bind.3
man/man3/ldap_sasl_bind_s.3
man/man3/ldap_schema.3
man/man3/ldap_scherr2str.3
man/man3/ldap_search.3
man/man3/ldap_search_ext.3
man/man3/ldap_search_ext_s.3
man/man3/ldap_search_s.3
man/man3/ldap_search_st.3
man/man3/ldap_set_option.3
man/man3/ldap_set_rebind_proc.3
man/man3/ldap_set_urllist_proc.3
man/man3/ldap_simple_bind.3
man/man3/ldap_simple_bind_s.3
man/man3/ldap_sort.3
man/man3/ldap_sort_entries.3
man/man3/ldap_sort_strcasecmp.3
man/man3/ldap_sort_values.3
man/man3/ldap_start_tls.3
man/man3/ldap_start_tls_s.3
man/man3/ldap_str2attributetype.3
man/man3/ldap_str2dn.3
man/man3/ldap_str2matchingrule.3
man/man3/ldap_str2objectclass.3
man/man3/ldap_str2syntax.3
man/man3/ldap_strdup.3
man/man3/ldap_sync.3
man/man3/ldap_syntax2name.3
man/man3/ldap_syntax2str.3
man/man3/ldap_syntax_free.3
man/man3/ldap_tls.3
man/man3/ldap_tls_inplace.3
man/man3/ldap_unbind.3
man/man3/ldap_unbind_ext.3
man/man3/ldap_unbind_ext_s.3
man/man3/ldap_unbind_s.3
man/man3/ldap_url.3
man/man3/ldap_url_parse.3
man/man3/ldap_value_free.3
man/man3/ldap_value_free_len.3
man/man5/ldap.conf.5
man/man5/ldif.5
man/man5/slapd-bdb.5
man/man5/slapd-config.5
man/man5/slapd-dnssrv.5
man/man5/slapd-hdb.5
man/man5/slapd-ldap.5
man/man5/slapd-ldbm.5
man/man5/slapd-ldif.5
man/man5/slapd-mdb.5
man/man5/slapd-meta.5
man/man5/slapd-monitor.5
man/man5/slapd-ndb.5
man/man5/slapd-null.5
man/man5/slapd-passwd.5
man/man5/slapd-perl.5
man/man5/slapd-relay.5
man/man5/slapd-shell.5
man/man5/slapd-sock.5
man/man5/slapd-sql.5
man/man5/slapd.access.5
man/man5/slapd.backends.5
man/man5/slapd.conf.5
man/man5/slapd.overlays.5
man/man5/slapd.plugin.5
man/man5/slapo-accesslog.5
man/man5/slapo-auditlog.5
man/man5/slapo-chain.5
man/man5/slapo-collect.5
man/man5/slapo-constraint.5
man/man5/slapo-dds.5
man/man5/slapo-dyngroup.5
man/man5/slapo-dynlist.5
man/man5/slapo-memberof.5
man/man5/slapo-pbind.5
man/man5/slapo-pcache.5
man/man5/slapo-ppolicy.5
man/man5/slapo-refint.5
man/man5/slapo-retcode.5
man/man5/slapo-rwm.5
man/man5/slapo-sock.5
man/man5/slapo-sssvlv.5
man/man5/slapo-syncprov.5
man/man5/slapo-translucent.5
man/man5/slapo-unique.5
man/man5/slapo-valsort.5
man/man8/slapacl.8
man/man8/slapadd.8
man/man8/slapauth.8
man/man8/slapcat.8
man/man8/slapd.8
man/man8/slapdn.8
man/man8/slapindex.8
man/man8/slappasswd.8
man/man8/slapschema.8
man/man8/slaptest.8
share/examples/openldap/ldap.conf

View File

@@ -0,0 +1,27 @@
# $NetBSD: buildlink3.mk,v 1.14 2013/02/06 23:21:04 jperkin Exp $
.include "../../mk/bsd.fast.prefs.mk"
BUILDLINK_TREE+= openldap-client
.if !defined(OPENLDAP_BUILDLINK3_MK)
OPENLDAP_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.openldap-client+= openldap-client>=2.4.6
BUILDLINK_ABI_DEPENDS.openldap-client+= openldap-client>=2.4.33nb2
BUILDLINK_PKGSRCDIR.openldap-client?= ../../databases/openldap-client
# Export the deprecated API from the openldap-2.2.x releases.
BUILDLINK_CPPFLAGS.openldap-client+= -DLDAP_DEPRECATED
pkgbase := openldap-client
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.openldap-client:Mkerberos) || \
!empty(PKG_BUILD_OPTIONS.openldap-client:Msasl)
. include "../../security/cyrus-sasl/buildlink3.mk"
.endif
.include "../../security/openssl/buildlink3.mk"
.endif # OPENLDAP_BUILDLINK3_MK
BUILDLINK_TREE+= -openldap-client

View File

@@ -0,0 +1,15 @@
# $NetBSD: builtin.mk,v 1.1 2008/10/12 20:49:19 ahoka Exp $
BUILTIN_PKG:= openldap-client
PKGCONFIG_FILE.openldap-client= /usr/include/ldap_features.h
PKGCONFIG_BASE.openldap-client= /usr
BUILTIN_VERSION_SCRIPT.openldap-client= ${AWK} \
'/\#define[ \t]*_?LDAP_VENDOR_VERSION_MAJOR[ \t]/ { major = $$3; } \
/\#define[ \t]*_?LDAP_VENDOR_VERSION_MINOR[ \t]/ { minor = $$3; } \
/\#define[ \t]*_?LDAP_VENDOR_VERSION_PATCH[ \t]/ { patch = $$3; } \
END { if (major && minor && patch) print major "." minor "." patch; \
else print ""; }'
.include "../../mk/buildlink3/pkgconfig-builtin.mk"

View File

@@ -0,0 +1,44 @@
# $NetBSD: options.mk,v 1.2 2012/06/12 15:45:55 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-client
PKG_SUPPORTED_OPTIONS= kerberos sasl slp inet6
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
###
### Kerberos authentication is via SASL.
###
.if !empty(PKG_OPTIONS:Mkerberos)
. if empty(PKG_OPTIONS:Msasl)
PKG_OPTIONS+= sasl
. endif
.endif
###
### SASL authentication (requires SASL2)
###
.if !empty(PKG_OPTIONS:Msasl)
CONFIGURE_ARGS+= --with-cyrus-sasl
BUILDLINK_API_DEPENDS.cyrus-sasl+= cyrus-sasl>=2.1.15
. include "../../security/cyrus-sasl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-cyrus-sasl
.endif
###
### SLP (Service Locator Protocol)
###
.if !empty(PKG_OPTIONS:Mslp)
. include "../../net/openslp/buildlink3.mk"
CONFIGURE_ARGS+= --enable-slp
.endif
###
### IPv6 support
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif