dns/py-pywdns: Replace USE_PYTHON=distutils Replace deprecated USE_PYTHON=distutils. Sponsored by: DomainTools LLCf91b049b52
Port details
dns/py-pywdns0.10.2_1
Python wrapper for dns/wdns
- Maintainer
- truckman@FreeBSD.org
- Packages
- py312-pywdns 0.10.2_1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/farsightsec/pywdns
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (22)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
dns/py-pywdns: Upgrade to 0.10.2 pywdns (0.10.2) * Bugfixes for type matching and documentation. Fix REINPLACE_CMD issue Sponsored by: DomainTools LLC922edb579a
dns/wdns: upgrade to version 0.12.0 0.12.0: * Add EDNS output to wdns_message_to_str(). * Fix memory leak triggered by multiple OPT records in messages. * Fixes multiple bugs in base32 encoding, NSEC bitmap parsing, and HTTPS svcparam parsing. * Fix out of bounds memory write in wdns_str_to_name. * Fix handling of no address for client subnets. Bump PORTREVISION of dependent ports. MFH: 2023Q3 Sponsored by: DomainTools LLCe81c9f1182
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cRemove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
dns/wdns: Upgrade to version 0.11.0
* Improve support for CAA records. (CAA was previously rendered as a
"generic" rdata type.)
* Bug fix for NSEC/NSEC3/CSYNC: do not output empty rrtype bitmaps
per RFC6840 section 6.4.
* Fix parsing of A6 records that ommit and address portion. Correct
parsing of A6 records with prefix length 0. Correct handling of
A6 address bytes. The address bytes of an A6 record are an address
suffix relative to the prefix represented by the domain name, and
so must be copied to and from the lower order bytes of the internal
address representation. These A6 code updates were for the purposes
of clearing "round trip" test errors in the existing code base.
(A6 is deprecated and was moved to historic status.)
* Fix bug in IPv6 prefix length processing in
_wdns_str_to_rdata_ubuf().
* Add support for SVCB and HTTPS resource record types. This is based
on an Internet-Draft but is widely used in the real world.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-08
Bump PORTREVISION of dependent ports due to shared library version
change.
Sponsored by: DomainTools9c3e1c57dbdns/py-pywdns: Upgrade to version 0.10.1 * Add GenConstants command * Linux packaging changes Sponsored by: Farsight Security, Inc.17a59709a1
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
Relax hardcoded paths to fix build with Python 3.8.7 Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the shared libs naming scheme. This means "EXT_SUFFIX" is now derived from SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so". The affected ports strip the libaries in the "post-install" target via hardcoded path(s) and the build fails at the end because the new extension is not expected at this place. Remedy the issue by adding wildcards to these paths. This should also prepare the ports for future Python releases, which will use the new shared libs naming scheme. [1] https://bugs.python.org/issue42604 PR: 252057 Reported by: John Kennedy Reviewed by: fluffy, koobs Approved by: koobs (python)9cb5898561
Upgrade dns/py-pywdns to version 0.10.0, which is compatible with python3. Undeprecate and remove expiration date. Sponsored by: Farsight Security, Inc.1d1b2e7fb0
Deprecate a few ports With hat: portmgr41a5348a3b
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723Upgrade to pywdns version 0.9.0. * Depends on the wdns C library >= 0.9.0. * Add contants TYPE_TLSA, TYPE_GID, TYPE_EUI64, etc. * Stores EDNS information in the message object. Pet portlint (USE vs. USES order). Sponsored by: Farsight Security, Inc.0be2721e21
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Sort USE_PYTHON Sponsored by: Farsight Security, Inc.49aed67ae4
Upgrade to pywdns revsion 0.8.0. pywdns (0.8.0) * Add str_to_rcode and str_to_name_case functions * Add str_to_name_case function * Add str_to_rcode function * Add str_to_rrclass and str_to_rdata functions from wdns * domain_to_str(): PyString_FromStringAndSize -> PyString_FromString this fixes a regression introduced in d04d3919. wdns_domain_to_str() does not return the number of bytes written to dst, it returns the number of bytes read from src. dst is guaranteed to be NUL-terminated after a call to wdns_domain_to_str(), so switch back to using PyString_FromString() to convert dst to a python string. * the comparison against WDNS_MAXLEN_NAME should be strictly greater than, not greater than or equal to. * setup.py: add back missing 'import os' Sponsored by: Farsight Security, Inc.92632f13e1
Use ${PYTHON_SITELIBDIR} instead of hardwiring a specific python version.
Differential Revision: https://reviews.freebsd.org/D2228
Approved by: mat (mentor)
Sponsored by: Farsight Security, Inc.9547b93309Add new port dns/py-pywdns. This is pywdns, a Python extension module implemented in Cython for the wdns C library. Differential Revision: https://reviews.freebsd.org/D2200 Approved by: mat (mentor) Sponsored by: Farsight Security, Inc.09cf723a01