web2ldap is a full-featured web-based LDAPv3 client written in Python.
It is a generic LDAP client which does not make any assumptions about the
tree structure or LDAP schema, and can be used to access and manipulate
LDAP servers without configuring anything. It includes a schema browser
that displays references and dependencies within an LDAPv3 schema, and
can be customized for LDAP administration use cases.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-web2ldap listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-web2ldap-1.8.1_7:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
www/web2ldap: Fix with Python 3.13+
web2ldap imports four modules that Python 3.13 removed:
- cgi (parse_header and parse_multipart in web/forms.py) and imghdr
(JPEG/PNG syntax validation): depend on www/py-legacy-cgi and
devel/py-standard-imghdr with Python 3.13+.
- crypt (the 'crypt' userPassword scheme): make the import optional; the
scheme is not offered when crypt is missing, the hashlib schemes are
unaffected.
- sndhdr (Audio syntax validation): make the import optional and check
the .au magic number directly, which is the test sndhdr.test_au()
starts with.
files/patch-setup.py held a git diff that creates files/patch-setup.py
rather than the patch itself, so setup.py was never patched. Replace
it with the intended patch (python_requires '>=3.6.*' is not a valid
specifier; use '>=3.6') and document it.
While here, switch to USE_PYTHON=pep517 (the package metadata becomes
dist-info), fix portlint warnings and expand pkg-descr from the upstream
description.
PR: 299844
Submitted by: Patrick Crandol
www/web2ldap: Fix build with setuptools 81.0.0
This patch make web2ldap build against both setuptools 63.1.0 (currently
in ports) and 81.0.0.
PR: 294472
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www/web2dap: update to 1.6.5
Remove pkg-install since it does not make sense to me. Logging is taken
care of by syslog so no point creating a log directory, especially when
it does not reside in /var where it should be.
Update web2ldap to verstion 1.3.16
Also welcome py-ldap0 to the ports tree as a dependency.
This version adds a rc script to start the standalone mode.
Taking maintainership as bsam@ offered to step down.
Releasenotes: https://web2ldap.de/changes-1.3.html#r1.3.16
PR: 227459
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
When there is a do-install target, do not use a post-install target, do
everything at once. Sometime, rename post-install into a options helper
target.
I did not fix ports that were such a mess that I could not figure out
what they really wanted to do. I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.
With hat: portmgr
Sponsored by: Absolight
www/web2ldap: chase py-ldap rename
- chase py-ldap rename
- compile to bytecode another way to get optimised files too. This is what
was done by upstream maintainer in version 1.2.32
www/web2ldap: general cleanup
- replace patches with USES=shebangs and REINPLACE_CMD
- add LICENSE (GPLv2)
- limit python version to 2.x, because 3.x is not supported
- modernize dependency upon devel/py-ipaddr and bump PORTREVISION
accordingly
Approved by: bsam (maintainer, by email)
Add MASTER_SITE_LOCAL since a previous version disappears as long
as a new one is released.
Requested by: marino (via e-mail)
Reminded by: pkg-fallout@
Update to version 1.1.47. Changes since 1.1.46:
Bugs fixed
Fixed Python 2.6 compability issued in checkinst.py.
Registered more MS AD attributes with plugin class Binary.
Exception ldap.STRONG_AUTH_REQUIRED is ignored when reading rootDSE.
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.