SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,36 @@
COMMENT = client interface to LDAP servers
VERSION = 0.68
REVISION = 0
EPOCH = 0
DISTNAME = perl-ldap-${VERSION}
PKGNAME = p5-ldap-${VERSION}
CPAN_AUTHOR = MARSCHAP
CATEGORIES = databases
HOMEPAGE = http://ldap.perl.org/
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
RUN_DEPENDS = converters/p5-Convert-ASN1>=0.20 \
net/p5-IO-Socket-INET6 \
security/p5-Authen-SASL>=2.00 \
security/p5-IO-Socket-SSL>=1.26 \
textproc/p5-XML-Parser \
textproc/p5-XML-SAX-Writer \
www/p5-URI>=1.10
TEST_DEPENDS = databases/openldap,-server \
textproc/p5-Text-Soundex
CONFIGURE_STYLE = modinst
PKG_ARCH = *
pre-test:
${SUBST_CMD} ${WRKSRC}/test.cfg
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (perl-ldap-0.68.tar.gz) = 4vOJ/j56nkthSIaSkZrXI7mPO0ebUoj2ENqownmVs1E=
SIZE (perl-ldap-0.68.tar.gz) = 318199

View file

@ -0,0 +1,12 @@
Index: data/slapd.conf.in
--- data/slapd.conf.in.orig
+++ data/slapd.conf.in
@@ -11,7 +11,7 @@ include $SLAPD_SCHEMA_DIR/openldap.schema
# get required dynmaic modules
#modulepath $SLAPD_MODULE_DIR
#moduleload back_$SLAPD_DB
-#moduleload sssvlv
+moduleload sssvlv
# PID & args file
pidfile $TESTDB/slapd.pid

View file

@ -0,0 +1,17 @@
This test is not reliable, skip it on OpenBSD to see regressions.
Index: t/60cancel.t
--- t/60cancel.t.orig
+++ t/60cancel.t
@@ -60,8 +60,11 @@ SKIP: {
# cancel the running search => should work [may fail, as it depends on the server's speed]
$cancel = $ldap->cancel($search);
+ SKIP: {
+ skip("This test may fail because the server is too fast", 1);
ok(!$cancel->code, "cancel a running operation: " . $cancel->code . ": " . $cancel->error)
or diag("This test may have failed because the server was too fast");
+ }
}

View file

@ -0,0 +1,26 @@
Index: test.cfg
--- test.cfg.orig
+++ test.cfg
@@ -4,19 +4,19 @@
# Set this to the full path of your LDAP server executable
# (e.g '/usr/sbin/slapd')
-$SERVER_EXE = '<path to ldap server executable>';
+$SERVER_EXE = '${LOCALBASE}/libexec/slapd';
# This should be one of
# * openldap[+ssl][+ipc][+sasl]
# options are appended with '+' signs
-$SERVER_TYPE = 'openldap';
+$SERVER_TYPE = 'openldap+ssl+ipc';
# Change this if your host cannot be contacted as localhost
# Some tests may fail if the name does not resolve to an IPv4 and an IPv6 address
#$HOST = 'localhost';
# Set this to the directory where your OpenLDAP schema files are located
-$SLAPD_SCHEMA_DIR = '';
+$SLAPD_SCHEMA_DIR = '${SYSCONFDIR}/openldap/schema';
# OpenLDAP DB type: default is mdb, alternatives: hdb, bdb, ...
#$SLAPD_DB = 'mdb';

View file

@ -0,0 +1,4 @@
This is a collection of modules that implements a LDAP services API
for Perl programs. The module may be used to search directories or
perform maintenance functions such as add, deleting or modify entries
in an LDAP directory.

130
databases/p5-ldap/pkg/PLIST Normal file
View file

