aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/web2ldap/Makefile2
-rw-r--r--www/web2ldap/distinfo6
-rw-r--r--www/web2ldap/files/patch-web2ldap_____init____.py26
-rw-r--r--www/web2ldap/pkg-install17
4 files changed, 4 insertions, 47 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile
index eaf8bdff3ffc..c48253830455 100644
--- a/www/web2ldap/Makefile
+++ b/www/web2ldap/Makefile
@@ -1,7 +1,7 @@
# Created by: Oddbjorn Steffensen <oddbjorn@tricknology.org>
PORTNAME= web2ldap
-PORTVERSION= 1.6.4
+PORTVERSION= 1.6.5
CATEGORIES= www python
MASTER_SITES= CHEESESHOP https://www.web2ldap.de/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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