notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
The safest procedure: change your FreshPorts password. Anything you had set before Friday March 24 2023 09:49:20 UTC should be changed. You can read more here: SQL inejection issues fixed and FreshSource code fixes Sorry about the extra work for you.
All known SQL injection issues patched. There is no evidence it was exploited. That doesn’t mean it wasn’t. Please change your password.
Port details
py-defusedxml XML bomb protection for Python stdlib modules
0.7.1 devel on this many watch lists=1 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 Version 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: 2023-01-11 15:58:34
Commit Hash: 77d6847
People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
Also Listed In: python textproc
License: PSFL
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
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 py39-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 py39-defusedxml listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-defusedxml
Package flavors (<flavor>: <package>)
  • py39: py39-defusedxml
distinfo:

Packages (timestamps in pop-ups are UTC):
py27-defusedxml
ABIlatestquarterly
FreeBSD:11:aarch640.5.00.5.0
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv60.4.10.5.0
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips640.4.10.5.0
FreeBSD:12:aarch640.5.0pkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv60.5.00.5.0
FreeBSD:12:armv70.5.00.5.0
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips640.5.00.5.0
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py36-defusedxml
ABIlatestquarterly
FreeBSD:11:aarch640.5.0pkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch640.5.0pkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv60.5.0pkg-fallout
FreeBSD:12:armv70.5.0pkg-fallout
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips640.5.0pkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py37-defusedxml
ABIlatestquarterly
FreeBSD:11:aarch64pkg-fallout0.5.0
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-fallout0.5.0
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-fallout0.5.0
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-fallout0.5.0
FreeBSD:12:armv7pkg-fallout0.5.0
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-fallout0.5.0
FreeBSD:12:powerpc64pkg-fallout0.6.0
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv60.6.0pkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc640.6.0pkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py38-defusedxml
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd640.6.00.6.0
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i3860.6.00.6.0
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv640.6.0pkg-fallout
 
py39-defusedxml
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-fallout0.7.1
FreeBSD:12:amd640.7.10.7.1
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i3860.7.10.7.1
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch640.7.10.7.1
FreeBSD:13:amd640.7.10.7.1
FreeBSD:13:armv6pkg-fallout0.7.1
FreeBSD:13:armv70.7.10.7.1
FreeBSD:13:i3860.7.10.7.1
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-fallout0.7.1
FreeBSD:13:riscv64pkg-fallout0.7.1
FreeBSD:14:aarch640.7.1pkg-fallout
FreeBSD:14:amd640.7.1pkg-fallout
FreeBSD:14:armv60.7.1pkg-fallout
FreeBSD:14:armv70.7.1pkg-fallout
FreeBSD:14:i3860.7.1pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc640.7.1pkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. py39-pytest>0 : devel/py-pytest@py39
  2. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Build
  1. math/sage
  2. www/py-wsgidav

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. misc/py-glance*
  2. net/s3ql*
  3. Collapse this list of deleted ports.
for Run
  1. devel/py-grab
  2. devel/py-nbconvert
  3. devel/py-odfpy
  4. graphics/py-cairosvg
  5. math/sage
  6. misc/py-cinder
  7. net/py-zeep
Expand this list (28 items / 21 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. security/py-ospd-openvas
  3. security/py-plaso
  4. security/py-pysaml2
  5. security/py-pysaml24
  6. security/py-pysaml26
  7. security/py-python3-openid
  8. security/py-social-auth-core
  9. sysutils/py-glances
  10. textproc/py-untangle
  11. www/py-httpie
  12. www/py-seafdav
  13. www/py-wsgidav
  14. www/py-xandikos
  15. www/radicale
  16. www/web2ldap
  17. Collapse this list.

Deleted ports which required this port:

Expand this list of 6 deleted ports
  1. devel/py-zeep*
  2. misc/py-glance*
  3. net/py-soappy*
  4. net/s3ql*
  5. security/py-crits*
  6. security/py-ospd*
  7. 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:
Options name:
USES:
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.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    
Port Moves
  • port moved here from devel/py3-defusedxml on 2017-11-30
    REASON: Moved to a flavored, generic, version

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.7.1
11 Jan 2023 15:58:34
commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove 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)
0.7.1
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.1
20 Jul 2022 14:21:35
commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.1
09 Jun 2022 17:47:46
commit hash:0a14529d32a5bf7accf1361ba05f535a26034a76commit hash:0a14529d32a5bf7accf1361ba05f535a26034a76commit hash:0a14529d32a5bf7accf1361ba05f535a26034a76commit hash:0a14529d32a5bf7accf1361ba05f535a26034a76 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-defusedxml: Update version 0.6.0=>0.7.1

- Update WWW
- Add TEST framework

Relnotes: https://github.com/tiran/defusedxml/releases/tag/v0.7.1
0.6.0
06 Jun 2022 12:25:36
commit hash:cb420cdf94d4648b6d2cbec10b6c7446b4da78b4commit hash:cb420cdf94d4648b6d2cbec10b6c7446b4da78b4commit hash:cb420cdf94d4648b6d2cbec10b6c7446b4da78b4commit hash:cb420cdf94d4648b6d2cbec10b6c7446b4da78b4 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
all: Take maintainership
0.6.0
06 Jun 2022 11:56:41
commit hash:724071fda4787b1363ef25304c7d4eca2155d000commit hash:724071fda4787b1363ef25304c7d4eca2155d000commit hash:724071fda4787b1363ef25304c7d4eca2155d000commit hash:724071fda4787b1363ef25304c7d4eca2155d000 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: return wg's ports to the pool after safekeeping his commit bit
0.6.0
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.6.0
07 Jan 2021 02:13:09
Revision:560666Original commit files touched by this commit
acm search for other commits by this committer
- Update to 0.6.0

PR:		251825
Submitted by:	rozhuk.im at gmail.com
Approved by:	wg (maintainer timeout)
0.5.0
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.5.0
20 Mar 2018 22:36:15
Revision:465132Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.5.0

- Add LICENSE_FILE
- Add NO_ARCH
- Allow concurrent installation (USE_PYTHON=concurrent)

Changes:	https://github.com/tiran/defusedxml/releases
PR:		226750
Submitted by:	sunpoet (myself)
Approved by:	wg (maintainer)
0.4.1
11 Jan 2018 14:18:01
Revision:458739Original commit files touched by this commit
danfe search for other commits by this committer
Do not abuse INSTALL_MAN when installing documentation, examples, and
other miscellaneous files that are not actually manual pages (part 2).
0.4.1
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.4.1
14 Apr 2017 18:42:32
Revision:438535Original commit files touched by this commit
swills search for other commits by this committer
devel/py-defusedxml: Allow overriding USES
0.4.1
20 Oct 2014 16:04:14
Revision:371280Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
0.4.1
17 Dec 2013 14:29:42
Revision:336729Original commit files touched by this commit
wg search for other commits by this committer
devel/py-defusedxml: use auto plist and remove py3k hack
0.4.1
25 Sep 2013 14:33:23
Revision:328296Original commit files touched by this commit
wg search for other commits by this committer
devel/py-defusedxml: allow staging

- Allow staging
0.4.1
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
0.4.1
04 Aug 2013 13:40:12
Revision:324232Original commit files touched by this commit
wg search for other commits by this committer
devel/py-defusedxml: 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.

WWW: https://bitbucket.org/tiran/defusedxml

Number of commits found: 19