notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2022Q4
py-defusedxml XML bomb protection for Python stdlib modules
0.7.1_1 devel on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.7.1_1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-08-04 13:40:26
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch:: qtkeychain-qt5, py311-treq, py311-Automat, linux-c7-atk, py311-beautifulsoup
Also Listed In: python textproc
License: PSFL
WWW:
https://github.com/tiran/defusedxml
Description:
Defusing XML bombs and other exploits The results of an attack on a vulnerable XML library can be fairly dramatic. With just a few hundred Bytes of XML data an attacker can occupy several Gigabytes of memory within seconds. An attacker can also keep CPUs busy for a long time with a small to medium size request. This library prevents such issues.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-defusedxml/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-defusedxml
  • pkg install py311-defusedxml
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-defusedxml listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-defusedxml
Package flavors (<flavor>: <package>)
  • py311: py311-defusedxml
distinfo:
TIMESTAMP = 1654796072 SHA256 (defusedxml-0.7.1.tar.gz) = 1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69 SIZE (defusedxml-0.7.1.tar.gz) = 75520

Packages (timestamps in pop-ups are UTC):
py37-defusedxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.6.0---0.6.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-defusedxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.7.1--0.7.10.7.10.7.1
FreeBSD:14:latest--0.7.1--0.7.1-0.7.1
FreeBSD:14:quarterly-----0.7.10.7.10.7.1
FreeBSD:15:latest--n/a-n/a0.7.10.7.10.7.1
 
py311-defusedxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.7.1_10.7.1_1-0.7.1_10.7.1_1---
FreeBSD:13:quarterly0.7.1_10.7.1_1-0.7.1_10.7.1_1---
FreeBSD:14:latest0.7.1_10.7.1_1-0.7.1_10.7.1_1---
FreeBSD:14:quarterly0.7.1_10.7.1_1-0.7.1_10.7.1_1---
FreeBSD:15:latest0.7.1_10.7.1_1n/a0.7.1_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. py311-pytest>0 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. www/py-wsgidav

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. math/sage*
  2. misc/py-glance*
  3. net/s3ql*
  4. Collapse this list of deleted ports.
for Run
  1. devel/py-grab
  2. devel/py-jira
  3. devel/py-nbconvert
  4. devel/py-odfpy
  5. devel/py-oslo.vmware
  6. devel/py-py-serializable
  7. graphics/py-cairosvg
Expand this list (36 items / 29 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. graphics/py-willow
  3. security/py-lib4sbom
  4. security/py-ospd-openvas
  5. security/py-plaso
  6. security/py-pnu-vuxml
  7. security/py-pyhanko
  8. security/py-pysaml2
  9. security/py-python3-openid
  10. security/py-social-auth-core
  11. sysutils/py-glances
  12. textproc/py-untangle
  13. www/py-djangosaml2
  14. www/py-httpie
  15. www/py-seafdav
  16. www/py-wsgidav
  17. www/py-xandikos
  18. www/py-youtube-transcript-api
  19. www/radicale
  20. www/web2ldap
  21. Collapse this list.

Deleted ports which required this port:

Expand this list of 10 deleted ports
  1. devel/py-zeep*
  2. math/sage*
  3. misc/py-cinder*
  4. misc/py-glance*
  5. net/py-soappy*
  6. net/s3ql*
  7. security/py-crits*
  8. security/py-ospd*
  9. security/py-pysaml24*
  10. security/py-pysaml26*
  11. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for py311-defusedxml-0.7.1_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_py-defusedxml
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/defusedxml/
  2. https://pypi.org/packages/source/d/defusedxml/
Collapse this list.

There are no commits on branch 2022Q4 for this port