diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile index eaf8bdff3ffc..c48253830455 100644 --- a/www/web2ldap/Makefile +++ b/www/web2ldap/Makefile @@ -1,33 +1,33 @@ # Created by: Oddbjorn Steffensen PORTNAME= web2ldap -PORTVERSION= 1.6.4 +PORTVERSION= 1.6.5 CATEGORIES= www python MASTER_SITES= CHEESESHOP https://www.web2ldap.de/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= girgen@FreeBSD.org COMMENT= Python-based WWW gateway to LDAP servers LICENSE= APACHE20 RUN_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0.22.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython2>=2.0.0:dns/py-dnspython2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlwt>0:textproc/py-xlwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap0>=1.2.8:net/py-ldap0@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7.1:net-mgmt/py-prometheus-client@${PY_FLAVOR} \ ${LOCALBASE}/etc/mime.types:misc/mime-support OPTIONS_DEFINE= DOCS USES= cpe python:3.6+ USE_PYTHON= distutils autoplist SUB_FILES= pkg-message ${PORTNAME} USE_RC_SUBR= ${PORTNAME} NO_ARCH= yes .include diff --git a/www/web2ldap/distinfo b/www/web2ldap/distinfo index 22f2d5c288ea..40c7d9132f3e 100644 --- a/www/web2ldap/distinfo +++ b/www/web2ldap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621954485 -SHA256 (web2ldap-1.6.4.tar.gz) = 334add4635a49cc53fdbd3c986d564e2217f789ff64b33e3acec711ecdfaee87 -SIZE (web2ldap-1.6.4.tar.gz) = 527336 +TIMESTAMP = 1623314768 +SHA256 (web2ldap-1.6.5.tar.gz) = 8fa2b8bd18e243405fd59a88e956e7ed789e6eb4ec79bb8fb523a7c2492453f8 +SIZE (web2ldap-1.6.5.tar.gz) = 527525 diff --git a/www/web2ldap/files/patch-web2ldap_____init____.py b/www/web2ldap/files/patch-web2ldap_____init____.py deleted file mode 100644 index 7f67da6203f5..000000000000 --- a/www/web2ldap/files/patch-web2ldap_____init____.py +++ /dev/null @@ -1,26 +0,0 @@ ---- web2ldap/__init__.py.orig 2021-05-14 15:57:24 UTC -+++ web2ldap/__init__.py -@@ -20,21 +20,13 @@ import time - from .log import logger, LogHelper - from .__about__ import __version__ - --# prefixes considered to indicate system-wide installation outside a venv --OS_SYS_PREFIXES = { -- '/usr', -- '/usr/local', --} -- - # Path name of [web2ldap]/etc/web2ldap - if 'WEB2LDAP_HOME' in os.environ: - # env var points to web2ldap root directory - ETC_DIR = os.path.join(os.environ['WEB2LDAP_HOME'], 'etc', 'web2ldap') --elif os.name == 'posix' and sys.prefix in OS_SYS_PREFIXES: -- # assume OS-wide installation on POSIX platform (Linux, BSD, etc.) -- ETC_DIR = '/etc/web2ldap' - else: -- # virtual env -+ # assume OS-wide installation on POSIX platform (Linux, BSD, etc.) -+ # or virtual env - ETC_DIR = os.path.join(sys.prefix, 'etc', 'web2ldap') - sys.path.append(ETC_DIR) - diff --git a/www/web2ldap/pkg-install b/www/web2ldap/pkg-install deleted file mode 100644 index ed818b12187d..000000000000 --- a/www/web2ldap/pkg-install +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -PREFIX=${PKG_PREFIX:-/usr/local} -DATADIR=${PREFIX}/share/web2ldap - -MKDIR=/bin/mkdir - -case "$2" in -POST-INSTALL) - ${MKDIR} -p ${DATADIR}/var ${DATADIR}/var/log ${DATADIR}/var/run - if [ -w /var/log ]; then - ${MKDIR} /var/log/web2ldap - fi - ;; -esac - -exit 0