Port details |
- rubygem-sanitize Whitelist based HTML sanitizer
- 7.0.0 textproc
=3 6.1.3Version of this port present on the latest quarterly branch. - Maintainer: ruby@FreeBSD.org
 - Port Added: 2011-10-02 17:14:27
- Last Update: 2025-01-02 02:46:24
- Commit Hash: da34eb8
- People watching this port, also watch:: zh-opencc, snd, p5-HTML-HTML5-Entities, xorg-docs, p5-Ubic
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/rgrove/sanitize
- Description:
- Sanitize is a whitelist-based HTML sanitizer. Given a list of
acceptable elements and attributes, Sanitize will remove all
unacceptable HTML from a string.
Using a simple configuration syntax, you can tell Sanitize to
allow certain elements, certain attributes within those elements,
and even certain URL protocols within attributes that contain URLs.
Any HTML elements or attributes that you don't explicitly allow
will be removed.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-sanitize>0:textproc/rubygem-sanitize
- To install the port:
- cd /usr/ports/textproc/rubygem-sanitize/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/rubygem-sanitize
- pkg install rubygem-sanitize
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-sanitize
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1735705275
SHA256 (rubygem/sanitize-7.0.0.gem) = 269d1b9d7326e69307723af5643ec032ff86ad616e72a3b36d301ac75a273984
SIZE (rubygem/sanitize-7.0.0.gem) = 48640
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:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-crass>=1.0.2<1.1 : www/rubygem-crass
- rubygem-nokogiri>=1.16.8 : textproc/rubygem-nokogiri
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- devel/rubygem-flipper-ui
- www/redmine50
- www/redmine51
- www/redmine60
- www/rubygem-gitlab-gollum-lib
-
Deleted ports which required this port:
- * - 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:
- No options to configure
- Options name:
- textproc_rubygem-sanitize
- USES:
- cpe gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.0.0 02 Jan 2025 02:46:24
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/rubygem-sanitize: Update to 6.1.1
Changes: https://github.com/rgrove/sanitize/releases |
6.1.3 16 Dec 2024 08:32:32
    |
Matthias Fechner (mfechner)  |
textproc/rubygem-sanitize: update to 6.1.3
Changes: https://github.com/rgrove/sanitize/blob/main/HISTORY.md |
6.1.1 18 Jun 2024 04:04:48
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/rubygem-sanitize: Update to 6.1.1
Changes: https://github.com/rgrove/sanitize/releases |
6.1.0 22 Sep 2023 03:22:10
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/rubygem-sanitize: Update to 6.1.0
Changes: https://github.com/rgrove/sanitize/releases |
6.0.2 26 Aug 2023 23:19:06
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/rubygem-sanitize: Update to 6.0.2
Changes: https://github.com/rgrove/sanitize/releases
Security: CVE-2023-23627, CVE-2023-36823 |
6.0.0 14 Jan 2023 23:08:33
    |
Muhammad Moinur Rahman (bofh)  |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
6.0.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
6.0.0 20 Jul 2022 14:23:14
    |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
6.0.0 26 Jan 2022 10:43:00
    |
Matthias Fechner (mfechner)  |
textproc/rubygem-sanitize: update to 6.0.0
Required for gitlab-ce 14.7.
Changelog:
https://github.com/rgrove/sanitize/releases/tag/v6.0.0 |
5.2.3 21 Oct 2021 15:40:45
    |
Stefan Eßer (se)  |
textproc/rubygem-sanitize: Add CPE information
Approved by: portmgr (blanket) |
5.2.3 21 Jul 2021 18:12:04
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/rubygem-sanitize: Update to 5.2.3
Changes: https://github.com/rgrove/sanitize/releases |
5.2.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
5.2.1 26 Sep 2020 07:33:40
  |
mfechner  |
Update to 5.2.1 which is required for gitlab-ce 13.4. |
4.6.6 19 Sep 2020 15:37:26
  |
sunpoet  |
Update version requirement of RUN_DEPENDS |
4.6.6 31 Jul 2018 23:54:08
  |
sunpoet  |
Update to 4.6.6
Changes: https://github.com/rgrove/sanitize/releases |
4.6.5 17 May 2018 18:30:45
  |
sunpoet  |
Update to 4.6.5
Changes: https://github.com/rgrove/sanitize/releases |
4.6.4 22 Mar 2018 19:53:36
  |
