git: 0226c5c6f46d - main - sysutils/bareos-client: Fix packaging with PYTHON=ON for Python 3.8+
Kai Knoblich
kai at FreeBSD.org
Sun Apr 18 08:30:05 UTC 2021
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0226c5c6f46d914b19eaf59294bba0a1bae166b9
commit 0226c5c6f46d914b19eaf59294bba0a1bae166b9
Author: Kai Knoblich <kai at FreeBSD.org>
AuthorDate: 2021-04-18 07:06:53 +0000
Commit: Kai Knoblich <kai at FreeBSD.org>
CommitDate: 2021-04-18 08:28:33 +0000
sysutils/bareos-client: Fix packaging with PYTHON=ON for Python 3.8+
* Since Python 3.8.7 (and also 3.9.2), .so files get an extension, e.g.
".cpython-38.so" if built with Python 3.8.
* Also fix testport stage QA pkg-plist issues and omit PORTREVISION
bump as the content of the package doesn't change.
PR: 252568
Reported by: Brad Ackerman <brad at facefault.org>
Approved by: acm (maintainer)
---
sysutils/bareos-server/pkg-plist.client | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sysutils/bareos-server/pkg-plist.client b/sysutils/bareos-server/pkg-plist.client
index 5e66b5fdf1e3..497636da3d06 100644
--- a/sysutils/bareos-server/pkg-plist.client
+++ b/sysutils/bareos-server/pkg-plist.client
@@ -61,7 +61,7 @@ lib/libbareosfind.so.%%LIB_VERSION%%
lib/libbareoslmdb.so
lib/libbareoslmdb.so.20
lib/libbareoslmdb.so.%%LIB_VERSION%%
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/bareosfd.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/bareosfd%%PYTHON_EXT_SUFFIX%%.so
man/man1/bconsole.1.gz
man/man8/bareos-fd.8.gz
man/man8/bareos.8.gz
@@ -75,6 +75,7 @@ sbin/bconsole
sbin/btraceback
@group bareos
@dir(,bareos,750) %%ETCDIR%%/python-ldap-conf.d/bareos-dir.d/fileset
+ at dir(,bareos,750) %%ETCDIR%%/python-ldap-conf.d/bareos-dir.d/job
@group bareos
@dir(bareos,bareos,) %%BAREOS_DIR%%
@dir(bareos,bareos,) /var/log/bareos
More information about the dev-commits-ports-all
mailing list