git: e87da4fb48d1 - main - www/web2dap: update to 1.6.5

Palle Girgensohn girgen at FreeBSD.org
Sun Jun 13 22:34:05 UTC 2021


The branch main has been updated by girgen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e87da4fb48d198f10d677c4dfbef5445fb0b838b

commit e87da4fb48d198f10d677c4dfbef5445fb0b838b
Author:     Palle Girgensohn <girgen at FreeBSD.org>
AuthorDate: 2021-06-13 22:00:04 +0000
Commit:     Palle Girgensohn <girgen at FreeBSD.org>
CommitDate: 2021-06-13 22:02:34 +0000

    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.
---
 www/web2ldap/Makefile                             |  2 +-
 www/web2ldap/distinfo                             |  6 +++---
 www/web2ldap/files/patch-web2ldap_____init____.py | 26 -----------------------
 www/web2ldap/pkg-install                          | 17 ---------------
 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 at 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


More information about the dev-commits-ports-main mailing list