sunpoet  |
Update to 4.6.4
Changes: https://github.com/rgrove/sanitize/releases |
4.6.3 21 Mar 2018 19:04:07
  |
sunpoet  |
Update to 4.6.3
Changes: https://github.com/rgrove/sanitize/releases
Security: 39a30e0a-0c34-431b-9dce-b87cab02412a
MFH: 2018Q1 |
4.6.2 20 Mar 2018 22:35:59
  |
sunpoet  |
Update to 4.6.2
Changes: https://github.com/rgrove/sanitize/releases |
4.6.1 16 Mar 2018 15:21:50
  |
sunpoet  |
Update to 4.6.1
Changes: https://github.com/rgrove/sanitize/releases |
4.6.0 30 Jan 2018 15:39:51
  |
sunpoet  |
Update to 4.6.0
Changes: https://github.com/rgrove/sanitize/releases |
4.5.0 05 Jun 2017 14:52:56
  |
sunpoet  |
Update to 4.5.0
- Fix WWW
Changes: https://github.com/rgrove/sanitize/blob/master/HISTORY.md |
4.4.0 29 Dec 2016 03:26:51
  |
swills  |
textproc/rubygem-sanitize: update to 4.4.0 |
4.0.1 19 May 2016 10:53:06
  |
amdmi3  |
- Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by: portmgr blanket |
4.0.1 27 Apr 2016 21:57:32
  |
swills  |
Convert USES=gem:autoplist to USES=gem since autoplist is default |
4.0.1 27 Apr 2016 16:36:42
  |
swills  |
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem
PR: 209041
Differential Revision: https://reviews.freebsd.org/D6070 |
4.0.1 01 Apr 2016 14:25:18
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
4.0.1 17 Jan 2016 13:23:05
  |
sunpoet  |
- Update to 4.0.1
Changes: https://github.com/rgrove/sanitize/blob/master/HISTORY.md
Sponsored by: PortsCamp Taiwan |
4.0.0_1 24 Sep 2015 19:05:51
  |
sunpoet  |
- Add LICENSE_FILE |
4.0.0_1 13 Jun 2015 13:56:04
  |
sunpoet  |
- Add NO_ARCH |
4.0.0_1 10 Jun 2015 16:47:49
  |
sunpoet  |
- Fix RUN_DEPENDS and gemspec
- Bump PORTREVISION for package change
PR: 200754
Submitted by: marino |
4.0.0 02 May 2015 16:55:27
  |
sunpoet  |
- Update to 4.0.0
- Add LICENSE
- Update WWW
Changes: https://github.com/rgrove/sanitize/blob/master/HISTORY.md |
3.0.2 30 Sep 2014 16:49:13
  |
swills  |
textproc/rubygem-sanitize: update to 3.0.2 |
2.1.0 27 Sep 2014 06:22:29
  |
swills  |
textproc/rubygem-sanitize: update to 2.1.0 |
2.0.6 30 Oct 2013 02:59:10
  |
swills  |
- Add stage support |
2.0.6 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
2.0.6 29 Aug 2013 18:06:48
  |
sunpoet  |
- Remove Author line |
2.0.6 28 Jul 2013 22:33:05
  |
swills  |
- Update to 2.0.6 |
2.0.3 27 Jul 2013 16:06:02
  |
swills  |
- Reset maintainer after no response to mail since Jan 2013
- Clean up headers and comments while here
Reviewed by: danfe |
2.0.3 20 Dec 2011 00:29:17
 |
pgollucci  |
- One WWW line in pkg-descr will do just fine |
2.0.3 13 Nov 2011 01:59:24
 |
clsung  |
- Update to 2.0.3
PR: ports/162000
Submitted by: clsung
Approved by: maintainer (Eric)
Feature safe: yes |
2.0.2 02 Oct 2011 17:14:09
 |
swills  |
Sanitize is a whitelist-based HTML sanitizer. Given a list of
acceptable elements and attributes, Sanitize will remove all
unacceptable HTML from a string.
Using a simple configuration syntax, you can tell Sanitize to
allow certain elements, certain attributes within those elements,
and even certain URL protocols within attributes that contain URLs.
Any HTML elements or attributes that you don't explicitly allow
will be removed.
Author: Ryan Grove
WWW: https://github.com/rgrove/sanitize/
WWW: http://wonko.com/post/sanitize
PR: ports/158312
Submitted by: Eric Freeman <freebsdports@chillibear.com> |