Port details on branch 2022Q2 |
- py-bleach Easy safelist-based HTML-sanitizing tool
- 4.1.0_1 www =0 4.1.0_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-04-24 03:53:57
- Last Update: 2022-04-02 10:27:39
- Commit Hash: 606d504
- Also Listed In: python
- License: APACHE20
- WWW:
- 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.
WWW: https://github.com/mozilla/bleach
- ¦ ¦ ¦ ¦
- 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 py38-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 py38-bleach listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py38-bleach
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1647264688
SHA256 (bleach-4.1.0.tar.gz) = 0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
SIZE (bleach-4.1.0.tar.gz) = 195798
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-packaging>=0 : devel/py-packaging@py38
- py38-six>=1.9.0 : devel/py-six@py38
- py38-webencodings>=0 : converters/py-webencodings@py38
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- This port is required by:
- for Run
-
- net-im/py-matrix-synapse
Configuration Options:
- No options to configure
- Options name:
- www_py-bleach
- USES:
- cpe python:3.6+ shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|