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
Port details on branch 2023Q3
py-bleach Easy safelist-based HTML-sanitizing tool
6.2.0 www on this many watch lists=3 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.2.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-06-01 18:04:09
Last Update: 2024-10-31 09:22:54
Commit Hash: 194c17c
People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
Also Listed In: python
License: APACHE20
WWW:
https://bleach.readthedocs.io/en/latest/
https://github.com/mozilla/bleach
Description:
Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes. Bleach can also linkify text safely, applying filters that Django's urlize filter cannot, and optionally setting rel attributes, even on links already in the text. Bleach is intended for sanitizing text from untrusted sources. If you find yourself jumping through hoops to allow your site administrators to do lots of things, you're probably outside the use cases. Either trust those users, or don't. Because it relies on html5lib, Bleach is as good as modern browsers at dealing with weird, quirky HTML fragments. And any of Bleach's methods will fix unbalanced or mis-nested tags.
HomepageHomepage    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}bleach>0:www/py-bleach@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-bleach/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-bleach
  • pkg install py311-bleach
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-bleach listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-bleach
Package flavors (<flavor>: <package>)
  • py311: py311-bleach
distinfo:
TIMESTAMP = 1730301026 SHA256 (bleach-6.2.0.tar.gz) = 123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f SIZE (bleach-6.2.0.tar.gz) = 203083

Packages (timestamps in pop-ups are UTC):
py37-bleach
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--3.1.5---3.1.5-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-bleach
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--5.0.1_1--6.1.06.1.06.1.0
FreeBSD:14:latest--5.0.1_1--5.0.1_1-5.0.1_1
FreeBSD:14:quarterly-----6.1.06.1.06.1.0
FreeBSD:15:latest--n/a-n/a6.1.06.1.06.1.0
 
py311-bleach
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.2.06.2.0-6.2.06.2.0---
FreeBSD:13:quarterly6.1.0_16.1.0_1-6.1.0_16.1.0_1---
FreeBSD:14:latest6.2.06.2.0-6.2.06.2.0---
FreeBSD:14:quarterly6.1.0_16.1.0_1-6.1.0_16.1.0_1---
FreeBSD:15:latest6.2.06.2.0n/a6.2.0n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-webencodings>=0 : converters/py-webencodings@py311
  2. py311-tinycss2>=1.1.0<1.5 : textproc/py-tinycss2@py311
  3. python3.11 : lang/python311
This port is required by:
for Build
  1. deskutils/py-paperless-ngx
  2. devel/py-protobuf-compiler

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. math/sage*
  2. Collapse this list of deleted ports.
for Run
  1. deskutils/py-paperless-ngx
  2. devel/py-nbconvert
  3. devel/py-protobuf-compiler
  4. net-im/py-matrix-synapse
  5. www/py-calibreweb
  6. www/py-django-bleach
  7. www/py-django-post_office
Expand this list (13 items / 6 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/seahub
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 5 deleted ports
  1. devel/py-readme_renderer*
  2. math/sage*
  3. textproc/pootle*
  4. www/py-django-mezzanine*
  5. www/py-kallithea*
  6. 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-bleach-6.2.0: CSS=on: CSS support ===> Use 'make config' to modify these settings
Options name:
www_py-bleach
USES:
cpe python shebangfix
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/b/bleach/
  2. https://pypi.org/packages/source/b/bleach/
Collapse this list.

There are no commits on branch 2023Q3 for this port