@ -0,0 +1,130 @@
${P5SITE}/Bundle/
${P5SITE}/Bundle/Net/
${P5SITE}/Bundle/Net/LDAP.pm
${P5SITE}/LWP/
${P5SITE}/LWP/Protocol/
${P5SITE}/LWP/Protocol/ldap.pm
${P5SITE}/LWP/Protocol/ldapi.pm
${P5SITE}/LWP/Protocol/ldaps.pm
${P5SITE}/Net/
${P5SITE}/Net/LDAP/
${P5SITE}/Net/LDAP.pm
${P5SITE}/Net/LDAP.pod
${P5SITE}/Net/LDAP/ASN.pm
${P5SITE}/Net/LDAP/Bind.pm
${P5SITE}/Net/LDAP/Constant.pm
${P5SITE}/Net/LDAP/Control/
${P5SITE}/Net/LDAP/Control.pm
${P5SITE}/Net/LDAP/Control/Assertion.pm
${P5SITE}/Net/LDAP/Control/DontUseCopy.pm
${P5SITE}/Net/LDAP/Control/EntryChange.pm
${P5SITE}/Net/LDAP/Control/ManageDsaIT.pm
${P5SITE}/Net/LDAP/Control/MatchedValues.pm
${P5SITE}/Net/LDAP/Control/NoOp.pm
${P5SITE}/Net/LDAP/Control/Paged.pm
${P5SITE}/Net/LDAP/Control/PasswordPolicy.pm
${P5SITE}/Net/LDAP/Control/PersistentSearch.pm
${P5SITE}/Net/LDAP/Control/PostRead.pm
${P5SITE}/Net/LDAP/Control/PreRead.pm
${P5SITE}/Net/LDAP/Control/ProxyAuth.pm
${P5SITE}/Net/LDAP/Control/Relax.pm
${P5SITE}/Net/LDAP/Control/Sort.pm
${P5SITE}/Net/LDAP/Control/SortResult.pm
${P5SITE}/Net/LDAP/Control/Subentries.pm
${P5SITE}/Net/LDAP/Control/SyncDone.pm
${P5SITE}/Net/LDAP/Control/SyncRequest.pm
${P5SITE}/Net/LDAP/Control/SyncState.pm
${P5SITE}/Net/LDAP/Control/TreeDelete.pm
${P5SITE}/Net/LDAP/Control/VLV.pm
${P5SITE}/Net/LDAP/Control/VLVResponse.pm
${P5SITE}/Net/LDAP/DSML.pm
${P5SITE}/Net/LDAP/Entry.pm
${P5SITE}/Net/LDAP/Entry.pod
${P5SITE}/Net/LDAP/Examples.pod
${P5SITE}/Net/LDAP/Extension/
${P5SITE}/Net/LDAP/Extension.pm
${P5SITE}/Net/LDAP/Extension/Cancel.pm
${P5SITE}/Net/LDAP/Extension/Refresh.pm
${P5SITE}/Net/LDAP/Extension/SetPassword.pm
${P5SITE}/Net/LDAP/Extension/WhoAmI.pm
${P5SITE}/Net/LDAP/Extra/
${P5SITE}/Net/LDAP/Extra.pm
${P5SITE}/Net/LDAP/Extra/AD.pm
${P5SITE}/Net/LDAP/Extra/eDirectory.pm
${P5SITE}/Net/LDAP/FAQ.pod
${P5SITE}/Net/LDAP/Filter.pm
${P5SITE}/Net/LDAP/Filter.pod
${P5SITE}/Net/LDAP/FilterMatch.pm
${P5SITE}/Net/LDAP/Intermediate/
${P5SITE}/Net/LDAP/Intermediate.pm
${P5SITE}/Net/LDAP/Intermediate/SyncInfo.pm
${P5SITE}/Net/LDAP/LDIF.pm
${P5SITE}/Net/LDAP/LDIF.pod
${P5SITE}/Net/LDAP/Message.pm
${P5SITE}/Net/LDAP/Message.pod
${P5SITE}/Net/LDAP/RFC.pod
${P5SITE}/Net/LDAP/Reference.pod
${P5SITE}/Net/LDAP/RootDSE.pm
${P5SITE}/Net/LDAP/Schema.pm
${P5SITE}/Net/LDAP/Schema.pod
${P5SITE}/Net/LDAP/Search.pm
${P5SITE}/Net/LDAP/Search.pod
${P5SITE}/Net/LDAP/Security.pod
${P5SITE}/Net/LDAP/Util.pm
${P5SITE}/Net/LDAPI.pm
${P5SITE}/Net/LDAPS.pm
@man man/man3p/Bundle::Net::LDAP.3p
@man man/man3p/LWP::Protocol::ldap.3p
@man man/man3p/LWP::Protocol::ldapi.3p
@man man/man3p/LWP::Protocol::ldaps.3p
@man man/man3p/Net::LDAP.3p
@man man/man3p/Net::LDAP::Constant.3p
@man man/man3p/Net::LDAP::Control.3p
@man man/man3p/Net::LDAP::Control::Assertion.3p
@man man/man3p/Net::LDAP::Control::DontUseCopy.3p
@man man/man3p/Net::LDAP::Control::EntryChange.3p
@man man/man3p/Net::LDAP::Control::ManageDsaIT.3p
@man man/man3p/Net::LDAP::Control::MatchedValues.3p
@man man/man3p/Net::LDAP::Control::NoOp.3p
@man man/man3p/Net::LDAP::Control::Paged.3p
@man man/man3p/Net::LDAP::Control::PasswordPolicy.3p
@man man/man3p/Net::LDAP::Control::PersistentSearch.3p
@man man/man3p/Net::LDAP::Control::PostRead.3p
@man man/man3p/Net::LDAP::Control::PreRead.3p
@man man/man3p/Net::LDAP::Control::ProxyAuth.3p
@man man/man3p/Net::LDAP::Control::Relax.3p
@man man/man3p/Net::LDAP::Control::Sort.3p
@man man/man3p/Net::LDAP::Control::SortResult.3p
@man man/man3p/Net::LDAP::Control::Subentries.3p
@man man/man3p/Net::LDAP::Control::SyncDone.3p
@man man/man3p/Net::LDAP::Control::SyncRequest.3p
@man man/man3p/Net::LDAP::Control::SyncState.3p
@man man/man3p/Net::LDAP::Control::TreeDelete.3p
@man man/man3p/Net::LDAP::Control::VLV.3p
@man man/man3p/Net::LDAP::Control::VLVResponse.3p
@man man/man3p/Net::LDAP::DSML.3p
@man man/man3p/Net::LDAP::Entry.3p
@man man/man3p/Net::LDAP::Examples.3p
@man man/man3p/Net::LDAP::Extension::Cancel.3p
@man man/man3p/Net::LDAP::Extension::Refresh.3p
@man man/man3p/Net::LDAP::Extension::SetPassword.3p
@man man/man3p/Net::LDAP::Extension::WhoAmI.3p
@man man/man3p/Net::LDAP::Extra.3p
@man man/man3p/Net::LDAP::Extra::AD.3p
@man man/man3p/Net::LDAP::Extra::eDirectory.3p
@man man/man3p/Net::LDAP::FAQ.3p
@man man/man3p/Net::LDAP::Filter.3p
@man man/man3p/Net::LDAP::FilterMatch.3p
@man man/man3p/Net::LDAP::Intermediate.3p
@man man/man3p/Net::LDAP::Intermediate::SyncInfo.3p
@man man/man3p/Net::LDAP::LDIF.3p
@man man/man3p/Net::LDAP::Message.3p
@man man/man3p/Net::LDAP::RFC.3p
@man man/man3p/Net::LDAP::Reference.3p
@man man/man3p/Net::LDAP::RootDSE.3p
@man man/man3p/Net::LDAP::Schema.3p
@man man/man3p/Net::LDAP::Search.3p
@man man/man3p/Net::LDAP::Security.3p
@man man/man3p/Net::LDAP::Util.3p
@man man/man3p/Net::LDAPI.3p
@man man/man3p/Net::LDAPS.3p