Report information
The Basics
Id:
45407
Status:
resolved
Priority:
Medium/Medium
Queue:

People
BugTracker
Version Fixed:
9.9.12, 9.10.7, 9.11.3, 9.12.0
Version Found:
9.10.5
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P1 High
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Infrastructure
Area:
feature

Dates
Created:Mon, 19 Jun 2017 12:33:29 -0400
Updated:Mon, 11 Sep 2017 06:42:49 -0400
Closed:Mon, 04 Sep 2017 02:55:51 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: distutils --install-lib=PATHNAME for packagers ease of handling python library (now part of BIND)
As reported to ISC Support: ---- Just to let you know we have run into a small hitch with packaging BIND 9.10.5 as it has added a python library which would currently be installed into site-packages/isc. For our distribution we are seeking to have that installed into vendor-packages/isc. In addition to changing the pathname we can see that we shall have to patch two python files that currently hard code 'site-packages'. ---- > Looks like we can use distutils --install-lib=PATHNAME to our advantage. > Patch file attached.
Subject: 004-vendor.patch

Message body not shown because it is not plain text.

Please review rt45407.
(The branch adds a new configure option, --with-python-install-dir. It takes an absolute path as its argument as that is what the --install-lib option for setup.py uses. The code in rt45407 is the simplest way I could think of to properly handle all of the following cases: 1. --prefix not specified, --with-python-install-dir not specified 2. --prefix specified, --with-python-install-dir not specified 3. --prefix not specified, --with-python-install-dir specified 4. --prefix specified, --with-python-install-dir specified where "proper handling" means "assuring the installed Python utilities are usable".)
Looks good to merge. manual testing succeeded. On Fri Aug 25 05:11:27 2017, michal wrote: > (The branch adds a new configure option, --with-python-install-dir. It > takes an absolute path as its argument as that is what the --install-lib > option for setup.py uses. The code in rt45407 is the simplest way I > could think of to properly handle all of the following cases: > > 1. --prefix not specified, --with-python-install-dir not specified > 2. --prefix specified, --with-python-install-dir not specified > 3. --prefix not specified, --with-python-install-dir specified > 4. --prefix specified, --with-python-install-dir specified > > where "proper handling" means "assuring the installed Python utilities > are usable".)
4698. [port] Add --with-python-install-dir configure option to allow specifying a nonstandard installation directory for Python modules. [RT #45407] 9.9.12, 9.10.7, 9.11.3, 9.12.0