Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 08:30:04 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0226c5c6f46d - main - sysutils/bareos-client: Fix packaging with PYTHON=ON for Python 3.8+
Message-ID:  <202104180830.13I8U47B020872@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit 0226c5c6f46d914b19eaf59294bba0a1bae166b9
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-04-18 07:06:53 +0000
Commit:     Kai Knoblich <kai@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@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
+@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180830.13I8U47B020872>